Created on 12-24-201606:38 AM - edited 08-17-201906:50 AM
SYMPTOM: During processes like adding a service, or upgrading, Ambari UI complains package not found for installation. From the log we can see that Ambari is searching for a repo higher version than cluster's current HDP version
-- Current version : Ambari Version 1.7.0 and HDP 2.2.0
-- But Ambari is searching in repo version for 2.2.8
ROOT CAUSE: It seems that/var/lib/ambari-server/resources/stacks/HDP/<VERSION>/repos/repoinfo.xml file has been updated with wrong latest version info.
1. comment out the below line in file /var/lib/ambari-server/resources/stacks/HDP/<VERSION>/repos/repoinfo.xml