Bug 1194108

Summary: [quorum]creating the volume should be prevented, when server quorum is not met
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: glusterdAssignee: Gaurav Yadav <gyadav>
Status: CLOSED WONTFIX QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.0CC: amukherj, bsrirama, nlevinki, sankarshan, vbellur
Target Milestone: ---Keywords: EasyFix, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-08 09:38:50 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:

Description SATHEESARAN 2015-02-19 03:19:02 UTC
Description of problem:
-----------------------
Creating the volume is not prevented, when the server quorum is not met.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
glusterfs-3.6.0.45-1.el6rhs ( Red Hat Gluster Storage 3.0.4 Nightly build )

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

Steps to Reproduce:
--------------------
1. Create a situation where server quorum is not met
2. Create any type of volume

Actual results:
---------------
Volume is created successfully

Expected results:
-----------------
Volume creation should be prevented when the server quorum is not met

Comment 1 Byreddy 2016-05-31 11:15:22 UTC
Result remains same with the build "glusterfs-3.7.9-6".

Comment 4 Gaurav Yadav 2017-09-08 09:38:50 UTC
This is expected behaviour as "cluster.server-quorum-type" is volume level property and Quorum calculation logic is being take care  at cluster level.

During "glusterd create volume test-vol force" command glusterd does not have any quorum information about the volume test-vol. hence it creates the volume.