RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1974683 - Fail to set migrate incoming for 2nd time after the first time failed
Summary: Fail to set migrate incoming for 2nd time after the first time failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: ---
Assignee: Leonardo Bras
QA Contact: Li Xiaohui
URL:
Whiteboard:
Depends On: 1974366
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-22 10:09 UTC by Li Xiaohui
Modified: 2021-12-07 21:25 UTC (History)
9 users (show)

Fixed In Version: qemu-kvm-6.0.0-12.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1974366
Environment:
Last Closed: 2021-12-07 21:24:13 UTC
Type: ---
Target Upstream Version:
Embargoed:
xiaohli: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/src qemu-kvm merge_requests 25 0 None None None 2021-07-21 04:00:18 UTC

Description Li Xiaohui 2021-06-22 10:09:06 UTC
Hit following bz on the latest rhel9 (kernel-5.13.0-0.rc4.33.el9.x86_64 & qemu-img-6.0.0-6.el9.x86_64)

+++ This bug was initially created as a clone of Bug #1974366 +++

Description of problem:
The first time set migrate incoming failed due to wrong listening address, then try again, but failed to set the right migrate incoming for 2nd time:
{"execute": "migrate-incoming", "arguments": {"uri": "tcp:10.73.130.69:4000"}, "id": "iyPg3lJW"}
{"id": "iyPg3lJW", "error": {"class": "GenericError", "desc": "duplicate yank instance"}}


Version-Release number of selected component (if applicable):
hosts info: kernel-4.18.0-310.el8.x86_64 & qemu-kvm-6.0.0-19.module+el8.5.0+11385+6e7d542e.x86_64


How reproducible:
100%


Steps to Reproduce:
1.Boot a vm on dst host with "-incoming defer"
2.Set migrate incoming on dst host, will get expected error because it should be $dst_host_ip:
{"execute": "migrate-incoming", "arguments": {"uri": "tcp:$src_host_ip:4000"}, "id": "iyPg3lJW"}
{"timestamp": {"seconds": 1624272064, "microseconds": 65049}, "event": "MIGRATION", "data": {"status": "setup"}}
{"id": "iyPg3lJW", "error": {"class": "GenericError", "desc": "Failed to bind socket: Cannot assign requested address"}}
3.Then try again step 2
{"execute": "migrate-incoming", "arguments": {"uri": "tcp:$dst_host_ip:4000"}, "id": "iyPg3lJW"}
{"id": "iyPg3lJW", "error": {"class": "GenericError", "desc": "duplicate yank instance"}}


Actual results:
Can't succeed setting migrate incoming for the 2nd time after the first time failed


Expected results:
succeed setting migrate incoming for the 2nd time after the first time failed


Additional info:
1.Didn't hit such issue on host(qemu-kvm-4.2.0-52.module+el8.5.0+11386+ef5875dd.x86_64)
2.This issue should be related with yank (Bug 1956897)
3.Didn't reproduce bz on libvirt-daemon-7.4.0-1.module+el8.5.0+11218+83343022.x86_64 since libvirt haven't implemented yank(Bug 1955195)

Comment 4 Li Xiaohui 2021-08-17 06:34:30 UTC
Hi Leonardo,
Could we get this bz on_qa before ITM 26 (Aug 30)? And I need several days to verify it. 

If couldn't, suggest you move this bz from ITR 9-Beta to 9, thanks.

Comment 7 Yanan Fu 2021-08-23 06:46:03 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 10 Li Xiaohui 2021-08-24 03:52:31 UTC
Test on hosts(kernel-5.14.0-0.rc4.35.el9.x86_64 & qemu-kvm-6.0.0-12.el9.x86_64) pass according to Comment 0, mark this bz verified.


Note You need to log in before you can comment on or make changes to this bug.