Support Questions

Find answers, ask questions, and share your expertise

Upgrade failure - Ambari 2.7.1 to 2.7.3

avatar

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.ht...

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?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@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...


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




.

View solution in original post

5 REPLIES 5

avatar
Master Mentor

@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_amb...

avatar

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

avatar
Master Mentor

@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...


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




.

avatar

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.

avatar
Master Mentor

@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.