Rebuild instance should check any attached volume before rebuilding it
Bug #1278533 reported by
Jenny Shieh
This bug report is a duplicate of:
Bug #1241615: rebuild with volume attached leaves instance without the volume and in an inconsistent state.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
jiang, yunhong |
Bug Description
When rebuilding an instance without detaching the attached volume from the instance first, nova ‘rebuild_instance’ doesn’t check for any attached volumes and go ahead to rebuild the instance. Therefore, the volume is still attached to the host of 3PAR server. Once the instance is built successfully, it fails to attach the same volume to the rebuilt instance.
Steps to reproduce the issue:
1. create an instance, create volume
2. attach the volume to the instance
3. mount the volume to the instance
4. perform rebuild instance without detaching volume
5. attach the same volume to the rebuilt instance
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → jiang, yunhong (yunhong-jiang) |
To post a comment you must log in.
Do you have a paste with the error stack trace from the nova compute logs?