You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/05/23 16:27:05 UTC
[jira] [Resolved] (AMBARI-5869) Confirm Hosts failed (suse11,
1.6.1)
[ https://issues.apache.org/jira/browse/AMBARI-5869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Lysnichenko resolved AMBARI-5869.
----------------------------------------
Resolution: Fixed
committed to trunk
> Confirm Hosts failed (suse11, 1.6.1)
> ------------------------------------
>
> Key: AMBARI-5869
> URL: https://issues.apache.org/jira/browse/AMBARI-5869
> Project: Ambari
> Issue Type: Bug
> Components: controller
> Affects Versions: 1.6.1
> Reporter: Dmitry Lysnichenko
> Assignee: Dmitry Lysnichenko
> Fix For: 1.6.1
>
>
> {code}
> ('WARNING 2014-05-22 09:46:18,223 Facter.py:164 - Could not run /usr/sbin/sestatus: OK
> INFO 2014-05-22 09:46:18,264 Controller.py:125 - Unable to connect to: https://ambari.internal:8441/agent/v1/register/ambari.internal
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 89, in registerWithServer
> data = json.dumps(self.register.build(id))
> File "/usr/lib/python2.6/site-packages/ambari_agent/Register.py", line 43, in build
> hostInfo.register(agentEnv, False, False)
> File "/usr/lib/python2.6/site-packages/ambari_agent/HostInfo.py", line 330, in register
> dict[\'iptablesIsRunning\'] = self.checkIptables()
> File "/usr/lib/python2.6/site-packages/ambari_agent/HostInfo.py", line 308, in checkIptables
> return self.getFirewallObject().check_iptables()
> File "/usr/lib/python2.6/site-packages/ambari_agent/HostInfo.py", line 405, in check_iptables
> retcode, out, err = self.run_os_command(self.get_command())
> File "/usr/lib/python2.6/site-packages/ambari_agent/HostInfo.py", line 421, in run_os_command
> stderr=subprocess.PIPE)
> File "/usr/lib64/python2.6/subprocess.py", line 623, in __init__
> errread, errwrite)
> File "/usr/lib64/python2.6/subprocess.py", line 1141, in _execute_child
> raise child_exception
> OSError: [Errno 2] No such file or directory
> ', None)
> {code}
> Seems that HostInfo.py on agent try to collect information about a firewall state in the system, but firewall was not even installed, as result /sbin/SuSEfirewall2 status command failed.
> We can ignore the firwall call if the path does not exists.
--
This message was sent by Atlassian JIRA
(v6.2#6252)