[Windows docker] The pipe is being closed

Bug #1787946 reported by Michał Kostrzewa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
Fix Committed
Undecided
Unassigned

Bug Description

When starting on fresh environment:

WARN[2018-08-16T06:00:16-07:00] Keystone variable empty: Os_token
INFO[2018-08-16T06:00:16-07:00] &{http://10.7.0.97:5000/v2.0 admin admin contrail123 }
INFO[2018-08-16T06:00:16-07:00] Getting HNS network by name: ContrailRootNetwork
DEBU[2018-08-16T06:00:16-07:00] [GET]=>[/networks/] Request :
DEBU[2018-08-16T06:00:16-07:00] Network Response : [ { "CurrentEndpointCount" : 0, "ExternalInterfaceAddress" : "00-50-56-8C-B0-7B", "ExternalInterfaceIndex" : 6, "ID" : "88a6f922-258d-4268-80e5-1ca4fa4cdb4a", "MacPools" : [ { "EndMacAddress" : "00-15-5D-B6-7F-FF", "StartMacAddress" : "00-15-5D-B6-70-00" } ], "MaxConcurrentEndpoints" : 1, "NATName" : "H88a6f922-258d-4268-80e5-1ca4fa4cdb4a", "Name" : "nat", "Policies" : [ ], "Subnets" : [ { "AddressPrefix" : "192.168.240.0/20", "GatewayAddress" : "192.168.240.1" } ], "SwitchGuid" : "e1edb2a7-f6f6-48b6-949c-c707f9a95e8d", "TotalEndpoints" : 3, "Type" : "nat", "Version" : 4294967297 } ]
INFO[2018-08-16T06:00:16-07:00] Creating HNS network
DEBU[2018-08-16T06:00:16-07:00] Config: {"Name":"ContrailRootNetwork","Type":"transparent","NetworkAdapterName":"Ethernet1","Subnets":[{"AddressPrefix":"0.0.0.0/24"}]}
DEBU[2018-08-16T06:00:16-07:00] [POST]=>[/networks/] Request : {"Name":"ContrailRootNetwork","Type":"transparent","NetworkAdapterName":"Ethernet1","Subnets":[{"AddressPrefix":"0.0.0.0/24"}]}
DEBU[2018-08-16T06:00:18-07:00] Network Response : { "CurrentEndpointCount" : 0, "ID" : "bc4419ec-eb19-4267-89fd-2dca1f4175c6", "LayeredOn" : "b0caed27-db9a-494e-828f-1b4a4e6114ef", "MacPools" : [ { "EndMacAddress" : "00-15-5D-66-EF-FF", "StartMacAddress" : "00-15-5D-66-E0-00" } ], "MaxConcurrentEndpoints" : 0, "Name" : "ContrailRootNetwork", "NetworkAdapterName" : "Ethernet1", "Policies" : [ ], "Subnets" : [ { "AddressPrefix" : "0.0.0.0/24", "Policies" : [ ] } ], "TotalEndpoints" : 0, "Type" : "transparent", "Version" : 4294967297 }
INFO[2018-08-16T06:00:18-07:00] Created HNS network with ID: bc4419ec-eb19-4267-89fd-2dca1f4175c6
INFO[2018-08-16T06:00:18-07:00] Created root HNS network: bc4419ec-eb19-4267-89fd-2dca1f4175c6
INFO[2018-08-16T06:00:18-07:00] Inspecting Hyper-V Extension for property: Running
DEBU[2018-08-16T06:00:18-07:00] Running powershell: -NonInteractive Get-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension" | Select -Expand "Running".
DEBU[2018-08-16T06:00:23-07:00] stdout: True;
DEBU[2018-08-16T06:00:23-07:00] Inspect result: True
INFO[2018-08-16T06:00:23-07:00] Inspecting Hyper-V Extension for property: Enabled
DEBU[2018-08-16T06:00:23-07:00] Running powershell: -NonInteractive Get-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension" | Select -Expand "Enabled".
DEBU[2018-08-16T06:00:26-07:00] stdout: False;
DEBU[2018-08-16T06:00:27-07:00] Inspect result: False
INFO[2018-08-16T06:00:27-07:00] Enabling Hyper-V Extension
DEBU[2018-08-16T06:00:27-07:00] Running powershell: -NonInteractive Enable-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension".
DEBU[2018-08-16T06:00:29-07:00] stdout: Id : 56553588-1538-4BE6-B8E0-CB46402DC205
Name : vRouter forwarding extension
Vendor : OpenContrail team
Version : 13.5.39.984
ExtensionType : Forwarding
ParentExtensionId :
ParentExtensionName :
SwitchId : 7f20f52b-26bc-4605-b607-f2645ce4f8a5
SwitchName : Layered Ethernet1
Enabled : True
Running : True
CimSession : CimSession: .
ComputerName : MZ-TB1
IsDeleted : False;
INFO[2018-08-16T06:00:30-07:00] Inspecting Hyper-V Extension for property: Enabled
DEBU[2018-08-16T06:00:30-07:00] Running powershell: -NonInteractive Get-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension" | Select -Expand "Enabled".
DEBU[2018-08-16T06:00:32-07:00] stdout: True;
DEBU[2018-08-16T06:00:32-07:00] Inspect result: True
INFO[2018-08-16T06:00:32-07:00] Inspecting Hyper-V Extension for property: Running
DEBU[2018-08-16T06:00:32-07:00] Running powershell: -NonInteractive Get-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension" | Select -Expand "Running".
DEBU[2018-08-16T06:00:35-07:00] stdout: True;
DEBU[2018-08-16T06:00:35-07:00] Inspect result: True
ERRO[2018-08-16T06:00:35-07:00] Stopped serving because: When serving: The pipe is being closed.

INFO[2018-08-16T06:00:35-07:00] Closing npipe listener
INFO[2018-08-16T06:00:35-07:00] Started serving on //./pipe/Contrail
INFO[2018-08-16T06:00:35-07:00] Removing spec file
INFO[2018-08-16T09:02:17-07:00] Good bye
WARN[2018-08-16T09:02:18-07:00] Keystone variable empty: Os_token
INFO[2018-08-16T09:02:18-07:00] &{http://10.7.0.97:5000/v2.0 admin admin contrail123 }
INFO[2018-08-16T09:02:27-07:00] Inspecting Hyper-V Extension for property: Running
DEBU[2018-08-16T09:02:27-07:00] Running powershell: -NonInteractive Get-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension" | Select -Expand "Running".
DEBU[2018-08-16T09:02:30-07:00] stdout: True;
DEBU[2018-08-16T09:02:30-07:00] Inspect result: True
INFO[2018-08-16T09:02:30-07:00] Inspecting Hyper-V Extension for property: Enabled
DEBU[2018-08-16T09:02:30-07:00] Running powershell: -NonInteractive Get-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension" | Select -Expand "Enabled".
DEBU[2018-08-16T09:02:33-07:00] stdout: True;
DEBU[2018-08-16T09:02:33-07:00] Inspect result: True
INFO[2018-08-16T09:02:33-07:00] Inspecting Hyper-V Extension for property: Enabled
DEBU[2018-08-16T09:02:33-07:00] Running powershell: -NonInteractive Get-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension" | Select -Expand "Enabled".
DEBU[2018-08-16T09:02:36-07:00] stdout: True;
DEBU[2018-08-16T09:02:36-07:00] Inspect result: True
INFO[2018-08-16T09:02:36-07:00] Inspecting Hyper-V Extension for property: Running
DEBU[2018-08-16T09:02:36-07:00] Running powershell: -NonInteractive Get-VMSwitchExtension -VMSwitchName "Layered?Ethernet1" -Name "vRouter forwarding extension" | Select -Expand "Running".
DEBU[2018-08-16T09:02:38-07:00] stdout: True;
DEBU[2018-08-16T09:02:38-07:00] Inspect result: True
INFO[2018-08-16T09:02:38-07:00] Started serving on //./pipe/Contrail

Tags: windows
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45659
Submitter: Michal Kostrzewa (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45663
Submitter: Michal Kostrzewa (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/45663
Committed: http://github.com/Juniper/contrail-windows-docker-driver/commit/6268e5726f6675246dfaf1b5dfd71f60607f366d
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 6268e5726f6675246dfaf1b5dfd71f60607f366d
Author: Michal Kostrzewa <email address hidden>
Date: Mon Aug 20 14:49:33 2018 +0200

Bump hcsshim and go-winio version.

They are being bumped simultaneusly due to dependency between them
(hcsshim imports go-winio).

Bump of go-winio is a possible fix to #1787946. Reopen this issue if the
bug happens again.

Bump of hcsshim, because it's a core dependency and it wasn't updated in
a couple months. Maybe some bugs were fixed.

Change-Id: I7cea4c004a5064f03b2b9fff8d99032babcf3137
Closes-Bug: #1787950
Closes-Bug: #1787946

Changed in opencontrail:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.