Bug 1232159 - Incorrect mountpoint for lv with existing snapshot lv
Summary: Incorrect mountpoint for lv with existing snapshot lv
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: python-blivet
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.1.0
Assignee: Vojtech Trefny
QA Contact: Stanislav Graf
URL:
Whiteboard:
Depends On:
Blocks: 1202842 1230669
TreeView+ depends on / blocked
 
Reported: 2015-06-16 07:55 UTC by Timothy Asir
Modified: 2015-07-29 05:04 UTC (History)
9 users (show)

Fixed In Version: python-blivet-1.0.0.2-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1234454 (view as bug list)
Environment:
Last Closed: 2015-07-29 05:04:40 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1230669 0 high CLOSED Used brick is shown in add bricks dialog with different mount point after creating snapshot 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2015:1494 0 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 09:24:02 UTC
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Internal Links: 1230669

Description Timothy Asir 2015-06-16 07:55:01 UTC
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 14:42:34 UTC
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 19:18:25 UTC
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 05:04:40 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/RHSA-2015-1495.html


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