Can't configure nova to use MySQL as backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Linux version: Ubuntu 12.10 server
root@openstack:
2012.2 (2012.2-
Even thou I have configured nova.conf to use MySQL:
root@openstack:
sql_connection=
It still uses sqlite as the backend. I added these 2 lines to nova/db/
def get_engine():
"""Return a SQLAlchemy engine."""
global _ENGINE
LOG.warn('-- Eduardo -- _ENGINE: %s', _ENGINE)
LOG.warn('-- Eduardo -- sql_connection: %s', FLAGS.sql_
if _ENGINE is None:
and obtain the following
2012-11-08 02:59:31 WARNING nova.db.
2012-11-08 02:59:31 WARNING nova.db.
confirming nova is using sqlite as the database.
The packaging uses sqlite by default, did you change your /etc/nova/nova.conf and then re-run nova-manage db sync?