Bug 1716907

Summary: internal error: Failed to parse bitmap '' when starting guest
Product: Red Hat Enterprise Linux 8 Reporter: Andrea Bolognani <abologna>
Component: libvirtAssignee: Andrea Bolognani <abologna>
Status: CLOSED ERRATA QA Contact: jiyan <jiyan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: jdenemar, jiyan, rbalakri, yalzhang
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-4.5.0-25.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 20:50:11 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 Andrea Bolognani 2019-06-04 11:30:53 UTC
This bug was initially created as a copy of Bug #1716387

I am copying this bug because: 

  RHEL 8.1 shouldn't contain bugs that have been fixed in RHEL 7.7.

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

Description of problem:
When numatune placement auto is set, guest can not be started.

Version-Release number of selected component (if applicable):
# rpm -q libvirt qemu-kvm-rhev kernel
libvirt-4.5.0-15.virtcov.el7.ppc64le
qemu-kvm-rhev-2.12.0-27.el7.ppc64le
kernel-3.10.0-1034.el7.ppc64le

How reproducible:
100%

Steps to Reproduce:
1. To define a guest with:
<numatune><memory mode="strict" placement="auto" /></numatune>
2. Try to start it

Actual results:
# virsh start test1
error: Failed to start domain test1
error: invalid argument: Failed to parse bitmap ''

Expected results:
Domain test1 started

Additional info:
1. It looks like this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1233023
2. When I use the compose RHEL-7.7-20190403.0(libvirt-4.5.0-11), the test pass. And then I update the libvirt to the latest(4.5.0-15), it will reproduce the problem. But when I downgrade it to 4.5.0-11, it still could be reproduced.
3. When I use the compose RHEL-7.7-20190424.0(libvirt-4.5.0-14), it could be reproduced

Comment 3 jiyan 2019-06-26 06:12:08 UTC
Reproduce this bug on libvirt-4.5.0-23.module+el8.1.0+2947+d70a8de0.x86_64
and verify this bug on libvirt-4.5.0-27.module+el8.1.0+3454+d99ad9a0.x86_64

Version:
libvirt-4.5.0-23.module+el8.1.0+2947+d70a8de0.x86_64
qemu-kvm-2.12.0-78.module+el8.1.0+3434+46ed87c2.x86_64
kernel-4.18.0-107.el8.x86_64

# virsh domstate generic
shut off

# virsh dumpxml generic |grep "<vcpu" -A3
  <vcpu placement='auto'>1</vcpu>
  <numatune>
    <memory mode='strict' placement='auto'/>
  </numatune>

# virsh start generic
error: Failed to start domain generic
error: invalid argument: Failed to parse bitmap ''

# yum update libvirt -y

# rpm -qa libvirt
libvirt-4.5.0-27.module+el8.1.0+3454+d99ad9a0.x86_64

# systemctl restart libvirtd

# virsh start generic
error: Failed to start domain generic
error: operation failed: Failed to query numad for the advisory nodeset

The result is asexpected, move this bug to be verified.

Comment 5 errata-xmlrpc 2019-11-05 20:50:11 UTC
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/RHSA-2019:3345