1个控制节点,1个计算节点,
启动计算节点报错
2012-11-16 17:08:51 DEBUG nova.utils [req-f86f2bdf-216e-4850-aa5b-95a5038a154b None None] Attempting to grab file lock "ensure_bridge" for method "ensure_bridge"... from (pid=2674) inner /usr/lib/python2.6/site-packages/nova/utils.py:936
2012-11-16 17:08:51 DEBUG nova.utils [req-f86f2bdf-216e-4850-aa5b-95a5038a154b None None] Got file lock "ensure_bridge" for method "ensure_bridge"... from (pid=2674) inner /usr/lib/python2.6/site-packages/nova/utils.py:943
2012-11-16 17:08:51 DEBUG nova.utils [req-f86f2bdf-216e-4850-aa5b-95a5038a154b None None] Running cmd (subprocess): ip link show dev br100 from (pid=2674) execute /usr/lib/python2.6/site-packages/nova/utils.py:220
2012-11-16 17:08:51 DEBUG nova.utils [req-f86f2bdf-216e-4850-aa5b-95a5038a154b None None] Running cmd (subprocess): sudo nova-rootwrap brctl addif br100 em1 from (pid=2674) execute /usr/lib/python2.6/site-packages/nova/utils.py:220
2012-11-16 17:08:51 DEBUG nova.utils [req-f86f2bdf-216e-4850-aa5b-95a5038a154b None None] Result was 1 from (pid=2674) execute /usr/lib/python2.6/site-packages/nova/utils.py:236
2012-11-16 17:08:51 DEBUG nova.utils [req-f86f2bdf-216e-4850-aa5b-95a5038a154b None None] Running cmd (subprocess): sudo nova-rootwrap route -n from (pid=2674) execute /usr/lib/python2.6/site-packages/nova/utils.py:220
2012-11-16 17:08:51 DEBUG nova.utils [req-f86f2bdf-216e-4850-aa5b-95a5038a154b None None] Running cmd (subprocess): sudo nova-rootwrap ip addr show dev em1 scope global from (pid=2674) execute /usr/lib/python2.6/site-packages/nova/utils.py:220
2012-11-16 17:08:51 DEBUG nova.utils [req-f86f2bdf-216e-4850-aa5b-95a5038a154b None None] Result was 255 from (pid=2674) execute /usr/lib/python2.6/site-packages/nova/utils.py:236
2012-11-16 17:08:51 CRITICAL nova [-] Unexpected error while running command.
Command: sudo nova-rootwrap ip addr show dev em1 scope global
Exit code: 255
Stdout: ''
Stderr: 'Device "em1" does not exist.\n'
2012-11-16 17:08:51 TRACE nova Traceback (most recent call last):
2012-11-16 17:08:51 TRACE nova File "/usr/bin/nova-compute", line 49, in
2012-11-16 17:08:51 TRACE nova service.wait()
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 413, in wait
2012-11-16 17:08:51 TRACE nova _launcher.wait()
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 131, in wait
2012-11-16 17:08:51 TRACE nova service.wait()
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 166, in wait
2012-11-16 17:08:51 TRACE nova return self._exit_event.wait()
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2012-11-16 17:08:51 TRACE nova return hubs.get_hub().switch()
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch
2012-11-16 17:08:51 TRACE nova return self.greenlet.switch()
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 192, in main
2012-11-16 17:08:51 TRACE nova result = function(*args, **kwargs)
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 101, in run_server
2012-11-16 17:08:51 TRACE nova server.start()
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 162, in start
2012-11-16 17:08:51 TRACE nova self.manager.init_host()
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 255, in init_host
2012-11-16 17:08:51 TRACE nova self.driver.plug_vifs(instance, legacy_net_info)
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/connection.py", line 391, in plug_vifs
2012-11-16 17:08:51 TRACE nova self.vif_driver.plug(instance, network, mapping)
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 97, in plug
2012-11-16 17:08:51 TRACE nova iface)
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/utils.py", line 944, in inner
2012-11-16 17:08:51 TRACE nova retval = f(*args, **kwargs)
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 1028, in ensure_bridge
2012-11-16 17:08:51 TRACE nova 'scope', 'global', run_as_root=True)
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 813, in _execute
2012-11-16 17:08:51 TRACE nova return utils.execute(*cmd, **kwargs)
2012-11-16 17:08:51 TRACE nova File "/usr/lib/python2.6/site-packages/nova/utils.py", line 243, in execute
2012-11-16 17:08:51 TRACE nova cmd=' '.join(cmd))
2012-11-16 17:08:51 TRACE nova ProcessExecutionError: Unexpected error while running command.
2012-11-16 17:08:51 TRACE nova Command: sudo nova-rootwrap ip addr show dev em1 scope global
2012-11-16 17:08:51 TRACE nova Exit code: 255
2012-11-16 17:08:51 TRACE nova Stdout: ''
2012-11-16 17:08:51 TRACE nova Stderr: 'Device "em1" does not exist.\n'
2012-11-16 17:08:51 TRACE nova
不知道em1 是什么玩意啊。。。
控制节点情况:
Binary Host Zone Status State Updated_At
nova-compute openstack-compute.ubisoft.org nova enabled XXX 2012-11-16 07:52:50
nova-scheduler nova-controller nova enabled :-) 2012-11-16 08:59:24
nova-consoleauth nova-controller nova enabled :-) 2012-11-16 08:59:16
nova-network openstack-compute.ubisoft.org nova enabled :-) 2012-11-16 08:59:18
nova-network nova-controller nova enabled :-) 2012-11-16 08:59:24
nova-volume nova-controller nova enabled :-) 2012-11-16 08:59:24
root@nova-controller:~#
|