Have helpful error messages when DB tables were not created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Vish Ishaya |
Bug Description
At revno 583, when executing nova-manage to create user admin, it's failing with a traceback as follows:
(full trace back is attached.)
$ bin/nova-manage --sql_connectio
<snip>
sqlalchemy.
It seems that any tables in database are not created.
This issue does not happen by reverting to revno 580.
Revno 581 added db command in nova-manage. I'm not sure whether the change in revno 581 asks us to do something for db initialization before creating user admin.
Regards,
Hisaki Ohara
Related branches
- Eric Day (community): Needs Fixing
- Devin Carlen (community): Approve
-
Diff: 955 lines (+227/-145)9 files modifiedbin/nova-manage (+24/-5)
contrib/nova.sh (+53/-39)
doc/source/adminguide/multi.node.install.rst (+66/-65)
doc/source/adminguide/nova.manage.rst (+23/-12)
doc/source/adminguide/single.node.install.rst (+17/-11)
doc/source/man/novamanage.rst (+23/-12)
nova/db/api.py (+0/-1)
nova/db/sqlalchemy/session.py (+3/-0)
nova/exception.py (+18/-0)
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.1 |
status: | Fix Committed → Fix Released |
I also had this issue this morning. Tried to clean up sqlite db by hand, but nothing.
Issue appears to be that tables are not created in the DB at all.
Regards
Ricardo Carrililo Cruz (rcc)