'keystone-manage database sync' doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
Brian Lamar |
Bug Description
root@z2-auth:~# su -c "keystone-manage database sync" keystone
ERROR: you need to pass either an existing engine or a database uri
No handlers could be found for logger "keystone.manage"
Traceback (most recent call last):
File "/usr/bin/
keystone.
File "/usr/lib/
process(
File "/usr/lib/
args)
File "/usr/lib/
migration.
File "/usr/lib/
_version_
File "/usr/lib/
return versioning_
File "<string>", line 2, in version_control
File "/usr/local/
engine = construct_
File "/usr/local/
raise ValueError("you need to pass either an existing engine or a database uri")
ValueError: you need to pass either an existing engine or a database uri
When looking into things, we seem to be passing the entire "options" array to the migrate library...but it only seems to need the 'sql_connection' part of options.
Changed in keystone: | |
assignee: | nobody → Brian Lamar (blamar) |
status: | New → In Progress |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
milestone: | none → essex-3 |
Changed in keystone: | |
milestone: | essex-3 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/3361
Review: https:/