Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-57361

OVE UI credentials generation occasionally fails due to host roles

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Agent Sprint 272, Agent Sprint 273
    • 2
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      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

              bfournie@redhat.com Robert Fournier
              bfournie@redhat.com Robert Fournier
              None
              None
              Biagio Manzari Biagio Manzari
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: