Description of problem ====================== There is no UI feedback when one clicks on "Re-Initialize" button shown when "Initialize Node" task fail for a node on "View and Accept Hosts" page which is part of "Create Cluster" workflow. Version-Release =============== rhscon-ui-0.0.34-1.el7scon.noarch Related packages on RHSC 2.0 server machine: rhscon-core-0.0.19-1.el7scon.x86_64 rhscon-ceph-0.0.18-1.el7scon.x86_64 ceph-installer-1.0.11-1.el7scon.noarch ceph-ansible-1.0.5-15.el7scon.noarch Related packages on RHSC 2.0 Ceph server machines: rhscon-agent-0.0.8-1.el7scon.noarch How reproducible ================ 100 % Steps to Reproduce ================== 1. Install RHSC 2.0 following the documentation, make sure you have few nodes ready to be accepted later. 2. Go to Clusters page and click on "Create Cluster" to start the wizard. 3. Modal window with warning stating "Unaccepted Hosts Detected" should be shown. Click on "View and Accept" button to go to "View and Accept Hosts" page, where you click on "Accept All" button and *stay on this page*. 4. While the accept process is still running, kill one machine (virsh destroy) during "Initializing Host" phase to make the "Initialize Node" task fail. 5. Start the machine (you just killed in the previous step) again and make sure that it's ok (eg. that salt-minion is up and running - BZ 1313770). 6. When the machine is ready, click on "Re-Initialize" button on the page and observe the feedback triggered by this action. Actual results ============== There is no feedback of any kind when the "Re-Initialize" button has been clicked on. Nothing changes on the page and no event is shown either, as if nothing has happened, which is not actually true as a new "Initialize Node" task was started as can be checked that it's running on "Tasks" page. Expected results ================ UI will report: * that new "Initialize Node" task has been started * current status of the new task white the task is running (in the same way as it's already implemented for the 1st run on the task) * the final result of this new task will be reported and the status of the node on the page changed accordingly
Created attachment 1162512 [details] screenshot of "View and Accept Hosts" page Attaching screenshot of "View and Accept Hosts" page with one host in a failed state so that problematic "Re-Initialize" button is shown there.
*** Bug 1335242 has been marked as a duplicate of this bug. ***
Wanted to clarify how this should work. When the Reinitialize button is clicked, a new initialization task is launched and the "Initialization Failed" message as well as the Reinitialize button should be cleared and task progress should be reported on this page just as if the node were being initialized for the first time. Users may click Details to see Task Details for the new running task. The Create Cluster workflow doc has been updated to include this detail.