Bug 1296571 - User can accept nodes which are already accepted
Summary: User can accept nodes which are already accepted
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: UI
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3
Assignee: sankarshan
QA Contact: Daniel Horák
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-07 15:12 UTC by Martin Kudlej
Modified: 2017-03-23 04:12 UTC (History)
4 users (show)

Fixed In Version: rhscon-ceph-0.0.23-1.el7scon.x86_64, rhscon-core-0.0.24-1.el7scon.x86_64, rhscon-ui-0.0.39-1.el7scon.noarch
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 04:12:34 UTC
Target Upstream Version:


Attachments (Terms of Use)
Screenhots from accepting node (354.15 KB, application/x-gzip)
2016-07-01 09:40 UTC, Daniel Horák
no flags Details

Description Martin Kudlej 2016-01-07 15:12:59 UTC
Description of problem:
If user accept node from list of not accepted nodes in upper right corner 3rd icon from right, user can accept same node from page which is visible when there is no cluster(You don't have any clusters).
There is at least one other place where user can accept node. I think if user start accepting process for node, this action should be disabled on other place in UI.

Version-Release number of selected component (if applicable):
rhscon-core-0.0.5-0.1.alpha1.el7.x86_64
rhscon-ceph-0.0.3-0.1.alpha1.el7.x86_64
rhscon-ui-0.0.3-0.1.alpha1.el7.noarch

How reproducible:
100%

Actual results:
User can start accepting task of node which is already accepted or accepting task is running.

Expected results:
User cannot start accepting task of node which is already accepted or accepting task is running.

Comment 1 Martin Kudlej 2016-02-11 12:00:26 UTC
Also if all nodes are accepted, "Accept All" button should be disabled on all places in UI.

Comment 4 Daniel Horák 2016-07-01 09:40:28 UTC
Created attachment 1174857 [details]
Screenhots from accepting node

When I go to the 'Clusters' -> 'Create Cluster' (Unaccepted Hosts Detected) -> 'View and Accept' (View and Accept Hosts page, see screenshot 01_all_unaccepted_hosts),
and then accept one host (dhcp-126-126 in this case) from the pop-up window 'Discovered Hosts' (second icon in the upper right corner - screenshot 02_one_accepted_host),
the node is still visible on the 'View and Accept Hosts' page (until I'll reload it, see screenshot 03_remaining_unaccepted_hosts).
And if I'll try to click to Accept (screenshot 04_already_accepted_host_is_still_in_the_list_of_unaccepted_hosts), there is not response from the UI, but in the Firebug console I see following error: '405 Method Not Allowed' - "Node not found".

>> moving back to ASSIGNED


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