[ 
https://issues.apache.org/jira/browse/AMBARI-24629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmytro Grinenko reassigned AMBARI-24629:
----------------------------------------

    Assignee: Dmytro Grinenko

> Service restart fails after Upgrading to 2.6.x if Satelite repos are used
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-24629
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24629
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.6.2
>            Reporter: amarnath reddy pappu
>            Assignee: Dmytro Grinenko
>            Priority: Major
>
> 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.
> {noformat}
> 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"
>           }
>         }
>       ]
>     }
>   ]
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to