elkdatを用いてlinuxカーネルモジュールを開発する環境を作りたいのですが,./initで実行されているvagrant up命令がWaiting for domain to get an IP address...から動かなくなります.原因がわからなくて困っています.
VAGRANT_LOG=DEBUGをつけて実行した時のlogを載せます.
log
1[前略] 2==> ktest: Creating shared folders metadata... 3 INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateNetworks:0x00005654e0a46100> 4 INFO create_networks: Using vagrant-libvirt at 192.168.121.0/24 as the management network nat is the mode 5DEBUG create_networks: In config found network type forwarded_port options {:guest=>22, :host=>2222, :host_ip=>"127.0.0.1", :id=>"ssh", :auto_correct=>true, :protocol=>"tcp"} 6DEBUG create_networks: Searching for network with options {:iface_type=>:private_network, :network_name=>"vagrant-libvirt", :ip=>"192.168.121.0", :netmask=>"255.255.255.0", :dhcp_enabled=>true, :forward_mode=>"nat", :guest_ipv6=>"yes", :autostart=>false, :bus=>nil, :slot=>nil} 7DEBUG create_networks: looking up network with ip == 192.168.121.0 8DEBUG create_networks: Checking that network name does not clash with ip 9 INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateNetworkInterfaces:0x00005654e0b1b6c0> 10 INFO create_network_interfaces: Using vagrant-libvirt at 192.168.121.0/24 as the management network nat is the mode 11DEBUG create_network_interfaces: In config found network type forwarded_port options {:guest=>22, :host=>2222, :host_ip=>"127.0.0.1", :id=>"ssh", :auto_correct=>true, :protocol=>"tcp"} 12DEBUG create_network_interfaces: Adapter not specified so found slot 0 13DEBUG create_network_interfaces: Found network by name 14 INFO create_network_interfaces: Creating network interface eth0 connected to network vagrant-libvirt. 15 INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::SetBootOrder:0x00007f0dc0a72ef0> 16 INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::StartDomain:0x00007f0dc0a9ea00> 17 INFO interface: info: Starting domain. 18 INFO interface: info: ==> ktest: Starting domain. 19==> ktest: Starting domain. 20 INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::WaitTillUp:0x00007f0dc0ac5628> 21DEBUG wait_till_up: Searching for IP for MAC address: 52:54:00:f3:26:23 22 INFO interface: info: Waiting for domain to get an IP address... 23 INFO interface: info: ==> ktest: Waiting for domain to get an IP address... 24==> ktest: Waiting for domain to get an IP address... 25 INFO retryable: Retryable exception raised: #<Fog::Errors::TimeoutError: The specified wait_for timeout (2 seconds) was exceeded> 26 INFO retryable: Retryable exception raised: #<Fog::Errors::TimeoutError: The specified wait_for timeout (2 seconds) was exceeded> 27 INFO retryable: Retryable exception raised: #<Fog::Errors::TimeoutError: The specified wait_for timeout (2 seconds) was exceeded> 28 INFO retryable: Retryable exception raised: #<Fog::Errors::TimeoutError: The specified wait_for timeout (2 seconds) was exceeded> 29 INFO retryable: Retryable exception raised: #<Fog::Errors::TimeoutError: The specified wait_for timeout (2 seconds) was exceeded> 30 INFO retryable: Retryable exception raised: #<Fog::Errors::TimeoutError: The specified wait_for timeout (2 seconds) was exceeded> 31 INFO retryable: Retryable exception raised: #<Fog::Errors::TimeoutError: The specified wait_for timeout (2 seconds) was exceeded> 32[...]
また,環境は以下のとおりです.
bash
1$ vagrant -v 2Vagrant 2.2.4 3$ vagrant plugin list 4vagrant-libvirt (0.0.45, global) 5$ uname -r 64.18.0-16-generic
ネットワークやサーバの知識がほとんどないのでわからないのですが,他に載せたほうがいい情報があれば教えてください.
よろしくおねがいします.
試したこと
- elkdatではなく自分でvagrant + libvirtの環境を作って試す -> 同じくWaiting for domain to get an IP addressで止まる
bash
$ vagrant init generic/ubuntu1604
$ vagrant up --provider libvirt
* vagrant + virtualboxの環境を作って試す -> 普通に起動できた * 公式サイトからvagrantの最新版をインストール -> 変わらず * dmesgは以下の通り ```dmesg [265244.680511] audit: type=1400 audit(1554471313.820:128): apparmor="STATUS" operation="profile_remove" profile="unconfined" name="libvirt-43d6e16b-9340-480c-b90e-3be9dfddfce4" pid=28105 comm="apparmor_parser" [265311.429972] audit: type=1400 audit(1554471380.573:129): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirt-30a9ce50-1845-4c8e-ad32-7e83cc433f9d" pid=28586 comm="apparmor_parser" [265311.675248] audit: type=1400 audit(1554471380.817:130): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-30a9ce50-1845-4c8e-ad32-7e83cc433f9d" pid=28599 comm="apparmor_parser" [265311.923205] audit: type=1400 audit(1554471381.065:131): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-30a9ce50-1845-4c8e-ad32-7e83cc433f9d" pid=28611 comm="apparmor_parser" [265312.160057] audit: type=1400 audit(1554471381.301:132): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="libvirt-30a9ce50-1845-4c8e-ad32-7e83cc433f9d" pid=28630 comm="apparmor_parser" [265312.172886] virbr1: port 2(vnet0) entered blocking state [265312.172889] virbr1: port 2(vnet0) entered disabled state [265312.172970] device vnet0 entered promiscuous mode [265312.173133] virbr1: port 2(vnet0) entered blocking state [265312.173134] virbr1: port 2(vnet0) entered listening state [265312.457210] audit: type=1400 audit(1554471381.601:133): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="libvirt-30a9ce50-1845-4c8e-ad32-7e83cc433f9d" pid=28681 comm="apparmor_parser" [265314.184874] virbr1: port 2(vnet0) entered learning state [265316.200845] virbr1: port 2(vnet0) entered forwarding state [265316.200847] virbr1: topology change detected, propagating
ブリッジ接続がうまくいってない?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/04/05 07:48