keystone database connection error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Dolph Mathews | ||
keystone (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
Keystone is not able to connect to the sqlite database.
$keystone-manage token add 999888777666 admin admin 2015-02-05T00:00
ERROR: (OperationalError) unable to open database file None None
Traceback (most recent call last):
File "/usr/local/
execfile(
File "/opt/stack/
keystone.
File "/opt/stack/
raise exc
sqlalchemy.
The solution is the current keystone.conf file mentions about relative path of database it should provide absolute path instead.
After adding the patch i was able to create the auth token.
Related branches
Changed in keystone (Ubuntu Oneiric): | |
status: | New → Confirmed |
Changed in keystone (Ubuntu Precise): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in keystone (Ubuntu Oneiric): | |
importance: | Undecided → Medium |
Changed in keystone (Ubuntu Precise): | |
status: | Fix Released → Fix Committed |
Changed in keystone (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
Changed in keystone (Ubuntu Oneiric): | |
status: | Fix Committed → In Progress |
Changed in keystone (Ubuntu Precise): | |
status: | Fix Released → In Progress |
Changed in keystone: | |
status: | New → In Progress |
Related to bug 874284 (similar cause, different symptoms).