keystone-manage fails silently

Bug #1829296 reported by Douglas Mendizábal
6
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.

[1] https://docs.openstack.org/keystone/stein/install/keystone-install-rdo.html#install-and-configure-components

description: updated
Revision history for this message
Colleen Murphy (krinkle) wrote :

I can't reproduce this on the latest devstack:

$ keystone-manage db_sync
CRITICAL keystone [-] Unhandled error: NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:mysql.pymsql

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?

Changed in keystone:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Identity (keystone) because there has been no activity for 60 days.]

Changed in keystone:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.