can't seem to install keystone on quantal
I think I found a problem with the current keystone debian packaging rules (latest revision: http://
When I try to install keystone in my system I get the following stacktrace:
Traceback (most recent call last):
File "/usr/bin/
cli.
File "/usr/lib/
return run(cmd, (args[:1] + args[2:]))
File "/usr/lib/
return CMDS[cmd]
File "/usr/lib/
return self.main()
File "/usr/lib/
driver.
File "/usr/lib/
migration.
File "/usr/lib/
current_version = db_version()
File "/usr/lib/
return versioning_
File "<string>", line 2, in db_version
File "/usr/lib/
engine = construct_
File "/usr/lib/
return create_
File "/usr/lib/
return strategy.
File "/usr/lib/
u = url.make_
File "/usr/lib/
return _parse_
File "/usr/lib/
"Could not parse rfc1738 URL from string '%s'" % name)
sqlalchemy.
dpkg: error processing keystone (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
keystone
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is because keystone-manage is trying to dump the schema into a sqlite file in /root (my pwd) by using the keystone account. If I change directory to /var/lib/keystone, the error does not occur.
I managed to track this down to the fact that the keystone-manage db_sync (defined in keystone.postinst) is done outside the conditional block that verifies the default value of config_db defined in the keystone.templates.
Hope this help, but if I am completely off track I apologize for the noise.
Cheers,
Armando
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu keystone Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Armando Migliaccio for more information if necessary.