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.
Change file transfer mode from parallel to serial in appliance.conf file
Before any change is done make sure to have snapshot of vCenter and copy of original file.
To copy file you can run this
cp /etc/applmgmt/appliance/appliance.conf /etc/applmgmt/appliance/appliance.conf.bak
For changing file follow these steps:
1. vi /etc/applmgmt/appliance/appliance.conf
2. Change
"fileTransferMode": "parallel",
to
"fileTransferMode": "serial",
3. Save file
4. Restart applmgmt using "service-control --restart applmgmt"