Multiple VMExtensions per (type) handler not supported for OS type...
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- azure, powershell
- 領域
- cloud, infrastructure
調査の方向性
まず、issue に記載されている Azure VM 拡張機能のデプロイ動作、特に Microsoft.Powershell.DSC handler と ARM template のデプロイシーケンスを確認します。固有の名前を持つ複数の DSC 拡張機能のサポートがこの repository に含まれるべきかを判断します。別々の DSC 構成をまとめてデプロイするための合意済みの実装または文書化された解決策が得られれば完了です。
索引モデルが issue の本文から書いたものです。
説明
ISSUE TITLE:
Multiple VMExtensions per (type) handler not supported for OS type...
ISSUE DESCRIPTION :
An advertised benefit of DSC in Azure is the ability to Audit VM's to ensure certain actions have been performed, ie JoinDomain, BGInfo, Anti-Malware, etc. This was the main reason I went with the added effort of DSC, instead of Custom Script Extension or Remote Powershell.
In my configurations, I need to Join a Domain, Install a gMSA, add Initialize and Format Disks, Copy Service Files, install and start Services, etc... in addition to whatever the ISO wants has as fundamental requirements.
Many of these tasks need to be performed in different combinations on different machines. The volume and combinations of parameters required also add complexity. Further combining all of this into an ARM template, which presents it's own difficulties.
This led me to an approach of creating various DSC's, each with it's own set of parameters and simple ARM template. This approach allows me to see if DomainJoin succeeded, before attempting to install gMSA
Imagine my dismay, to find out I can perform "Disk Operations" OR "Join Domain", but I can only perform both actions if I create a monolithic DSC. You can only use Microsoft.Powershell.DSC extension once per VM !!!???
_Multiple VMExtensions per handler not supported for OS type 'Windows'. VMExtension 'DSC.xxxxx' with handler 'Microsoft.Powershell.DSC' already added or specified in input._
Why not allow multiple Microsoft.Powershell.DSC extensions, provided the names are Unique ?
Details of the scenario you tried and the problem that is occurring
I have created several DSC's that work independently when deployed via ARM templates. When attempting to deploy these DSC's in sequence, I get:
_Multiple VMExtensions per handler not supported for OS type 'Windows'. VMExtension 'DSC.xxxxx' with handler 'Microsoft.Powershell.DSC' already added or specified in input._
Suggested solution to the issue
Allow multiple deployments of Microsoft.Powershell.DSC provided the names are unique.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
# insert configuration here
The operating system the target node is running
Windows 2016 image based on default Azure image.
OsName : Microsoft Windows Server 2016 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
OsLanguage : en-US
OsMuiLanguages : {en-US}
Version and build of PowerShell the target node is running
Name Value
PSVersion 5.1.14393.2969
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.2969
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version of the DSC module that was used ('dev' if using current dev branch)
Custom combination of current modules.
- 主要言語
- PowerShell
- スター
- 338
- フォーク
- 80
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dsccommunity/ComputerManagementDsc のほかの issue
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
chore
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
-
chore
難易度 4/5 3〜5日 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
dsccommunity/ComputerManagementDsc の issue をすべて見る
似ている issue
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's オープンbug ecr
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
docs-from-code
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
microsoft/aspire.dev#1734 ·
-
[BUG] オープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
openwallet-foundation/eudiplo#1067 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
hashicorp/go-azure-helpers#286 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
akash-network/community#1526 ·