Migration record for resize not cleared if exception is thrown during the resize
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
John Warren |
Bug Description
Testing on havana.
prep_resize() calls resource tracker's resize_claim() which creates a migration record. This record is cleared during the rt.drop_
This results in an WARNING being logged every 60 seconds for every resize operation that ended with the instance in ERROR state as part of the update_
2013-12-04 17:49:15.247 25592 WARNING nova.compute.
This message is because the resource tracker's _update_
These messages will be permanent in the logs even after the instance in question's state is reset, and even after a successful resize has occurred on that instance. There is no way to clean up the old migration record at this point.
It seems like there should be some handling when an exception occurs during resize, finish_resize, confirm_resize, revert_resize, etc. that will drop the resize claim, so the claim and migration record do not persist indefinitely.
tags: | added: compute |
Changed in nova: | |
milestone: | none → icehouse-3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
status: | Fix Released → Confirmed |
Changed in nova: | |
milestone: | icehouse-3 → icehouse-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-rc1 → 2014.1 |
There is a patch here: https:/ /review. openstack. org/#/c/ 61470/