Skip to main content
chhaya_vishwaka
Silver ⭐️⭐️⭐️
Jun 27, 2019 9:28 AM UTC
Solved

Upgrade failure - Ambari 2.7.1 to 2.7.3

Hi All,

I'm trying to upgrade Ambari server and agents from 2.7.1 to 2.7.3 using below link.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade/content/upgrade_ambari.html

But it is failing in "yum upgrade ambari-server". I have tried cleaning up repository & cache but still facing same issue.

    [root@host ~]# yum upgrade ambari-server
    Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
    No packages marked for update

[root@host conf]# yum repolist | grep ambari
ambari-2.7.3.0                                      ambari Version - amba     13
[root@host conf]#

Below is content of ambari.repo

[root@host yum.repos.d]# cat ambari.repo
#VERSION_NUMBER=2.7.3.0-139
[ambari-2.7.3.0]
#json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
name=ambari Version - ambari-2.7.3.0
baseurl=http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.3.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.3.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1


Can someone please help to understand what might be wrong?

jsensharma
Platinum ⭐️⭐️
Jun 27, 2019 10:47 AM UTC

@Chhaya Vishwakarma

As you are using PPC system so can you please try using the PPC repo instead?

# wget -nv  http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0/ambari.repo  -O /etc/yum.repos.d/ambari.repo

# yum clean all

# yum upgrade ambari-server

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation-ppc/content/download_the_ambari_repo.html


Your ambari.repo should be looking like this for IBM Power Systems (PPC)

#VERSION_NUMBER=2.7.3.0-139
[ambari-2.7.3.0]
#json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
name=ambari Version - ambari-2.7.3.0
baseurl=http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1




.

5 replies

jsensharma
Platinum ⭐️⭐️
Platinum ⭐️⭐️
Jun 27, 2019 10:02 AM UTC

@Chhaya Vishwakarma

May be your ambari binaries are already upgraded.

Can you please share the output of the following command? Does it show 2.7.3 ?

# rpm -qa | grep ambari

.

If you see that ambari server binaries are already updated then you can take AMbari Server DB dump and then go for ambari server schema upgrade as described in following link .

Upgrade Ambari Server database schema. On the host running Ambari Server:

# ambari-server upgrade



https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major/content/upgrade_ambari.html

Translate
chhaya_vishwaka
Silver ⭐️⭐️⭐️
Jun 27, 2019 10:11 AM UTC

it't not upgraded , still shows 2.7.1. OS am using is IBM POWER

Translate
jsensharma
Platinum ⭐️⭐️
Platinum ⭐️⭐️
Jun 27, 2019 10:47 AM UTC

@Chhaya Vishwakarma

As you are using PPC system so can you please try using the PPC repo instead?

# wget -nv  http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0/ambari.repo  -O /etc/yum.repos.d/ambari.repo

# yum clean all

# yum upgrade ambari-server

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation-ppc/content/download_the_ambari_repo.html


Your ambari.repo should be looking like this for IBM Power Systems (PPC)

#VERSION_NUMBER=2.7.3.0-139
[ambari-2.7.3.0]
#json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
name=ambari Version - ambari-2.7.3.0
baseurl=http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos7-ppc/2.x/updates/2.7.3.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1




.

Translate
chhaya_vishwaka
Silver ⭐️⭐️⭐️
Jun 27, 2019 12:49 PM UTC

Thanks for the help Jay Kumar SenSharma , I Could successfully upgrade Ambari. I started facing another issue, after upgrade I don't see any HDP services running while in back-end services are up.

Translate
jsensharma
Platinum ⭐️⭐️
Platinum ⭐️⭐️
Jun 27, 2019 12:52 PM UTC

@Chhaya Vishwakarma

Good to know that the original issue reported as part of the HCC thread is resolved.

It will be great if you mark this HCC thread as "Answered" by clicking the "Accept" button on the correct answer.

For the new issue please open a Separate HCC thread so HCC users will be able to browse single query/with single solution as part of this thread.

Translate