cinder-mange sync is not creating tables in havana

asked 2014-01-17 09:45:38 -0600

santosh gravatar image

Hello, we do have openstack installed.. we create volumes. and can see the volumes in dashboard.. But, we are not seeng the tables in cinder schema.. We are suspecting that.. somewhere there is an sqlite database. this isreally surprising.. In addition cinder-manage db sync is not creating tables in cinder schema..

Any ideas

edit retag flag offensive close merge delete


Hi, First try to delete the sqlite DB(/var/lib/cinder/cinder.sqllite), Then make sure in cinder.conf you have below if you are using Havana: connection = mysql://cinder:CINDER_DBPASS@localhost/cinder not sql_connection = mysql://cinder:CINDER_DBPASS@localhost/cinder Cheers

mili gravatar imagemili ( 2014-01-18 03:03:39 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-09 01:07:30 -0600

jgriffith gravatar image

Mili is likely correct, here. Cinder has "found" a database, configured it and is somehow using it, otherwise you would not be able to create volumes. cinder-manage db sync is going to the same mystery DB as well.

edit flag offensive delete link more


Same here. I found the culprit by "strace -e open -f cinder-manage db version". It was a stale cinder.conf in ~root.

Eckebrecht von Pappenheim gravatar imageEckebrecht von Pappenheim ( 2014-12-19 14:52:18 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-01-17 09:45:38 -0600

Seen: 495 times

Last updated: Feb 09 '14