ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amruta Borkar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20192) HostCleaup.py throws exception and exits when hostcheck_custom_actions.result not present
Date Wed, 10 May 2017 18:42:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-20192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amruta Borkar updated AMBARI-20192:
-----------------------------------
    Status: Open  (was: Patch Available)

> HostCleaup.py throws exception and exits when hostcheck_custom_actions.result not present
> -----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-20192
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20192
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Amruta Borkar
>            Assignee: Amruta Borkar
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: AMBARI-20192.patch
>
>
> HostCleanup script throws following exception and exits when hostcheck_custom_actions.result
 not present
> [root@tsar1 ~]# /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py
> You have elected to remove all users as well. If it is not intended then use option --skip
"users". Do you want to continue [y/n] (y)y
> Host Check results not found. There is no /var/lib/ambari-agent/data/hostcheck_custom_actions.result.
Do you want to run host checks [y/n] (y)n
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py", line 705, in <module>
>     main()
>   File "/usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py", line 689, in main
>     with open(hostcheckfileca, "rb") as f2:
> IOError: [Errno 2] No such file or directory: '/var/lib/ambari-agent/data/hostcheck_custom_actions.result'



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message