Member since
04-19-2018
6
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1559 | 12-13-2018 02:09 PM |
12-13-2018
02:09 PM
The Ambari version information seems to have changed. In Cloudbreak version 2.4.2 there is no way to update this data through API calls. You have to update it manually in the database instead:
Connect to the Cloudbreak database In the cbdb schema, in the cluster table, find the cluster, on which you experienced the problem and note its id
Update the Ambari version information eg.: UPDATE clustercomponent SET attributes = '{"predefined":false,"version":"2.6.2.0-155","baseUrl":"http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.6.2.0","gpgKeyUrl":"http://public-repo-1.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins"}' WHERE componenttype = ‘AMBARI_REPO_DETAILS’ AND cluster_id = <id_of_the_cluster>
Verify if the update was successful The above attribute value is just an example. Please replace it with the one in you database and edit the version field in the json to include the build number: "2.6.2.0-155"
... View more