Encountering "failure to extract" error when uploading solution or installing patch/addon in Veritas Operations Manager (VOM)

book

Article ID: 100023978

calendar_today

Updated On:

Description

Issue

In order to install a patch or addon in VOM, go to Settings / Deployment.  While there a few ways to upload a patch/addon onto the repository on the Central Server (CS), this document will focus on the "Upload Solutions" button.

When uploading/installing/deploying a patch/addon (which is in the form of a .sfa file), several minutes will pass and the GUI will display "Failed".  Clicking the plus sign to the left of the word, the error below is displayed.

Error Message

GUI



TEXT (/var/opt/VRTSsfmh/logs/vxdeploy.log at the Central managment Server (CS) )

2015-06-08 14:17:16 [debug] 30838 vxdeploy:
#################Starting vxdeploy
2015-06-08 14:17:16 [debug] 30838 vxdeploy: upload_addon: upload_addon called vom-6.1.0.500.sfa
2015-06-08 14:17:35 [error] 30838 vxdeploy: upload_addon: Failed to un-tar addon bundle /tmp/zRzI0KPnaE /tmp/zRzI0KPnaE/vom-6.1.0.500.tar.gz
2015-06-08 14:59:01 [debug] 18748 vxdeploy:
#################Starting vxdeploy
2015-06-08 14:59:02 [debug] 18748 vxdeploy: upload_addon: upload_addon called vom-6.1.0.500.sfa
2015-06-08 14:59:20 [error] 18748 vxdeploy: upload_addon: Failed to un-tar addon bundle /tmp/Wfu44BeCnz /tmp/Wfu44BeCnz/vom-6.1.0.500.tar.gz
]


TEXT (/var/opt/VRTSsfmh/logs/error.log at the Central managment Server (CS) )

gzip: /tmp/Wfu44BeCnz/vom-6.1.0.500.tar: No space left on device
Use of uninitialized value in numeric eq (==) at /opt/VRTSsfmh/lib/modules/VRTS/Unix.pm line 661.
Could not create directory '/tmp/Wfu44BeCnz/VRTSsfmh-6.1.0.500/SunOS': mkdir /tmp/Wfu44BeCnz/VRTSsfmh-6.1.0.500/SunOS: No space left on device at /opt/VRTSsfmh/lib/modules/Archive/Tar.pm line 353
 at /opt/VRTSsfmh/lib/modules/VRTS/Unix.pm line 668
Could not extract 'VRTSsfmh-6.1.0.500/SunOS/' at /opt/VRTSsfmh/lib/modules/VRTS/Unix.pm line 668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Use of uninitialized value in pattern match (m//) at (eval 34) line 3.
Use of uninitialized value in transliteration (tr///) at (eval 34) line 4.
Use of uninitialized value in substitution (s///) at /opt/VRTSsfmh/lib/modules/VRTS/Audit.pm line 77.
Use of uninitialized value in concatenation (.) or string at /opt/VRTSsfmh/lib/modules/VRTS/Audit.pm line 79.

 

Cause

not enough free space in the /tmp directory (this directory will change in 7.0)

Resolution

Create free space in the /tmp directory (this directory will change in 7.0 and reside in the /var hierarchy).  At least 3 times the size of the .sfa file is suggested.

EXAMPLE (6.1 Hotfix 5 is used)

Size of file (uploaded from SORT; stored on a workstation where a browser is used to access VOM)



Space free (result: Failed):

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg00-lvtmp
                      1.9G  1.2G  .7G  63% /tmp



Space free (result: Success):

Filesystem             Size  Used Avail Use% Mounted on
/dev /mapper/ vg00-lvtmp
                      1.9G   549M   1.84G  28% / tmp




 

Issue/Introduction

Encountering "failure to extract" error when uploading solution or installing patch/addon in Veritas Operations Manager (VOM)

Issue

In order to install a patch or addon in VOM, go to Settings / Deployment. While there a few ways to upload a patch/addon onto the repository on the Central Server (CS), this document will focus on the "Upload Solutions" button.

When uploading/installing/deploying a patch/addon (which is in the form of a .sfa file), several minutes will pass and the GUI will display "Failed". Clicking the plus sign to the left of the word, the error below is displayed.

Additional Information

ETrack: 3799743