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 1608755 - 'lib/Sys/Virt/NWFilterBinding.pm' is missing in perl-Sys-Virt-4.5.0-1.el7
Summary: 'lib/Sys/Virt/NWFilterBinding.pm' is missing in perl-Sys-Virt-4.5.0-1.el7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: perl-Sys-Virt
Version: 7.6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Dan Zheng
URL:
Whiteboard:
Depends On:
Blocks: 1615841
TreeView+ depends on / blocked
 
Reported: 2018-07-26 09:13 UTC by Dan Zheng
Modified: 2018-10-30 10:48 UTC (History)
2 users (show)

Fixed In Version: perl-Sys-Virt-4.5.0-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1615841 (view as bug list)
Environment:
Last Closed: 2018-10-30 10:48:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3170 0 None None None 2018-10-30 10:48:44 UTC

Description Dan Zheng 2018-07-26 09:13:41 UTC
Description of problem:
'lib/Sys/Virt/NWFilterBinding.pm' is missing in perl-Sys-Virt-4.5.0-1.el7

The newly added file 'lib/Sys/Virt/NWFilterBinding.pm'  in your commit 11c9f996a5b is missing in perl-Sys-Virt-4.5.0-1.el7, although other changes in same commit have already been included in this package.


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

How reproducible:
100%

Steps to Reproduce:
1.yum install perl-Sys-Virt
Running transaction
  Installing : perl-Sys-Virt-4.5.0-1.el7.x86_64                                                                                                                                      1/1 
  Verifying  : perl-Sys-Virt-4.5.0-1.el7.x86_64 
2.
# ll /usr/lib64/perl5/vendor_perl/Sys/Virt/
-rw-r--r--. 1 root root 113489 Jul  3 23:37 Domain.pm
-rw-r--r--. 1 root root   7266 Jul  3 23:37 DomainSnapshot.pm
-rw-r--r--. 1 root root  16035 Jul  3 23:37 Error.pm
-rw-r--r--. 1 root root   5668 Jul  3 23:37 Event.pm
-rw-r--r--. 1 root root   3643 Jul  3 23:37 Interface.pm
-rw-r--r--. 1 root root   8740 Jul  3 23:37 Network.pm
-rw-r--r--. 1 root root   5316 Jul  3 23:37 NodeDevice.pm
-rw-r--r--. 1 root root   2991 Jul  3 23:37 NWFilter.pm
-rw-r--r--. 1 root root   5858 Jul  3 23:37 Secret.pm
-rw-r--r--. 1 root root  13233 Jul  3 23:37 StoragePool.pm
-rw-r--r--. 1 root root   8778 Jul  3 23:37 StorageVol.pm
-rw-r--r--. 1 root root   6908 Jul  3 23:37 Stream.pm


Actual results:

NWFilterBinding.pm is not installed in /usr/lib64/perl5/vendor_perl/Sys/Virt/


Expected results:
NWFilterBinding.pm is installed in /usr/lib64/perl5/vendor_perl/Sys/Virt/

Additional info:

Of course, when I writing tck scripts to call 
‘$conn->create_nwfilter_binding($nwfilter_binding_xml)’

I got error:
# died: Can't locate object method "_new" via package "Sys::Virt::NWFilterBinding" at /usr/lib64/perl5/vendor_perl/Sys/Virt.pm line 413.

Comment 2 Daniel Berrangé 2018-08-13 12:56:16 UTC
Fixed upstream in

commit e116121dbf3510b69164699e74e0c8f6333e0a6d
Author: Daniel P. Berrangé <berrange>
Date:   Thu Jul 26 10:30:51 2018 +0100

    Add Sys::Virt::NWFilterBinding into dist
    
    Signed-off-by: Daniel P. Berrangé <berrange>

commit fb72cb23fe654d28e7c4027985552cd3b7ca53a0
Author: Daniel P. Berrangé <berrange>
Date:   Thu Jul 26 10:30:01 2018 +0100

    Add missing import of NWFilterBinding
    
    Signed-off-by: Daniel P. Berrangé <berrange>

Comment 4 Dan Zheng 2018-08-29 09:17:21 UTC
Package:
perl-Sys-Virt-4.5.0-2.el7

Install perl-Sys-Virt-4.5.0-2.el7
# ll /usr/lib64/perl5/vendor_perl/Sys/Virt/
...
-rw-r--r--. 1 root root   2310 Aug 14 19:22 NWFilterBinding.pm
...

Using libvirt tck test script:
...
lives_ok(sub {$nwfilter_binding = $conn->create_nwfilter_binding($nwfilter_binding_xml)}, "Create a new nwfilter binding");

# libvirt-tck --testdir 251-nwfilter-binding.t --force -v
251-nwfilter-binding.t .. 
...
ok 4 - Create a new nwfilter binding


PASS.
So I mark it verified.

Comment 6 errata-xmlrpc 2018-10-30 10:48:17 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/RHBA-2018:3170


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