[Openstack-operators] [Nova] Significance of Error Vs Failed status
Abhishek.Kekane at nttdata.com
Mon May 9 01:52:08 UTC 2016
In Liberty release, we had upstream  a security fix to cleanup orphaned instance files from compute nodes for resize operation. To fix this security issue, a new periodic task '_cleanup_incomplete_migrations’ was introduced that runs on each compute node which queries for deleted instances and migration status in “error” status. If there are any such instances, then it simply cleanup instance files on that particular compute node.
Similar issue is reported in LP bug  for Live-migration operation and we would like to use the same periodic task to fix this problem. But in case of live migration, the migration status is set to “failed” instead of “error” status if migration fails for any reason. This change was introduced in patch  when migration object support was added for live migration. Due to this inconsistency, the periodic task will not pickup instances to cleanup orphaned instance files. To fix this problem, we simply want to set the migration status to “error” in patch  same as done for resize operation to bring consistency to the code.
We have discussed about this issue in the nova meeting  and decided that to the client, migration status 'error' vs. 'failed' should be considered the same thing, it's a failure. From operators point of view, is there any significance of setting migration status to 'error' or 'failed', if yes what is it and what impact it will have if migration status is changed from 'failed' to 'error'. Please provide your opinions on the same.
 : https://bugs.launchpad.net/nova/+bug/1470420
Disclaimer: This email and any attachments are sent in strictest confidence
for the sole use of the addressee and may contain legally privileged,
confidential, and proprietary data. If you are not the intended recipient,
please advise the sender by replying promptly to this email and then delete
and destroy this email and any attachments without any further use, copying
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-operators