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.
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.
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
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.