ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <>
Subject [jira] [Created] (AMBARI-5869) Confirm Hosts failed (suse11, 1.6.1)
Date Fri, 23 May 2014 13:16:02 GMT
Dmitry Lysnichenko created AMBARI-5869:

             Summary: Confirm Hosts failed (suse11, 1.6.1)
                 Key: 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

('WARNING 2014-05-22 09:46:18,223 - Could not run /usr/sbin/sestatus: OK
INFO 2014-05-22 09:46:18,264 - 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/", line 89, in registerWithServer
    data = json.dumps(
  File "/usr/lib/python2.6/site-packages/ambari_agent/", line 43, in build
    hostInfo.register(agentEnv, False, False)
  File "/usr/lib/python2.6/site-packages/ambari_agent/", line 330, in register
    dict[\'iptablesIsRunning\'] = self.checkIptables()
  File "/usr/lib/python2.6/site-packages/ambari_agent/", line 308, in checkIptables
    return self.getFirewallObject().check_iptables()
  File "/usr/lib/python2.6/site-packages/ambari_agent/", line 405, in check_iptables
    retcode, out, err = self.run_os_command(self.get_command())
  File "/usr/lib/python2.6/site-packages/ambari_agent/", line 421, in run_os_command
  File "/usr/lib64/python2.6/", line 623, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
', None)


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

As fix, i think, we can check presence of that file and if that file isn't in the system suppose
that firewall are turned off.

This message was sent by Atlassian JIRA

View raw message