Rebuild detaches block devices when instance is still powered on
Bug #1471216 reported by
Roman Podoliaka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Roman Podoliaka |
Bug Description
Due to the fact that rebuild detaches block devices when instance is still powered on, data written to attached volumes can possibly be lost, if it hasn't been fsynced yet.
We can prevent this by allowing instance to shut down gracefully before detaching block devices during rebuild.
Changed in nova: | |
assignee: | nobody → Roman Podoliaka (rpodolyaka) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Roman Podoliaka (rpodolyaka) → melanie witt (melwitt) |
Changed in nova: | |
assignee: | melanie witt (melwitt) → Roman Podoliaka (rpodolyaka) |
Changed in nova: | |
milestone: | none → liberty-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-3 → 12.0.0 |
To post a comment you must log in.
yes, I think we should use clean_shutdown param instead of self.driver.destroy directly