Florian Barca created AMBARI-9341:
-------------------------------------

             Summary: Failing to register hosts on Centos5
                 Key: AMBARI-9341
                 URL: https://issues.apache.org/jira/browse/AMBARI-9341
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.0.0
         Environment: Linux CentOS 5
            Reporter: Florian Barca
            Assignee: Florian Barca
            Priority: Critical
             Fix For: 2.0.0


ambari hdp installation failing to register hosts.
Exceptions:
==========================
Creating target directory...
==========================
Command start time 2015-01-26 02:02:04
Connection to ambsmoke5-9-1422231221-3.cs1cloud.internal closed.Connection to 
ambsmoke5-9-1422231221-3.cs1cloud.internal closed.
SSH command execution finished
host=ambsmoke5-9-1422231221-3.cs1cloud.internal, exitcode=0 
host=ambsmoke5-9-1422231221-3.cs1cloud.internal, exitcode=0
Command end time 2015-01-26 02:02:04
==========================
Copying common functions script...
==========================
Command start time 2015-01-26 02:02:04
scp /usr/lib/python2.6/site-packages/ambari_commons
host=ambsmoke5-9-1422231221-3.cs1cloud.internal, exitcode=0 
host=ambsmoke5-9-1422231221-3.cs1cloud.internal, exitcode=0
Command end time 2015-01-26 02:02:05
==========================
Copying OS type check script...
==========================
Command start time 2015-01-26 02:02:05
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=ambsmoke5-9-1422231221-3.cs1cloud.internal, exitcode=0 
host=ambsmoke5-9-1422231221-3.cs1cloud.internal, exitcode=0
Command end time 2015-01-26 02:02:05
==========================
Running OS type check...
==========================
Command start time 2015-01-26 02:02:05
Traceback (most recent call last):
File "/var/lib/ambari-agent/data/tmp/os_check_type1422237725.py", line 22, in ?
from ambari_commons import OSCheck
File "/var/lib/ambari-agent/data/tmp/ambari_commons/_init_.py", line 22, in ?
from ambari_commons.firewall import Firewall, FirewallChecks
File "/var/lib/ambari-agent/data/tmp/ambari_commons/firewall.py", line 40
class FirewallWindows(Firewall):
^
SyntaxError: invalid syntax
Connection to ambsmoke5-9-1422231221-3.cs1cloud.internal closed.Connection to 
ambsmoke5-9-1422231221-3.cs1cloud.internal closed.
SSH command execution finished
host=ambsmoke5-9-1422231221-3.cs1cloud.internal, exitcode=1 
host=ambsmoke5-9-1422231221-3.cs1cloud.internal, exitcode=1
Command end time 2015-01-26 02:02:05
ERROR: Bootstrap of host ambsmoke5-9-1422231221-3.cs1cloud.internal fails 
because previous action finished with non-zero exit code (1)ERROR: Bootstrap of 
host ambsmoke5-9-1422231221-3.cs1cloud.internal fails because previous action 
finished with non-zero exit code (1)
ERROR MESSAGE: tcgetattr: Invalid argument
Connection to ambsmoke5-9-1422231221-3.cs1cloud.internal closed. Connection to 
ambsmoke5-9-1422231221-3.cs1cloud.internal closed.
STDOUT: Traceback (most recent call last):
File "/var/lib/ambari-agent/data/tmp/os_check_type1422237725.py", line 22, in ?
from ambari_commons import OSCheck
File "/var/lib/ambari-agent/data/tmp/ambari_commons/_init_.py", line 22, in ?
from ambari_commons.firewall import Firewall, FirewallChecks
File "/var/lib/ambari-agent/data/tmp/ambari_commons/firewall.py", line 40
class FirewallWindows(Firewall):
^
SyntaxError: invalid syntax
Connection to ambsmoke5-9-1422231221-3.cs1cloud.internal closed.Connection to 
ambsmoke5-9-1422231221-3.cs1cloud.internal closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to