Ask Your Question
0

Fixing Nova configuration (Devstack)

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

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 127.0.0.1 as the address.

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

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

Comments

I changed four files in /etc/nova to reference 'controller' instead of '127.0.0.1'. Now at the end of ./stack.sh, 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 -0600 )edit

And further back up the journalctl display I found this:

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

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

AMQP server on 192.168.2.192:5672 is unreachable: Too many heartbeats

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

1 answer

Sort by ยป oldest newest most voted
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 28 times

Last updated: Dec 03 '19