Database tables not created in glance.registry.db.api.register_models()
Bug #712575 reported by
Jay Pipes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Jay Pipes |
Bug Description
jpipes@
jpipes@
SQLite version 3.7.2
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
Oops.
Problem is this in glance.
BASE = declarative_base()
Changing that to:
BASE = models.BASE
fixes it.
Related branches
lp:~jaypipes/glance/bug712575
- Jay Pipes (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedglance/registry/db/api.py (+1/-1)
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | cactus-2011-02-21 → 2011.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
After observing the same behavior I applied the same fix and it works for me too.