keystone-manage fails silently

Bug #1829296 reported by Douglas Mendizábal on 2019-05-15

This bug report will be marked for expiration in 55 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
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
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers