Failed to configure NSX Backup Schedule for NSX Managers - [########] Reference Token: ######root@v###### [ ~ ]# faillockLogin Failures Latest failure Frombackup 3 2025-05-21 17:11:25 ##.##.##.##postgres 0root 0vcf 0 vcf_commonsvcs 0vcf_domainmanag 0vcf_sos 0
Note: After three consecutive failed logins, the backup user account is locked.2025-05-07T11:24:26.179+0000 ERROR [vcf_dm,#############################,5dbc] [c.v.v.c.n.s.c.c.ComplexHelpers,dm-exec-27] Exception occurred during NSX API invocationjava.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.InvalidRequest: InvalidRequest (com.vmware.vapi.std.errors.invalid_request) (statusCode:400) => { messages = [], data = => {error_message=Authentication failed on fileserver sftp://<SDDC Manager FQDN>:22/nfs/vmware/vcf/nfs-mount/backup., httpStatus=BAD_REQUEST, error_code=29115, module_name=backup-restore}, errorType = INVALID_REQUEST}
vcf@###### [ ~ ]$ lookup_passwords
Password lookup operation requires ADMIN user credentials. Please refer VMware Cloud Foundation Administration Guide for setting up ADMIN user.
Supported entity types: ESXI VCENTER PSC NSX_MANAGER NSX_CONTROLLER NSXT_MANAGER NSX_ALB NSXT_EDGE BACKUP VXRAIL_MANAGER ADEnter an entity type from above list: BACKUPEnter page number (optional):Enter page size (optional, default=50):Enter Username: admin@localEnter Password: BACKUP identifiers: <SDDC Manager FQDN> workload: site-a username: backup password: <configured password> type: FTP account type: SYSTEM
Page : 1/1, displaying 1 of total 1 entities in a page.
2025-05-07T11:24:26.168Z ######## NSX 87045 - [nsx@4413 comp="nsx-manager" errorCode="MP29115" level="ERROR" reqId="005d7233-####-####-####-9249038a2180" subcomp="manager" username="admin"] ; BackupAsyncStatus [BackupStatus [status=AUTH_FAILURE, statusDetail=, remoteUri=sftp://<SDDC Manager FQDN>:22/nfs/vmware/vcf/nfs-mount/backup, errorCode=null, startTime=1746617057163, endTime=1746617066162]; responseBody=null]2025-05-07T11:24:26.173Z ######## NSX 87045 SYSTEM [nsx@4413 audit="true" comp="nsx-manager" level="INFO" reqId="005d7233-####-####-####-9249038a2180" subcomp="manager" update="true"] UserName="admin", Src="##.##.##.##", ModuleName="BackupConfiguration", Operation="ConfigureBackupConfig", Operation status="failure", New value=[{"site_id":"localhost","frame_type":"LOCAL_LOCAL_MANAGER"} {"backup_enabled":true,"backup_schedule":{"seconds_between_backups":3600,"resource_type":"IntervalBackupSchedule"},"inventory_summary_interval":240,"remote_file_server":{"server":"<SDDC Manager FQDN>","port":22,"protocol":{"protocol_name":"sftp","ssh_fingerprint":"SHA256:Rm3TsKpRTDWMeVCDgUmB5XD################","authentication_scheme":{"scheme_name":"PASSWORD","username":"backup"}},"directory_path":"/nfs/vmware/vcf/nfs-mount/backup"}}]2025-05-07T11:24:26.175Z ######## NSX 87045 SYSTEM [nsx@4413 audit="true" comp="nsx-manager" level="INFO" subcomp="manager"] UserName:'admin' ModuleName:'backup-restore' Operation:'PUT@/api/v1/cluster/backups/config' Operation status: 'failure' Error: Authentication failed on fileserver sftp://<SDDC Manager FQDN>:22/nfs/vmware/vcf/nfs-mount/backup.The backup user password configured and saved by the VCF Installer is not set properly in the OS of SDDC Manager VM. When the backup is configured in NSX, a test SFTP connection is made from the NSX Manager to the SDDC Manager as the backup user using the configured password. This operation is attempted multiple times and results in the task failing and the backup user account being locked.
This is a known issue affecting VCF version 5.x-9.x and VMware NSX 4.x-9.x and there is currently no resolution.
Workaround:
Log in to the SDDC Manager VM CLI as the vcf user and elevate to root user via the su - command.
Issue the following command to unlock the backup user account:
faillock --user backup --reset
Lookup the backup user's password by issuing the following command:
lookup_passwords
Reset the password by issuing the command:
passwd backup
Confirm the password you entered.
Restart the VCF deployment.