Files
nova/nova
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
..
2018-07-10 14:56:27 +00:00
2018-07-10 14:56:27 +00:00
2018-06-12 14:44:32 -04:00
2018-09-23 06:53:32 +00:00
2018-09-25 15:56:45 +00:00
2018-06-11 14:44:10 -07:00
2018-09-05 09:08:54 -05:00