Bug 1469058
Summary: | Nova real time instance with SR-IOV interface is shutdown after create. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Peng Liu <pliu> | ||||
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.3 | CC: | berrange, dasmith, dyuan, eglynn, hhuang, jdenemar, jishao, juzhang, mtessun, pezhang, pliu, rbalakri, rbryant, sbauza, sferdjao, sgordon, srevivo, vromanso, xuzhang, yalzhang, zshi | ||||
Target Milestone: | pre-dev-freeze | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-08-02 07:52:23 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Peng Liu
2017-07-10 10:47:45 UTC
It's not a knowing issue so we will have to investigate little bit more. Can you provide sosreport ? Problem gone after upgrade the libvirt to 3.2. Pei Zhang from QE has successfully reproduce this issue in RHEL 7.3. New BZ will be created accordingly. Created attachment 1298132 [details]
xml of VM
QE reproduced this issue from qemu-kvm-rhev/libvirt layer:
Versions:
3.10.0-514.6.1.rt56.429.el7.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.6.x86_64
tuned-2.7.1-3.el7.noarch
libvirt-2.0.0-10.el7_3.9.x86_64
Steps:
1. Prepare rt host and rt guest
2. In host, create VFs
# echo 2 > /sys/bus/pci/devices/0000\:05\:00.0/sriov_numvfs
# lspci | grep Eth
05:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
05:10.0 Ethernet controller: Intel Corporation X540 Ethernet Controller Virtual Function (rev 01)
05:10.2 Ethernet controller: Intel Corporation X540 Ethernet Controller Virtual Function (rev 01)
3. Boot VM with VF, errors as Description show. See attachment for full xml.
# cat /var/log/libvirt/qemu/instance-0000001.log
...
qemu: qemu_thread_create: Resource temporarily unavailable
2017-07-14 04:58:54.099+0000: shutting down
Note: If guest is boot up, just wait for a longer time (eg, in my testing environment, waiting about 1 hour), this problem will appear. Then, next booting VM will be shutdown immediately, no matter how many times.
Additional info:
1. This issue is probably caused by libvirt, as after upgrading libvirt to libvirt-2.0.0-10.el7_3.9.x86_64, the problem is gone. So move this bug to 'libvirt' component.
2. With rhel7.4, everything works well. So this problem exists with 7.3.z.
(In reply to Pei Zhang from comment #3) > QE reproduced this issue from qemu-kvm-rhev/libvirt layer: > > Versions: > libvirt-2.0.0-10.el7_3.9.x86_64 ... > 1. This issue is probably caused by libvirt, as after upgrading libvirt to > libvirt-2.0.0-10.el7_3.9.x86_64, the problem is gone. So move this bug to > 'libvirt' component. Did you make a mistake in one of the versions? As written this doesn't make any sense. Sorry, there was a mistake.
> Additional info:
> 1. This issue is probably caused by libvirt, as after upgrading libvirt to
> libvirt-2.0.0-10.el7_3.9.x86_64, the problem is gone. So move this bug to
> 'libvirt' component.
Should be upgrading to libvirt-3.2.0-14.el7.x86_64.
libvirt-2.0.0-10.el7_3.9.x86_64 fail
libvirt-3.2.0-14.el7.x86_64 work
OK, which means it is already fixed in 7.4. |