-
Bug
-
Resolution: Not a Bug
-
Critical
-
None
-
4.16
-
None
-
Critical
-
No
-
3
-
WINC - Sprint 256
-
1
-
False
-
Description of problem:
The service reconciliation did not complete successfully. Logs indicate an error related to the PowerShell variable ENDPOINT_IP.
Version-Release number of selected component (if applicable):
4.16.0-0.nightly-2024-06-25-110457 wmco :10.16.0-60c5aec
How reproducible:
- Execute the testing with waitForAdminNodeLogEvent function with parameters:waitForAdminNodeLogEvent(oc, winHostName, "wicd/windows-instance-config-daemon.exe.INFO", "successfully reconciled service " + targetService, svcModifiedTs)
- Check logs for the service reconciliation process.
Actual:
Service reconciliation fails with the following error:
E0626 02:59:52.702597 3932 controller.go:329] "Reconciler error" err=< could not resolve PowerShell variable ENDPOINT_IP: error running command with output New-HnsEndpoint : Cannot process argument transformation on parameter 'NetworkId'. Cannot convert null to type "System.Guid". At C:\Temp\network-conf.ps1:79 char:44 + $endpoint = New-HnsEndpoint -NetworkId $hns_network.ID -Name "VIP ... + ~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [New-HnsEndpoint], ParentContainsErrorRecordException + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-HnsEndpoint : exit status 1 > controller="node" controllerGroup="" controllerKind="Node" Node="weinliu-2041-byoh-0" namespace="" name="weinliu-2041-byoh- 0" reconcileID="c24c5c28-c54f-40b6-bc1a-9777a9e095a3" I0626 02:59:52.702597 3932 controller.go:245] reconciling /weinliu-2041-byoh-0 I0626 03:00:00.996053 3932 controller.go:413] updating service kube-proxy I0626 03:00:06.220661 3932 controller.go:245] reconciling /weinliu-2041-byoh-0 I0626 03:01:28.481304 3932 controller.go:245] reconciling /weinliu-2041-byoh-0 I0626 03:03:28.470874 3932 controller.go:245] reconciling /weinliu-2041-byoh-0
Expected results:
Service reconciliation should complete successfully without errors.
Additional info:
Failed on AWS/Azure/vsphere