Nate Cole created AMBARI-19053:
----------------------------------

             Summary: RU: wrong version exposed when Downgrade is going
                 Key: AMBARI-19053
                 URL: https://issues.apache.org/jira/browse/AMBARI-19053
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
            Reporter: Nate Cole
            Assignee: Nate Cole
            Priority: Critical
             Fix For: 3.0.0


Currently on downgrade server returns from and to version same:

{code:java}
{
  "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"
  }
}
{code}

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|



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to