After installing SDDC appliance, when you proceed with the brownfield import script for precheck, it is failing with the following error:
python3 vcf_brownfield. py check -- vcenter <VCSA FQDN> -- sso-user[email protected][yyyy-mm-dd hh:mm:ss, 107] [INFO] vcf_brownfield: Brownfield Import main version: <vcf version>-<vcf build>[yyyy-mm-dd hh:mm:ss, 107] [INFO] vcf brownfield: Please make sure you are always using the latest version of the scriptsEnter vCenter sso password:Enter SDDC Manager local admin password:[yyyy-mm-dd hh:mm:ss, ###] [INFO] sddc_manager_helper: Generating SDDC Manager public API token[yyyy-mm-dd hh:mm:ss, ###] [ERROR] request helper: Result status code from SDDC Manager token generation: 401[yyyy-mm-dd hh:mm:ss, ###] [CRITICAL] vcf brownfield: Fatal exception: ("Could not generate a token from SDDC Manager. Please review ' /var/log/vmware/vcf/commonsvcs/vcf-commonsvcs. log' for further details. ", )Traceback (most recent call last) :File "/home/vcf/vcf-import-package/vcf-brownfield-import-<vcf version>-<vcf build>/vcf-brownfield-toolset/vcf_brownfield.py", line 733, in <module>main ()File "/home/vcf/vcf-import-package/vcf-brownfield-import-<vcf version>-<vcf build>/vcf-brownfield-toolset/api/request_helper.py", line 38, in wrapperreturn func(*args, ** kwargs)File "/home/vcf/vcf-import-package/vcf-brownfield-import-<vcf version>-<vcf build>/vcf-brownfield-toolset/api/sddc_manager/sddc_manager_helper.py", line 397, in generate_tokenraise SddcManagerApiException (ErrorMessages. COULD_NOT_GENERATE_SDDC MANAGER TOKEN)common. common_exceptions. SddcManagerApiException: Could not generate a token from SDDC Manager. Please review '/var/log/vmware/vcf/commonsvcs/vcf-commonsvcs. log' for further details.VMware Cloud Foundation 5.x
The issue is caused by the same special characters repeated in the passwords of the following users:
Root
Admin
vcf
backup user
local user
Make sure the user passwords do not have the same special character repeated.
Example:
root VMware@123$4568vcf P@ssw0rd1!P@ssw0rd1!admin VMware@123$4565backup user VMware@123$4569local admin VMware@123$4564