Bug 1139228
| Summary: | [Nagios] Auto-config removes all the configuration if the host used for discovery is detached from the cluster. | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | RamaKasturi <knarra> |
| Component: | nagios-server-addons | Assignee: | Ramesh N <rnachimu> |
| Status: | CLOSED ERRATA | QA Contact: | RamaKasturi <knarra> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | rhgs-3.0 | CC: | asrivast, dpati, esammons, kmayilsa, knarra, psriniva, rnachimu, sharne, ssampat |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.0.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nagios-server-addons-0.1.8-1.el6rhs | Doc Type: | Bug Fix |
| Doc Text: |
Previously, if the host that was used for discovery was detached from the Red Hat Storage Trusted Storage Pool, then all the hosts would get removed from the Nagios configuration when auto-discovery was performed. With this fix, the auto config service does not remove the configurations and it works as expected.
|
Story Points: | --- |
| Clone Of: | 1107998 | Environment: | |
| Last Closed: | 2015-01-15 13:49:43 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: | 1107998 | ||
| Bug Blocks: | 1087818 | ||
|
Description
RamaKasturi
2014-09-08 12:47:37 UTC
Description of problem: Auto configuration removes all the configurations(hosts,volumes, bricks) from Nagios if the host used for discovery is no longer part of the cluster Version-Release number of selected component (if applicable): nagios-server-addons-0.1.5-1.el6rhs.noarch How reproducible: Always Steps to Reproduce: 1. Create a cluster with 3 nodes , make sure that the hosts does not have unique host names. 2. Create some volumes and start them 3. Run discovery script by providing name of the cluster and ip of HostA 4. Make sure all the volumes/hosts show up in nagios UI 5. Detach HostA from the cluster using "gluster peer detach" command 6. Re-schedule the auto-config in nagios ui Actual results: Except HostA all other hosts/volumes removed from the nagios configuration and HostA adds it self as a new entity to the cluster. Expected results: hosts/volumes should not removed from the nagios configuration. User should run the discovery by providing the ip of HostB. Please review and sign-off edited doc text. As I mentioned in the previous doc text, This issue is applicable only if the host names are not unique and ip address is used as hostname in nagios. verified and works fine with build nagios-server-addons-0.1.8-1.el6rhs.noarch. Performed the steps below: Hostnames of the hosts in the cluster were not uniqe. 1) Had a cluster with three nodes A, B and C. 2) Ran discovery.py script using the host A using its ip adress. 3) Detached Host A from the cluster by running 'gluster peer detach 'A'. 4) Auto config service status went to 'critical' with status information "can't remove all hosts except sync host in 'auto' mode. Run auto discovery manually. 5) Ran discovery.py with Host B. 6) None of the hosts / volumes were removed from the cluster except Host A and Auto config service became 'OK' with status information ' Cluster configurations are in sync' Hi Ramesh, Can you please review the edited doc text for technical accuracy and sign off? Instead of generically saying "auto config service works as expected", we could say that auto config won't remove the configurations. Thank you Ramesh. I modified the description. Doc text looks good to me 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. https://rhn.redhat.com/errata/RHBA-2015-0039.html |