It is not possible to select AZ for new Cinder volume during the VM creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Dashboard (Horizon) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Steps To Reproduce:
1. Deploy OpenStack cluster with several Nova availability zones, for example, 'nova1' and 'nova2' and with several Cinder availability zones, for example, 'storage1' and 'storage2' (availability zones for Nova and Cinder should be different).
2. Login to Horizon dashboard and navigate to Project > Instances
3. Click on 'Launch Instance' button
4. Set all required parameters, select Nova AZ 'nova1' for new VM and select Instance Boot Source = "Boot from image (creates new volume)"
5. Click on 'Launch' button
Observed Result:
Instance will fail with "Failure prepping block device" error (please see attached screenshot horizon_az_bug.png)
Expected Result:
As a user I expect that Horizon UI will provide me the ability to select the availability zone for new volume if I want to create new volume and boot VM from it. We can't use Nova AZ as availability zone for Cinder volume because these zones are different availability zones (we can have, for example, 1 Nova availability zones and many Cinder availability zone or one Cinder AZ and many Nova AZs - it depends on users needs).
Changed in horizon: | |
status: | New → Confirmed |
I think Horizon UI should provide something like drop down list with the list of Cinder availability zones when user wants to boot VM with option "Boot from image (creates new volume)" - we can prepare the fix for the existing Horizon UI (to support many AZs for Nova & Cinder use case in Kilo and Liberty releases).
Also, I know that Horizon team works on the new UI for Instance creation workflow, so, we need to make sure that it will be supported with new UI as well.