Bug 1953963

Summary: Enable/Disable host operations returns cluster resource with incomplete hosts list
Product: OpenShift Container Platform Reporter: Jiri Tomasek <jtomasek>
Component: assisted-installerAssignee: Elior Erez <eerez>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, lgamliel
Version: 4.7   
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Core
Fixed In Version: OCP-Metal-V1.0.20.2 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-01 04:50:27 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:14:30 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:01 UTC
*** Bug 1953966 has been marked as a duplicate of this bug. ***

Comment 2 Jiri Tomasek 2021-04-27 10:19:09 UTC
*** Bug 1953965 has been marked as a duplicate of this bug. ***

Comment 3 Jiri Tomasek 2021-04-27 10:19:16 UTC
*** Bug 1953964 has been marked as a duplicate of this bug. ***

Comment 5 Yuri Obshansky 2021-05-27 15:12:26 UTC
Verified on v1.0.21.1 UI v1.5.22

Comment 7 errata-xmlrpc 2021-06-01 04:50:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.13 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2121