NetAdapterAdvancedProperty Constantly Re-Running

未关闭
#504 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
powershell
领域
networking

调研方向

从 dsc_netadapteradvancedproperty 资源开始,在所述的 Windows 和 PowerShell 版本上复现 Puppet 7 清单。检查测试期间返回的值,并将报告的 System.String[] 与配置的 3 进行比较;当第二次运行具有幂等性且不再将 dsc_registryvalue 报告为已更改时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Details of the scenario you tried and the problem that is occurring

I'm using puppet 7, to apply a dsc_netadapteradvancedproperty.

dsc_netadapteradvancedproperty{"Nic_V_IntraClusterManagement_Adv_Prop_FlowControl":
      dsc_networkadaptername => 'V-IntraClusterManagement',
      dsc_registrykeyword    => '*FlowControl',
      dsc_registryvalue      => '3',
}

It keeps running over and over again saying that

Verbose logs showing the problem
Notice: /Stage[main]/Profiles::myprofile/Dsc_netadapteradvancedproperty[Nic_V_IntraClusterManagement_Adv_Prop_FlowControl]/dsc_registryvalue: dsc_registryvalue changed 'System.String[]' to '3'
Suggested solution to the issue

It seems to either not be passing the test-result back properly, or that it's in a wrong format. Does the module need to be fixed, or something with puppet's implementation?

The DSC configuration that is used to reproduce the issue (as detailed as possible)
Not available
The operating system the target node is running
OsName               : Microsoft Windows Server 2016 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture       : 64-bit
WindowsBuildLabEx    : 14393.4583.amd64fre.rs1_release.210730-1850
OsLanguage           : en-US
OsMuiLanguages       : {en-US}
Version and build of PowerShell the target node is running
Name                           Value
----                           -----
PSVersion                      5.1.14393.4583
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.4583
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

主要语言
PowerShell
星标
234
派生
92
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dsccommunity/NetworkingDsc 的其他 Issue

查看 dsccommunity/NetworkingDsc 的全部 Issue

相似的 Issue

更多 Networking Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。