Ask Your Question
0

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

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

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

Comments

1

Which type of machine are you using?

See this: https://ask.openstack.org/en/question...

Are you incurring in the same kind of problem?

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

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, http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-packages.html (http://docs.openstack.org/icehouse/in...)

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

1 answer

Sort by ยป oldest newest most voted
2

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

phil gravatar image

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

Simply put, I forgot to do this http://docs.openstack.org/icehouse/install-guide/install/apt/content/basics-packages.html (http://docs.openstack.org/icehouse/in...) . 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

reboot

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

Stats

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

Seen: 587 times

Last updated: Apr 21 '14