Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
Description
The HostInfo in the Ambari agent hearbeat could be wrong. This may lead to registration failure. The fqdn in HostInfo is from Facter.getFqdn(). Facter.getFqdn() calls the Python API socket.getfqdn() to get the fqdn. This, due to the Python Issue5004, could fail to get the real fqdn if there is no correct entry in "/etc/hosts" file, because the Python implementation calls an obsolete OS API. More details on the Python issue can be found its bug report.