Bug 829748

Summary: GlusterFS: System should be aware that clients are connected
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Daniel Paikov <dpaikov>
Component: rhscAssignee: Kanagaraj <kmayilsa>
Status: CLOSED CURRENTRELEASE QA Contact: Sudhir D <sdharane>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: sankarshan, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: gluster, storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-10 07:44:20 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:
Bug Depends On:    
Bug Blocks: 825285    

Description Daniel Paikov 2012-06-07 13:32:18 UTC
* Stop a volume while NFS client is connected.
* Remove a volume while NFS client is connected.
* NFS client freezes because the mountpoint disappears under its feet.
* The system should be aware that clients are connected and block stopping and/or removal of volumes that are in use.

Comment 2 Shireesh 2012-06-07 14:19:26 UTC
As soon as you "stop" a volume to which NFS client is connected, it is no more accessible to the clients, so "remove" part can be out of question for this bug, as we don't allow removing a volume if it's in "UP" status.

We should not prevent the user from stopping such volumes, but provide a sufficient warning and ask for confirmation. Currently the confirmation prompt says

"Are you sure want to stop the following Volume(s)?"

We should add more text below saying "Stopping a volume will make its data inaccessible." (Exactly same as the warning shown by GlusterFS CLI)

Comment 3 Kanagaraj 2012-06-11 11:26:04 UTC
Confirmation popup modified to add a Note: in the bottom to explain the result of the action(Stop or Remove).

The message will be same as the glusterfs warning while performing the action.

Patch : http://gerrit.ovirt.org/#/c/5230/

Comment 4 Daniel Paikov 2012-06-18 09:49:31 UTC
Checked on rhsc-2.0.techpreview1-0.scratch.