glance/glance/cmd
Ravi Shekhar Jethani c9a21f655e Provide user friendly message for FK failure
'glance-manage db purge' command fails with DBReferenceError due
to FK constraint failure and exits with stack-trace on the command
prompt.

Made changes to give user-friendly error message to the user as
well as log appropriate error message in glance-manage logs
instead of stack-trace.

Co-author-by: Dinesh Bhor <dinesh.bhor@nttdata.com>
Change-Id: I52e56b69f1b78408018c837d71d75c6df3df9e71
Closes-Bug: #1554412
2017-04-05 15:56:32 +05:30
..
__init__.py remove useless EVENTLET_NO_GREENDNS 2017-01-17 10:28:57 +01:00
api.py Remove unnecessary executable permissions 2016-05-23 21:48:22 +02:00
cache_cleaner.py Prepare for oslo.log 3.17.0 2016-11-29 10:20:43 -06:00
cache_manage.py cache_manage: fix a print bug in exit main 2016-08-01 14:07:14 +00:00
cache_prefetcher.py Prepare for oslo.log 3.17.0 2016-11-29 10:20:43 -06:00
cache_pruner.py Prepare for oslo.log 3.17.0 2016-11-29 10:20:43 -06:00
control.py Import i18n functions directly 2015-12-07 18:20:43 +03:00
manage.py Provide user friendly message for FK failure 2017-04-05 15:56:32 +05:30
registry.py Remove unnecessary executable permissions 2016-05-23 21:48:22 +02:00
replicator.py Replace master/slave usage in replication 2017-03-22 23:46:47 +00:00
scrubber.py Prepare for oslo.log 3.17.0 2016-11-29 10:20:43 -06:00