Created 06-27-2019 02:28 AM
Hi All,
I'm trying to upgrade Ambari server and agents from 2.7.1 to 2.7.3 using below link.
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?
Created 06-27-2019 03:47 AM
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
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
.
Created 06-27-2019 03:02 AM
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
Created 06-27-2019 03:11 AM
it't not upgraded , still shows 2.7.1. OS am using is IBM POWER
Created 06-27-2019 03:47 AM
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
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
.
Created 06-27-2019 05:49 AM
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.
Created 06-27-2019 05:52 AM
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.