You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the Tenant Onboarding with AD.json to onboard a new tenant, when create_environment is set to true, the Create environment failed with the following error code :
Error : NTNX_LOCAL_AZ account not present on xxx
By commenting the line 41 and 42 of Create Environment Set Variable task, it looks it solve the issue:
Initial code :
if account_name in str(data.json()):
for new_data in data.json()['entities']:
if new_data['metadata']['name'] == account_name:
for _cluster in new_data["status"]["resources"]["data"]["cluster_account_reference_list"]:
if _cluster["resources"]["data"]["cluster_name"] == cluster_name:
return _cluster["uuid"]
print("Error : %s account not present on %s"%(account_name,PC_IP))
exit(1)
else:
print("Error : %s account not present on %s"%(account_name,PC_IP))
exit(1)
if account_name in str(data.json()):
for new_data in data.json()['entities']:
if new_data['metadata']['name'] == account_name:
for _cluster in new_data["status"]["resources"]["data"]["cluster_account_reference_list"]:
if _cluster["resources"]["data"]["cluster_name"] == cluster_name:
return _cluster["uuid"]
#print("Error : %s account not present on %s"%(account_name,PC_IP)).
#exit(1)
else:
print("Error : %s account not present on %s"%(account_name,PC_IP))
exit(1)
The text was updated successfully, but these errors were encountered:
When running the Tenant Onboarding with AD.json to onboard a new tenant, when create_environment is set to true, the Create environment failed with the following error code :
Error : NTNX_LOCAL_AZ account not present on xxx
By commenting the line 41 and 42 of Create Environment Set Variable task, it looks it solve the issue:
Initial code :
The text was updated successfully, but these errors were encountered: