yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34778
[Bug 1468762] [NEW] lxc hypervisor does not support PCI devices
Public bug reported:
OS: Ubuntu 14.04.02
OpenStack Kilo
Hypervisor: LXC
Nova: 1:2015.1.0-0ubuntu1~cloud0
libvirt-bin: Installed: 1.2.12-0ubuntu13~cloud0
I have lxc powered compute node with TeslaK40 card that I want to passthrough to VM. Tutorials that I used are:
https://wiki.openstack.org/wiki/Pci_passthrough
http://docs.openstack.org/kilo/config-reference/content/lxc.html
I can run simple VMs, however when I try to create VM with PCI then it
fails.
Compute Node log:
2015-06-25 00:19:18.729 6509 ERROR nova.compute.manager [req-add1f483-f402-47dc-8701-574b8558d3d2 - - - - -] [instance: 5be8bf76-0f8f-4641-8fa8-5ba42ae19388] Instance failed to spawn
2015-06-25 00:19:18.729 6509 TRACE nova.compute.manager [instance: 5be8bf76-0f8f-4641-8fa8-5ba42ae19388] Traceback (most recent call last):
//SPAWNING LOGS
2015-06-25 00:19:18.729 6509 TRACE nova.compute.manager [instance: 5be8bf76-0f8f-4641-8fa8-5ba42ae19388] type=virt_type)
2015-06-25 00:19:18.729 6509 TRACE nova.compute.manager [instance: 5be8bf76-0f8f-4641-8fa8-5ba42ae19388] PciDeviceUnsupportedHypervisor: lxc hypervisor does not support PCI devices
I looked into /usr/lib/python2.7/dist-
packages/nova/virt/libvirt/driver.py and found out that libvirt does not
support pci passthrough for other hypervisors except (Xen,KVM,QEMU). Is
it bug?
This node originally used KVM, however I could not passthrough PCI successully there, If anybody wants to look into (It would be huge help):
https://ask.openstack.org/en/question/68667/kvm-pci-passthrough-nvidia-tesla-k40/
If any data is reqired I will provide it
** Affects: nova
Importance: Undecided
Status: New
** Tags: libvirt lxc pci-passthrough
--
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/1468762
Title:
lxc hypervisor does not support PCI devices
Status in OpenStack Compute (Nova):
New
Bug description:
OS: Ubuntu 14.04.02
OpenStack Kilo
Hypervisor: LXC
Nova: 1:2015.1.0-0ubuntu1~cloud0
libvirt-bin: Installed: 1.2.12-0ubuntu13~cloud0
I have lxc powered compute node with TeslaK40 card that I want to passthrough to VM. Tutorials that I used are:
https://wiki.openstack.org/wiki/Pci_passthrough
http://docs.openstack.org/kilo/config-reference/content/lxc.html
I can run simple VMs, however when I try to create VM with PCI then it
fails.
Compute Node log:
2015-06-25 00:19:18.729 6509 ERROR nova.compute.manager [req-add1f483-f402-47dc-8701-574b8558d3d2 - - - - -] [instance: 5be8bf76-0f8f-4641-8fa8-5ba42ae19388] Instance failed to spawn
2015-06-25 00:19:18.729 6509 TRACE nova.compute.manager [instance: 5be8bf76-0f8f-4641-8fa8-5ba42ae19388] Traceback (most recent call last):
//SPAWNING LOGS
2015-06-25 00:19:18.729 6509 TRACE nova.compute.manager [instance: 5be8bf76-0f8f-4641-8fa8-5ba42ae19388] type=virt_type)
2015-06-25 00:19:18.729 6509 TRACE nova.compute.manager [instance: 5be8bf76-0f8f-4641-8fa8-5ba42ae19388] PciDeviceUnsupportedHypervisor: lxc hypervisor does not support PCI devices
I looked into /usr/lib/python2.7/dist-
packages/nova/virt/libvirt/driver.py and found out that libvirt does
not support pci passthrough for other hypervisors except
(Xen,KVM,QEMU). Is it bug?
This node originally used KVM, however I could not passthrough PCI successully there, If anybody wants to look into (It would be huge help):
https://ask.openstack.org/en/question/68667/kvm-pci-passthrough-nvidia-tesla-k40/
If any data is reqired I will provide it
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1468762/+subscriptions
Follow ups
References