Azure / Azure/azure-quickstart-templates

cloudera-on-centos cannot deploy

Open
#10,254 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------

Sorry to hear you had a bad experience with one of the templates 😟 But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue

We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!

--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------

[Template Name goes here](Template link goes here)
https://github.com/Azure/azure-quickstart-templates/tree/master/cloudera-on-centos

Issue Details

{"code":"MultipleErrorsOccurred","details":[{"code":"InvalidTemplate","message":"部署模板验证失败:“模板资源“[concat(parameters('networkSpec').virtualNetworkName, '-sg')]”无效。行“55”和列“5”的 API 版本属性以及模板的 API 配置文件不能为 null 或为空。请明确指定资源的 API 版本或为模板指定 API 配置文件。有关使用情况的详细信息,请参阅 https://aka.ms/arm-template/#resources。”。","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":55,"linePosition":5,"path":"resources[2]"}}]},{"code":"InvalidTemplate","message":"部署模板验证失败:“模板资源“[variables('securityGroupName')]”无效。行“51”和列“5”的 API 版本属性以及模板的 API 配置文件不能为 null 或为空。请明确指定资源的 API 版本或为模板指定 API 配置文件。有关使用情况的详细信息,请参阅 https://aka.ms/arm-template/#resources。”。","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":51,"linePosition":5,"path":"resources[0]"}}]},{"code":"InvalidTemplate","message":"部署模板验证失败:“模板资源“vm-with-datadisks”无效。行“40”和列“5”的 API 版本属性以及模板的 API 配置文件不能为 null 或为空。请明确指定资源的 API 版本或为模板指定 API 配置文件。有关使用情况的详细信息,请参阅 https://aka.ms/arm-template/#resources。”。","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":40,"linePosition":5,"path":"resources[0]"}}]}],"message":"发生了多个错误: BadRequest,BadRequest,BadRequest。请查看详细信息。"}

Repro steps (if necessary, delete otherwise)

5.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the cloudera-on-centos template from the linked directory and inspect the resources reported at lines 40, 51, and 55. Validate the template deployment and confirm that each affected resource has an explicit API version or that the template has an API profile, with validation succeeding afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, json
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.