Recreating BareMetalHost Does Not Trigger Agent Re-Discovery in ACM/Assisted Installer

Solution Verified - Updated -

Issue

When attempting to reinstall a node in a hub-managed cluster by deleting and recreating the corresponding BareMetalHost (BMH) resource, the installation stalls. The new BMH boots successfully and downloads the rootfs image (e.g., version 4.14), but discovery does not progress. The agent.service logs show repeated registration errors:

Error registering host: json: cannot unmarshal string into Go struct field InfraError.code of type int32

No new Agent resource is created in the agent namespace, or an outdated one persists.

Environment

  • OpenShift Container Platform (OCP) 4.14+
  • Red Hat Advanced Cluster Management (RHACM)
  • Hub-Spoke deployment with Assisted Installer
  • Bare metal platform using BMH CRDs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content