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 1236149 - creating a snapshot with force option is no longer useful when one of the node in the cluster is down
creating a snapshot with force option is no longer useful when one of the nod...
Status: CLOSED WORKSFORME
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: snapshot (Show other bugs)
3.1
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Bug Updates Notification Mailing List
SATHEESARAN
: Reopened
Depends On:
Blocks: 1216951
  Show dependency treegraph
 
Reported: 2015-06-26 13:14 EDT by SATHEESARAN
Modified: 2018-04-02 09:32 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
If a node/brick is down, the snapshot create command fails even with the force option.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-02 09:32:23 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)

  None (edit)
Description SATHEESARAN 2015-06-26 13:14:06 EDT
Description of problem:
-----------------------
Creating a gluster volume level snapshot, while one of the node in the 'Trusted Storage Pool' ( gluster cluster ) is down, does provides the warning that one of the node is down and suggests to use 'force' option to override this behaviour.

But when using 'force' option in creating snapshot again throws the errors out saying that quorum is not met.

Thus the suggestion to create snapshot with force option becomes a wrong suggestion


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
glusterfs-3.7.1-5.el6rhs

How reproducible:
-----------------
Always

Steps to Reproduce:
--------------------
1. Create a 'Trusted Storage Pool'
2. Create a distributed volume and start it
3. Stop glusterd in one of the node
4. Create snapshot
5. Create snapshot with force option 

Actual results:
---------------
Snapshot create failed and volume snapshot suggested to use 'force' option to override this behaviour.
Using 'force' option again failed saying that quorum is not met

Expected results:
----------------
1. If the snapshot create is not allowed, when one of the node is down, then it should be explicitly informed.
2. Suggestion to use 'force' with snapshot create should be removed

Additional info:
----------------
Below is the console log, where snapshot creation is attempted, when one of the node in the cluster is down.

[root@~]# gluster snapshot create snap1 r3v
snapshot create: failed: One or more bricks are not running. Please run volume status command to see brick status.
Please start the stopped brick and then issue snapshot create command or use [force] option in snapshot create to override this behavior.
Snapshot command failed

[root@ ~]# gluster snapshot create snap1 r3v force
snapshot create: failed: One or more bricks may be down.
Snapshot command failed
Comment 1 monti lawrence 2015-07-22 15:24:52 EDT
Doc text is edited. Please sign off to be included in Known Issues.
Comment 2 Avra Sengupta 2015-07-27 03:17:46 EDT
Doc text looks good. Verified
Comment 7 Sunny Kumar 2018-04-02 09:32:23 EDT
If a node/brick is down, the we can not proceed with snapshot creation and this behavior can not be override with force option.

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