Bug 1726643
Summary: | Migration fails with error "invalid argument: Turn parallel migration on to tune it" when --auto-converge-initial/--comp-mt-level/--comp-mt-threads/--comp-mt-dthreads is in params | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Fangge Jin <fjin> |
Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> |
Status: | CLOSED ERRATA | QA Contact: | Fangge Jin <fjin> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.1 | CC: | chhu, dyuan, jdenemar, xuzhang, yafu, yalzhang, yicui |
Target Milestone: | rc | Keywords: | Automation, Regression |
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-5.6.0-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-06 07:17:18 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: |
Description
Fangge Jin
2019-07-03 10:59:26 UTC
Since you marked this as regression, do you know which version of libvirt worked correctly? It worked with libvirt-5.0.0-7 Fix sent upstream for review: https://www.redhat.com/archives/libvir-list/2019-July/msg01260.html This is now fixed upstream by commit 88ce7bac413a7a5722b2ffe53dd844c0d677168a Refs: v5.5.0-263-g88ce7bac41 Author: Jiri Denemark <jdenemar> AuthorDate: Fri Jul 19 15:46:33 2019 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Fri Jul 19 16:29:12 2019 +0200 virsh migrate: Properly check for --parallel-connections Ever since --parallel-connections option for virsh migrate was introduced we did not properly check the return value of vshCommandOptInt. We would set VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS parameter even if vshCommandOptInt returned 0 (which means --parallel-connections was not specified) when another int option which was checked earlier was specified with a nonzero value. Specifically, running virsh migrate with either --auto-converge-increment, --auto-converge-initial, --comp-mt-dthreads, --comp-mt-threads, or --comp-mt-level would set VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS parameter and if --parallel option was not used, libvirt would complain error: invalid argument: Turn parallel migration on to tune it even though --parallel-connections option was not used at all. https://bugzilla.redhat.com/show_bug.cgi?id=1726643 Signed-off-by: Jiri Denemark <jdenemar> Reviewed-by: Michal Privoznik <mprivozn> Verified on libvirt-5.6.0-1.virtcov.el8.x86_64 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/RHBA-2019:3723 |