nova/nova/cmd
imacdonn 3eea37b85b Handle online_data_migrations exceptions
When online_data_migrations raise exceptions, nova/cinder-manage catches
the exceptions, prints fairly useless "something didn't work" messages,
and moves on. Two issues:

1) The user(/admin) has no way to see what actually failed (exception
   detail is not logged)

2) The command returns exit status 0, as if all possible migrations have
   been completed successfully - this can cause failures to get missed,
   especially if automated

This change adds logging of the exceptions, and introduces a new exit
status of 2, which indicates that no updates took effect in the last
batch attempt, but some are (still) failing, which requires intervention.

Change-Id: Ib684091af0b19e62396f6becc78c656c49a60504
Closes-Bug: #1796192
2018-10-16 15:49:51 +00:00
..
__init__.py Make monkey patch work in uWSGI mode 2018-08-28 09:49:01 +08:00
api.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
api_metadata.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
api_os_compute.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
baseproxy.py Convert websocketproxy to use db for token validation 2018-05-03 09:57:56 -04:00
cells.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
common.py Handle deprecation of inspect.getargspec 2018-04-26 11:51:10 +00:00
compute.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
conductor.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
console.py Pass config object to oslo_reports 2017-09-05 10:39:43 +00:00
consoleauth.py Deprecate the nova-consoleauth service 2018-05-03 10:02:29 -04:00
dhcpbridge.py Remove translation of log messages 2017-06-09 09:06:16 +00:00
manage.py Handle online_data_migrations exceptions 2018-10-16 15:49:51 +00:00
network.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
novncproxy.py console: Provide an RFB security proxy implementation 2018-01-12 10:00:42 +00:00
policy.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
scheduler.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00
serialproxy.py config options: centralize section "serial_console" 2015-11-19 11:00:20 +01:00
spicehtml5proxy.py config options: centralize 'spice' options 2016-04-11 10:34:05 +00:00
status.py nova-status - don't count deleted compute_nodes 2018-09-22 00:59:10 +00:00
xvpvncproxy.py Pass config object to oslo_reports 2017-09-05 10:39:43 +00:00