IBM Support

IT44476: RESTORING A DELETED VM FROM THE VSPHERE PLUG-IN FAILS WITH GVM5002E

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When trying to restore a deleted VM using the IBM Storage
    Protect Data Protection for VMWare vSphere plug-in the following
    error is encountered:
    
    GVM5002E: An Error Occurred:
    
    No further details will be available from the plug-in and the
    messages.log shows the following error:
    
    [Date and Time Stamp] 000026ef SystemErr
                               R java.lang.ClassCastException:
    com.tivoli.tsm.vmware.vim.Datacenter incompatible with
    com.tivoli.tsm.vmware.vim.VirtualMachine
    
    | MDVREGR 8.1.17.0-5725TVEVM |
    
    IBM Spectrum Protect Versions Affected:
    IBM Spectrum Protect for Virtual Environment: Data Protection
    for VMware version 8.1.17.0 and Higher on all Supported
    Platforms
    
    Additional Keywords: SP, TSM , SP4VE, TS012905479, plugin,
    restore, deleted, vm, vmware, vsphere, GVM5002E
    

Local fix

  • Restore the deleted VM using the "Restore VM" command
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect for Virtual Environments Data           *
    * Protection for VMware  8.1.17, 8.1.19, 8.1.20 and 8.1.21 on  *
    * Linux and Microsoft Windows platforms                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * see error description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in Data Protection for VMware 8.1.22.  *
    * Note that this is subject to change at the discretion of     *
    * IBM.                                                         *
    ****************************************************************
    

Problem conclusion

  • When user selected to restore a deleted VM from IBM Spectrum
    Protect for Virtual Environments vCenter plugin GUI, it will
    send the data center ID to the IBM Spectrum Protect for Virtual
    Environments web server in the request. In the IBM Spectrum
    Protect for Virtual Environments web server code, there is a
    wrong comparison that causes it always try to convert the input
    object to VM object and get name property from it. But for the
    deleted VM, the input object is data center object. It cannot be
    convert to VM object. So when the IBM Spectrum Protect for
    Virtual Environments web server try to do this converting, it
    will throw an exception and cause the operation fail. Actually
    the name of the data center object is already in the web GUI
    request. So it's not necessary to do this converting and get the
    name again.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT44476

  • Reported component name

    TSM FOR VE DP V

  • Reported component ID

    5725TVEVM

  • Reported release

    81W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-09-05

  • Closed date

    2024-01-22

  • Last modified date

    2024-01-22

  • 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

    TSM FOR VE DP V

  • Fixed component ID

    5725TVEVM

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SS8TDQ","label":"Tivoli Storage Manager for Virtual Environments"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"81W"}]

Document Information

Modified date:
22 January 2024