TCA 3.2 appliance migration fails while trying to deploy OVF template
search cancel

TCA 3.2 appliance migration fails while trying to deploy OVF template

book

Article ID: 396377

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

While using tcamigctl deploy command, attempting to use a password stored within the tca_migration.json file, encounters a failure during decryption.

$ tcamigctl deploy /migrationVolume/tca_migration.json
Passphrase is used to encrypt/decrypt passwords stored in the file.
Enter Passphrase:
Validating input file...
Validation configuration for appliance: tca1.example.com...
Validation configuration for appliance: tca2.example.com...
Validation configuration for appliance: tca3.example.com...
Validation configuration for appliance: tca4.example.com...
Validation configuration for appliance: tca5.example.com...
Validation configuration for appliance: tca6.example.com...

Started deploy operation (pid: 806). Watch the progress using '/migration/tcamigctl status /migrationVolume/tca_migration.json -w' or check the log file '/migrationVolume/logs/migration.log'.

$ /migration/tcamigctl status /migrationVolume/tca_migration.json.json -w
                                                                      Appliance Migration Progress
                                                                      Appliance Migration Progress
Last Triggered Operation: 'deploy' (PID: 806, Input File: /migrationVolume/tca_migration.json), Status: Failed

Environment

3.2

Cause

OVFTool is used to upload the templates to the vCenter. OVFTool version used in airgap struggles while decrypting complex passwords 

For example, the password #/MySuperSecretPassword\# which contains forward slashes, backslashes, and number signs, can be problematic. By using URL encoding, these characters are converted as follows:

  • # becomes %23
  • / becomes %2F
  • \ becomes %5C

This results in the encoded password string: %23%2FMySuperSecretPassword%5C%23

Resolution

Manually uploading the TCA template from vCenter and then use the Airgap's tcamigctl tool to deploy the TCA VMs. 

Additional Information