mitaka nova - db sync produces error: Upgrade DB using Essex release first.
RHEL 7.2 - mitaka. running su -s /bin/sh -c "nova-manage db sync" nova
and i get an error saying "error: Upgrade DB using Essex release first." I've seen this exact error on another mailing list but nobody answered the question. I believe my nova.conf is correct and I've dropped and re-added the nova db.
this is the nova-manage.log output
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration [-] list index out of range
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration Traceback (most recent call last):
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration File "/usr/lib/python2.7/site-packages/nova/db/sqlalchemy/migration.py", line 66, in db_version
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration return versioning_api.db_version(get_engine(database), repository)
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration File "<string>", line 2, in db_version
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration File "/usr/lib/python2.7/site-packages/migrate/versioning/util/__init__.py", line 160, in with_engine
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration return f(*a, **kw)
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration File "/usr/lib/python2.7/site-packages/migrate/versioning/api.py", line 148, in db_version
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration schema = ControlledSchema(engine, repository)
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration File "/usr/lib/python2.7/site-packages/migrate/versioning/schema.py", line 33, in __init__
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration self.load()
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration File "/usr/lib/python2.7/site-packages/migrate/versioning/schema.py", line 54, in load
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration exceptions.DatabaseNotControlledError(str(exc)), tb)
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration File "/usr/lib/python2.7/site-packages/migrate/versioning/schema.py", line 50, in load
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration data = list(result)[0]
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration DatabaseNotControlledError: list index out of range
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration
If I drop both databases and re-add but run the db sync on the nova db first it will not error but I then get this same error on the nova_api db sync.
nobody has seen this error????
This is the nova-manage.log
2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration [-] list index out of range 2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration Traceback (most recent call last): 2016-08-08 10:33:22.517 183254 ERROR nova.db.sqlalchemy.migration File "/u