You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/01/28 01:18:35 UTC

[jira] [Commented] (AMBARI-9341) Failing to register hosts on Centos5

    [ https://issues.apache.org/jira/browse/AMBARI-9341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294462#comment-14294462 ] 

Hudson commented on AMBARI-9341:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1622 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1622/])
AMBARI-9341 Failing to register hosts on Centos5 (fbarca: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f27c22b0c57c1b48ba372abb0c0fa6b74f6eda0e)
* ambari-server/src/main/python/setupAgent.py
* ambari-server/src/main/python/bootstrap.py
* ambari-common/src/main/python/resource_management/libraries/functions/packages_analyzer.py
* ambari-agent/src/test/python/ambari_agent/TestHostInfo.py
* ambari-common/src/main/python/ambari_commons/__init__.py
* ambari-agent/src/test/python/ambari_agent/TestRegistration.py
* ambari-agent/src/main/python/ambari_agent/HostInfo.py
* ambari-server/src/test/python/TestAmbariServer.py


> 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: Blocker
>             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)