Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
trunk, 2.6.2
-
None
-
None
Description
If cluster was created with Ambari 2.5.x using Satelite repository , Upgrading Ambari to 2.6.x would cause the service restart failures.
Reason for failure is : Ambari 2.5.x does not use the Satelite repo tag where as 2.6.x expects a tag. so while restarting the client it tries to install the client and it fails.
We will have to provide the proper documentation to update repository tag.
Workaround:
Run below API call to update the tag.
PUT /api/v1/stacks/HDP/versions/2.6/repository_versions/ID { "operating_systems" : [ { "OperatingSystems" : { "ambari_managed_repositories": false, "os_type" : "redhat6", "stack_name" : "HDP", "stack_version" : "2.6" }, "repositories" : [ { "Repositories" : { "base_url" : "", "repo_id" : "MY-ID", "repo_name" : "MY_name" } }, { "Repositories" : { "base_url" : "", "repo_id" : "MY-UTILS", "repo_name" : "MY-UTILS_name" } } ] } ] }