Bare metal machine is stuck in provisioning state in RHOCP 4.x

Solution Verified - Updated -

Issue

-Bare metal machine is stuck in provisioning state.
- Below logs are streamed in machine-api-controllers pod:

2022-03-30T07:37:40.323935755Z I0330 07:37:40.323901       1 controller.go:364] ocptest-baremetal-xxxxx: reconciling machine triggers idempotent create
2022-03-30T07:37:40.323935755Z 2022/03/30 07:37:40 Creating machine ocptest-baremetal-xxxxx
2022-03-30T07:37:40.324268454Z 2022/03/30 07:37:40 Host 'baremetal-A' did not match hostSelector for Machine 'ocptest-baremetal-xxxxx'
2022-03-30T07:37:40.324268454Z 2022/03/30 07:37:40 0 hosts available while choosing host for machine 'ocptest-baremetal-xxxxx'
2022-03-30T07:37:40.324294841Z W0330 07:37:40.324276       1 controller.go:366] ocptest-baremetal-xxxxx: failed to create machine: requeue in: 30s
2022-03-30T07:38:10.318459078Z I0330 07:38:10.318411       1 controller.go:174] ocptest-baremetal-xxxxx: reconciling Machine

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x
  • Installer Provisioned Infra (IPI)
  • Bare Metal

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