简体   繁体   English

Azure 通过门户创建 redhat openshift 失败

[英]Azure redhat openshift creation via portal failing

I am trying to deploy azure redhat openshift cluster from azure portal but it getting failed during validation Deployment template validation failed: 'The value for the template parameter 'aadObjectId' at line '248' and column '24' is not provided.我正在尝试从 azure 门户部署 azure redhat openshift 集群,但它在验证期间失败部署模板验证失败:'未提供'248'行和'24'列的模板参数'aadObjectId'的值。 Please see https://aka.ms/resource-manager-parameter-files for usage details.'.有关使用详细信息,请参阅https://aka.ms/resource-manager-parameter-files 。'。 (Code: InvalidTemplate)" (代码:无效模板)”

Can any one suggest what to do here?谁能建议在这里做什么?

#azure #azure redhat openshift #azure #azure redhat openshift

The error usually occurs if you missed including aadObjectId parameter value while deploying the template.如果您在部署模板时错过了包含aadObjectId参数值,通常会发生此错误。

I tried to deploy Azure Red hat OpenShift cluster custom template without including aadObjectId parameter value like below:我尝试部署Azure Red hat OpenShift 集群自定义模板而不包括aadObjectId参数值,如下所示:

在此处输入图像描述

After selecting Create option, validation failed with below error:选择创建选项后,验证失败并出现以下错误:

在此处输入图像描述

When I checked Basics tab, it's saying "The value must not be empty" for aadObjectId like below:当我检查Basics选项卡时,它说aadObjectId“值不能为空” ,如下所示:

在此处输入图像描述

When I opened the same template file in Visual Studio Code, I got similar error as you like below:当我在 Visual Studio Code 中打开相同的模板文件时,我遇到了如下类似的错误

在此处输入图像描述

To resolve the error, make sure to include aadObjectId parameter value.解决该错误,请确保包含aadObjectId参数值。

You can find the value of aadObjectId parameter like this:您可以这样找到aadObjectId参数的

Go to Azure Portal -> Azure Active Directory -> App registrations -> Your Service principal -> Overview Go 到 Azure 门户 -> Azure Active Directory -> 应用程序注册 -> 您的服务主体 -> 概述

在此处输入图像描述

After including aadObjectId parameter value, Validation passed successfully like below:包含aadObjectId参数值后,验证成功通过,如下所示:

在此处输入图像描述

In your case, make sure to include aadObjectId parameter value.对于您的情况,请确保包含aadObjectId参数值。

Reference: Deploy an Azure Red Hat OpenShift cluster with an ARM template |参考: 使用 ARM 模板部署 Azure Red Hat OpenShift 集群 | Microsoft 微软

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM