[openstack-dev] [Horizon] [Nova] [Cinder] Need to add selection of availability zone for new volume
Dulko, Michal
michal.dulko at intel.com
Fri Aug 28 09:02:29 UTC 2015
Hi,
If I recall correctly your Horizon-based solution won't be possible, because of how Nova's code works internally - it just passes Nova's AZ to Cinder API, without allowing to overwrite it.
We're discussing this particular issue in another ML thread http://lists.openstack.org/pipermail/openstack-dev/2015-August/071732.html. I'm planning to create a BP and spec to sort out all Cinder AZ issues in Mitaka.
Apart from that there's a bugreport[1] and patch[2] aiming in temporarily fixing it for Liberty cycle.
[1] https://bugs.launchpad.net/cinder/+bug/1489575
[2] https://review.openstack.org/#/c/217857/
> -----Original Message-----
> From: Timur Nurlygayanov [mailto:tnurlygayanov at mirantis.com]
> Sent: Monday, August 17, 2015 2:19 PM
> To: OpenStack Development Mailing List
> Subject: [openstack-dev] [Horizon] [Nova] [Cinder] Need to add selection of
> availability zone for new volume
>
> Hi OpenStack dev team,
>
>
> we found issue [1] in Horizon (probably, in Nova API too), which blocks the
> ability to boot VMs with option Instance Boot Source = "Boot from image
> (creates new volume)" in case when we have several Availability Zones in
> Nova and Cinder - it will fail with error "Failure prepping block device".
>
>
> Looks like it is issue in the initial design of "Boot from image (creates new
> volume)" feature, because when we creates new volume we need to
> choose the Availability zone for this volume or use some default value (with
> depends on AZs configuration). In the same time Nova AZs and Cinder AZs
> are different Availability Zones and we need to manage them separately.
>
>
> For now, when we are using "Boot from image (creates new volume)"
> feature, Nova tries to create volume is selected Nova Availability Zone, which
> can be not presented in Cinder. In the result we will see error "Failure
> prepping block device".
>
> 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
> [2].
>
>
> Thank you!
>
>
> [1] https://bugs.launchpad.net/horizon/+bug/1485578
> [2] https://openstack.invisionapp.com/d/#/projects/2472307
>
> --
>
>
>
> Timur,
> Senior QA Engineer
> OpenStack Projects
> Mirantis Inc
More information about the OpenStack-dev
mailing list