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 1176510 - Volumes list duplicates after libvirtd reloading
Summary: Volumes list duplicates after libvirtd reloading
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 7.2
Assignee: John Ferlan
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-22 07:57 UTC by Hao Liu
Modified: 2015-11-19 06:05 UTC (History)
8 users (show)

Fixed In Version: libvirt-1.2.13-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 06:05:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2202 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2015-11-19 08:17:58 UTC

Description Hao Liu 2014-12-22 07:57:15 UTC
Description:
Volumes list duplicates after libvirtd reloading

Product version
libvirt-1.2.8-11.el7.x86_64

How producible
100%

Steps:
# virsh vol-list default
Name Path
------------------------------------------------------------------------------
disk1.img /var/lib/libvirt/images/disk1.img

# systemctl reload libvirtd

# virsh vol-list default
Name Path
------------------------------------------------------------------------------
disk1.img /var/lib/libvirt/images/disk1.img
disk1.img /var/lib/libvirt/images/disk1.img

Expected result:
Volume list unchanged.

Comment 1 John Ferlan 2014-12-22 16:50:11 UTC
Seems the reload path (e.g. storageDriverAutostart) doesn't make the virStoragePoolObjClearVols call prior to backend->refreshPool

Using 'restart' instead of 'reload' does the right thing.

Comment 2 John Ferlan 2015-02-02 19:58:13 UTC
Pushed upstream, moving to POST, wait for libvirt rebase for 7.2

$ git describe 1d2e4d8ca2ae84b5ac5bc63c36d3f75afaac136d
v1.2.12-65-g1d2e4d8
$

Comment 3 Yang Yang 2015-04-29 07:00:13 UTC
Verified on libvirt-1.2.14-1.el7.x86_64

Steps:
# virsh vol-list HostVG
 Name                 Path                                    
------------------------------------------------------------------------------
 vol1                 /dev/HostVG/vol1                        
 vol2                 /dev/HostVG/vol2                        
 vol3                 /dev/HostVG/vol3 

# systemctl reload libvirtd

# virsh vol-list HostVG
 Name                 Path                                    
------------------------------------------------------------------------------
 vol1                 /dev/HostVG/vol1                        
 vol2                 /dev/HostVG/vol2                        
 vol3                 /dev/HostVG/vol3

Comment 5 Yang Yang 2015-05-18 02:05:32 UTC
According to comment #3, mark it as verified.

Comment 7 errata-xmlrpc 2015-11-19 06:05:33 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://rhn.redhat.com/errata/RHBA-2015-2202.html


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