This issue is resolved in vCenter Server 6.7.0c.
Workaround:
Correct the syntax error in sso-cli.py with the steps below on the vCenter Server Appliance after stage 1,
- Log into the bash shell as root. For more information, see the Enable and Access the Bash Shell from the Appliance Shell section of the vCenter Server Appliance Configuration Guide.
- Create a backup of the sso-cli.py utility.
cp /opt/vmware/share/htdocs/vami/backend/sso-cli.py /tmp/sso-cli.py
- Change the sso-cli.py utility to be writable.
chmod 744 /opt/vmware/share/htdocs/vami/backend/sso-cli.py
- Edit the sso-cli.py utility to correct the syntax error on line 82.
From:
vami.log_info("Ignoring non-IP/DNS subjectAltName " "extension: '%s'", ext_str)To:
vami.log_info("Ignoring non-IP/DNS subjectAltName "
"extension: '%s'" % ext_str)where the second line is indented from the first line by 12 spaces.
Note: For more details on editing see Editing files on an ESX host using vi or nano.
- Revert the changes in step 3 to make the sso-cli.py utility read-only.
chmod 444 /opt/vmware/share/htdocs/vami/backend/sso-cli.py