IBM Support

IT37292: REST API CALL OUTPUT DISPLAYS DUPLICATE ENTRIES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The responses on some REST API queries in IBM Spectrum Protect
    Plus can display duplicates for keys.
    
    Example:
    "/api/storage/2000/management/pool" returns:
    "resourceType": "pool",
    "resourceType": "StoragePool",
    "compression": true,
    "compressionRatio": "xxxx",
    The "resourceType" is seen twice in the REST API response, which
    is unexpected.
    
    
    The same problem is seen for "/api/hypervisor/1001/vm" that
    shows 2 entries for key "id".
    
    
    IBM Spectrum Protect Plus Versions Affected:
    IBM Spectrum Protect Plus 10.1.x
    
    Additional Keywords: SPP, SPPlus, API, REST, TS005742016
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect Plus levels 10.1.x                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * see ERROR Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * This problem is currently projected to be fixed in IBM       *
    * Spectrum Protect Plus level  10.1.8 patch1 and 10.1.9.       *
    * Note that this is subject to change at the discretion of     *
    * IBM.                                                         *
    ****************************************************************
    

Problem conclusion

  • Extraneous resourceType property was removed from the
    /api/storage/<id>/management/pool endpoint. Extraneous id
    property was removed from the /api/hypervisor/<id>/vm endpoint.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT37292

  • Reported component name

    SP PLUS

  • Reported component ID

    5737SPLUS

  • Reported release

    A18

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-06-16

  • Closed date

    2021-06-21

  • Last modified date

    2021-06-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SP PLUS

  • Fixed component ID

    5737SPLUS

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNQFQ","label":"IBM Spectrum Protect Plus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A18","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
31 January 2024