解決:Device 0 (vif) could not be connected. Hotplug scripts not working ― 2010-09-08 23:07:59
CentOSのXenにてエラーが発生し、Domain Uが作れずにいて困っていたが、簡単なことで解決したのでメモ。ちなみに発生するエラーは以下のとおり。
# /usr/sbin/virt-install -n domu -r 1024 -f domu.img\ -s 8 --nographics -l http://ftp.riken.jp/Linux/\ centos/5.5/os/i386/ --bridge xenbr0 Starting install... Retrieving file .treeinfo... | 413 B 00:00 Retrieving file vmlinuz... | 2.1 MB 00:08 Retrieving file initrd.img... | 7.2 MB 00:25 ERROR POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.') Domain installation may not have been successful. If it was, you can restart your domain by running 'virsh start kaken'; otherwise, please restart your installation. ERROR POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.') Traceback (most recent call last): File "/usr/sbin/virt-install", line 889, in ? main() File "/usr/sbin/virt-install", line 751, in main start_time, guest.start_install) File "/usr/sbin/virt-install", line 813, in do_install dom = install_func(conscb, progresscb, wait=(not wait)) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install self.domain = self.conn.createLinux(install_xml, 0) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 0 (vif) could not be connected. Hotplug scripts not working.')
これを直すには/sbin/start_udevを動かせば良いだけだった。udevが落ちていたのが原因みたい。よかったよかった。
最近のコメント