Hi, thanks for your response.

Having said that, there is probably a bug in Horizon since it's defaulting to vda for the device name when booting from volume.

I think so, too. I'm quite new to Openstack and not 100% sure about my statements, but I think my question is not a support issue. I'm trying to find the cause for the faulty results when launching instances from volume via dashboard.

The libvirt driver in nova ignores the requested device name in boot from volume / volume attach requests

Yes, I see that, too, in default_device_names_for_instance() the bdm.device_name is nulled out. But there is also a "root_device_name", which keeps the value provided by a user (CLI or Horizon) and this value is applied when trying to boot from that volume, which leads to an error. Shouldn't the root_device_name also be nulled out?

Sorry, if this is not the right channel to address this issue, I thought it was. So if it's not, what is the way to go here?

Regards,
Eugen

Zitat von Matt Riedemann <mrie...@linux.vnet.ibm.com>:

On 3/21/2016 10:31 AM, Mike Perez wrote:
On 16:01 Mar 21, Eugen Block wrote:
Hi all,

I'm just a (new) Openstack user, not a developer, but I have a question
regarding the Horizon dashboard respectively launching instances via
dashboard.

Hi Eugen!

Welcome to the community! This mailing list is development focused and not our support channel. You can request help at our general mailing list [1], or Ask
OpenStack [2].

[1] - http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[2] - https://ask.openstack.org/en/questions/


Having said that, there is probably a bug in Horizon since it's defaulting to vda for the device name when booting from volume.

The libvirt driver in nova ignores the requested device name in boot from volume / volume attach requests since Liberty [1]. It's best to let the virt driver in nova pick the device name, you can get the mountpoint via the volume attachment later after the volume's status is 'in-use'.

[1] https://review.openstack.org/#/c/189632/

--

Thanks,

Matt Riedemann


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



--
Eugen Block                             voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg                         e-mail  : ebl...@nde.ag

        Vorsitzende des Aufsichtsrates: Angelika Mozdzen
          Sitz und Registergericht: Hamburg, HRB 90934
                  Vorstand: Jens-U. Mozdzen
                   USt-IdNr. DE 814 013 983


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to