Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ambari not using available repos

avatar
Explorer

RHEL 7.2 on Power8

ambari-server-2.5.0.0-1096.ppc64le

Trying to install HDP 2.6.

For some reason the install (Install, Start, and Test part of the installation) is failing. It appears that it is having problems using the repos that are available to it. For example:

2017-08-09 18:35:03,706 - Skipping installation of existing package curl
2017-08-09 18:35:03,706 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-09 18:35:03,728 - Skipping installation of existing package hdp-select
2017-08-09 18:35:04,016 - Package['hadoop_2_6_0_0_598-yarn'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-09 18:35:04,177 - Skipping installation of existing package hadoop_2_6_0_0_598-yarn
2017-08-09 18:35:04,179 - Package['hadoop_2_6_0_0_598-mapreduce'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-09 18:35:04,202 - Installing package hadoop_2_6_0_0_598-mapreduce ('/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_0_0_598-mapreduce')

So it cannot install hadoop_2_6_0_0_598-mapreduce. But if I go to the command line, I can install this:

==============================================================================================================
Package Arch Version Repository Size
==============================================================================================================
Installing:
hadoop_2_6_0_0_598-mapreduce ppc64le 2.7.3.2.6.0.0-598 HDP-2.6 32 M

Transaction Summary
==============================================================================================================
Install 1 Package

Total download size: 32 M
Installed size: 36 M
Is this ok [y/d/N]: y
Downloading packages:
hadoop_2_6_0_0_598-mapreduce-2.7.3.2.6.0.0-598.ppc64le.rpm | 32 MB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : hadoop_2_6_0_0_598-mapreduce-2.7.3.2.6.0.0-598.ppc64le 1/1
Verifying : hadoop_2_6_0_0_598-mapreduce-2.7.3.2.6.0.0-598.ppc64le 1/1

Installed:
hadoop_2_6_0_0_598-mapreduce.ppc64le 0:2.7.3.2.6.0.0-598

Complete!

I don't understand why Ambari is having such a problem using the HDP and HDP-Utils repositories. They are configured like this:

[root@hdplab80 yum.repos.d]# cat HDP.repo
[HDP-2.6]
name=HDP-2.6
baseurl=http://private-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.0.0-598

path=/
enabled=1
gpgcheck=0[root@hdplab80 yum.repos.d]# cat HDP-UTILS.repo
[HDP-UTILS-1.1.0.21]
name=HDP-UTILS-1.1.0.21
baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le

path=/
enabled=1

Can anyone spot what is wrong here? Essentially, Ambari is not using the repos available to it, I think.

Thanks in advance.

John

1 ACCEPTED SOLUTION

avatar
Master Mentor

@John Wright

Based on your output it looks like you have configured proxy.

So i guess in that case you should also set proxy inside your "/etc/yum.conf" file something like following so that the yum will also start using the same proxy.

# cat /etc/yum.conf 
[main] 
proxy=http://x.x.x.x:3128

cachedir=/var/cache/yum/$basearch/$releasever 
keepcache=0 
debuglevel=2 
logfile=/var/log/yum.log 
exactarch=1 
obsoletes=1 
gpgcheck=1 
plugins=1 
installonly_limit=3 

.

The perform a yum clean and then try again.

# yum clean all

.

View solution in original post

22 REPLIES 22

avatar
Master Mentor

@John Wright

Looking at your HDP.repo I see 2 different URL's one is private and the other is the official public is that a coincidence?

baseurl=http://private-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.0.0-598

baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le

Please correct that with the hortonworks publc repos and run the below commands

yum clean all
yum repolist

Hope that works

avatar
Explorer

Hi @Geoffrey Shelton Okot,

Well spotted. I switched both URLs to use public and then switched them both to use private. The result was that one or other other was then 404 not found. I've switched the URLs back to their originals now.

So I still have the problem that Ambari is not able to use the repositories I have configured. But, if I drop to the command line, I can install whatever package the HDP installation is having a problem with.

There must be some difference between how Ambari is using the repo and how I am using it from the CLI. Here's a log of one of the errors:

2017-08-10 12:44:06,487 - Initializing 2 repositories
2017-08-10 12:44:06,487 - Repository['HDP-2.6'] {'base_url': 'http://private-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.0.0-598', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP', 'mirror_list': None}
2017-08-10 12:44:06,496 - File['/etc/yum.repos.d/HDP.repo'] {'content': '[HDP-2.6]\nname=HDP-2.6\nbaseurl=http://private-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.0.0-598\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-08-10 12:44:06,497 - Repository['HDP-UTILS-1.1.0.21'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None}
2017-08-10 12:44:06,501 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.21]\nname=HDP-UTILS-1.1.0.21\nbaseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-08-10 12:44:06,501 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 12:44:06,660 - Skipping installation of existing package unzip
2017-08-10 12:44:06,660 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 12:44:06,682 - Skipping installation of existing package curl
2017-08-10 12:44:06,682 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 12:44:06,704 - Skipping installation of existing package hdp-select
2017-08-10 12:44:07,069 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2017-08-10 12:44:07,071 - Stack Feature Version Info: stack_version=2.6, version=None, current_cluster_version=None -> 2.6
2017-08-10 12:44:07,136 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2017-08-10 12:44:07,170 - checked_call['rpm -q --queryformat '%{version}-%{release}' hdp-select | sed -e 's/\.el[0-9]//g''] {'stderr': -1}
2017-08-10 12:44:07,266 - checked_call returned (0, '2.6.0.0-598', '')
2017-08-10 12:44:07,281 - Package['hadoop_2_6_0_0_598'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 12:44:07,439 - Skipping installation of existing package hadoop_2_6_0_0_598
2017-08-10 12:44:07,442 - Package['hadoop_2_6_0_0_598-client'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 12:44:07,464 - Skipping installation of existing package hadoop_2_6_0_0_598-client
2017-08-10 12:44:07,466 - Package['snappy'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 12:44:07,488 - Skipping installation of existing package snappy
2017-08-10 12:44:07,490 - Package['snappy-devel'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 12:44:07,513 - Skipping installation of existing package snappy-devel
2017-08-10 12:44:07,515 - Package['hadoop_2_6_0_0_598-libhdfs'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 12:44:07,538 - Installing package hadoop_2_6_0_0_598-libhdfs ('/usr/bin/yum -d 0 -e 0 -y install hadoop_2_6_0_0_598-libhdfs')
Command aborted. Reason: 'Server considered task failed and automatically aborted it'

Command failed after 1 tries

The packages it is now skipping I have installed manually from the CLI. Obviously this is not a solution to the problem as there are hundreds of packages to install across all nodes.

Any pointers appreciated.

avatar
Master Mentor

@John Wright

As you have changed the repo hence you should do yum clean all on all nodes ... because they we re using other repo earlier.

# yum clean all

.

Then retry again.

Additionally from the problematic host please try check if the repo data is accessible or not (just to isolate the Network Or Proxy issue).

Example: (from the host where yum installation failed)

# wget http://private-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.0.0-598/repodata/repomd.xml

avatar
Master Mentor

@John Wright

I think your repos is wrong. I just tried downloading on the hdp repo for RHEL/CentOS/Oracle LINUX 7

Here is what I did, note please backup your /etc/yum.repos.d/hdp.repo before overwriting with the below code.

wget -nv http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.0.3/hdp.repo -O /etc/yum.repos.d/hdp.repo

In the above I assume you are running one of the above flavors of Linux

#VERSION_NUMBER=2.6.0.3-8
[HDP-2.6.0.3]
name=HDP Version - HDP-2.6.0.3
baseurl=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.0.3
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.0.3/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
[HDP-UTILS-1.1.0.21]
name=HDP-UTILS Version - HDP-UTILS-1.1.0.21
baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/centos7
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.0.3/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

Then do

cat  /etc/yum.repos.d/hdp.repo

After validating the contents then run the below

yum clean all
yum repolist 

You should see the good repo contents , now you can continue to delpoy your cluster sucessfully

avatar
Explorer

@Jay SenSharma and @Geoffrey Shelton Okot

Thank you very much for your replies.

I'm not using the repos listed here:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-installation-ppc/content/select_v...

(Remembering that I am installing this on ppc64le)

The wget works so access to the repository is not a problem. However, I am still seeing failures when Ambari tries to do the install:

2017-08-10 17:45:40,457 - Initializing 2 repositories
2017-08-10 17:45:40,457 - Repository['HDP-2.6'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.1.0/hdp.repo', 'action': ['create'], 'components': [u'HDP', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP', 'mirror_list': None}
2017-08-10 17:45:40,466 - File['/etc/yum.repos.d/HDP.repo'] {'content': '[HDP-2.6]\nname=HDP-2.6\nbaseurl=http://public-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.1.0/hdp.repo\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-08-10 17:45:40,467 - Repository['HDP-UTILS-1.1.0.21'] {'base_url': 'http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le', 'action': ['create'], 'components': [u'HDP-UTILS', 'main'], 'repo_template': '[{{repo_id}}]\nname={{repo_id}}\n{% if mirror_list %}mirrorlist={{mirror_list}}{% else %}baseurl={{base_url}}{% endif %}\n\npath=/\nenabled=1\ngpgcheck=0', 'repo_file_name': 'HDP-UTILS', 'mirror_list': None}
2017-08-10 17:45:40,471 - File['/etc/yum.repos.d/HDP-UTILS.repo'] {'content': '[HDP-UTILS-1.1.0.21]\nname=HDP-UTILS-1.1.0.21\nbaseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le\n\npath=/\nenabled=1\ngpgcheck=0'}
2017-08-10 17:45:40,471 - Package['unzip'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 17:45:40,631 - Skipping installation of existing package unzip
2017-08-10 17:45:40,631 - Package['curl'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 17:45:40,653 - Skipping installation of existing package curl
2017-08-10 17:45:40,653 - Package['hdp-select'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 17:45:40,675 - Skipping installation of existing package hdp-select
2017-08-10 17:45:41,028 - Package['storm_2_6_0_0_598'] {'retry_on_repo_unavailability': False, 'retry_count': 5}
2017-08-10 17:45:41,274 - Installing package storm_2_6_0_0_598 ('/usr/bin/yum -d 0 -e 0 -y install storm_2_6_0_0_598')
Command aborted. Reason: 'Server considered task failed and automatically aborted it'

Command failed after 1 tries

With these repositories looking like this:

[root@hdplab81 yum.repos.d]# cat HDP.repo
[HDP-2.6]
name=HDP-2.6
baseurl=http://public-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.1.0/hdp.repo

path=/
enabled=1
gpgcheck=0
[root@hdplab81 yum.repos.d]# cat HDP-UTILS.repo
[HDP-UTILS-1.1.0.21]
name=HDP-UTILS-1.1.0.21
baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le

path=/
enabled=1

And, as before, Ambari fails but from the CLI I can install whatever package has failed from Ambari.

Thanks for the help on this. Really appreciate it.

avatar
Master Mentor

@John Wright

I am now almost sure your local repository wasn't well configured,initially your hdp.repo had the below content

baseurl=http://private-repo-1.hortonworks.com/HDP/centos7-ppc/2.x/updates/2.6.0.0-598
baseurl=http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.21/repos/ppc64le

With a local repository your baseurl should have been like either of the below

http://FQDN_local_webserver/HDP/xxxxx
http://Local_IP/HDP/xxxxx

Both URL's should be accessible to the ambari server

Please have a look at this Hortonworks document ,once your internal repo is well configure and firewall rules between the nodes configured you should be able to run the Ambari cluster setup successfully

avatar
Explorer

Sorry, had to go and work on something less interesting...

Came back to this today with a fresh head. Managed to configure the local repos for HDP and HDP-UTILS by pulling down the appropriate tar files. However, I am now having a problem I didn't have before.

The "Confirm hosts" section is now failing. Looks like the ambari-server and ambari-agents are not talking to each other. Here's the error:

==========================
Running setup agent script...
==========================

Command start time 2017-08-21 19:04:11
('WARNING 2017-08-21 19:04:22,849 NetUtil.py:121 - Server at https://x.x.x.x:8440 is not reachable, sleeping for 10 seconds...
INFO 2017-08-21 19:04:22,849 HeartbeatHandlers.py:116 - Stop event received
INFO 2017-08-21 19:04:22,849 NetUtil.py:127 - Stop event received
INFO 2017-08-21 19:04:22,849 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-08-21 19:04:22,849 ExitHelper.py:67 - Cleanup finished, exiting with code:0
INFO 2017-08-21 19:04:23,092 main.py:264 - Agent died gracefully, exiting.
INFO 2017-08-21 19:04:23,092 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-08-21 19:04:23,536 main.py:126 - loglevel=logging.INFO
INFO 2017-08-21 19:04:23,537 main.py:126 - loglevel=logging.INFO
INFO 2017-08-21 19:04:23,537 main.py:126 - loglevel=logging.INFO
INFO 2017-08-21 19:04:23,539 DataCleaner.py:39 - Data cleanup thread started
INFO 2017-08-21 19:04:23,540 DataCleaner.py:120 - Data cleanup started
INFO 2017-08-21 19:04:23,551 DataCleaner.py:122 - Data cleanup finished
INFO 2017-08-21 19:04:23,593 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2017-08-21 19:04:23,595 main.py:417 - Connecting to Ambari server at https://x.x.x.x:8440 (x.x.x.x)
INFO 2017-08-21 19:04:23,595 NetUtil.py:67 - Connecting to https://x.x.x.x:8440/ca
ERROR 2017-08-21 19:04:23,673 NetUtil.py:93 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
ERROR 2017-08-21 19:04:23,673 NetUtil.py:94 - SSLError: Failed to connect. Please check openssl library versions. 
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2017-08-21 19:04:23,675 NetUtil.py:121 - Server at https://x.x.x.x:8440 is not reachable, sleeping for 10 seconds...
', None)
('WARNING 2017-08-21 19:04:22,849 NetUtil.py:121 - Server at https://x.x.x.x:8440 is not reachable, sleeping for 10 seconds...
INFO 2017-08-21 19:04:22,849 HeartbeatHandlers.py:116 - Stop event received
INFO 2017-08-21 19:04:22,849 NetUtil.py:127 - Stop event received
INFO 2017-08-21 19:04:22,849 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-08-21 19:04:22,849 ExitHelper.py:67 - Cleanup finished, exiting with code:0
INFO 2017-08-21 19:04:23,092 main.py:264 - Agent died gracefully, exiting.
INFO 2017-08-21 19:04:23,092 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-08-21 19:04:23,536 main.py:126 - loglevel=logging.INFO
INFO 2017-08-21 19:04:23,537 main.py:126 - loglevel=logging.INFO
INFO 2017-08-21 19:04:23,537 main.py:126 - loglevel=logging.INFO
INFO 2017-08-21 19:04:23,539 DataCleaner.py:39 - Data cleanup thread started
INFO 2017-08-21 19:04:23,540 DataCleaner.py:120 - Data cleanup started
INFO 2017-08-21 19:04:23,551 DataCleaner.py:122 - Data cleanup finished
INFO 2017-08-21 19:04:23,593 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2017-08-21 19:04:23,595 main.py:417 - Connecting to Ambari server at https://x.x.x.x:8440 (x.x.x.x)
INFO 2017-08-21 19:04:23,595 NetUtil.py:67 - Connecting to https://x.x.x.x:8440/ca
ERROR 2017-08-21 19:04:23,673 NetUtil.py:93 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
ERROR 2017-08-21 19:04:23,673 NetUtil.py:94 - SSLError: Failed to connect. Please check openssl library versions. 
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2017-08-21 19:04:23,675 NetUtil.py:121 - Server at https://x.x.x.x:8440 is not reachable, sleeping for 10 seconds...
', None)

Not sure what's happened. I did run a 'yum update' on all nodes before retrying this. I've followed a procedure where I emptied the ambari server keys from the master node (note that I could not find any keys for the ambari agents which was interesting).

So perhaps a certificate problem of some sort? I saw one thread which suggested it could be related to Python so here's my level of Python:

[root@hdplab80 conf]# rpm -qa | grep ^python-libs
python-libs-2.7.5-58.el7.ppc64le

Passwordless SSH between all the nodes is fine.

Any ideas?

Thanks.

avatar
Master Mentor

@John Wright

The easiest way to resolve this issue is to install ambari-agent on all the hosts including the ambari host

# yum install -y ambari-agent 

Then edit the ambari.ini found in

# vi /etc/ambari-agent/conf/ambari-agent.ini 

Look for the below first entry and make sure the hostname below is the FQDN of your ambari server

[server] 
hostname={your_ambari_server_host} 
url_port=8440 
secured_url_port=8441 

Then start the agents on all the servers

# ambari-agent start 

Now go back to your Ambari UI in the Target hosts your add all the FQDN of hosts in your cluster including the Ambari server.I

n the Host Registration Information

Select Perform manual registration on hosts and do not use SSH

Click next all should register successfully

Voila

Have a look at this HCC thread too by Jay

avatar
Explorer

@Geoffrey Shelton Okot Thanks for your continued support on this!

Did as you said and now I get a very short error:

Registering with the server...
Registration with the server failed.

Even tried changing the /etc/python/cert-verification.cfg file to the below but that made no difference. I did cycle httpd, ambari-server, and ambari-agents but that made no difference.

[https]
verify=disable

If I try automatic install/registration, I get this error:

Command start time 2017-08-22 13:33:40
('WARNING 2017-08-22 13:33:51,547 NetUtil.py:121 - Server at https://F.Q.D.N:8440 is not reachable, sleeping for 10 seconds...
INFO 2017-08-22 13:33:51,547 HeartbeatHandlers.py:116 - Stop event received
INFO 2017-08-22 13:33:51,547 NetUtil.py:127 - Stop event received
INFO 2017-08-22 13:33:51,547 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-08-22 13:33:51,547 ExitHelper.py:67 - Cleanup finished, exiting with code:0
INFO 2017-08-22 13:33:54,517 main.py:264 - Agent died gracefully, exiting.
INFO 2017-08-22 13:33:54,517 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-08-22 13:33:54,955 main.py:126 - loglevel=logging.INFO
INFO 2017-08-22 13:33:54,955 main.py:126 - loglevel=logging.INFO
INFO 2017-08-22 13:33:54,955 main.py:126 - loglevel=logging.INFO
INFO 2017-08-22 13:33:54,959 DataCleaner.py:39 - Data cleanup thread started
INFO 2017-08-22 13:33:54,961 DataCleaner.py:120 - Data cleanup started
INFO 2017-08-22 13:33:54,975 DataCleaner.py:122 - Data cleanup finished
INFO 2017-08-22 13:33:55,014 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2017-08-22 13:33:55,016 main.py:417 - Connecting to Ambari server at https://F.Q.D.N:8440 (x.x.x.x)
INFO 2017-08-22 13:33:55,016 NetUtil.py:67 - Connecting to https://F.Q.D.N:8440/ca
ERROR 2017-08-22 13:33:55,093 NetUtil.py:93 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
ERROR 2017-08-22 13:33:55,093 NetUtil.py:94 - SSLError: Failed to connect. Please check openssl library versions. 
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2017-08-22 13:33:55,095 NetUtil.py:121 - Server at https://F.Q.D.N:8440 is not reachable, sleeping for 10 seconds...
', None)
('WARNING 2017-08-22 13:33:51,547 NetUtil.py:121 - Server at https://F.Q.D.N:8440 is not reachable, sleeping for 10 seconds...
INFO 2017-08-22 13:33:51,547 HeartbeatHandlers.py:116 - Stop event received
INFO 2017-08-22 13:33:51,547 NetUtil.py:127 - Stop event received
INFO 2017-08-22 13:33:51,547 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-08-22 13:33:51,547 ExitHelper.py:67 - Cleanup finished, exiting with code:0
INFO 2017-08-22 13:33:54,517 main.py:264 - Agent died gracefully, exiting.
INFO 2017-08-22 13:33:54,517 ExitHelper.py:53 - Performing cleanup before exiting...
INFO 2017-08-22 13:33:54,955 main.py:126 - loglevel=logging.INFO
INFO 2017-08-22 13:33:54,955 main.py:126 - loglevel=logging.INFO
INFO 2017-08-22 13:33:54,955 main.py:126 - loglevel=logging.INFO
INFO 2017-08-22 13:33:54,959 DataCleaner.py:39 - Data cleanup thread started
INFO 2017-08-22 13:33:54,961 DataCleaner.py:120 - Data cleanup started
INFO 2017-08-22 13:33:54,975 DataCleaner.py:122 - Data cleanup finished
INFO 2017-08-22 13:33:55,014 PingPortListener.py:50 - Ping port listener started on port: 8670
INFO 2017-08-22 13:33:55,016 main.py:417 - Connecting to Ambari server at https://F.Q.D.N:8440 (x.x.x.x)
INFO 2017-08-22 13:33:55,016 NetUtil.py:67 - Connecting to https://F.Q.D.N:8440/ca
ERROR 2017-08-22 13:33:55,093 NetUtil.py:93 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
ERROR 2017-08-22 13:33:55,093 NetUtil.py:94 - SSLError: Failed to connect. Please check openssl library versions. 
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2017-08-22 13:33:55,095 NetUtil.py:121 - Server at https://F.Q.D.N:8440 is not reachable, sleeping for 10 seconds...
', None)

Not sure where to go with this next. Tempted to rebuild from scratch but can't help but think I'll hit the same problems.