keystone-manage should catch unexpected exception

Bug #1809779 reported by Yang Youseok
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Undecided
Yang Youseok

Bug Description

keystone-manage command of db_sync (and also other commands) currently does not catch any exception at cmd_class.main().

It makes operator very confusing when db_sync is failed since it does not emit any message at all. I think at the end of the main() in keystone/cmd/cli.py, we have to catch Exception for any exceptional cases.

For my case, it causes I don't have pymysql package using mysql+pymysql for db connection.

Thanks.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/627374

Changed in keystone:
assignee: nobody → Yang Youseok (ileixe)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by Yang Youseok (<email address hidden>) on branch: master
Review: https://review.openstack.org/627374
Reason: Invalid

Yang Youseok (ileixe)
Changed in keystone:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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