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 652189 - Storage pool with soft link whose target is missing will be disabled
Summary: Storage pool with soft link whose target is missing will be disabled
Keywords:
Status: CLOSED DUPLICATE of bug 626873
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-11 10:16 UTC by Gris Ge
Modified: 2010-11-16 04:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-16 04:17:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gris Ge 2010-11-11 10:16:59 UTC
Description of problem:


Version-Release number of selected component (if applicable):

RHEL6 GA
libvirt-client-0.8.1-27.el6.x86_64
libvirt-0.8.1-27.el6.x86_64
libvirt-python-0.8.1-27.el6.x86_64

How reproducible:

100%

Steps to Reproduce:
1. Create a folder which contain a soft link to a ISO.
2. Add this folder to libvirt storage pool
3. Remove tha ISO, but keep the soft link.
4. The storage pool will get disabled.
  
Actual results:
/var/log/messages
============================
Nov 11 18:06:46 Gris-Redhat libvirtd: 18:06:46.998: error : storagePoolLookupByName:299 : Storage pool not found: no pool with matching name 'test'
Nov 11 18:07:23 Gris-Redhat libvirtd: 18:07:23.289: error : virStorageBackendProbeTarget:72 : cannot open volume '/media/private/test_folder/openfiler-2.3-x86_64-disc1.iso': No such file or directory


The storage pool for that folder goes disabled.

Expected results:

Skip the file which is missing or corrupted

Additional info:

Comment 2 Dave Allan 2010-11-16 04:17:17 UTC
I believe this BZ is a duplicate of 626873; please feel free to reopen if that's incorrect.

*** This bug has been marked as a duplicate of bug 626873 ***


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