Description of problem: [infraEnv] Delete host modal has incorrect host's name populated Version-Release number of selected component (if applicable): - ACM 2.5.0-DOWNSTREAM-2022-03-02-04-59-50 - MCE 2.0.0-DOWNANDBACK-2022-03-02-01-20-35 How reproducible: Steps to Reproduce: 1. Install ACM + MCH + MCE 2. Create agentserviceconfig 3. Go to UI Infrastructure > Infrastructure environments, add host via BMC 4. In UI, delete the host added in step 3 Actual results: Delete host modal has the BMC address populated as the host's name Expected results: The host's name/hostname should be stamped Additional info:
Created attachment 1863920 [details] Delete host modal
@thnguyen can you please attach BMH, infra-env and agent CRs? it will help to see from where this name comes from
What about the status of the CRs? I would like to see the status of the agent, the hostname is there .
Please get the agent as well (agent-install) it should be in the same namespace as the infra env
As noted in https://bugzilla.redhat.com/show_bug.cgi?id=2060230#c5, the host is not bound to any cluster deployment, and there is no agent-install created.
(In reply to Thuy Nguyen from comment #7) > As noted in https://bugzilla.redhat.com/show_bug.cgi?id=2060230#c5, the host > is not bound to any cluster deployment, and there is no agent-install > created. There should be an agent object when the host registers with the service. Based on the BMH status it looks like there was a provisioning error. Based on the screenshot it looks like some UI is displaying the BMH provisioning address rather than something more friendly. In the case that an agent never registers with assisted-service, what do we expect there?
Also, if the host registers successfully is the modal still displaying the provisioning address or is it getting a better value from some other object?
@jtomasek @tjelinek FYI
yep, UI should be showing the metadata.name, moving to UI
verified with (image attached to the bug): $ oc version Client Version: 4.10.6 Server Version: 4.10.6 Kubernetes Version: v1.23.5+b0357ed $ oc get catalogsources.operators.coreos.com -n openshift-marketplace acm-custom-snapshot NAME DISPLAY TYPE PUBLISHER AGE acm-custom-snapshot 2.5.0-DOWNSTREAM-2022-03-29-05-04-50 grpc Red Hat 18h
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 (Important: Red Hat Advanced Cluster Management 2.5 security updates, images, and bug fixes), 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-2022:4956