keystone-manage fails silently
Bug #1829296 reported by
Douglas Mendizábal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When using keystone-manage interactively to install keystone [1], it does not provide feedback if something goes awry.
Steps to recreate
-----------------
Enter a bad database connection string. eg. mysql+pymsql://... (note the wrong pymsql driver)
Run `keystone-manage db_sync` to sync the database.
Expected Result
---------------
keystone-manage prints an error message to stderr
Actual Result
-------------
cli returns with no output, so you have to run something like `echo $?` to check the exit code,
and then read the keystone.log file to find out why it failed.
description: | updated |
To post a comment you must log in.
I can't reproduce this on the latest devstack:
$ keystone-manage db_sync dialects: mysql.pymsql
CRITICAL keystone [-] Unhandled error: NoSuchModuleError: Can't load plugin: sqlalchemy.
I turned debug logging off but didn't change any other logging configuration for devstack. Do you have any other information about your deployment that would help reproduce this?