Re: Review Request 47176: Attempting to install on Amazon Linux, Agent fails to recognize OS

2016-05-10 Thread Vitalyi Brodetskyi

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


Ship it!




Ship It!

- Vitalyi Brodetskyi


On Травень 10, 2016, 10:27 до полудня, Andrew Onischuk wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/47176/
> ---
> 
> (Updated Травень 10, 2016, 10:27 до полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-16423
> https://issues.apache.org/jira/browse/AMBARI-16423
> 
> 
> Repository: ambari
> 
> 
> Description
> ---
> 
> ==
> Creating target directory...
> ==
> 
> Command start time 2016-05-05 18:07:42
> 
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
> 
> ==
> Copying common functions script...
> ==
> 
> Command start time 2016-05-05 18:07:43
> 
> scp /usr/lib/python2.6/site-packages/ambari_commons
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
> 
> ==
> Copying OS type check script...
> ==
> 
> Command start time 2016-05-05 18:07:43
> 
> scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
> 
> ==
> Running OS type check...
> ==
> 
> Command start time 2016-05-05 18:07:43
> Cluster primary/cluster OS family is redhat2016 and local/current OS 
> family is redhat2016
> 
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
> 
> ==
> Checking 'sudo' package on remote host...
> ==
> 
> Command start time 2016-05-05 18:07:43
> sudo-1.8.6p3-20.21.amzn1.x86_64
> 
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
> 
> ==
> Copying repo file to 'tmp' folder...
> ==
> 
> Command start time 2016-05-05 18:07:43
> 
> scp /etc/yum.repos.d/ambari.repo
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:43
> 
> ==
> Moving file to repo dir...
> ==
> 
> Command start time 2016-05-05 18:07:43
> 
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:44
> 
> ==
> Changing permissions for ambari.repo...
> ==
> 
> Command start time 2016-05-05 18:07:44
> 
> Connection to ip-172-30-2-21.ec2.internal closed.
> SSH command execution finished
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:44
> 
> ==
> Copying setup script file...
> ==
> 
> Command start time 2016-05-05 18:07:44
> 
> scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
> host=ip-172-30-2-21.ec2.internal, exitcode=0
> Command end time 2016-05-05 18:07:44
> 
> ==
> Running setup agent script...
> ==
> 
> Command start time 2016-05-05 18:07:44
> ('INFO 2016-05-05 18:07:45,261 NetUtil.py:60 - Connecting to 
> https://ip-172-30-2-21.ec2.internal:8440/ca
> INFO 2016-05-05 18:07:45,344 threadpool.py:52 - Started thread pool with 
> 3 core threads and 20 maximum threads
> WARNING 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:246 - 
> [AlertScheduler] /var/lib/ambari-agent/cache/alerts/definitions.json not 
> found or invalid. No alerts will be scheduled until registration occurs.
> INFO 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:142 - 
> [AlertScheduler] Starting  object at 0x7fd8fe89b2d0>; currently running: False
> INFO 2016-05-05 18:07:45,348 hostname.py:86 - Read public hostname 
> \'ec2-52-90-92-187.compute-1.amazonaws.com\' from 
> http://169.254.169.254/latest/meta-data/public-hostname
> INFO 201

Review Request 47176: Attempting to install on Amazon Linux, Agent fails to recognize OS

2016-05-10 Thread Andrew Onischuk

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

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-16423
https://issues.apache.org/jira/browse/AMBARI-16423


Repository: ambari


Description
---

==
Creating target directory...
==

Command start time 2016-05-05 18:07:42

Connection to ip-172-30-2-21.ec2.internal closed.
SSH command execution finished
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:43

==
Copying common functions script...
==

Command start time 2016-05-05 18:07:43

scp /usr/lib/python2.6/site-packages/ambari_commons
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:43

==
Copying OS type check script...
==

Command start time 2016-05-05 18:07:43

scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:43

==
Running OS type check...
==

Command start time 2016-05-05 18:07:43
Cluster primary/cluster OS family is redhat2016 and local/current OS family 
is redhat2016

Connection to ip-172-30-2-21.ec2.internal closed.
SSH command execution finished
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:43

==
Checking 'sudo' package on remote host...
==

Command start time 2016-05-05 18:07:43
sudo-1.8.6p3-20.21.amzn1.x86_64

Connection to ip-172-30-2-21.ec2.internal closed.
SSH command execution finished
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:43

==
Copying repo file to 'tmp' folder...
==

Command start time 2016-05-05 18:07:43

scp /etc/yum.repos.d/ambari.repo
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:43

==
Moving file to repo dir...
==

Command start time 2016-05-05 18:07:43

Connection to ip-172-30-2-21.ec2.internal closed.
SSH command execution finished
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:44

==
Changing permissions for ambari.repo...
==

Command start time 2016-05-05 18:07:44

Connection to ip-172-30-2-21.ec2.internal closed.
SSH command execution finished
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:44

==
Copying setup script file...
==

Command start time 2016-05-05 18:07:44

scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=ip-172-30-2-21.ec2.internal, exitcode=0
Command end time 2016-05-05 18:07:44

==
Running setup agent script...
==

Command start time 2016-05-05 18:07:44
('INFO 2016-05-05 18:07:45,261 NetUtil.py:60 - Connecting to 
https://ip-172-30-2-21.ec2.internal:8440/ca
INFO 2016-05-05 18:07:45,344 threadpool.py:52 - Started thread pool with 3 
core threads and 20 maximum threads
WARNING 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:246 - 
[AlertScheduler] /var/lib/ambari-agent/cache/alerts/definitions.json not found 
or invalid. No alerts will be scheduled until registration occurs.
INFO 2016-05-05 18:07:45,344 AlertSchedulerHandler.py:142 - 
[AlertScheduler] Starting ; currently running: False
INFO 2016-05-05 18:07:45,348 hostname.py:86 - Read public hostname 
\'ec2-52-90-92-187.compute-1.amazonaws.com\' from 
http://169.254.169.254/latest/meta-data/public-hostname
INFO 2016-05-05 18:07:45,352 logger.py:71 - call[\'test -w /\'] {\'sudo\': 
True, \'timeout\': 5}
INFO 2016-05-05 18:07:45,356 logger.py:71 - call returned (0, \'\')
INFO 2016-05-05 18:07:45,356 logger.py:71 - call[\'test -w /dev\'] 
{\'sudo\': True, \'timeout\': 5}
INFO 2016-05-05 18:07:45,360 logger.py:71 - call returned (0, \'\')
INFO 2016-05-05 18:07:45,360 logger.py:71 - call[\'test -w /dev/shm\'] 
{\'sudo\': True, \'timeout\': 5}
INFO 2016-05-05 18:07:45,363 logger.py:71 - call returned (0, \'\')
INFO 2016-05-05 18:07:45,378 Facter.py:190 - Directory: 
\'/etc/resource_overrides\' does not exist - it won\'t be used for gathering 
system resources.
INFO 201