VCSA after upgrade to version 8 is not able to complete backup
search cancel

VCSA after upgrade to version 8 is not able to complete backup

book

Article ID: 414580

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

After upgrading VCSA to vCenter 8.x you cannot complete VAMI based backup.

This is affecting both scheduled and manual backups.

In backup logs located at /var/log/vmware/applmgmt/backup.log you see similar entries:

[ComponentScriptsBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:344] ERROR: Process returncode is -13, but expected exit codes are [0].
[ComponentScriptsBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:328] ERROR: rc: 1, stderr: Traceback (most recent call last):
  File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/plugins/../util/Calculate.py", line 58, in <module>
    main(sys.argv[1], sys.argv[2], sys.argv[3])
  File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/plugins/../util/Calculate.py", line 45, in main
    stdout_obj.write(data)
BrokenPipeError: [Errno 32] Broken pipe

[ComponentScriptsBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:333] INFO: Skip to report the error.
[ComponentScriptsBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:344] ERROR: Process returncode is 1, but expected exit codes are [0].
[ComponentScriptsBackup:PID-#####] [Proc::GetProcsStatus:Proc.py:361] ERROR: rc: 67, stderr: b'curl: (67) Authentication failure\n'
[ComponentScriptsBackup:PID-#####] [Proc::UpdateExceptionStatus:Proc.py:384] ERROR: Checksum not generated at /dev/shm/backupRestoreSumFile-#####-#####-#####-#####
ComponentScriptsBackup:PID-#####] [ComponentScripts::ComponentScriptsBackup:ComponentScripts.py:106] ERROR: Component backup command "/etc/vmware/backup/component-scripts/###/backup_restore.py --startBackup" failed 1.
[ComponentScriptsBackup:PID-#####] [Log::run:Log.py:64] ERROR: Unable to perform backup: [Errno 32] Broken pipe

 

Environment

vCenter 8.x

Cause

When performing data transfer, VC established multiple connections to the backup server, each connection to perform the transfer of 1 file in backup.

Interruption in connection leading to this behavior.

 

Resolution

To resolve this issue change the value of fileTransferMode in the appliance.conf file found on the vCenter under /etc/applmgmt/appliance from "parallel" to "serial".

Prerequisite:

Before modifying the configuration file take a snapshot of the vCenter Server Appliance (VCSA).


Procedure:

  1. Create a copy of the original configuration file: 
     
    cp /etc/applmgmt/appliance/appliance.conf /etc/applmgmt/appliance/appliance.conf.bak

  2. Open the /etc/applmgmt/appliance/appliance.conf file in a text editor:

    vi /etc/applmgmt/appliance/appliance.conf

  3. Locate the line that contains that contains "fileTransferMode: "parallel", and change the value to "serial" as shown below:

    "fileTransferMode": "serial",

  4. Save and exit the file.


  5. Restart the appliance management service to apply the changes:

    service-control --restart applmgmt

  6. Confirm the issue has been resolved by accessing the vCenter Server Appliance VAMI page and initiating a new backup job.