[
https://issues.apache.org/jira/browse/AMBARI-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jaimin D Jetly updated AMBARI-2630:
-----------------------------------
Attachment: AMBARI-2630.patch
Attached patch has been successfully tested on a cluster installed with
HDP-1.3.0 full stack. Following scenarios were tested for Enable security
wizard and Disable security after applying the patch:
# Explicitly make stage2 (Apply configurations) to get fail.
# Go back to previous page and again come on the page. (Expected behavior: Stop
services should be successful and complete successfully but apply configuration
should fail again).
# Refresh the page on stage2 failure.
# Hit Retry button on stage2 failure. It should fail again and stage3 should
not get started. *(Ticket was filled for this case)*.
# Remove the erroneous condition that fails stage2 and hit retry. (Expected
behavior: stage should be successful and wizard should proceed ahead).
# Repeat above listed step-1 to step-5 for other two stages. (Stop Services and
Start Services).
# Do refreshes while stage1, stage2 and stage3 are running.
# Quit the wizard while any of stop services and start services stage is
running. (Expected behavior: Wizard should complete current API call but
shouldn't trigger any successive calls)
# Quit the wizard while stop services is being executed. Re-navigate through
wizard and if the call with _stop all services_ context is still running,
stage1 should start polling on that requestId.
# Open another browser and login while "start services" is in progress. User
should be navigated to the Save configuration/Disable Security page. Hit
refreshes on both browser window. (Expected behavior: Both windows should be
polling on same request Id and shouldn't trigger another start services call)
> Security wizard: wrong behavior for retry stage 2
> -------------------------------------------------
>
> Key: AMBARI-2630
> URL: https://issues.apache.org/jira/browse/AMBARI-2630
> Project: Ambari
> Issue Type: Bug
> Components: client
> Affects Versions: 1.2.5
> Reporter: Jaimin D Jetly
> Assignee: Jaimin D Jetly
> Labels: security
> Fix For: 1.2.5
>
> Attachments: AMBARI-2630.patch
>
>
> After Stage 2 failed and click on retry, Stage 3 starts, but Stage 2 remained
> failed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira