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 1185786 - numatune break libvirt ABI checking for migration
Summary: numatune break libvirt ABI checking for migration
Keywords:
Status: CLOSED DUPLICATE of bug 1191567
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-26 09:53 UTC by Jincheng Miao
Modified: 2015-04-29 14:27 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-29 14:27:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jincheng Miao 2015-01-26 09:53:32 UTC
Description of problem:
For migration between qemu-kvm and qemu-kvm-rhev, if guest configured
<numatune>, then qemu cmdline is generated with '-object memory-backend-ram...'.

However, this argument is not supported for qemu-kvm, so on migration target
side, qemu reports "Unknown ramblock "ram-node0", cannot accept migration ".

But guest without <numatune>, and vcpu placement is 'static', then migration
will be succeed.

Version-Release number of selected component (if applicable):
src:
libvirt-1.2.8-15.el7.x86_64
qemu-kvm-rhev-2.1.2-21.el7.x86_64

dst:
libvirt-1.2.8-15.el7.x86_64
qemu-kvm-1.5.3-85.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. on source side with qemu-kvm-rhev
# virsh edit rhel7
...
  <memory unit='KiB'>2097152</memory>
  <vcpu placement='static' current='2'>5</vcpu>
  <numatune>
    <memory mode='strict' nodeset='0'/>
  </numatune>
...
  <cpu>
    <numa>
      <cell id='0' cpus='0-1' memory='1048576'/>
      <cell id='1' cpus='2-3' memory='1048576'/>
    </numa>
  </cpu>
...

2. migration
# virsh migrate rhel7 --live qemu+ssh://$TARGET_IP/system --verbose --unsafe
root@$TARGET_IP's password:
error: operation failed: migration job: unexpectedly failed 

3. check on target side
# tail /var/log/libvirt/qemu/rhel7.log
Unknown ramblock "ram-node0", cannot accept migration
qemu: warning: error while loading state for instance 0x0 of device 'ram'
load of migration failed


Actual results:
failed to migrate

Expected results:
enhance ABI checking

Additional info:
for migration of guest removed <numatune>, it could be succeed
# virsh edit rhel7
...
  <memory unit='KiB'>2097152</memory>
  <vcpu placement='static' current='2'>5</vcpu>
...
  <cpu>
    <numa>
      <cell id='0' cpus='0-1' memory='1048576'/>
      <cell id='1' cpus='2-3' memory='1048576'/>
    </numa>
  </cpu>
...

# virsh start rhel7

# virsh migrate rhel7 --live qemu+ssh://$TARGET_IP/system --verbose --unsafe
root@$TARGET_IP's password: 
Migration: [100 %]

Comment 1 Daniel Berrangé 2015-01-26 09:58:40 UTC
This doesn't look like a bug to me. If the target QEMU doesn't support the numa tune feature, then it is right that migration with <numatune> fails.

Comment 2 Jiri Denemark 2015-01-26 10:05:45 UTC
However, libvirt should detect destination QEMU does not support this feature and migration should not even start.

Comment 3 Jiri Denemark 2015-04-29 14:27:16 UTC

*** This bug has been marked as a duplicate of bug 1191567 ***


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