When configuring SFTP settings under Fleet Management > Lifecycle > Settings, the deployment to the Identity Broker (VIDB) and Automation (VCFA) clusters fails. This failure prevents critical operations, such as patching Identity Manager and Automation to newer versions (e.g., 9.0.1). Although initiating a "retry" for the deployment may appear to complete successfully, the status for the SFTP settings will persistently show as "failed."
Log entries, particularly during the execution of the SFTP secret creation script, will show errors similar to the following:
error: /data/vmsp/#######-####-####-####-############_sftp_create_secret.sh: YXYXYXYX 1: lUKilogeoPlast!c: command not found error: no objects passed
VCF Automation (VCF Automation) 9.x
VCF Operations (VCF Operations) 9.x
The underlying cause of this issue is that the SFTP password configured in Fleet Management contains certain special characters (such as !, #, %, &) that are not properly escaped or handled by the internal sftp_create_secret.sh script used for deployment. When the script attempts to process the password, these special characters cause the shell to misinterpret parts of the password as commands, leading to a "command not found" error and preventing the successful configuration of SFTP secrets.
To resolve this issue, the SFTP password needs to be modified to avoid problematic special characters, and the SFTP settings must be re-deployed.