Skip to content

Instantly share code, notes, and snippets.

@SamsadSajid
Created December 13, 2017 11:08
Show Gist options
  • Save SamsadSajid/d5474abba0aa1090f02f2ef6c9580721 to your computer and use it in GitHub Desktop.
Save SamsadSajid/d5474abba0aa1090f02f2ef6c9580721 to your computer and use it in GitHub Desktop.
==========================
Creating target directory...
==========================
Command start time 2017-12-13 17:02:25
Connection to ajoy.net closed.
SSH command execution finished
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:02:30
==========================
Copying ambari sudo script...
==========================
Command start time 2017-12-13 17:02:30
scp /var/lib/ambari-server/ambari-sudo.sh
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:02:33
==========================
Copying common functions script...
==========================
Command start time 2017-12-13 17:02:33
scp /usr/lib/python2.6/site-packages/ambari_commons
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:02:38
==========================
Copying create-python-wrap script...
==========================
Command start time 2017-12-13 17:02:38
scp /var/lib/ambari-server/create-python-wrap.sh
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:02:42
==========================
Copying OS type check script...
==========================
Command start time 2017-12-13 17:02:42
scp /usr/lib/python2.6/site-packages/ambari_server/os_check_type.py
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:02:46
==========================
Running create-python-wrap script...
==========================
Command start time 2017-12-13 17:02:46
Connection to ajoy.net closed.
SSH command execution finished
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:02:53
==========================
Running OS type check...
==========================
Command start time 2017-12-13 17:02:53
Cluster primary/cluster OS family is ubuntu16 and local/current OS family is ubuntu16
Connection to ajoy.net closed.
SSH command execution finished
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:02:57
==========================
Checking 'sudo' package on remote host...
==========================
Command start time 2017-12-13 17:02:57
Connection to ajoy.net closed.
SSH command execution finished
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:03:01
==========================
Copying repo file to 'tmp' folder...
==========================
Command start time 2017-12-13 17:03:01
scp /etc/apt/sources.list.d/ambari.list
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:03:05
==========================
Moving file to repo dir...
==========================
Command start time 2017-12-13 17:03:05
Connection to ajoy.net closed.
SSH command execution finished
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:03:09
==========================
Changing permissions for ambari.repo...
==========================
Command start time 2017-12-13 17:03:09
Connection to ajoy.net closed.
SSH command execution finished
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:03:12
==========================
Update apt cache of repository...
==========================
Command start time 2017-12-13 17:03:12
0% [Working]
0% [Waiting for headers] [Waiting for headers]
Hit:1 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
0% [Waiting for headers]
Get:2 http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.1.0 Ambari InRelease [7394 B]
0% [Working]
0% [1 InRelease gpgv 17.5 kB]
0% [1 InRelease gpgv 17.5 kB]
Hit:3 https://download.sublimetext.com apt/stable/ InRelease
0% [1 InRelease gpgv 17.5 kB]
0% [1 InRelease gpgv 17.5 kB]
0% [1 InRelease gpgv 17.5 kB]
0% [Working]
0% [2 InRelease gpgv 7394 B]
0% [2 InRelease gpgv 7394 B]
0% [2 InRelease gpgv 7394 B]
0% [2 InRelease gpgv 7394 B]
0% [2 InRelease gpgv 7394 B]
Ign:2 http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.1.0 Ambari InRelease
0% [Working]
0% [3 InRelease gpgv 2562 B]
0% [3 InRelease gpgv 2562 B]
0% [3 InRelease gpgv 2562 B]
0% [3 InRelease gpgv 2562 B]
0% [3 InRelease gpgv 2562 B]
20% [Working]
Fetched 7394 B in 7s (1038 B/s)
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 0%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 2%
Reading package lists... 3%
Reading package lists... 3%
Reading package lists... Done
W: GPG error: http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.1.0 Ambari InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B9733A7A07513CAD
W: The repository 'http://public-repo-1.hortonworks.com/ambari/ubuntu16/2.x/updates/2.5.1.0 Ambari InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Connection to ajoy.net closed.
SSH command execution finished
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:03:24
==========================
Copying setup script file...
==========================
Command start time 2017-12-13 17:03:24
scp /usr/lib/python2.6/site-packages/ambari_server/setupAgent.py
host=ajoy.net, exitcode=0
Command end time 2017-12-13 17:03:26
==========================
Running setup agent script...
==========================
Command start time 2017-12-13 17:03:26
Host registration aborted. Ambari Agent host cannot reach Ambari Server 'localhost:8080'. Please check the network connectivity between the Ambari Agent host and the Ambari Server
Connection to ajoy.net closed.
SSH command execution finished
host=ajoy.net, exitcode=1
Command end time 2017-12-13 17:03:30
ERROR: Bootstrap of host ajoy.net fails because previous action finished with non-zero exit code (1)
ERROR MESSAGE: Connection to ajoy.net closed.
STDOUT: Host registration aborted. Ambari Agent host cannot reach Ambari Server 'localhost:8080'. Please check the network connectivity between the Ambari Agent host and the Ambari Server
Connection to ajoy.net closed.
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment