Bug 1340502 - no UI feedback when clicking on "Re-Initialize" button on "View and Accept Hosts" page
Summary: no UI feedback when clicking on "Re-Initialize" button on "View and Accept Ho...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat Storage
Component: UI
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3
Assignee: sankarshan
QA Contact: sds-qe-bugs
URL:
Whiteboard:
: 1335242 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-27 15:00 UTC by Martin Bukatovic
Modified: 2017-03-23 04:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 04:12:32 UTC
Embargoed:


Attachments (Terms of Use)
screenshot of "View and Accept Hosts" page (107.75 KB, image/png)
2016-05-27 15:03 UTC, Martin Bukatovic
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1338001 0 unspecified CLOSED there are 3 different implementations of Accept Host work flow, of which only one follows expected design 2021-02-22 00:41:40 UTC

Internal Links: 1338001

Description Martin Bukatovic 2016-05-27 15:00:04 UTC
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

Comment 1 Martin Bukatovic 2016-05-27 15:03:14 UTC
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.

Comment 3 Lubos Trilety 2016-06-07 08:17:30 UTC
*** Bug 1335242 has been marked as a duplicate of this bug. ***

Comment 4 Matt Carrano 2016-06-17 14:55:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.