VCF Automation Patching Fails with Error LCMVMSP10039 Due to SFTP Configuration or Credential Issues
search cancel

VCF Automation Patching Fails with Error LCMVMSP10039 Due to SFTP Configuration or Credential Issues

book

Article ID: 433174

calendar_today

Updated On:

Products

VCF Operations VMware vSphere ESXi

Issue/Introduction

When patching VMware VCF Automation components to version 9.0.x, the process fails during the backup phase with the following error in the UI:

Error Code: LCMVMSP10039
Message: Backup of application failed. The SFTP configuration has not been set up to perform the backup. Please configure the SFTP settings and retry the operation.

The status for component VIPs may show as FAILEDRetryRefresh.

Environment

VMware Cloud Foundation (VCF) Operations 9.0.x

Cause

  • Inventory Metadata Inconsistency: The lifecycle management inventory contains stale or unreadable component metadata regarding the SFTP target.
  • Invalid Directory: The /tmp folder is used as the backup path, which lacks persistence or exec attributes.
  • Credential Issues: The SFTP password contains unsupported special characters (only ~@#%^,./ are allowed) or the username is missing in the Credential Manager.
  • Storage Constraints: The SFTP destination directory is full.

Resolution

Workaround 1: Refresh Component Inventory (Metadata Inconsistency)

  1. Navigate to the lifecycle management inventory in VCF Operations.
  2. Remove the affected VCF Automation (VCFA) or vIDB component reference.
  3. Re-import the component to re-synchronize inventory metadata.
  4. Re-initiate the upgrade workflow.

Workaround 2: Correct SFTP and Credential Configuration

  1. Navigate to Fleet Management > Lifecycle > Settings > SFTP Settings
  2. Change the Backup Directory to a persistent path (e.g., /backup).
  3. On the SFTP server, verify the user has full read/write/execute permissions and x rights on all parent folders.
  4. In Credential Manager, edit the SFTP password alias.
  5. Ensure the User Name is explicitly defined.
  6. Reset the Password to exclude unsupported characters like !.
  7. Check the SFTP storage space to ensure sufficient capacity for a full application backup.

Additional Information

For more details on special character support, see KB 415549.