yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12189
[Bug 1201334] Re: libvirt disk_mappings returns bad root disk for Xen paravirtualization
I think this was already solved in
https://review.openstack.org/#/c/58999/
** Tags added: xen
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1201334
Title:
libvirt disk_mappings returns bad root disk for Xen paravirtualization
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
I noticed that during launching Xen paravirtualization instances over libvirt driver, root_device_name is returned as '/dev/xvda' and has to be '/dev/xvda1'.
/usr/lib64/python2.6/site-packages/nova/virt/libvirt/driver.py
lines 2190-2228
if CONF.libvirt_type == "xen" and guest.os_type == vm_mode.XEN:
----> guest.os_root = root_device_name
else:
guest.os_type = vm_mode.HVM
I would like propose some simple patch for this and replace hard coded
root device by pygrub option.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1201334/+subscriptions