Skip to content

No JSON output for rawget with $expand in ilorest 7.1.0 #121

Description

@yama-git7
  1. Description
  • After upgrading ilorest from 7.0.0 to 7.1.0 on VMware ESXi 8.0.3, the rawget command with the $expand query no longer returns any JSON data.
  1. Environment
  • OS: VMware ESXi 8.0.3
  • ilorest version: 7.1.0 (Upgraded from 7.0.0)
  1. Steps to Reproduce
  • Run the following command:
    /opt/ilorest/bin/ilorest.sh rawget /redfish/v1/Systems/1/Storage/?$expand=. --silent
  1. Expected Behavior
  • The command should return JSON formatted data (as it did in version 7.0.0).
  1. Actual Behavior
  • No JSON data is outputted.
  1. Impact
  • This issue is causing HCI Health Checks to fail, as the checks rely on the JSON output from this specific command.
  1. Additional Context
  • Is this a known specification change in version 7.1.0, or is it a regression/bug? Any workarounds to restore the previous behavior would be appreciated.
  1. Output / Logs
#ilorest 7.0.0
[root@lb-XXXX0002n:~] esxcli software vib list | grep -i ilorest
ilorest                        800.7.0.0.11-1OEM.802.0.0.22380479   HPE     VMwareAccepted    2026-03-04    host
[root@lb-XXXX0002n:~] /opt/ilorest/bin/ilorest.sh rawget /redfish/v1/Systems/1/Storage/?$expand=. --silent
iLORest : RESTful Interface Tool version 7.0.0.0
Copyright (c) 2014-2025 Hewlett Packard Enterprise Development LP
------------------------------------------------------------------------------------------------------------------------
{
  "@odata.context": "/redfish/v1/$metadata#StorageCollection.StorageCollection",
  "@odata.etag": "W/\"4AFD1D31\"",
  "@odata.id": "/redfish/v1/Systems/1/Storage/",
  "@odata.type": "#StorageCollection.StorageCollection",
  "Description": "Storage subsystems known to this system",
  "Members": [
    {
      "@odata.etag": "W/\"d96cc05a\"",
      "@odata.id": "/redfish/v1/Systems/1/Storage/DE041000",
      "@odata.type": "#Storage.v1_13_0.Storage",
      "Actions": {
        "#Storage.ResetToDefaults": {
          "ResetType@Redfish.AllowableValues": [
            "ResetAll",
            "PreserveVolumes"
          ],
          "target": "/redfish/v1/Systems/1/Storage/DE041000/Actions/Storage.ResetToDefaults"
        }
      },
      "AutoVolumeCreate": "RAID1",
      "Controllers": {
        "@odata.id": "/redfish/v1/Systems/1/Storage/DE041000/Controllers"
      },
      "Drives": [
        {
          "@odata.id": "/redfish/v1/Systems/1/Storage/DE041000/Drives/1"
        },
        {
          "@odata.id": "/redfish/v1/Systems/1/Storage/DE041000/Drives/2"
        }
      ],
      "Drives@odata.count": 2,
      "Id": "DE041000",
      "Name": "HPE NS204i-p Gen10+ Boot Controller",
      "Status": {
        "HealthRollup": "OK",
        "State": "Enabled"
      },
      "Volumes": {
        "@odata.id": "/redfish/v1/Systems/1/Storage/DE041000/Volumes"
      }
    },
    {
      "@Message.ExtendedInfo": [
        {
          "MessageArgs": [
            "Unexpected error (00,5E,01)"
          ],
          "MessageId": "iLO.2.24.InternalErrorWithParam"
        }
      ],
      "@odata.id": "/redfish/v1/Systems/1/Storage/DE07B000/",
      "@odata.type": "#Storage.v1_12_0.Storage"
    }
  ],
  "Members@odata.count": 2,
  "Name": "Storage"
}

#ilorest 7.1.0
[root@lb-XXXX0001n:~] esxcli software vib list | grep -i ilorest
ilorest                        800.7.1.0.25-1OEM.802.0.0.22380479   HPE     VMwareAccepted    2026-05-01    host
[root@lb-XXXX0001n:~] /opt/ilorest/bin/ilorest.sh rawget /redfish/v1/Systems/1/Storage/?$expand=. --silent
iLORest : RESTful Interface Tool version 7.1.0.0
Copyright (c) 2014-2026 Hewlett Packard Enterprise Development LP
------------------------------------------------------------------------------------------------------------------------------------------------------------
[root@lb-XXXX0001n:~] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions