IBM Support

IT39820: VSNAP SYSTEM CONFIG BACKUP FAILS WITH "COMMAND FAILED: /OPT/VSNAP/BIN/TAR: REMOVING LEADING `/' FROM MEMBER NAMES"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Protecting the configuration of any vSnap machines important.
    Running the command below to backup
    the configuration fails:
    
    "vsnap system config backup --outfile
    /home/serveradmin/vsnap_config_backup.tar.gz"
    
    ERROR: CommandFailureError: Command failed: /opt/vsnap/bin/tar:
    Removing leading `/' from member names
    
    Note: The problem is not due to any leading '/'  (slash)
    
    Running the command below, which is what the "vsnap system
    config backup" command does under
    the covers also fails:
    
    
    sudo /opt/vsnap/bin/tar --exclude=/etc/vsnap/mongo -czf
    /home/serveradmin/vsnap_config_backup.tar.gz /etc/vsnap
    
    /opt/vsnap/bin/tar: Removing leading `/' from member names
    Segmentation fault
    
    This problem only occurs on RHEL 8/CentOS 8
    
    IBM Spectrum Protect Plus versions affected: 10.1.8, 10.1.9
    
    Keywords: ISPP SPP TS007989545
    

Local fix

  • # Move the custom tar out of the way
    sudo mv /opt/vsnap/bin/tar /home/serveradmin/vsnap_tar_backup
    
    # Create a symlink that points to the system tar
    sudo ln -s /usr/bin/tar /opt/vsnap/bin/tar
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect Plus level 10.1.8 and 10.1.9.           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in IBM Spectrum Protect Plus level     *
    * 10.1.10. Note that this is subject to change at the          *
    * discretion of IBM.                                           *
    ****************************************************************
    

Problem conclusion

  • An incorrect custom version of the 'tar' binary was invoked as
    part of the code for performing configuration backup. The custom
    binary was compiled against RHEL/CentOS 7.x but it resulted in a
    failure when executed on RHEL/CentOS 8.x. The problem has been
    resolved by updating the code to invoke the correct OS-provided
    version of the 'tar' binary.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT39820

  • 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

    2022-02-01

  • Closed date

    2022-02-09

  • Last modified date

    2022-02-09

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

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

Modules/Macros

  • vSnap
    

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:
01 February 2024