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

RHOCP Baremetal Redfish installation fails on HP Cray xd670 server

XMLWordPrintable

    • Moderate
    • None
    • 3
    • Metal Platform 255, Metal Platform 256, Metal Platform 257
    • 3
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Openshift baremetal operator should support Redfish interface on HP Cray xd670 servers for baremetal builds. 

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

      4.14.16

      How reproducible:

      Easy

      Steps to Reproduce:

      1. Create a Baremetal host entry with the redfish interface for a HP Cray xd670 server 
      2. Immediately it will error out with the following power control error
      
      Failed to get power state for node a4c8f0c8-144e-4338-b006-0fcd1c146299. Error: The attribute Actions is missing from the resource /redfish/v1/Systems
      
      

      Actual results:

      Installation doesn't work

      Expected results:

      The installation should work

      Additional info:

      Below is an example BMH used at a customer with this hardware:
      
      ```
      apiVersion: metal3.io/v1alpha1
      kind: BareMetalHost
      metadata:
        annotations:
          kubectl.kubernetes.io/last-applied-configuration: |
            {"apiVersion":"metal3.io/v1alpha1","kind":"BareMetalHost","metadata":{"annotations":{},"name":"tpapdocpaidj14v04-gpu-worker-001.verizon.com","namespace":"openshift-config"},"spec":{"bmc":{"address":"redfish-virtualmedia://10.20.30.40:443/redfish/v1/Systems","credentialsName":"tpapdocpaidj14v04-gpu-worker-001-bmc-secret","disableCertificateVerification":true},"bootMACAddress":"aa:bb:cc:dd:ee:ff","hardwareProfile":"default","online":true,"rootDeviceHints":{"minSizeGigabytes":20}}}
        resourceVersion: '1243247615'
        name: tpapdocpaidj14v04-gpu-worker-001.verizon.com
        uid: 648e1cbc-589c-47ec-8313-754c528162d6
        creationTimestamp: '2024-03-06T19:14:16Z'
        generation: 1
        managedFields:
          - apiVersion: metal3.io/v1alpha1
            fieldsType: FieldsV1
            fieldsV1:
              'f:metadata':
                'f:finalizers':
                  .: {}
                  'v:"baremetalhost.metal3.io"': {}
            manager: baremetal-operator
            operation: Update
            time: '2024-03-06T19:14:16Z'
          - apiVersion: metal3.io/v1alpha1
            fieldsType: FieldsV1
            fieldsV1:
              'f:metadata':
                'f:annotations':
                  .: {}
                  'f:kubectl.kubernetes.io/last-applied-configuration': {}
              'f:spec':
                .: {}
                'f:automatedCleaningMode': {}
                'f:bmc':
                  .: {}
                  'f:address': {}
                  'f:credentialsName': {}
                  'f:disableCertificateVerification': {}
                'f:bootMACAddress': {}
                'f:hardwareProfile': {}
                'f:online': {}
                'f:rootDeviceHints':
                  .: {}
                  'f:minSizeGigabytes': {}
            manager: kubectl-client-side-apply
            operation: Update
            time: '2024-03-06T19:14:16Z'
          - apiVersion: metal3.io/v1alpha1
            fieldsType: FieldsV1
            fieldsV1:
              'f:status':
                .: {}
                'f:goodCredentials': {}
                'f:hardwareProfile': {}
                'f:operationHistory':
                  .: {}
                  'f:deprovision':
                    .: {}
                    'f:end': {}
                    'f:start': {}
                  'f:inspect':
                    .: {}
                    'f:end': {}
                    'f:start': {}
                  'f:provision':
                    .: {}
                    'f:end': {}
                    'f:start': {}
                  'f:register':
                    .: {}
                    'f:end': {}
                    'f:start': {}
                'f:poweredOn': {}
                'f:provisioning':
                  .: {}
                  'f:bootMode': {}
                  'f:image':
                    .: {}
                    'f:url': {}
                  'f:state': {}
                'f:triedCredentials':
                  .: {}
                  'f:credentials': {}
            manager: baremetal-operator
            operation: Update
            subresource: status
            time: '2024-05-03T18:51:59Z'
          - apiVersion: metal3.io/v1alpha1
            fieldsType: FieldsV1
            fieldsV1:
              'f:status':
                'f:errorCount': {}
                'f:errorMessage': {}
                'f:errorType': {}
                'f:lastUpdated': {}
                'f:operationalStatus': {}
                'f:provisioning':
                  'f:ID': {}
                'f:triedCredentials':
                  'f:credentialsVersion': {}
            manager: Go-http-client
            operation: Update
            subresource: status
            time: '2024-06-07T13:09:37Z'
        namespace: openshift-config
        finalizers:
          - baremetalhost.metal3.io
      spec:
        automatedCleaningMode: metadata
        bmc:
          address: 'redfish-virtualmedia://10.20.30.40:443/redfish/v1/Systems'
          credentialsName: gpu-worker-001-bmc-secret
          disableCertificateVerification: true
        bootMACAddress: 'aa:bb:cc:dd:ee:ff'
        hardwareProfile: default
        online: true
        rootDeviceHints:
          minSizeGigabytes: 20
      status:
        hardwareProfile: ''
        errorType: registration error
        poweredOn: false
        operationalStatus: error
        lastUpdated: '2024-06-07T13:09:37Z'
        errorCount: 487
        operationHistory:
          deprovision:
            end: null
            start: null
          inspect:
            end: null
            start: null
          provision:
            end: null
            start: null
          register:
            end: null
            start: '2024-03-06T19:15:46Z'
        provisioning:
          ID: a4c8f0c8-144e-4338-b006-0fcd1c146299
          bootMode: UEFI
          image:
            url: ''
          state: registering
        triedCredentials:
          credentials:
            name: gpu-worker-001-bmc-secret
            namespace: openshift-config
          credentialsVersion: '1209810012'
        errorMessage: 'Failed to get power state for node a4c8f0c8-144e-4338-b006-0fcd1c146299. Error: The attribute Actions is missing from the resource /redfish/v1/Systems'
        goodCredentials: {}
      ```

       

              rpittau@redhat.com Riccardo Pittau
              rhn-support-akanekar Ankita Kanekar
              Jad Haj Yahya Jad Haj Yahya
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: