-
Bug
-
Resolution: Unresolved
-
Undefined
-
4.19.0
We are seeing failures on the credential generation screen in assisted-service with:
Not enough registered hosts in role worker to match with BareMetalHosts
The full error message is here:
Jun 11 10:39:19 localhost.localdomain service[3382]: time="2025-06-11T14:39:19Z" level=error msg="failed generating install config for cluster f5392bf6-fc2f-416c-b64e-47ff7d09f389" func="github.com/openshift/assisted-service/internal/bminventory.(*bareMetalInventory).generateClusterInstallConfig" file="/src/internal/bminventory/inventory.go:1846" cluster_id=f5392bf6-fc2f-416c-b64e-47ff7d09f389 error="Not enough registered hosts in role worker to match with BareMetalHosts" go-id=247 pkg=Inventory request_id=ca11fc48-c471-4a0a-a5f4-30e6dd680f01
This occurs with 3 master nodes and 0 worker nodes. Its not quite clear why the nodes are being treated as workers but this seems to be occurring:
- when the nodes are set to Auto-assign. When they are changed to control-plane the problem does not occur
- when the rendezvous node is other than master-0. When its set to master-0 the problem does not occur.
We are still investigating the issue in the assisted-service code. The error is being returned from this piece of code https://github.com/openshift/assisted-service/blob/master/internal/ignition/installmanifests.go#L758-L771
- blocks
-
OCPBUGS-58022 OVE UI credentials generation occasionally fails due to host roles
-
- Closed
-
- is cloned by
-
OCPBUGS-58022 OVE UI credentials generation occasionally fails due to host roles
-
- Closed
-
- links to