Hide Forgot
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.
Also if all nodes are accepted, "Accept All" button should be disabled on all places in UI.
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