Arun Kumar Kandregula created AMBARI-1102:
---------------------------------------------
Summary: Error handling when errors are encountered during
preparation for deploy
Key: AMBARI-1102
URL: https://issues.apache.org/jira/browse/AMBARI-1102
Project: Ambari
Issue Type: Bug
Components: client
Affects Versions: 1.2.0
Reporter: Arun Kumar Kandregula
Fix For: 1.2.0
Currently, if any errors are encountered during preparation for deploy, the
user is taken to the deploy page and the hosts will be shown as "Waiting" but
nothing happens. This is bad UX.
At a minimum, we should prevent the user from proceeding and display an
appropriate error message if any error is encountered after "Deploy" is
clicked, but before we transition to Step 9.
We should also think about how a user can recover from this situation.
At this point, the deploy has not initiated, but certain API calls may have
succeeded, so we may have incomplete info in the database. Currently there's no
convenient way to "rollback".
We can either ask the user to clean the slate by reinitializing the database
and try again (should succeed if the original problem was temporary).
We can also build more logic in the UI to retry, check if records already
exist, etc...
--
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