nova-compute will delete all instances if hostname changes

Bug #1471887 reported by Dan Smith
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Dan Smith

Bug Description

The evacuate code as it is currently in nova will delete instances when instance.host != $(hostname) of the host. This assumes that the instance has been evacuated (because its hostname changed). In that case, deleting the local residue is correct, but if the host's hostname changes, then we will just delete data based on a hunch.

Nova-compute needs a better mechanism to detect if an evacuation has actually been requested before deleting the data.

See Blueprint robustify-evacuate

Changed in nova:
assignee: nobody → Dan Smith (danms)
status: New → In Progress
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-2 → 12.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.