Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1403195 - snapshot creation will fail if the create is executed while brick is coming up [NEEDINFO]
snapshot creation will fail if the create is executed while brick is coming up
Status: CLOSED NOTABUG
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: snapshot (Show other bugs)
3.2
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Bug Updates Notification Mailing List
Vinayak Papnoi
: ZStream
Depends On:
Blocks: 1351530
  Show dependency treegraph
 
Reported: 2016-12-09 07:01 EST by Rahul Hinduja
Modified: 2018-10-16 02:28 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
Snapshot create might fail, if a brick has started but not all translators have initialized.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-16 02:28:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
sanandpa: needinfo? (vpapnoi)


Attachments (Terms of Use)

  None (edit)
Description Rahul Hinduja 2016-12-09 07:01:24 EST
Description of problem:
=======================

As part of the fix for bz: 1401817, snapshot creation will fail in a racy scenario where barrier brick op will fail while bricks are coming up, due to this snapshot creation will fail too. 

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

glusterfs-3.8.4-6.el7rhgs.x86_64

How reproducible:
=================

Its a race

Steps to Reproduce:
===================
1. Create 2*2 distributed replicate volume
2. enabled scheduler,
3. scheduled snapshot every one minute, while snapshot are getting created bring bricks offline/online.
Comment 4 Bhavana 2017-03-13 11:39:46 EDT
Hi Avra,

I wanted to check if there is any workaround for this issue.
Comment 5 Avra Sengupta 2017-03-14 01:29:04 EDT
Hi Bhavana,

The doc text looks good. But there is no workaround to this problem. The snapshot create will fail and needs to be retried.
Comment 7 Mohammed Rafi KC 2017-08-17 03:20:09 EDT
Since barrier xlator enable or disable was failed because of the graph initialization , then I think it is an expected failure. As long as it fail properly then it won't create any problem. Unless there is any un-recoverable problem with the failure, we don't need to keep this bug open.

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