Bug 1619538

Summary: Snapshot status fails with commit failure
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Sri Vignesh Selvan <sselvan>
Component: snapshotAssignee: Sunny Kumar <sunkumar>
Status: CLOSED ERRATA QA Contact: Vinayak Papnoi <vpapnoi>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: amukherj, apaladug, rhs-bugs, sankarshan, storage-qa-internal, sunkumar, vdas, vpapnoi
Target Milestone: ---   
Target Release: RHGS 3.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.12.2-17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1619843 (view as bug list) Environment:
Last Closed: 2018-09-04 06:52:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1503137, 1619843    

Description Sri Vignesh Selvan 2018-08-21 07:13:54 UTC
Description of problem:
=======================

Snapshot status fails with commit failure for activated snapshots.
This is the case for the activated snapshots which were present after migration from RHEL 6 to RHEL 7 . Clones of these snapshots were also present along with other volumes (from which the snapshots were taken)


Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.12.2-16.el7rhgs.x86_64


How reproducible:
=================
2/2


Steps to Reproduce:
===================

1. On RHEL 6 , Create snapshots of a volume and activate them
2. Create clones of these activated snapshots
3. Migrate from RHEL 6 to RHEL 7
4. Perform a " gluster snapshot status <snap-name> "command 

Actual results:
===============

Snapshot status failing with commit failure


Expected results:
=================

Status of the snapshots should be shown properly


Additional info:
================

Comment 7 Sunny Kumar 2018-08-22 04:03:10 UTC
Root Cause :  When OS upgrade is from RHEL6 to RHEL7 there is difference in
              symlink (/var/run)  between these two versions.
              Basically when (/var/run) is symlinked to /run, mount command
              resolves path and mounts it. But at the same time call to
              those functions fails who depends on absolute path.
              (like strcmp in glusterd_get_mnt_entry_info)

Comment 15 errata-xmlrpc 2018-09-04 06:52:17 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://access.redhat.com/errata/RHSA-2018:2607