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
vCenter 8.x
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.
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:
Create a copy of the original configuration file:
cp /etc/applmgmt/appliance/appliance.conf /etc/applmgmt/appliance/appliance.conf.bak
vi /etc/applmgmt/appliance/appliance.conf"fileTransferMode": "serial",service-control --restart applmgmt