APAR status
Closed as program error.
Error description
Starting with version 10.1.12, SAP HANA databases can be protected with IBM Storage Protect Plus. The SAP HANA database protection job can end with the following message seen in the job log : ERROR,..,CTGGA2059,Log purge failed for database ALL (<DBName> + 1 tenant): The IBM Spectrum Protect Plus agent cannot delete the log backups for the <SAP_HANA_Host>/<SAP_Instance> instance because it failed to retrieve the list of available files from the path /mnt/spp/vsnap /vpool<x>/fs<yy>/<a>_<b>_<c>_<d> /DB_<SAP_Instance> In the application log, the messaging will be similar to : .. INFO pid:1234 MainThread run: Running command 'sudo -n -i /tmp/tmp1a2b3c...' .. DEBUG pid:1234 MainThread logpurgeInstance: Exception during log purge: ExternalCommandBadExitCodeError (agent_hana |SystemCommandEndedWithError |/opt/IBM/SPP/agents_sppagent/python_Linux_x86_64/bin /python3 /tmp/tmp345abdc |1 |===SPPAgent-output=== |Traceback (most recent call last): File "/tmp/tmp345abdc", line 2, in <module> timestamp = int(os.path.getmtime("/mnt/spp/vsnap/ vpool<x>/vpool<x>/fs<yy>/<a>_<b>_<c>_<d>/ DB_<SAP_Instance>/.log_backup_0_0_0_0.1729092845201")) File "/opt/IBM/SPP/agents_sppagent/python_Linux_x86_64/ lib/python3.9/genericpath.py", line 55, in getmtime return os.stat(filename).st_mtime FileNotFoundError: [Errno 2] No such file or directory: '/mnt/spp/vsnap/vpool<x>/vpool<x>/fs<yy>/<a>_<b>_<c>_<d> /DB_<SAP_Instance>/.log_backup_0_0_0_0.1729092845201' ) ... .. ERROR pid:1234 MainThread log_chained_exception: agent_hana |logbackup_cannot_truncate |<SAP_HANA_Host>/<SAP_Instance> |/mnt/spp/vsnap/vpool<x>/vpool<x>/fs<yy>/<a>_<b>_<c>_ <d>/DB_<SAP_Instance> This will happen when the location to cleanup on the SAP HANA host contains files prefixed with a "." (dot). In the above example it is file '.log_backup_0_0_0_0.1729092845201'. IBM Storage Protect Plus Versions Affected: IBM Storage Protect Plus 10.1.12 and later Additional Keywords: SPP, SPPLUS, TS017615580
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * IBM Storage Protect Plus users 10.1.x * **************************************************************** * PROBLEM DESCRIPTION: * * See ERROR DESCRIPTION * **************************************************************** * RECOMMENDATION: * * Upgrade to SPP version 10.1.17[later versions]. 10.1.17.1 * ****************************************************************
Problem conclusion
This issue can be seen at the customer environment, when the logpurge and log backup operations are taking place at the same and there is a any delay of transferring logbackup files between VSNAP and application server. Fix applied at SPP "SAPHANA agent" side, don't apply the logpurge operation to the "log backup files" while log backup operation is using those files, The log purge operation only applies to log backup files after the log backup operation has completed.
Temporary fix
Comments
APAR Information
APAR number
IT47296
Reported component name
SP PLUS
Reported component ID
5737SPLUS
Reported release
A1R
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-11-21
Closed date
2025-05-20
Last modified date
2025-05-20
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":"A1R","Line of Business":{"code":"LOB69","label":"Storage TPS"}}]
Document Information
Modified date:
20 May 2025