VAMI Scheduled and Manual vCenter Backups Failure
search cancel

VAMI Scheduled and Manual vCenter Backups Failure

book

Article ID: 417349

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

VAMI backup service account failing to authenticate into Backup server.

/var/log/vmware/applmgmt/backup.log

stderr: b'curl: (67) Access denied: 530\n'
Traceback (most recent call last):
  File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/components/ComponentScripts.py", line 115, in ComponentScriptsBackup
    raise BackupRestoreError(('Failed to dispatch component %s '
util.Common.BackupRestoreError: Failed to dispatch component imagebuilder backup
Underlying process status. rc: 67
stdout:
stderr: b'curl: (67) Access denied: 530\n'

 

/var/log/vmware/applmgmt/backupScheduler.log

YYYY-MM-DDTHH:mm:SS.86 [0] [MainProcess:PID-3986851] [Scheduler::ExecScheduleRun:Scheduler.py:137] ERROR: Failed to issue the Schedules.run request. Exception: {messages : [LocalizableMessage(id='com.vmware.applmgmt.backup.plugin.unauthorized', default_message='Access to the backup server is denied. Check your credentials.', args=['Plugin error occurred. ErrCode: 1, Args: ()'], params=None, localized=None)], data : None, error_type : None}
Traceback (most recent call last):
  File "/usr/lib/applmgmt/backup_restore/py/vmware/appliance/backup_restore/Scheduler.py", line 133, in ExecScheduleRun
    status = svc_handle.run(scheduleId, comment='SCHEDULED')
  File "/usr/lib/applmgmt/pyclient/applmgmt_client-1.0-py2.7.egg/com/vmware/appliance/recovery/backup_client.py", line 1197, in run
    return self._invoke('run',
  File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/bindings/stub.py", line 345, in _invoke
    return self._api_interface.native_invoke(ctx, _method_name, kwargs)
  File "/usr/lib/applmgmt/vapi/lib/vapi_runtime-2.100.0-py2.py3-none-any.whl/vmware/vapi/bindings/stub.py", line 295, in native_invoke
    raise TypeConverter.convert_to_python(method_result.error,  # pylint: disable=E0702
com.vmware.vapi.std.errors_client.Error: {messages : [LocalizableMessage(id='com.vmware.applmgmt.backup.plugin.unauthorized', default_message='Access to the backup server is denied. Check your credentials.', args=['Plugin error occurred. ErrCode: 1, Args: ()'], params=None, localized=None)], data : None, error_type : None}

Environment

vSphere 8.x

Cause

The service account configured for VAMI backup operations is encountering an 'Invalid Credentials' error. This indicates an authentication issue with the service account, which may be due to incorrect login details or insufficient permissions, preventing successful backup configuration and execution.

Resolution

Reconfigure the VAMI backup by entering the correct service account credentials and ensuring the credentials are up-to-date and accurate. 

Verify that the service account used for VAMI backups has the required permissions on the backup target and is not locked or expired.