Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
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 |