Description of problem: When disabling a host two events are generated e.g: 11/15/2020, 3:41:39 PM Host disabled by user 11/15/2020, 3:41:39 PM Updated status of cluster seal55-cluster-0 to ready 11/15/2020, 3:41:39 PM Host worker-0-0: updated status from "known" to "disabled" (Host was manually disabled) It is unclear from the logs which host the event corresponds to Version-Release number of selected component (if applicable): Facet-lib version: 1.4.1-2 How reproducible: Every time Steps to Reproduce: 1. Boot nodes into discovery ISO 2. Wait for nodes to be discovered 3. Disable a host from the UI Actual results: Event "Host disabled by user" does not display host_id or name Expected results: Event "Host disabled by user" to indicate display host_id or name Additional info:
The message is coming from the backend. Moving to assisted-service.
https://github.com/openshift/assisted-service/pull/695
Verified on staging: { "release_tag": "v1.0.12_1", "versions": { "assisted-ignition-generator": "", "assisted-installer": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-rhel8:v4.6.0-49", "assisted-installer-controller": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-reporter-rhel8:v4.6.0-46", "assisted-installer-service": "quay.io/app-sre/assisted-service:92e3dad", "discovery-agent": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-agent-rhel8:v4.6.0-47", "image-builder": "quay.io/app-sre/assisted-iso-create:92e3dad" } } API payload from GET to /clusters/{clsuter_id}/events { "cluster_id": "39f2b931-8b17-47ee-b9e5-3b2e4c28f507", "event_time": "2020-12-03T10:38:26.578Z", "host_id": "c421f397-0a2a-43d3-851f-a23a6ff070dc", "message": "Host master-0-0 disabled by user", "severity": "info" } Message Displayed in UI: 12/3/2020, 12:38:26 PM Host master-0-0 disabled by user
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 (OpenShift Container Platform 4.6.43 bug fix 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/RHBA-2021:3197