Bug 1931007 - The descriptions of Sys::Virt::NodeDevice::LIST_CAP_AP_(MATRIX|QUEUE) are incorrect
Summary: The descriptions of Sys::Virt::NodeDevice::LIST_CAP_AP_(MATRIX|QUEUE) are inc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: perl-Sys-Virt
Version: 8.4
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: 8.4
Assignee: Daniel Berrangé
QA Contact: yicui
URL:
Whiteboard:
Depends On: 1967731
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-20 03:52 UTC by yicui
Modified: 2021-11-16 08:16 UTC (History)
6 users (show)

Fixed In Version: perl-Sys-Virt-7.4.0-1.module+el8.5.0+11289+b29e262f
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 07:51:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4684 0 None None None 2021-11-16 07:52:20 UTC

Description yicui 2021-02-20 03:52:43 UTC
Description of problem:
The descriptions of Sys::Virt::NodeDevice::LIST_CAP_AP_MATRIX and Sys::Virt::NodeDevice::LIST_CAP_AP_QUEUE are reversed. 

Version-Release number of selected component (if applicable):
perl-Sys-Virt-7.0.0-1

How reproducible:
100%

Steps to Reproduce:
1. git clone https://github.com/libvirt/libvirt-perl.git
2. cd libvirt-perl/lib/Sys/Virt
3. check Sys::Virt::NodeDevice::LIST_CAP_AP_MATRIX and Sys::Virt::NodeDevice::LIST_CAP_AP_QUEUE in NodeDevice.pm

Actual results:
The descriptions are shown as below:

=item Sys::Virt::NodeDevice::LIST_CAP_AP_MATRIX

Include s390 AP queue devices

=item Sys::Virt::NodeDevice::LIST_CAP_AP_QUEUE

Include s390 AP matrix devices


Expected results:
No error.

Additional info:

Comment 1 Daniel Berrangé 2021-03-29 12:37:38 UTC
Added a patch to this MR to fix the problem https://gitlab.com/libvirt/libvirt-perl/-/merge_requests/21

Comment 2 yicui 2021-06-02 03:42:35 UTC
Hi David,
Is it ok to change this bz to ON_QA? BTW, can you build a package for 8.5, please?

Thanks!
Yingshun

Comment 3 Dan Zheng 2021-06-03 06:35:24 UTC
Daniel, 
Do you know when we can get new package of perl-Sys-Virt for RHEL8.5? This bug is already in Post for 2 months.

Dan

Comment 4 yicui 2021-06-09 01:32:32 UTC
Verified on perl-Sys-Virt-7.4.0-1, the descriptions are correct. 

# rpm -qf /usr/lib64/perl5/vendor_perl/Sys/Virt/NodeDevice.pm
perl-Sys-Virt-7.4.0-1.module+el8.5.0+11289+b29e262f.x86_64
(.libvirt-ci-venv-ci-runtest-bOWJCf) [root@libvirt-gating02 etc]# grep 'Sys::Virt::NodeDevice::LIST_CAP_AP_MATRIX' -A 7 /usr/lib64/perl5/vendor_perl/Sys/Virt/NodeDevice.pm
=item Sys::Virt::NodeDevice::LIST_CAP_AP_MATRIX

Include s390 AP matrix devices

=item Sys::Virt::NodeDevice::LIST_CAP_AP_QUEUE

Include s390 AP queue devices

Comment 10 yicui 2021-06-22 03:03:15 UTC
Verified on perl-Sys-Virt-7.4.0. Test results were updated in comment #4 & #5.

Comment 12 errata-xmlrpc 2021-11-16 07:51:42 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 (virt:av bug fix and enhancement update), 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-2021:4684


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