Troubleshooting tips for day 0 deployment scripts.
SSH Keys
"sshPrivateKeyFile":"/home/admin/.ssh/id_rsa", "sshPublicKeyFile":"/home/admin/.ssh/id_rsa.pub"
Base64 Password Encryption
When generating password using a base64 tool, ensure that the echo command does not include a new line. For example, echo "<password_to_be_encoded>" | base64 does not work since "<password_to_be_encoded>" | base64 represents a new line.
To avoid emitting a new line, use -n in the echo command. For example, echo -n "<password_to_be_encoded>" | base64.
Remove or Comment Out Unwanted Overrides From the Configuration Input JSON File
When you use a template configuration file, there can be keys that are not relevant to your configuration. You must disable these keys either by commenting them out or removing them.
For removing a key from the overrideValues section, delete the line from the configuration input JSON template.
You can comment it out by prefixing comment_ to the key, such as comment_<key_to_be_commented>.
"_comment_airgapFQDN": ... "_comment_airgapCaCert": ...
To remove vrliAddress from the configuration, delete the line and ensure that there is no key called vrliAddress defined in the overrideValues section.
No Conflict with Static IP
"controlPlaneEndpointIP" for "managementCluster" "controlPlaneEndpointIP" for "workloadCluster" "ip" for "tcaMgr" "ip for "tcaCp"
Day-0 Script Re-run
Use deploy specific service option –deploy for setup_ha.py to retry installing the service. Script avoids installing a service if the service is already installed in a related namespaces. For example, to install the mongodb, use the command /opt/vmware/setup_ha/setup_ha.py --deploy mongodb