Fail to "nova-manage service list" with diablo release

asked 2011-09-30 11:07:16 -0500

Hi, I installed the Openstack diablo on 2 nodes with the same instructions.And I run "sudo nova-manage db sync" without any issue. but when i try the command “sudo nova-manage service list” ,it shows out an error in the nova-manage.log as following:

2011-09-30 16:04:04,080 INFO nova.db.sqlalchemy [-] Using mysql/eventlet db_pool. 2011-09-30 16:04:09,093 CRITICAL nova [-] (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-manage", line 2141, in <module> (nova): TRACE: main() (nova): TRACE: File "/usr/bin/nova-manage", line 2129, in main (nova): TRACE: fn(fn_args, *fn_kwargs) (nova): TRACE: File "/usr/bin/nova-manage", line 1010, in list (nova): TRACE: services = db.service_get_all(ctxt) (nova): TRACE: File "/usr/lib/python2.6/dist-packages/nova/db/", line 94, in service_get_all (nova): TRACE: return IMPL.service_get_all(context, disabled) (nova): TRACE: File "/usr/lib/python2.6/dist-packages/nova/db/sqlalchemy/", line 101, in wrapper (nova): TRACE: return f(args, *kwargs) (nova): TRACE: File "/usr/lib/python2.6/dist-packages/nova/db/sqlalchemy/", line 186, in service_get_all (nova): TRACE: session = get_session() (nova): TRACE: File "/usr/lib/python2.6/dist-packages/nova/db/sqlalchemy/", line 53, in get_session (nova): TRACE: _ENGINE = get_engine() (nova): TRACE: File "/usr/lib/python2.6/dist-packages/nova/db/sqlalchemy/", line 87, in get_engine (nova): TRACE: creator = eventlet.db_pool.ConnectionPool(MySQLdb, *pool_args) (nova): TRACE: File "/usr/lib/python2.6/dist-packages/eventlet/", line 50, in __init__ (nova): TRACE: order_as_stack=True) (nova): TRACE: File "/usr/lib/python2.6/dist-packages/eventlet/", line 108, in __init__ (nova): TRACE: self.free_items.append(self.create()) (nova): TRACE: File "/usr/lib/python2.6/dist-packages/eventlet/", line 246, in create (nova): TRACE: *self._kwargs) (nova): TRACE: File "/usr/lib/python2.6/dist-packages/eventlet/", line 253, in connect (nova): TRACE: conn = tpool.execute(db_module.connect, args, *kw) (nova): TRACE: File "/usr/lib/python2.6/dist-packages/eventlet/", line 119, in execute (nova): TRACE: rv = e.wait() (nova): TRACE: File "/usr/lib/python2.6/dist-packages/eventlet/", line 116, in wait (nova): TRACE: return hubs.get_hub().switch() (nova): TRACE: File "/usr/lib/python2.6/dist-packages/eventlet/hubs/", line 177, in switch (nova): TRACE: return self.greenlet.switch() (nova): TRACE: ConnectTimeout (nova): TRACE:

It have the same issue with the error ( ( )

More information

node 1: nova.conf

root@openstack2:/home/cloud# ip addr 1: lo: mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet scope host lo inet scope link lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:1d:60:e8:75:74 brd ff:ff:ff:ff:ff:ff inet ... (more)

edit retag flag offensive close merge delete

4 answers

Sort by » oldest newest most voted

answered 2011-10-04 16:33:17 -0500

I tried to change the vlan to and the command "sudo nova-manage service list" run successfully without any error in my nova-manage.log I don't understand this issue. This is a bug or where i was wrong?

edit flag offensive delete link more

answered 2011-12-22 19:09:10 -0500

pabelanger gravatar image

Check your DNS settings, I was having the same problem until I figured out my /etc/resolve.conf was pointing to a non-existent nameserver.

Once I configured it properly, everything started working again.

edit flag offensive delete link more

answered 2011-10-02 06:41:32 -0500

nati-ueno gravatar image

You can try small number of sql_min_pool_size


edit flag offensive delete link more

answered 2011-10-03 13:56:35 -0500

@Nachi Ueno : i added your flag into my nova.conf.But the same error still show out in my nova-manage.log

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-09-30 11:07:16 -0500

Seen: 72 times

Last updated: Dec 22 '11