+++ This bug was initially created as a clone of Bug #1110623 +++ Description of problem: Auto-config fails with "Error : CHECK_NRPE: Error - Could not complete SSL handshake" when RHSC engine uses a resolvable hostname. See below: ----------- # /usr/lib64/nagios/plugins/gluster/discovery.py -c 34cluster -H 10.70.42.229 Failed to execute NRPE command 'discoverhostparams' in host '10.70.42.203' Error : CHECK_NRPE: Error - Could not complete SSL handshake. Make sure NPRE server in host '10.70.42.203' is configured to accept requests from Nagios server ----------- Version-Release number of selected component (if applicable): rhsc-3.0.0-0.10.el6_5.noarch nagios-server-addons-0.1.3-3.el6rhs.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install and setup RHSC + Nagios Server by following http://rhsm.pad.engineering.redhat.com/rhsc-nagios-release-denali-7 2. Make sure that the RHSC engine is having a DNS resolvable hostname (EX: dhcp43-180.lab.eng.blr.redhat.com) 3. Add a few RHS nodes to a 3.4 cluster from the UI 4. Now, execute the following auto-config script from the engine: # /usr/lib64/nagios/plugins/gluster/discovery.py -c <cluster-name> -H <ip-address> Actual results: Auto-config script fails with the error mentioned above. Expected results: Auto-config script should execute sucessfully and detect the changes in the cluster configurations. Additional info: Restarting nrpe in ALL the RHS nodes seems to resolve the issue. --- Additional comment from Alon Bar-Lev on 2014-06-18 10:31:21 EDT --- Please move/duplicate to rhev/ovirt-host-deploy so I can add this to errata.
This bug is not exactly relevant to RHEVM, its a bug related to nagios monitoring used by RHSC. However this can be verified by checking if "allowed_hosts" field in nrpe configutation file (/etc/nagios/nrpe.cfg) is updated with the engine's hostname after adding that node to RHEVM and nrpe service is running.
Please ignore the previous comment. The "allowed_host" entry is not set in case of RHEVM because Monitoring enable environment variable is not set. The variable is set only in RHSC.
As I had discussion with Sahina & Darshan, this bug couldn't be verified with RHEVM. This fix is for RHSC + Nagios environment and it couldn't be verified with RHEVM. On the similar notes, we have closed the bug https://bugzilla.redhat.com/show_bug.cgi?id=1159298. I would suggest to close this bug with NOTABUG as a resolution
this is the same version of ovirt-host-deploy, it can be verified, but not important for me.