Bug 1438378

Summary: [Snapshot]Create snapshot fails with error saying snapshot command failed
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vivek Das <vdas>
Component: snapshotAssignee: Mohammed Rafi KC <rkavunga>
Status: CLOSED ERRATA QA Contact: Vivek Das <vdas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, rcyriac, rhinduja, rhs-bugs, rkavunga, storage-qa-internal
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-21 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-21 04:35:56 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: 1417151    

Description Vivek Das 2017-04-03 09:25:24 UTC
Description of problem:
Snapshot command fails with certain error saying snapshot command failed check log with the latest 3.3.0 builds. 

Version-Release number of selected component (if applicable):
glusterfs-server-3.8.4-20.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Enable USS & features.show-snapshot-directory for the gluster volume
2.Try creating a snapshot
3.

Actual results:
snapshot create: failed: Brick ops failed on localhost. Please check log file for details
Snapshot command failed

Expected results:
Should not fail creating snapshot

Additional info:

Comment 3 Mohammed Rafi KC 2017-04-03 13:45:41 UTC
RCA:

This is a regression caused by a recent patch. We are supposed to search for barrier xlator in the brick graph, but with multiplexing we have to choose from different barrier, to distinguish we are using brickname.

But the way we use brickname as xlator name is different which caused this regression.

Comment 10 Vivek Das 2017-04-18 11:28:08 UTC
Version
--------
samba-4.6.2-0.el7rhgs.x86_64
glusterfs-fuse-3.8.4-22.el7rhgs.x86_64

Able to create snapshots with the latest builds.

Enabled all USS Plugins
Create snapshot --- success
Activate snapshot --- success

Marking it as verified.

Comment 12 errata-xmlrpc 2017-09-21 04:35:56 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/RHBA-2017:2774