PowerPlan: The system cannot find the path specified
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- powershell
調査の方向性
MSFT_PowerPlan Test-TargetResource の失敗から始め、Windows Server 2016 と 2019 で報告された PowerPlan 構成を再現します。パスのエラーを比較し、一時ファイルまたは名前のないファイルの検索に失敗することなく、リソースが High performance plan を検証できることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Details of the scenario you tried and the problem that is occurring
The resource fails because it cannot find an unnamed file on Windows 2019 and a TMP file on Windows 2016.
Verbose logs showing the problem
On Windows 2016 computers Core or GUI
VERBOSE: [ComputerName]: LCM: [ Start Resource ] [[PowerPlan]Highperformance_1475074047]
VERBOSE: [ComputerName]: LCM: [ Start Test ] [[PowerPlan]Highperformance_1475074047]
VERBOSE: [ComputerName]: [[PowerPlan]Highperformance_1475074047] Validating power plan 'High performance'.
VERBOSE: [ComputerName]: LCM: [ End Test ] [[PowerPlan]Highperformance_1475074047] in 0.4530 seconds.
PowerShell DSC resource MSFT_PowerPlan failed to execute Test-TargetResource functionality with error message: Could not find a part of the path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp\kc2hwjb1.tmp'.
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : ComputerName
On Windows 2019 computers Core or GUI
VERBOSE: [ComputerName]: LCM: [ Start Resource ] [[PowerPlan]Highperformance_1278334551]
VERBOSE: [ComputerName]: LCM: [ Start Test ] [[PowerPlan]Highperformance_1278334551]
VERBOSE: [ComputerName]: [[PowerPlan]Highperformance_1278334551] Validating power plan 'High performance'.
VERBOSE: [ComputerName]: LCM: [ End Test ] [[PowerPlan]Highperformance_1278334551] in 0.7300 seconds.
PowerShell DSC resource MSFT_PowerPlan failed to execute Test-TargetResource functionality with error message: The system cannot find the path specified
+ CategoryInfo : InvalidOperation: (:) [], CimException
+ FullyQualifiedErrorId : ProviderOperationExecutionFailure
+ PSComputerName : ComputerName
Suggested solution to the issue
Unfortunately no idea...
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Configuration in YAML format for Datum
ComputerManagementDsc:
PowerPlan:
Name: High performance
IsSingleInstance: Yes
The operating system the target node is running
OsName : Microsoft Windows Server 2016 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture : 64-bit
WindowsBuildLabEx : 14393.1794.amd64fre.rs1_release.171008-1615
OsLanguage : en-US
OsMuiLanguages : {en-US}
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.14393.1884
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.1884
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
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)
ComputerManagementDsc 7.0.0.0
- 主要言語
- PowerShell
- スター
- 338
- フォーク
- 80
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dsccommunity/ComputerManagementDsc のほかの issue
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
chore
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
-
chore: Add Agentic AI development assets for GitHub Copilot対応中かも @PlagueHO が 106 日前に担当しました。 オープンchore
難易度 4/5 3〜5日 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
Computer: AD object deletion before domain join issue対応中かも @Daymarvi が 108 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
dsccommunity/ComputerManagementDsc の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
MiSTer-devel/ao486_MiSTer#243 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
siderolabs/pkgs#1710 ·
メンテナーはふだん 1 日以内に返信
-
good first issue kernel
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
JackFurton/who-would-build-a-kernel-in-java#81 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Windows: per-process values that can't be read (handles, I/O, network) still show as 0, not N/A対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンagent:Windows bug MEDIUM windows
難易度 2/5 半日 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信