Ask Your Question

Fixing Nova configuration (Devstack)

asked 2019-12-03 10:42:50 -0500

Daryl gravatar image

I've been struggling getting Devstack to run to completion, both Stein and Rocky. Yesterday I discovered "journalctl" and it tells me that I'm having trouble with DBConnection using as the address.

ERROR nova.servicegroup.drivers.db DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on ''

When I was trying to install every component by hand, the connection was always to the named host ("controller"), so this is surprising to me. What's the best way to fix this (if in fact, it's fixable)?

edit retag flag offensive close merge delete


I changed four files in /etc/nova to reference 'controller' instead of ''. Now at the end of ./, I get "g-api did not start and a series of "Service N could not be found", where N is a small integer. "openstack service list" does not show nova-compute. Where should I look next?

Daryl gravatar imageDaryl ( 2019-12-03 11:39:16 -0500 )edit

And further back up the journalctl display I found this:

ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table '' doesn't exist")

And then further still, after a lot of DEBUG lines this:

AMQP server on is unreachable: Too many heartbeats

Daryl gravatar imageDaryl ( 2019-12-03 11:47:24 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-12-03 15:07:54 -0500

Daryl gravatar image

I found a five year old post where someone had resolved a nova-compute problem by allocating more RAM to his virtual host. If I'd only known that six weeks ago. :)

Thanks to all the people who have helped me learn a lot about Devstack and OpenStack installation. Just remember: 8GB RAM is better than 4.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-12-03 10:42:50 -0500

Seen: 159 times

Last updated: Dec 03 '19