Bug 1035587 - "volume start force" will assign "trusted.glusterfs.volume-id" to the brick if volume-id is absent even though the brick path is not a mount point with xfs
Summary: "volume start force" will assign "trusted.glusterfs.volume-id" to the brick i...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterd
Version: 2.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Bug Updates Notification Mailing List
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard: glusterd
Depends On:
Blocks: 1284385
TreeView+ depends on / blocked
 
Reported: 2013-11-28 07:10 UTC by spandura
Modified: 2015-12-03 17:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1284385 (view as bug list)
Environment:
Last Closed: 2015-12-03 17:20:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description spandura 2013-11-28 07:10:55 UTC
Description of problem:
=======================
In a 1 x 2 replicate volume a server node crashed. The node comes online. Even before mounting bricks to a valid device containing xfs if we perform "gluster volume start <volume_name> force" we assign "trusted.glusterfs.volume-id" to the brick without checking whether the brick is not a mount point with xfs. 

This results in unsupported configuration (no xfs/LVM) and worse may fill up / of the storage node if not discovered.

Refer to https://bugzilla.redhat.com/show_bug.cgi?id=860999 for the case which filled "/" file system. 

Version-Release number of selected component (if applicable):
=============================================================
glusterfs 3.4.0.43.1u2rhs built on Nov 12 2013 07:38:20

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

Steps to Reproduce:
===================
1. Create a 1 x 2 replicate volume with brick mounted on a mount point with xfs. Do not add the automount of these bricks in "/etc/fstab"

2. Restart the node2.

3. When node2 comes online execute: "gluster v start <volume_name> force"

Actual results:
================
Assigns the "trusted-volume-id" to the brick and starts the brick process. 

Expected results:
================
"gluster v start <volume_name> force" should check if the specified bricks are separate mount points with xfs on LVM volumes and reject the command or at least issue a warning

Comment 2 Vivek Agarwal 2015-12-03 17:20:20 UTC
Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See https://access.redhat.com/support/policy/updates/rhs/

If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release.


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