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

SNO not able to bring up Provisioning resource in 4.11.17

XMLWordPrintable

    • Moderate
    • 1
    • Metal Platform 229
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      metal3 pod does not come up on SNO when creating Provisioning with provisioningNetwork set to Disabled
      
      The issue is that on SNO, there is no Machine, and no BareMetalHost, it is looking of Machine objects to populate the provisioningMacAddresses field. However, when provisioningNetwork is Disabled, provisioningMacAddresses is not used anyway.
      
      You can work around this issue by populating provisioningMacAddresses with a dummy address, like this:
      
      kind: Provisioning
      metadata:
        name: provisioning-configuration
      spec:
        provisioningMacAddresses:
        - aa:aa:aa:aa:aa:aa
        provisioningNetwork: Disabled
        watchAllNamespaces: true

      Version-Release number of selected component (if applicable):

      4.11.17

      How reproducible:

      Try to bring up Provisioning on SNO in 4.11.17 with provisioningNetwork set to Disabled
      
      apiVersion: metal3.io/v1alpha1
      kind: Provisioning
      metadata:
        name: provisioning-configuration
      spec:
        provisioningNetwork: Disabled
        watchAllNamespaces: true

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      controller/provisioning "msg"="Reconciler error" "error"="machines with cluster-api-machine-role=master not found" "name"="provisioning-configuration" "namespace"="" "reconciler group"="metal3.io" "reconciler kind"="Provisioning"

      Expected results:

      metal3 pod should be deployed

      Additional info:

      This issue is a result of this change: https://github.com/openshift/cluster-baremetal-operator/pull/307
      See this Slack thread: https://coreos.slack.com/archives/CFP6ST0A3/p1670530729168599

            rhn-engineering-dtantsur Dmitry Tantsur
            lmcnaugh@redhat.com Logan McNaughton
            Jad Haj Yahya Jad Haj Yahya
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: