NetConnectionProfile: does not find the interface (CIM object)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- powershell
- 領域
- networking
調査の方向性
DSC リソース NetConnectionProfile から始め、提供された InterfaceAlias と接続値を使用して Windows Server 2019 で構成を再現します。Set-TargetResource が CIM オブジェクト MSFT_NetConnectionProfile をどのようにクエリするかを調査し、その動作を要求された LocalNetwork および Private の設定と比較します。報告された CmdletizationQuery_NotFound エラーが発生せず、インターフェイスが検出されて構成されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Details of the scenario you tried and the problem that is occurring
I am trying to configure an interface profile to LocalNetwork but the resource does not find the CIM object.
Verbose logs showing the problem
TimeCreated : 23/10/2019 14:39:21
ProviderName : Microsoft-Windows-DSC
Id : 4103
Message : Job {033F100F-F592-11E9-AF98-005056A08475} :
This event indicates that a non-terminating error was thrown when DSCEngine was executing Set-TargetResource on MSFT_NetConnectionProfile DSC resource. FullyQualifiedErrorId is
CmdletizationQuery_NotFound,Set-NetConnectionProfile. Error Message is No matching MSFT_NetConnectionProfile objects found by CIM query for instances of the
root/StandardCimv2/MSFT_NetConnectionProfile class on the CIM server: SELECT * FROM MSFT_NetConnectionProfile WHERE ((InterfaceAlias LIKE 'LAN')) AND ((IPv4Connectivity = 3)) AND
((IPv6Connectivity = 3)). Verify query parameters and retry..
Suggested solution to the issue
So far I understand the error message, the resource is searching for an interface named LAN which has IPv4 and IPv6 set as LocalNetwork.
However, the conectivity type (LocalNetwork) is not the value the resource should be searching for but instead it shoud set it.
Searching an interface named LAN and setting it to LocalNetwork is the goal...
The DSC configuration that is used to reproduce the issue (as detailed as possible)
YAML format for Datum:
NetworkingDsc:
NetConnectionProfile:
- InterfaceAlias: LAN
IPv4Connectivity: LocalNetwork
IPv6Connectivity: LocalNetwork
NetworkCategory: Private
The operating system the target node is running
OsName : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsVersion : 1809
WindowsBuildLabEx : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage : en-US
OsMuiLanguages : {en-US}
Version and build of PowerShell the target node is running
PSVersion 5.1.17763.316
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.316
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)
Name : NetworkingDsc
Path : C:\Program Files\WindowsPowerShell\Modules\NetworkingDsc\7.4.0.0\NetworkingDsc.psd1
Description : Module with DSC Resources for Networking area
ModuleType : Manifest
Version : 7.4.0.0
- 主要言語
- PowerShell
- スター
- 234
- フォーク
- 92
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dsccommunity/NetworkingDsc のほかの issue
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dsccommunity/NetworkingDsc#544 ·
-
chore
難易度 4/5 3〜5日 初心者へのやさしさ 72/100
dsccommunity/NetworkingDsc#542 ·
-
chore
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
dsccommunity/NetworkingDsc#543 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
dsccommunity/NetworkingDsc#539 ·
-
Add Codeowners fileオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
dsccommunity/NetworkingDsc#538 ·
dsccommunity/NetworkingDsc の issue をすべて見る
似ている issue
-
[Bug] header_mutation add overwrites instead of appending: ext_proc reads the deprecated append flag対応中かも @Bevisy が今日担当しました。 オープンneeds-acceptance wg/data-plane-networking
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
vllm-project/semantic-router#5994 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
NousResearch/hermes-agent#151129 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fastify/fastify-http-proxy#493 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
meshcore-dev/MeshCore#3781 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信