dsccommunity / dsccommunity/NetworkingDsc

NetBios resource failing for Azure VMs with Accelerated Networking enabled

Open
#521 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
235
Forks
93
PR merge metrics
No merged PRs in 30d

Description

Problem description

When enabling Accelerated networking the NetBios resource will detect a NetAdapter Mellanox which is not IP Enabled. In module 9.0.0, it will write to registry if IPEnabled = false, but the resource fails with the following error record:
"ErrorRecord": "Cannot find path \u0027HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_{3457DBDB-ED8E-448C-8BAE-525091A1FD48}\u0027 because it does not exist."

Verbose logs
"ErrorRecord":  "Cannot find path \u0027HKLM:\\SYSTEM\\CurrentControlSet\\Services\\NetBT\\Parameters\\Interfaces\\Tcpip_{3457DBDB-ED8E-448C-8BAE-525091A1FD48}\u0027 because it does not exist."
DSC configuration
NetBios DisableNetBios
          {
               InterfaceAlias = '*'
               Setting        = 'Disable'
          }
Suggested solution

No, but I am hoping the gurus here have.

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}
PowerShell version and build the target node is running
Name                           Value                                                                                                                                                          
----                           -----                                                                                                                                                          
PSVersion                      5.1.17763.2931                                                                                                                                                 
PSEdition                      Desktop                                                                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                        
BuildVersion                   10.0.17763.2931                                                                                                                                                
CLRVersion                     4.0.30319.42000                                                                                                                                                
WSManStackVersion              3.0                                                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                                                            
SerializationVersion           1.1.0.1
NetworkingDsc version
Name          Version Path                                                                             
----          ------- ----                                                                             
NetworkingDsc 9.0.0   C:\Program Files\WindowsPowerShell\Modules\NetworkingDsc\9.0.0\NetworkingDsc.psd1

Contributor guide

Open the contributing guide

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

Start by reproducing the NetBios DisableNetBios configuration with InterfaceAlias='*' on the stated Windows Server 2019 Azure VM, then inspect how the resource handles the non-IP-enabled Mellanox adapter and the missing NetBT registry path. Done means the configuration completes without the reported path error while Accelerated Networking remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.