[jira] [Updated] (AMBARI-19053) RU: wrong version exposed when Downgrade is going

2016-12-02 Thread Nate Cole (JIRA)

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

Nate Cole updated AMBARI-19053:
---
Resolution: Fixed
Status: Resolved  (was: Patch Available)

> 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
>
> Attachments: AMBARI-19053.patch
>
>
> 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.664,
> "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)


[jira] [Updated] (AMBARI-19053) RU: wrong version exposed when Downgrade is going

2016-12-01 Thread Nate Cole (JIRA)

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

Nate Cole updated AMBARI-19053:
---
Status: Patch Available  (was: Open)

> 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
>
> Attachments: AMBARI-19053.patch
>
>
> 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.664,
> "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)


[jira] [Updated] (AMBARI-19053) RU: wrong version exposed when Downgrade is going

2016-12-01 Thread Nate Cole (JIRA)

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

Nate Cole updated AMBARI-19053:
---
Attachment: AMBARI-19053.patch

> 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
>
> Attachments: AMBARI-19053.patch
>
>
> 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.664,
> "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)