+++ This bug was initially created as a clone of Bug #986171 +++
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.
--- Additional comment from RHEL Product and Program Management on 2013-07-19 02:42:37 EDT ---
Since this issue was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
--- Additional comment from Scott Haines on 2013-09-23 19:34:58 EDT ---
Targeting for 2.1.z U2 (Corbett) release.
Verified this bug with RHEVM 3.4 [av9.1]
1. Added 4 RHS 3.0 ( glusterfs-3.6.0.1-1.el6rhs ) nodes to gluster enabled cluster
2. Clicked on cluster, and moved to "gluster hooks" tab and I could see all the hooks shown up
3. Removed all the RHS nodes from the cluster
4. Contents under the hooks tab was empty
marking this bug as VERIFIED