Bug 1386976
Summary: | attaching a new multi-queue vhost-user interface to a running VM fails | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | bigswitch <rhosp-bugs-internal> | |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> | |
Status: | CLOSED ERRATA | QA Contact: | yalzhang <yalzhang> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 7.0 | CC: | dyuan, jdenemar, juzhang, knoel, mburns, pezhang, rbalakri, rhosp-bugs-internal, srevivo, xuzhang, yalzhang | |
Target Milestone: | pre-dev-freeze | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-2.5.0-1.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1404186 (view as bug list) | Environment: | ||
Last Closed: | 2017-08-01 17:19:14 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1404186 |
Description
bigswitch
2016-10-19 23:55:42 UTC
Can it be related to bug 1366108? Miso, can you provide a scratch build for testing? Thanks. Sure. Here are the patches that I intent to propose to the upstream: https://github.com/zippy2/libvirt/commits/vhost_mq Here's a scratch build of the current git HEAD with them applied to test: https://mprivozn.fedorapeople.org/vhostmq/ bigswitch can you please check whether that fixes your issue? Patches proposed on the upstream list: https://www.redhat.com/archives/libvir-list/2016-November/msg00252.html I've just pushed the patches upstream: commit 21db4ab0528ca6c78744148ca4b7515aaeb4d0bf Author: Michal Privoznik <mprivozn> AuthorDate: Tue Oct 25 12:18:23 2016 +0200 Commit: Michal Privoznik <mprivozn> CommitDate: Thu Nov 10 16:47:32 2016 +0100 qemuDomainAttachNetDevice: Enable multiqueue for vhost-user https://bugzilla.redhat.com/show_bug.cgi?id=1386976 We have everything ready. Actually the only limitation was our check that denied hotplug of vhost-user. Signed-off-by: Michal Privoznik <mprivozn> commit 0e82fa4c345acb7ad52e0da0e54f7375eda57657 Author: Michal Privoznik <mprivozn> AuthorDate: Tue Oct 25 12:16:36 2016 +0200 Commit: Michal Privoznik <mprivozn> CommitDate: Thu Nov 10 16:47:32 2016 +0100 qemuDomainAttachNetDevice: Don't overwrite error on rollback If there is an error hotpluging a net device (for whatever reason) a rollback operation is performed. However, whilst doing so various helper functions that are called report errors on their own. This results in the original error to be overwritten and thus misleading the user. Signed-off-by: Michal Privoznik <mprivozn> v2.4.0-56-g0f62843 Set this bug as verified, see Bug 1366505#c6. [stack@rhosp10 ~]$ nova list +--------------------------------------+---------+--------+------------+-------------+------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+---------+--------+------------+-------------+------------------+ | 36464502-cc38-471a-89ea-63368e40ca0d | nfv-vm1 | ACTIVE | - | Running | nfv1=10.10.10.5 | | 7a042537-77f1-4cbd-b461-0785bc60c9f8 | vm2 | ACTIVE | - | Running | nfv1=10.10.10.8 | | 9b52d181-64b7-42eb-8a79-65d978254e57 | vm3 | ACTIVE | - | Running | nfv3=10.10.12.10 | | 611454a8-e10e-4097-ba0f-210fedb9a323 | vm4 | ACTIVE | - | Running | nfv1=10.10.10.6 | +--------------------------------------+---------+--------+------------+-------------+------------------+ [stack@rhosp10 ~]$ nova interface-attach --port-id 542ad3dd-974d-4754-bca4-8a2d05b0fc4c vm3 ERROR (ClientException): Failed to attach network adapter device to 9b52d181-64b7-42eb-8a79-65d978254e57 (HTTP 500) (Request-ID: req-c18da442-7099-487b-85aa-cbbe10303654) rpm -qa | grep qemu- qemu-img-rhev-2.6.0-27.el7.x86_64 qemu-kvm-rhev-2.6.0-27.el7.x86_64 ipxe-roms-qemu-20160127-5.git6366fa7a.el7.noarch qemu-kvm-common-rhev-2.6.0-27.el7.x86_64 libvirt-daemon-driver-qemu-2.0.0-10.el7_3.4.x86_64 (In reply to bigswitch from comment #10) > [stack@rhosp10 ~]$ nova list > +--------------------------------------+---------+--------+------------+----- > --------+------------------+ > | ID | Name | Status | Task State | > Power State | Networks | > +--------------------------------------+---------+--------+------------+----- > --------+------------------+ > | 36464502-cc38-471a-89ea-63368e40ca0d | nfv-vm1 | ACTIVE | - | > Running | nfv1=10.10.10.5 | > | 7a042537-77f1-4cbd-b461-0785bc60c9f8 | vm2 | ACTIVE | - | > Running | nfv1=10.10.10.8 | > | 9b52d181-64b7-42eb-8a79-65d978254e57 | vm3 | ACTIVE | - | > Running | nfv3=10.10.12.10 | > | 611454a8-e10e-4097-ba0f-210fedb9a323 | vm4 | ACTIVE | - | > Running | nfv1=10.10.10.6 | > +--------------------------------------+---------+--------+------------+----- > --------+------------------+ > [stack@rhosp10 ~]$ nova interface-attach --port-id > 542ad3dd-974d-4754-bca4-8a2d05b0fc4c vm3 > ERROR (ClientException): Failed to attach network adapter device to > 9b52d181-64b7-42eb-8a79-65d978254e57 (HTTP 500) (Request-ID: > req-c18da442-7099-487b-85aa-cbbe10303654) > > rpm -qa | grep qemu- > qemu-img-rhev-2.6.0-27.el7.x86_64 > qemu-kvm-rhev-2.6.0-27.el7.x86_64 > ipxe-roms-qemu-20160127-5.git6366fa7a.el7.noarch > qemu-kvm-common-rhev-2.6.0-27.el7.x86_64 > libvirt-daemon-driver-qemu-2.0.0-10.el7_3.4.x86_64 The 'Fixed in' field of this bug states the bug was fixed in 2.5.0. Therefore it is no surprise that it doesn't work with 2.0.0. Upgrade libvirt and it will work. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1846 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1846 |