Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-24629

Service restart fails after Upgrading to 2.6.x if Satelite repos are used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • trunk, 2.6.2
    • None
    • ambari-server
    • 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"
                }
              }
            ]
          }
        ]
      }
      
      

      Attachments

        Activity

          People

            hapylestat Dmytro Grinenko
            apappu@hortonworks.com amarnath reddy pappu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: