Bug 519712

Summary: flags argument of $pool->refresh() undocumented
Product: Red Hat Enterprise Linux 5 Reporter: Matthew Booth <mbooth>
Component: perl-Sys-VirtAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: berrange, gren, llim, perl-devel, steve
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 519710 Environment:
Last Closed: 2010-03-30 08:27:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Matthew Booth 2009-08-27 14:21:01 UTC
+++ This bug was initially created as a clone of Bug #519710 +++

Description of problem:
man Sys::Virt::StoragePool says:
       $pool->refresh();
           Refresh the storage pool state. Typically this will rescan the list
           of storage volumes.

However this code:
                    $pool->refresh();
dies with:
Usage: Sys::Virt::StoragePool::refresh(pool, flags) at /home/mbooth/src/virt-v2v/snapshot/virt-snapshot.pl line 328.

Version-Release number of selected component (if applicable):
perl-Sys-Virt-0.2.0-3.el5

Comment 1 RHEL Program Management 2009-11-06 19:08:11 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 3 RHEL Program Management 2009-11-09 11:41:03 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 4 RHEL Program Management 2009-11-09 12:59:28 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 7 Daniel Berrangé 2009-12-16 16:13:22 UTC
This was fixed upstream by

http://libvirt.org/git/?p=libvirt-perl.git;a=commit;h=189a131482298171f7b44e3dc98f63e74aa7a48b

Comment 8 Daniel Berrangé 2009-12-16 16:18:44 UTC
Built into perl-Sys-Virt-0.2.0-5.el5

Comment 10 Gunannan Ren 2009-12-24 10:03:40 UTC
The bug has been fixed in perl-Sys-Virt-0.2.0-5.el5
Sys::Virt::StoragePool manual added the flags usage

Comment 13 errata-xmlrpc 2010-03-30 08:27:51 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0251.html