ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <d...@hortonworks.com>
Subject Re: Review Request 30041: Failing on host re-register
Date Mon, 19 Jan 2015 16:43:43 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30041/#review68629
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Янв. 19, 2015, 4:42 п.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30041/
> -----------------------------------------------------------
> 
> (Updated Янв. 19, 2015, 4:42 п.п.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-9198
>     https://issues.apache.org/jira/browse/AMBARI-9198
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 1\. used ssh to bootstrap host  
> 2\. host registers fine, success  
> 3\. I click next and get to select services page  
> 4\. I realize I wanted to check something else, click back and the wizard
> attempts to re-register the host  
> 5\. it fails, I try retry failed, that fails, i go back to select hosts, click
> next, fails  
> 6\. I had to switch to manual bootstrap to get the host to be successful
> again.
> 
> This is the error on the failed re-register. The issue is: a user can easily
> just click back and get into this state and not know what to do. I happened to
> know to switch to manual but a user wouldn't and would be blocked.
> 
>     
>     
>     
>     ==========================
>     Creating target directory...
>     ==========================
>     
>     Command start time 2014-12-26 16:33:42
>     
>     Connection to c6402.ambari.apache.org closed.
>     SSH command execution finished
>     host=c6402.ambari.apache.org, exitcode=0
>     Command end time 2014-12-26 16:33:42
>     
>     ==========================
>     Copying common functions script...
>     ==========================
>     
>     Command start time 2014-12-26 16:33:42
>     
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/logging_utils.pyc: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/exceptions.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/logging_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/inet_utils.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_check.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/__init__.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_check.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/exceptions.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/ambari_service.py: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_family_impl.py: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/resources/os_family.json: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_linux.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/str_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/__init__.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_utils.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/firewall.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/inet_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_windows.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_family_impl.pyc: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_linux.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/firewall.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_utils.py: Permission denied
>     scp /usr/lib/python2.6/site-packages/ambari_commons
>     host=c6402.ambari.apache.org, exitcode=1
>     Command end time 2014-12-26 16:33:42
>     
>     ERROR: Bootstrap of host c6402.ambari.apache.org fails because previous action finished
with non-zero exit code (1)
>     ERROR MESSAGE: scp: /var/lib/ambari-agent/data/tmp/ambari_commons/logging_utils.pyc:
Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/exceptions.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/logging_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/inet_utils.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_check.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/__init__.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_check.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/exceptions.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/ambari_service.py: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_family_impl.py: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/resources/os_family.json: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_linux.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/str_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/__init__.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_utils.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/firewall.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/inet_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_windows.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_family_impl.pyc: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_linux.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/firewall.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_utils.py: Permission denied
>     
>     STDOUT: 
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/logging_utils.pyc: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/exceptions.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/logging_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/inet_utils.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_check.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/__init__.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_check.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/exceptions.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/ambari_service.py: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_family_impl.py: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/resources/os_family.json: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_linux.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/str_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/__init__.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_utils.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/firewall.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/inet_utils.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_windows.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_family_impl.pyc: Permission
denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_linux.py: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/firewall.pyc: Permission denied
>     scp: /var/lib/ambari-agent/data/tmp/ambari_commons/os_utils.py: Permission denied
>     
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/bootstrap.py e27f399 
>   ambari-server/src/test/python/TestBootstrap.py 0720d8a 
> 
> Diff: https://reviews.apache.org/r/30041/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message