Failed add backup location in VCF 9.1
search cancel

Failed add backup location in VCF 9.1

book

Article ID: 458579

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • When adding a backup location (VCF Operations > Build > Lifecycle > VCF Management > Backup & Restore > Add Backup Location button), the error below is triggered
    Update SDDC lifecycle service backup configuration
    Task with ID ####-##-####-##### from SDDC lifecyle with ID ####-###-####-##### has completed with failure(s).Check the errors in the next sub-tasks for more details. 
  • The backup pod logs indicate an issue from vmsp-platform.
    Could not update component config: ########-####-####-####-############  with spec {"spec":{"configuration":{"backups":{"destination":"sftp","encryptionPassphrase":"*****","storage":{"sftp":"directory":"/VCF9","fingerprint":"SHA256:#######################","host":"example.com","password":"*****","port":"22","username":"example"}}}}},"options":{"prechecksOnly":false,"skipPrechecks":false,"skipHealthChecks":false,"timeout":"2h","validateSchema":"none"}}. Task status: FAILED  
    
    Backup Configuration Validation Precheck. Status: FAILED Failed to copy test file to server: server=example.com, error=Failed to create file system for destination "sftp:/VCF9/": **NewFs: couldn't connect SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain**;.. [VCFMS-PRECHECK-BACKUP-CONFIG-002]. Failure during copying of the test file can be caused by network connectivity or firewall issues, server out of space issues, quota issues etc. If possible, check for such issues and try again. If the failure persists, please contact support.

Environment

VCF Operations 9.1

Resolution

Stage 1: Verify SFTP Connection

  1. SSH into the Control Plane node with the vmware-system-user account and switch to root:
    sudo su
  2. Test SFTP connectivity manually:
    sftp example_user@ip_address:port
    Note: Replace example_user with the SFTP user, and ip_address and port with the SFTP IP address and port.

  3. Enter the SFTP password. It should return connected to sftp-ipAddress:port.

Stage 2: Update the Backup Location Configuration

  1. Log in to VCF Operations as administrator.
  2. Navigate to Build > Lifecycle > VCF Management > Backup & Restore
  3. Click on Add Backup Location button.
  4. Add the SFTP information verified in Stage 1.