Phase 1: My current fix address the instance creation using image with new volume in function setFinalSpecBootImageToVolume() by leaving the decision to nova to determine the device name.
Phase 2: Address the instance creation using an existing volume or snapshot (which still default to 'vda' using another function setFinalSpecBootFromVolumeDevice() which uses BDMv1 (legacy) instead of BDMv2. Maybe as we fix that part in a second phase, we should consider to take the time to upgrade to code to BDMv2.
As agreed with amotoki,
We will fix this in two phases,
Phase 1: My current fix address the instance creation using image with new volume in function setFinalSpecBoo tImageToVolume( ) by leaving the decision to nova to determine the device name.
Phase 2: Address the instance creation using an existing volume or snapshot (which still default to 'vda' using another function setFinalSpecBoo tFromVolumeDevi ce() which uses BDMv1 (legacy) instead of BDMv2. Maybe as we fix that part in a second phase, we should consider to take the time to upgrade to code to BDMv2.
So this is the plan right now. Phase 1 is cover here: https:/ /review. openstack. org/644982 and waiting for Code-Review.
- Eric