Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23781

Template "HPE iLo 5 by HTTP" error if "Storage" entry has no "Volumes"

XMLWordPrintable

    • 1

      Steps to reproduce:

      1. Set up a new HP iLO host using the "HPE iLO 5 by HTTP" template as described in the templates readme
      2. The HP Server is a ProLiant DL380 Gen10 with iLO 5 Version 2.81 and at least one NVMe drive.

      Result:
      The Template throws the problem:
      HPE iLO: Failed to get data from API

      The Zabbix Log (/var/log/zabbix/zabbix-proxy.log) now states for every retry:

      {{888:20231204:102951.920 [ HPE iLO ] ERROR: Request failed with status code 404: {"error":{"code":"iLO.0.10.ExtendedInfo","message":"See @Message.ExtendedInfo for more information.","@Message.ExtendedInfo":[
      
      {"MessageArgs":["/redfish/v1/Systems/1/Storage/DA000000/Volumes"],"MessageId":"Base.1.4.ResourceMissingAtURI"}
      

       

      The problem is that the redfish API of the iLO does not list any Volumes on NVMe drives. (It is working on multiple other servers that only have a RAID controller as storage.)

       

      For example:
      When I use the redfish API to query the internal RAID controller, there is an entry for "Volumes".

      Query: https://10.99.99.120/redfish/v1/Systems/1/Storage/DE07C000/

        "@odata.id": "/redfish/v1/Systems/1/Storage/DE07C000",
        "@odata.type": "#Storage.v1_12_0.Storage",
        "Actions": {
          "#Storage.ResetToDefaults": {
            "target": "/redfish/v1/Systems/1/Storage/DE07C000/Actions/Storage.ResetToDefaults",
            "[email protected]": ["ResetAll", "PreserveVolumes"
      }}
        },
        "Id": "DE07C000",
        "Name": "HPE Smart Array P408i-a SR Gen10",
        "Status": {
          "Health": "OK",
          "HealthRollup": "OK",
          "State": "Enabled"
        },
        "Controllers": {
          "@odata.id": "/redfish/v1/Systems/1/Storage/DE07C000/Controllers"
        },
        "[email protected]": 0,
        "Drives": [],
        "Volumes": {
          "@odata.id": "/redfish/v1/Systems/1/Storage/DE07C000/Volumes"
        },
        "@odata.etag": "\"8B0330BD\""
      }
       
      

       

       

      When I use the redfish API to query the NVMe storage, there is no entry for "Volumes", so the query fails with the error seen in the Zabbix Log.

      Query: https://10.99.99.120/redfish/v1/Systems/1/Storage/DA000000

        "@odata.context": "/redfish/v1/$metadata#Storage.Storage",
        "@odata.etag": "W/\"836C2E84\"",
        "@odata.id": "/redfish/v1/Systems/1/Storage/DA000000",
        "@odata.type": "#Storage.v1_12_0.Storage",
        "Id": "DA000000",
        "Controllers": {
          "@odata.id": "/redfish/v1/Systems/1/Storage/DA000000/Controllers"
        },
        "Drives": [{
          "@odata.id": "/redfish/v1/Systems/1/Storage/DA000000/Drives/DA000000/"
        }],
        "Links": {
          "Enclosures": [{
            "@odata.id": "/redfish/v1/Chassis/1"
          }]
        },
        "Name": "NVMe Storage System",
        "Status": {
          "Health": "OK",
          "State": "Enabled"
        },
        "StorageControllers": [{
          "@odata.id": "/redfish/v1/Systems/1/Storage/DA000000#/StorageControllers/0/",
          "FirmwareVersion": "    HPK4",
          "Identifiers": [],
          "Location": {
            "PartLocation": {
              "LocationOrdinalValue": 1,
              "LocationType": "Bay",
              "ServiceLabel": "Box 1 Bay 1"
          },
          "MemberId": "0",
          "Model": "MK000800KWDUL",
          "Name": "NVMe Storage Controller",
          "SerialNumber": "0000",
          "Status": {
            "Health": "OK",
            "State": "Enabled"
          },
          "SupportedControllerProtocols": ["PCIe"],
          "SupportedDeviceProtocols": ["NVMe"]
        }]
      }

      Expected:
      The template works as expected, even when the iLO is not reporting the drives volumes.

            drasikhov Denis Rasikhov
            moro89 Notmy Fullname
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: