You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Di Li <di...@ca.ibm.com> on 2017/01/23 16:25:07 UTC

Review Request 55847: AMBARI-19657: Downgrade button does not work after restart Ambari server when upgrade wizard was left open

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55847/
-----------------------------------------------------------

Review request for Ambari and Sangeeta Ravindran.


Bugs: AMBARI-19657
    https://issues.apache.org/jira/browse/AMBARI-19657


Repository: ambari


Description
-------

Run express/rolling upgrade on a trunk cluster. While the upgrade wizard UI pauses on a manual step or a failed step, restart ambari server. Once the Ambari Server restarts, reload Ambari web UI, observe that the wizard UI pops up automatically with the paused step showing the Downgrade button. Clicking the downgrade button doesn't do anything in this case because the "currentVersion" variable in the controller isn't set yet. Workaround is to close the wizard to force the Stack/Version page to reload, then reopen the wizard and click the Downgrade button.


Diffs
-----

  ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js 4f88d2f 

Diff: https://reviews.apache.org/r/55847/diff/


Testing
-------

build trunk code, run upgrade, restart ambari server when the upgrade wizard is opened and paused at a menu step. 
existing web UI unit tests.


Thanks,

Di Li


Re: Review Request 55847: AMBARI-19657: Downgrade button does not work after restart Ambari server when upgrade wizard was left open

Posted by Sangeeta Ravindran <sa...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55847/#review162666
-----------------------------------------------------------


Ship it!




Ship It!

- Sangeeta Ravindran


On Jan. 23, 2017, 4:25 p.m., Di Li wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55847/
> -----------------------------------------------------------
> 
> (Updated Jan. 23, 2017, 4:25 p.m.)
> 
> 
> Review request for Ambari and Sangeeta Ravindran.
> 
> 
> Bugs: AMBARI-19657
>     https://issues.apache.org/jira/browse/AMBARI-19657
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Run express/rolling upgrade on a trunk cluster. While the upgrade wizard UI pauses on a manual step or a failed step, restart ambari server. Once the Ambari Server restarts, reload Ambari web UI, observe that the wizard UI pops up automatically with the paused step showing the Downgrade button. Clicking the downgrade button doesn't do anything in this case because the "currentVersion" variable in the controller isn't set yet. Workaround is to close the wizard to force the Stack/Version page to reload, then reopen the wizard and click the Downgrade button.
> 
> 
> Diffs
> -----
> 
>   ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js 4f88d2f 
> 
> Diff: https://reviews.apache.org/r/55847/diff/
> 
> 
> Testing
> -------
> 
> build trunk code, run upgrade, restart ambari server when the upgrade wizard is opened and paused at a menu step. 
> existing web UI unit tests.
> 
> 
> Thanks,
> 
> Di Li
> 
>