automatic confirm resize should not set migration to error when encounter problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
jichenjc |
Bug Description
function in compute/manager.py _poll_unconfirm
whenever it find a problem , consider following case
1) _poll_unconfirm
2) user want to delete an instance ,its task state will be changed to DELETING by
3) _poll_unconfirm
4) following code in _delete
if instance.vm_state == vm_states.RESIZED:
will fail because migration status already updated
so we should not set the migration status to 'error' , let it be and report warning message is enough
Changed in nova: | |
assignee: | nobody → jichencom (jichenjc) |
tags: | added: compute |
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/84932
Review: https:/