Bug 1953964

Summary: Enable/Disable host operations returns cluster resource with incomplete hosts list
Product: OpenShift Container Platform Reporter: Jiri Tomasek <jtomasek>
Component: assisted-installerAssignee: Michael Filanov <mfilanov>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs
Version: 4.7   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-27 10:19:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Tomasek 2021-04-27 10:16:15 UTC
Description of problem:
POST and DELETE /clusters/<cluster_id>/actions/enable response returns incomplete hosts list. This causes UI to not show complete list of hosts which gets updated only after polling for GET /clusters/<cluster_id> happens.


Version-Release number of selected component (if applicable):
v1.0.19

How reproducible:


Steps to Reproduce:
1.Using the UI go to the cluster detail
2.Hit next to get to the Host Discovery step
3.Register hosts
4.Use host kebab menu to enable or disable the host
5.See hosts list to change to include limited amount of hosts

Actual results:
POST and DELETE /clusters/<cluster_id>/actions/enable response returns incomplete hosts list

Expected results:
PATCH /clusters/<cluster_id>/actions/enable response returns complete hosts list


Additional info:

Comment 1 Jiri Tomasek 2021-04-27 10:19:20 UTC

*** This bug has been marked as a duplicate of bug 1953963 ***