IBM Support

IT45964: ARCHIVE FAILS WITH "DUPLICATESESSIONERROR" DUE TO HANGING ARCHIVE SESSION

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

  • An archive job in IBM Spectrum Protect Plus can fail with the
    following message in the joblog after cancelling the previous
    archive job:
    
    
    ERROR,<id>,<date>,2,,Copy Failed (Failed to start Storage
    Replication Failed to get storage replication session for server
    <ip address> replication session id
    b6154b37278f437891e7dc452549bdf7message: "Another session
    (fcaa9214f1154745849b7b5a7c4b4d32) is already pending or active
    for this relationship"  type: "DuplicateSessionError") e=...ser
    viceprovider.common.storage.exception.StorageReplicationStartEx
    ception:Failed to start Storage Replication Failed to get storag
    replication session for server <ip address> replication session
    id b6154b37278f437891e7dc452549bdf7message: "Another session
    (fcaa9214f1154745849b7b5a7c4b4d32) is already pending or active
    for this relationship"  type: "DuplicateSessionError"
    
    
    This APAR applies when the status of the archive session in the
    vSnap Mongo DB is incorrect. This can be checked in the
    'mongo-session.json' file in the vSnap logbundle:
    
    
    "_id" : "fcaa9214f1154745849b7b5a7c4b4d32",
    "_cls" : "Session.RemoteSession.ArchiveSession",
    "local_snap_id" : 141457,
    "local_snap_name" : "<local vSnap snapshot name>",
    "remote_snap_name" : "<remote snapshot name>",
    "priority" : 50,
    "status" : "ACTIVE",
    "is_cancelled" : true,
    "size_total" : 0,
    
    
    Note the state of the archive session is still "ACTIVE" while
    the flag "is_cancelled" is set to true.
    
    
    
    
    
    IBM Spectrum Protect Plus Versions Affected:
    IBM Spectrum Protect Plus 10.1.4 and newer
    
    
    Additional Keywords: SPP, SPPlus, TS015746451
    

Local fix

  • Restart the vSnap replication service to correct the vSnap
    archive session state:
    sudo systemctl restart vsnap-repl
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect Plus level 10.1.12 till 10.1.16.1       *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply the fixing level when available. This problem is fixed *
    * in IBM Spectrum Protect Plus levels 10.1.16.2 and 10.1.17.   *
    * This is subject to change at the discretion of IBM.          *
    ****************************************************************
    

Problem conclusion

  • In IBM Spectrum Protect Plus 10.1.12 and later, canceled archive
    sessions may appear pending or active on the vSnap that
    performed the archive task. In IBM Spectrum Protect Plus
    10.1.16.2 and 10.1.17, canceled archive sessions are properly
    terminated and their states are set to "FAILED."
    

Temporary fix

  • Users can execute the following command on a vSnap with
    pending/active sessions, which will restart the vSnap
    replication service:
    
    sudo systemctl restart vsnap-repl
    
    Note: Restarting the replication service will cancel any
    replication, offload, or archive jobs that are currently
    running.
    

Comments

APAR Information

  • APAR number

    IT45964

  • Reported component name

    SP PLUS

  • Reported component ID

    5737SPLUS

  • Reported release

    A1E

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-04-18

  • Closed date

    2024-05-07

  • Last modified date

    2024-05-07

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSNQFQ","label":"IBM Spectrum Protect Plus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A1E","Line of Business":{"code":"LOB69","label":"Storage TPS"}}]

Document Information

Modified date:
07 May 2024