nova-manage db sync repeatedly recreates /var/lib/nova/nova.sqlite

asked 2014-04-21 13:43:53 -0600

phil gravatar image

Basically when I run nova-manage db sync, it creates /var/lib/nova/nova.sqlite or if it already exists it doesn't do anything.

I've read every single question on here that asks the same or similar questions and I haven't found an answer that helps.

I've tried removing the nova.sqlite file, it is recreated, using the flagfile flag in order to specify my nova.conf. MySQL is specified in my /etc/nova.conf connection line, I have the most update to date version of SQLAlchemy and Alchemy migrate (and not just migrate), I've tried dropping the database and recreating it from scratch. I've installed PHPMyAdmin to make it easier to check up on the database, and throughout I was sure to restart the appropriate services hoping that would be conducive to solving the problem.

Does anyone have any idea how I could solve this? At this point I must be overlooking something far far too obvious and the fact that I've been staring at this problem for far too many hours is likely not helpful to my cause.

Thank you for reading this!

edit retag flag offensive close merge delete



Which type of machine are you using?

See this:

Are you incurring in the same kind of problem?

Antonio G. gravatar imageAntonio G. ( 2014-04-21 14:27:02 -0600 )edit

Hi Antonio, thanks for taking the time to answer. I realized my mistake shortly after I posted, and it's pretty much the same thing as the link you posted except that I'm running 12.04 and forgot this step, (

phil gravatar imagephil ( 2014-04-21 16:05:03 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-21 16:07:41 -0600

phil gravatar image

updated 2014-04-21 16:08:13 -0600

Simply put, I forgot to do this ( . I'm installing via Puppet and neglected to properly setup my environment.

To use the Ubuntu Cloud Archive for Havana

The Ubuntu Cloud Archive is a special repository that allows you to install newer releases of OpenStack on the stable supported version of Ubuntu.

Install the Ubuntu Cloud Archive for Havana:

apt-get install python-software-properties

add-apt-repository cloud-archive:havana Update the

package database, upgrade your system, and reboot for all changes to take effect:

apt-get update && apt-get dist-upgrade


edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-04-21 13:43:53 -0600

Seen: 631 times

Last updated: Apr 21 '14