Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1232159 - Incorrect mountpoint for lv with existing snapshot lv
Incorrect mountpoint for lv with existing snapshot lv
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: python-blivet (Show other bugs)
3.1
Unspecified Unspecified
high Severity high
: ---
: RHGS 3.1.0
Assigned To: Vojtech Trefny
Stanislav Graf
:
Depends On:
Blocks: 1202842 1230669
  Show dependency treegraph
 
Reported: 2015-06-16 03:55 EDT by Timothy Asir
Modified: 2015-07-29 01:04 EDT (History)
9 users (show)

See Also:
Fixed In Version: python-blivet-1.0.0.2-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1234454 (view as bug list)
Environment:
Last Closed: 2015-07-29 01:04:40 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1494 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 05:24:02 EDT
Red Hat Product Errata RHSA-2015:1495 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 04:26:26 EDT

  None (edit)
Description Timothy Asir 2015-06-16 03:55:01 EDT
Description of problem:
Blivet devices list provides incorrect mount point for the snapshot lv.

Version-Release number of selected component (if applicable):
RHEL 6.7 and RHEL 7.1

How reproducible:
Always

Steps to Reproduce:
1. Create a Thin LV and format as xfs
2. Mount the thin lv (let us say path x)
3. Create a snapshot from the lv
4. Mount the snapshot lv in to some other path (let us say y)
5. Check the mount point for both lv
6. It shows snapshot lv's mount point for both lvs (shows path as y)

Actual results:
Blivet provides snapshot mount point for both lvs

Expected results:
It should provide the actual mount points

Additional info:
blivet.util.get_mount_paths(device.path) provides
proper mount points for both lvs.
Comment 2 mulhern 2015-06-22 10:42:34 EDT
The problem was ultimately due to the snapshot and origin sharing the same format past the point at which they diverge from each other.

A proposed patch has already been tested (#1230669).
Comment 6 Stanislav Graf 2015-07-17 15:18:25 EDT
We have tested this update through Gluster Console, following packages were used:

# Console
rhsc-3.1.0-0.62.el6.noarch
# Gluster el6 nodes
python-blivet-1.0.0.2-1.el6rhs.noarch
pyparted-3.4-4.el6.x86_64
# Gluster el7 nodes
python-blivet-0.61.15.11-2.el7.noarch
pyparted-3.9-13.el7.x86_64

With those packages, issue from Comment 0 which corresponds to original issue from Bug 1230669, Comment 0 is gone.

In addition to that, python-blivet was directly tested for this issue in Bug 1230669, comment 17.

Thank you for the fix!

--> VERIFIED
Comment 7 errata-xmlrpc 2015-07-29 01:04:40 EDT
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/RHSA-2015-1495.html

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