Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1051696 - Unable to create a volume with bricks in the root partition for 3.2 clusters made up of 3.1u2 nodes
Unable to create a volume with bricks in the root partition for 3.2 clusters ...
Status: CLOSED WONTFIX
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhsc (Show other bugs)
2.1
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Kanagaraj
Dustin Tsang
:
Depends On:
Blocks: 1035040 1078200
  Show dependency treegraph
 
Reported: 2014-01-10 17:26 EST by Dustin Tsang
Modified: 2016-04-18 06:06 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
When a cluster with compatibility version 3.2 contains Red Hat Storage 2.1 U2 nodes, creating Volume with bricks in root partition fails and the force option to allow bricks in root partition is not displayed. Workaround: Do not allow bricks in root partition or move the Cluster Compatibility Version to 3.3.
Story Points: ---
Clone Of:
: 1078200 (view as bug list)
Environment:
Last Closed: 2015-02-17 05:03:02 EST
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 Dustin Tsang 2014-01-10 17:26:41 EST
Description of problem:

On a 3.2 cluster with 2.1u2 nodes added, an error message is given when a user tries to create a volume with bricks in the root partition. The error message implies that there is a force option which isn't present; from the gui there is no way to create a volume with bricks in the root partition in a 3.2 cluster made up of 2.1u2 nodes.

This is also inconsistent behavior when compared to 3.2 clusters made up of 2.1 and 3.2 clusters made up of 2.1u1 nodes. In these type of clusters, the cluster creates volumes successfully even when bricks are in the root partition.

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

How reproducible:
100%


Steps to Reproduce:
1. create a 3.2 cluster
2. add 2 2.1u2 nodes to the cluster
3. create a volume using bricks in the root partition
for example /tmp/brick1

Actual results:

error message is prompted to user 
"Error while executing action Create Gluster Volume: Volume create failed
error: The brick vm10_lab_eng_blr_redhat_com:/home/test is is being created in the root partition_ It is recommended that you don't use the system's root partition for storage backend_ Or use 'force' at the end of the command if you want to override this behavior_
return code: 115"
user is unable to create a volume with bricks in the root partition


Expected results:

rhsc should allow creation of bricks in the root partition without prompting to be consistent with 3.2 clusters of 2.1 nodes and 3.2 clusters of 2.1u1 nodes.


Additional info:
Comment 2 Kanagaraj 2014-01-12 09:41:17 EST
VDSM in RHS-2.1-U2(Corbett) has 3.3 Compatibility Version and  VDSM in RHS-2.1(Bigbend and U1) has 3.2 Compatibility Version.

RHS-2.1 and U1 nodes doesn't support 'force' option in 'volume create' and 'add-bricks' commands, also allow bricks in root partition.  

If someone is trying to add a node to a 3.2 Cluster, engine identifies that node as 3.2 compatible and allow the operations which are supported for 3.2 cluster.

'Force' option is a 3.3 cluster operation, which can not be performed on a 3.2 cluster. This is the reason why 'force' option is not shown in the UI.

Even though user is adding a node which has higher compatibility version(ex: 3.3) than the cluster(ex:3.2) which it belongs to, only the operations supported for the compatibility version(3.2) of the cluster is allowed .
Comment 3 Dustin Tsang 2014-01-13 09:09:48 EST
Hi Kanagaraj,
I agree with you that the force option should not be available in 3.2 clusters. However, the behavior seen is different depending on what nodes you use in the 3.2 cluster.

For example following the steps below using different nodes yields diff results....

1. create a 3.2 cluster
2. add 2 nodes to the cluster
3. create a volume using bricks in the root partition
for example /tmp/brick1

with 2.1u1 and 2.1:
volume is created successfully


with 2.1u2 nodes:
"Error while executing action Create Gluster Volume: Volume create failed
error: The brick vm10_lab_eng_blr_redhat_com:/home/test is is being created in the root partition_ It is recommended that you don't use the system's root partition for storage backend_ Or use 'force' at the end of the command if you want to override this behavior_
return code: 115"
Comment 4 Dusmant 2014-01-15 02:02:23 EST
The cluster version and node version compatibility and how it would behave has to be documented in the Admin guide.
Comment 5 Shalaka 2014-01-30 06:10:02 EST
Please review the edited Doc Text and sign off.
Comment 6 Kanagaraj 2014-01-30 23:39:42 EST
small change in the workaround "Do not create", rest looks good
Comment 7 Sahina Bose 2015-02-17 05:03:02 EST
Bricks in root partition is not recommended, and work-around exists if needed.

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