Bug 1931007

Summary: The descriptions of Sys::Virt::NodeDevice::LIST_CAP_AP_(MATRIX|QUEUE) are incorrect
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: yicui
Component: perl-Sys-VirtAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: yicui
Severity: low Docs Contact:
Priority: low    
Version: 8.4CC: berrange, dzheng, lmen, smitterl, virt-maint, xuzhang
Target Milestone: rcKeywords: Triaged
Target Release: 8.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 07:51:42 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:
Bug Depends On: 1967731    
Bug Blocks:    

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