Bug 986171

Summary: [RHSC] Remove hooks from a cluster, when all servers in the cluster are removed from engine.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: Shruti Sampat <ssampat>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: dpati, dtsang, knarra, mmahoney, pprakash, rhs-bugs, sabose, sdharane, sharne, vagarwal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cb10 Doc Type: Bug Fix
Doc Text:
Previously, the list of hooks from the removed hosts were displayed in the Gluster Hooks tab. Now, with this update, the hook list is cleared when the hosts are removed from the cluster.
Story Points: ---
Clone Of:
: 1028976 (view as bug list) Environment:
Last Closed: 2014-02-25 07:33:22 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: 1028976    
Attachments:
Description Flags
engine logs none

Description Shruti Sampat 2013-07-19 06:27:24 UTC
Created attachment 775648 [details]
engine logs

Description of problem:
-----------------------------
When all the servers in a cluster are removed, the gluster hooks tab for the cluster still displays the hooks that were present. When the 'Sync' button is clicked, it fails to sync hooks as the cluster does not have any UP servers.

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.0-0.bb6.el6rhs 

How reproducible:
Always

Steps to Reproduce:
1. Create a 3.2 cluster via the Console.
2. Add a server and sync the hooks.
3. Remove the server.

Actual results:
Hooks still being displayed in the Gluster Hooks tab for the cluster.

Expected results:
When the last server is removed from the cluster, the engine should no longer have the hooks that were present in the cluster, and the Console should not display the hooks that were present.

Additional info:
Attaching engine logs.

Comment 2 Scott Haines 2013-09-23 23:34:58 UTC
Targeting for 2.1.z U2 (Corbett) release.

Comment 3 Matt Mahoney 2013-12-02 20:20:25 UTC
Verified in cb10, against 3.2 and 3.3 clusters.

Comment 4 Shalaka 2014-01-07 10:14:29 UTC
Please review the edited DocText and signoff.

Comment 5 Sahina Bose 2014-01-30 07:11:56 UTC
Doctext ok

Comment 7 errata-xmlrpc 2014-02-25 07:33:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0208.html