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

RU: wrong version exposed when Downgrade is going

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.0.0
    • ambari-server
    • None

    Description

      Currently on downgrade server returns from and to version same:

      {
        "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/upgrades/7?fields=Upgrade/*&_=1479742056069",
        "Upgrade" : {
          "cluster_name" : "c1",
          "create_time" : 1479741414972,
          "direction" : "DOWNGRADE",
          "downgrade_allowed" : true,
          "end_time" : -1,
          "exclusive" : false,
          "from_version" : "2.3.6.0-3796",
          "pack" : "nonrolling-upgrade-2.4",
          "progress_percent" : 56.666666666666664,
          "request_context" : "Downgrading to 2.3.6.0-3796",
          "request_id" : 7,
          "request_status" : "HOLDING_TIMEDOUT",
          "skip_failures" : false,
          "skip_service_check_failures" : false,
          "start_time" : 1479741415378,
          "suspended" : false,
          "to_version" : "2.3.6.0-3796",
          "type" : "INTERNAL_REQUEST",
          "upgrade_type" : "NON_ROLLING"
        }
      }
      

      However they should be:

      Direction from_version to_version
      UPGRADE 2.5.0.0 2.5.1.0
      DOWNGRADE 2.5.1.0 2.5.0.0

      Attachments

        1. AMBARI-19053.patch
          4 kB
          Nate Cole

        Activity

          People

            ncole@hortonworks.com Nate Cole
            ncole@hortonworks.com Nate Cole
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: