Hi, I'm trying to install Diablo on my box from trunk. Everything of installation was well, but failed to boot the Nova. I took a look at the /var/log/nova-* and found the below error:
2011-09-19 15:28:35,826 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip addr add 169.254.169.254/32 scope link dev lo from (pid=3326) execute /usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/utils.py:164 2011-09-19 15:28:35,865 DEBUG nova.utils [-] Result was 254 from (pid=3326) execute /usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/utils.py:179 2011-09-19 15:28:36,216 DEBUG nova.utils [-] backend <module 'nova.db.sqlalchemy.api' from '/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/db/sqlalchemy/api.pyc'> from (pid=3326) __get_backend /usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/utils.py:446 2011-09-19 15:28:36,218 INFO nova.db.sqlalchemy [-] Using mysql/eventlet db_pool. 2011-09-19 15:28:41,226 CRITICAL nova [-] (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/local/bin/nova-network", line 5, in <module> (nova): TRACE: pkg_resources.run_script('nova==2011.3', 'nova-network') (nova): TRACE: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 467, in run_script (nova): TRACE: self.require(requires)[0].run_script(script_name, ns) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1200, in run_script (nova): TRACE: execfile(script_filename, namespace, namespace) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/EGG-INFO/scripts/nova-network", line 48, in <module> (nova): TRACE: service.wait() (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/service.py", line 367, in wait (nova): TRACE: _launcher.wait() (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/service.py", line 107, in wait (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait (nova): TRACE: return self._exit_event.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait (nova): TRACE: return hubs.get_hub().switch() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch (nova): TRACE: return self.greenlet.switch() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main (nova): TRACE: result = function(*args, **kwargs) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/service.py", line 77, in run_server (nova): TRACE: server.start() (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/service.py", line 137, in start (nova): TRACE: self.manager.init_host() (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/network/manager.py", line 976, in init_host (nova): TRACE: NetworkManager.init_host(self) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/network/manager.py", line 359, in init_host (nova): TRACE: for network in self.db.network_get_all_by_host(ctxt, self.host): (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/db/api.py", line 723, in network_get_all_by_host (nova): TRACE: return IMPL.network_get_all_by_host(context, host) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/db/sqlalchemy/api.py", line 99, in wrapper (nova): TRACE: return f(*args, **kwargs) (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/db/sqlalchemy/api.py", line 1881, in network_get_all_by_host (nova): TRACE: session = get_session() (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/db/sqlalchemy/session.py", line 53, in get_session (nova): TRACE: _ENGINE = get_engine() (nova): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova-2011.3-py2.7.egg/nova/db/sqlalchemy/session.py", line 87, in get_engine (nova): TRACE: creator = eventlet.db_pool.ConnectionPool(MySQLdb, **pool_args) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/db_pool.py", line 50, in __init__ (nova): TRACE: order_as_stack=True) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/pools.py", line 108, in __init__ (nova): TRACE: self.free_items.append(self.create()) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/db_pool.py", line 246, in create (nova): TRACE: **self._kwargs) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/db_pool.py", line 253, in connect (nova): TRACE: conn = tpool.execute(db_module.connect, *args, **kw) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 119, in execute (nova): TRACE: rv = e.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait (nova): TRACE: return hubs.get_hub().switch() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch (nova): TRACE: return self.greenlet.switch() (nova): TRACE: ConnectTimeout (nova): TRACE: my box is ubuntu 11.04 and the /etc/nova/nova.conf is below: $ cat /etc/nova/nova.conf --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --lock_path=/var/lock/nova --state_path=/var/lib/nova --verbose --s3_host=192.168.183.128 --rabbit_host=192.168.211.1 --cc_host=192.168.211.1 --ec2_url=http://192.168.183.128:8773/services/Cloud --fixed_range=192.168.211.0/24 --network_size=8 --FAKE_subdomain=ec2 --routing_source_ip=192.168.211.1 --sql_connection=mysql://root:password@192.168.183.128/nova --glance_host=192.168.211.1 --image_service=nova.image.glance.GlanceImageService --iscsi_ip_prefix=192.168. do anybody have any ideas? Thanks, -Wei Jiang _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp