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

RWN Addition on 4.14

XMLWordPrintable

    • Moderate
    • None
    • 1
    • Metal Platform 260
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:
      Trying to add a remote worker node inside a ABI deployed 9 node cluster but the Remote Worker Node keeps getting stuck in inspecting state.

      When I apply this on my cluster I see new bmh getting created but then stuck in inspecting state giving this error:

      Events:
        Type    Reason              Age    From                         Message
        ----    ------              ----   ----                         -------
        Normal  BMCAccessValidated  6m58s  metal3-baremetal-controller  Verified access to BMC
        Normal  ProfileSet          6m58s  metal3-baremetal-controller  Hardware profile set: unknown 

       

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

          4.14.12

      How reproducible:

      oc apply -f - <<EOF
      ---
      apiVersion: v1 
      kind: Secret
      metadata:
       name: worker07
       namespace: openshift-machine-api
      type: Opaque
      stringData:
       nmstate: | 
        interfaces: 
        - name: ens1f0
          type: ethernet
          state: up
          ipv4:
            enabled: true
            address:
              - ip: 192.168.40.91
                prefix-length: 25
        dns-resolver:
          config:
            server:
            - 192.168.254.20 
        routes:
          config:
            - destination: 0.0.0.0/0
              next-hop-address: 192.168.40.1
              next-hop-interface: ens1f0 
      ---
      apiVersion: v1
      kind: Secret
      metadata:
        name: ran1-bmc-creds-secret
        namespace: openshift-machine-api
      type: Opaque
      data:
        username: aGhhbWlkCg==
        password: Nzg2LUhhbXphCg== 
      ---
      apiVersion: metal3.io/v1alpha1
      kind: BareMetalHost
      metadata:
        name: worker07 
        namespace: openshift-machine-api
      spec:
        online: True
        bootMACAddress: B4:96:91:B3:67:84
        bmc:
          address: redfish-virtualmedia://192.168.40.161/redfish/v1/Systems/1
          credentialsName: ran1-bmc-creds-secret
          disableCertificateVerification: True
        rootDeviceHints:
          deviceName: /dev/nvme0n1  
        preprovisioningNetworkDataName: worker
        virtualMediaViaExternalNetwork: true
      EOF

      Steps to Reproduce:

          1. Apply the Secret and BMH CR to the cluster
          2. Check the status of BMH to become available.
          3. Apply the machine config And then update the number of replica set from 6 to 7

      Actual results:

          NAMESPACE               NAME       STATE        CONSUMER                    ONLINE   ERROR   AGE
      openshift-machine-api   master01   unmanaged    core-qpkcz-master-0         true             113d
      openshift-machine-api   master02   unmanaged    core-qpkcz-master-1         true             113d
      openshift-machine-api   master03   unmanaged    core-qpkcz-master-2         true             113d
      openshift-machine-api   worker01   unmanaged    core-qpkcz-worker-0-82mss   true             113d
      openshift-machine-api   worker02   unmanaged    core-qpkcz-worker-0-9rn9t   true             113d
      openshift-machine-api   worker03   unmanaged    core-qpkcz-worker-0-gnvnn   true             113d
      openshift-machine-api   worker04   unmanaged    core-qpkcz-worker-0-kstbt   true             113d
      openshift-machine-api   worker05   unmanaged    core-qpkcz-worker-0-pkjhg   true             113d
      openshift-machine-api   worker06   unmanaged    core-qpkcz-worker-0-s8kqp   true             113d
      openshift-machine-api   worker07   inspecting                               true             63m
      

      Expected results:

          NAMESPACE               NAME       STATE        CONSUMER                    ONLINE   ERROR   AGE
      openshift-machine-api   master01   unmanaged    core-qpkcz-master-0         true             113d
      openshift-machine-api   master02   unmanaged    core-qpkcz-master-1         true             113d
      openshift-machine-api   master03   unmanaged    core-qpkcz-master-2         true             113d
      openshift-machine-api   worker01   unmanaged    core-qpkcz-worker-0-82mss   true             113d
      openshift-machine-api   worker02   unmanaged    core-qpkcz-worker-0-9rn9t   true             113d
      openshift-machine-api   worker03   unmanaged    core-qpkcz-worker-0-gnvnn   true             113d
      openshift-machine-api   worker04   unmanaged    core-qpkcz-worker-0-kstbt   true             113d
      openshift-machine-api   worker05   unmanaged    core-qpkcz-worker-0-pkjhg   true             113d
      openshift-machine-api   worker06   unmanaged    core-qpkcz-worker-0-s8kqp   true             113d
      openshift-machine-api   worker07   Avaialble                               true             63m
      

      Additional info:

          

              hroy@redhat.com Himanshu Roy
              hhamid@redhat.com Hamza Hamid (Inactive)
              Jad Haj Yahya Jad Haj Yahya
              Hamza Hamid (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: