Skip to content

Instantly share code, notes, and snippets.

@ylhyh
Created March 13, 2019 12:36
Show Gist options
  • Select an option

  • Save ylhyh/521f2c252b73b47613a15873f873c4b7 to your computer and use it in GitHub Desktop.

Select an option

Save ylhyh/521f2c252b73b47613a15873f873c4b7 to your computer and use it in GitHub Desktop.
DEBU[0000] Default config: {MTU:1400 ConntrackZone:64000 EncapType:geneve EncapIP:172.16.126.216 InactivityProbe:100000}
DEBU[0000] Logging config: {File:D:/k8s/log/ovn-kubernetes.log Level:5}
DEBU[0000] CNI config: {ConfDir:D:/k8s/cni/net.d Plugin:ovn-k8s-cni-overlay WinHNSNetworkID:}
DEBU[0000] Kubernetes config: {Kubeconfig:D:/k8s/pki/admin.conf CACert:D:/k8s/pki/ca.crt APIServer:https://apiserver.q1lan.k8s:6443 Token:***}
DEBU[0000] OVN North config: {ClientAuth:0xc00007b680 ServerAuth:0xc00007b720}
DEBU[0000] OVN South config: {ClientAuth:0xc00007b7c0 ServerAuth:0xc00007b860}
INFO[0001] Node node009 ready for ovn initialization with subnet 10.112.11.0/24
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovs-vsctl.exe --timeout=15 set Open_vSwitch . external_ids:ovn-nb="tcp:172.16.126.237:6641"
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovs-vsctl.exe --timeout=15 set Open_vSwitch . external_ids:ovn-remote="tcp:172.16.126.237:6642"
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovs-vsctl.exe --timeout=15 set Open_vSwitch . external_ids:ovn-encap-type=geneve external_ids:ovn-encap-ip=172.16.126.216 external_ids:ovn-remote-probe-interval=100000
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 --if-exist get logical_router_port rtos-node009 mac
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 --data=bare --no-heading --columns=_uuid find logical_router external_ids:k8s-cluster-router=yes
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 --may-exist lrp-add 7d0f605f-5f3d-4b18-919c-cb3d4c9f03c9 rtos-node009 00:00:00:74:2D:F6 10.112.11.1/24
DEBU[0001] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 -- --may-exist ls-add node009 -- set logical_switch node009 other-config:subnet=10.112.11.0/24 external-ids:gateway_ip=10.112.11.1/24
DEBU[0002] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 -- --may-exist lsp-add node009 stor-node009 -- set logical_switch_port stor-node009 type=router options:router-port=rtos-node009 addresses="00:00:00:74:2D:F6"
DEBU[0002] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovs-vsctl.exe --timeout=15 -- --may-exist add-br br-int
DEBU[0002] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovs-vsctl.exe --timeout=15 -- --may-exist add-port br-int k8s-node009 -- set interface k8s-node009 type=internal mtu_request=1400 external-ids:iface-id=k8s-node009
DEBU[0002] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovs-vsctl.exe --timeout=15 --if-exists get interface k8s-node009 mac_in_use
DEBU[0006] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 -- --may-exist lsp-add node009 k8s-node009 -- lsp-set-addresses k8s-node009 00:15:5d:7e:d8:17 10.112.11.2
DEBU[0006] exec: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Enable-NetAdapter -IncludeHidden k8s-node009
DEBU[0010] exec: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Get-NetIPAddress -InterfaceAlias k8s-node009
DEBU[0014] Interface k8s-node009 exists, removing.
DEBU[0014] exec: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Remove-NetIPAddress -InterfaceAlias k8s-node009 -Confirm:$false
DEBU[0018] exec: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe New-NetIPAddress -IPAddress 10.112.11.2 -PrefixLength 24 -InterfaceAlias k8s-node009
DEBU[0021] exec: C:\Windows\system32\netsh.exe interface ipv4 set subinterface k8s-node009 mtu=1400 store=persistent
DEBU[0021] exec: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe $(Get-NetAdapter -IncludeHidden | Where { $_.Name -Match "k8s-node009" }).ifIndex
DEBU[0024] exec: C:\Windows\system32\route.exe print -4 10.112.0.0
DEBU[0025] Route was found, skipping route add
DEBU[0025] exec: C:\Windows\system32\route.exe print -4 10.96.0.0
DEBU[0025] Route was found, skipping route add
DEBU[0025] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 --data=bare --no-heading --columns=_uuid find load_balancer external_ids:k8s-cluster-lb-tcp=yes
DEBU[0025] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 set logical_switch node009 load_balancer=43602c39-396c-4843-926d-3602eb9432b4
DEBU[0025] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 --data=bare --no-heading --columns=_uuid find load_balancer external_ids:k8s-cluster-lb-udp=yes
DEBU[0025] exec: C:\Program Files\Cloudbase Solutions\Open vSwitch\bin\ovn-nbctl.exe --db=tcp:172.16.126.237:6641 --timeout=15 add logical_switch node009 load_balancer 704b81fa-ebf6-4d5f-8cd8-8446b411bb56
INFO[0025] CNI server started
INFO[0168] Waiting for DEL result for pod default/rtx-service-66446bd647-jmxg4
INFO[0168] Dispatching pod network request &{DEL default rtx-service-66446bd647-jmxg4 5e19e5f86319def550730b29ecaf167f8787a8adeaab8c6ba6a81b9c085a9811 none eth0 0xc000546640 0xc000297740}
INFO[0168] Deleting HNS endpoint: default_rtx-service-66446bd647-jmxg4
DEBU[0168] [GET]=>[/endpoints/] Request :
DEBU[0169] Network Response : [ ]
INFO[0169] No endpoint with name default_rtx-service-66446bd647-jmxg4 was found, error Endpoint default_rtx-service-66446bd647-jmxg4 not found
INFO[0169] Returning pod network request &{DEL default rtx-service-66446bd647-jmxg4 5e19e5f86319def550730b29ecaf167f8787a8adeaab8c6ba6a81b9c085a9811 none eth0 0xc000546640 0xc000297740}, result err <nil>
INFO[0169] Waiting for ADD result for pod default/rtx-service-66446bd647-jmxg4
INFO[0169] Dispatching pod network request &{ADD default rtx-service-66446bd647-jmxg4 5e19e5f86319def550730b29ecaf167f8787a8adeaab8c6ba6a81b9c085a9811 none eth0 0xc000212a00 0xc000594420}
WARN[0169] Error while obtaining pod annotations - pods "rtx-service-66446bd647-jmxg4" not found
WARN[0170] Error while obtaining pod annotations - pods "rtx-service-66446bd647-jmxg4" not found
WARN[0172] Error while obtaining pod annotations - pods "rtx-service-66446bd647-jmxg4" not found
WARN[0174] Error while obtaining pod annotations - pods "rtx-service-66446bd647-jmxg4" not found
WARN[0177] Error while obtaining pod annotations - pods "rtx-service-66446bd647-jmxg4" not found
WARN[0183] Error while obtaining pod annotations - pods "rtx-service-66446bd647-jmxg4" not found
WARN[0191] Error while obtaining pod annotations - pods "rtx-service-66446bd647-jmxg4" not found
ERRO[0191] failed to get pod annotation - timed out waiting for the condition
INFO[0205] Waiting for ADD result for pod default/rtx-service-66446bd647-264j7
INFO[0205] Dispatching pod network request &{ADD default rtx-service-66446bd647-264j7 6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca none eth0 0xc0003dc140 0xc000242180}
DEBU[0205] [GET]=>[/networks/] Request :
DEBU[0205] Network Response : [ { "CurrentEndpointCount" : 0, "ID" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "LayeredOn" : "fb2167a7-fe99-47df-9233-9de11ca683c4", "MacPools" : [ { "EndMacAddress" : "00-15-5D-D1-6F-FF", "StartMacAddress" : "00-15-5D-D1-60-00" } ], "MaxConcurrentEndpoints" : 0, "Name" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350", "NetworkAdapterName" : "eth0", "Policies" : [ ], "Subnets" : [ { "AddressPrefix" : "10.112.11.0/24", "GatewayAddress" : "10.112.11.1", "Policies" : [ ] } ], "TotalEndpoints" : 0, "Type" : "transparent", "Version" : 4294967297 } ]
INFO[0205] HNS Network Id found: af38adc6-c105-4b25-8001-8c92a55eff7f
DEBU[0205] [GET]=>[/endpoints/] Request :
DEBU[0205] Network Response : [ ]
INFO[0205] HNS endpoint "default_rtx-service-66446bd647-264j7" does not exist
INFO[0205] Creating HNS endpoint
INFO[0205] hnsConfigBytes: {"Name":"default_rtx-service-66446bd647-264j7","VirtualNetwork":"af38adc6-c105-4b25-8001-8c92a55eff7f","MacAddress":"0a-00-00-00-01-57","IPAddress":"10.112.11.3","PrefixLength":24}
DEBU[0205] [POST]=>[/endpoints/] Request : {"Name":"default_rtx-service-66446bd647-264j7","VirtualNetwork":"af38adc6-c105-4b25-8001-8c92a55eff7f","MacAddress":"0a-00-00-00-01-57","IPAddress":"10.112.11.3","PrefixLength":24}
DEBU[0205] Network Response : { "ComputedPolicies" : [ { "ACL" : [ { "Type" : "ACL" } ] } ], "CreateProcessingStartTime" : 131969538691370348, "GatewayAddress" : "10.112.11.1", "ID" : "8befdbd1-3fea-40cc-8023-be53cbaa2d97", "IPAddress" : "10.112.11.3", "MacAddress" : "0a-00-00-00-01-57", "Name" : "default_rtx-service-66446bd647-264j7", "Policies" : [ { "Type" : "ACL" } ], "PrefixLength" : 24, "Type" : "transparent", "Version" : 4294967297, "VirtualNetwork" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "VirtualNetworkName" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350" }
INFO[0205] Created HNS endpoint with ID: 8befdbd1-3fea-40cc-8023-be53cbaa2d97
INFO[0205] Attaching endpoint 8befdbd1-3fea-40cc-8023-be53cbaa2d97 to container 6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca
DEBU[0205] HCSShim::OpenContainer id=6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca
DEBU[0205] HCSShim::OpenContainer succeeded id=6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca handle=1757728
DEBU[0205] HCSShim::Container::Modify id=6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca request={"ResourceType":"Network","Settings":"8befdbd1-3fea-40cc-8023-be53cbaa2d97","RequestType":"Add"}
DEBU[0205] Result: {"Error":-2147024846,"ErrorMessage":"不支持该请求。"}
DEBU[0205] HCSShim::Container::Close id=6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca
DEBU[0205] HCSShim::Container::Close succeeded id=6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca
INFO[0205] Error attaching the endpoint to the container, error: unsupported platform request
WARN[0205] Failed to hot attach HNS Endpoint "default_rtx-service-66446bd647-264j7" to container "6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca", reason: "unsupported platform request"
INFO[0205] Deleting HNS endpoint: default_rtx-service-66446bd647-264j7
DEBU[0205] [GET]=>[/endpoints/] Request :
DEBU[0205] Network Response : [ { "ComputedPolicies" : [ { "ACL" : [ { "Type" : "ACL" } ] } ], "CreateProcessingStartTime" : 131969538691370348, "GatewayAddress" : "10.112.11.1", "ID" : "8befdbd1-3fea-40cc-8023-be53cbaa2d97", "IPAddress" : "10.112.11.3", "MacAddress" : "0a-00-00-00-01-57", "Name" : "default_rtx-service-66446bd647-264j7", "Policies" : [ { "Type" : "ACL" } ], "PrefixLength" : 24, "Type" : "transparent", "Version" : 4294967297, "VirtualNetwork" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "VirtualNetworkName" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350" } ]
INFO[0205] Fetched endpoint: default_rtx-service-66446bd647-264j7
DEBU[0205] HCSShim::HNSEndpoint::Delete id=8befdbd1-3fea-40cc-8023-be53cbaa2d97
DEBU[0205] [DELETE]=>[/endpoints/8befdbd1-3fea-40cc-8023-be53cbaa2d97] Request :
INFO[0205] HNS endpoint successfully deleted: "default_rtx-service-66446bd647-264j7"
ERRO[0205] Failed to configure interface in pod: unsupported platform request
INFO[0206] Waiting for DEL result for pod default/rtx-service-66446bd647-264j7
INFO[0206] Dispatching pod network request &{DEL default rtx-service-66446bd647-264j7 6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca none eth0 0xc0001de320 0xc00064a120}
INFO[0206] Deleting HNS endpoint: default_rtx-service-66446bd647-264j7
DEBU[0206] [GET]=>[/endpoints/] Request :
DEBU[0206] Network Response : [ ]
INFO[0206] No endpoint with name default_rtx-service-66446bd647-264j7 was found, error Endpoint default_rtx-service-66446bd647-264j7 not found
INFO[0206] Returning pod network request &{DEL default rtx-service-66446bd647-264j7 6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca none eth0 0xc0001de320 0xc00064a120}, result err <nil>
INFO[0209] Waiting for ADD result for pod default/rtx-service-66446bd647-264j7
INFO[0209] Dispatching pod network request &{ADD default rtx-service-66446bd647-264j7 6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca none eth0 0xc0003dcf00 0xc0002424e0}
DEBU[0209] [GET]=>[/networks/] Request :
DEBU[0209] Network Response : [ { "CurrentEndpointCount" : 0, "ID" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "LayeredOn" : "fb2167a7-fe99-47df-9233-9de11ca683c4", "MacPools" : [ { "EndMacAddress" : "00-15-5D-D1-6F-FF", "StartMacAddress" : "00-15-5D-D1-60-00" } ], "MaxConcurrentEndpoints" : 0, "Name" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350", "NetworkAdapterName" : "eth0", "Policies" : [ ], "Subnets" : [ { "AddressPrefix" : "10.112.11.0/24", "GatewayAddress" : "10.112.11.1", "Policies" : [ ] } ], "TotalEndpoints" : 0, "Type" : "transparent", "Version" : 4294967297 } ]
INFO[0209] HNS Network Id found: af38adc6-c105-4b25-8001-8c92a55eff7f
DEBU[0209] [GET]=>[/endpoints/] Request :
DEBU[0209] Network Response : [ ]
INFO[0209] HNS endpoint "default_rtx-service-66446bd647-264j7" does not exist
INFO[0209] Creating HNS endpoint
INFO[0209] hnsConfigBytes: {"Name":"default_rtx-service-66446bd647-264j7","VirtualNetwork":"af38adc6-c105-4b25-8001-8c92a55eff7f","MacAddress":"0a-00-00-00-01-57","IPAddress":"10.112.11.3","PrefixLength":24}
DEBU[0209] [POST]=>[/endpoints/] Request : {"Name":"default_rtx-service-66446bd647-264j7","VirtualNetwork":"af38adc6-c105-4b25-8001-8c92a55eff7f","MacAddress":"0a-00-00-00-01-57","IPAddress":"10.112.11.3","PrefixLength":24}
DEBU[0209] Network Response : { "ComputedPolicies" : [ { "ACL" : [ { "Type" : "ACL" } ] } ], "CreateProcessingStartTime" : 131969538730042926, "GatewayAddress" : "10.112.11.1", "ID" : "c452b2d6-dd5b-4339-9ac1-85f9bd56dbb1", "IPAddress" : "10.112.11.3", "MacAddress" : "0a-00-00-00-01-57", "Name" : "default_rtx-service-66446bd647-264j7", "Policies" : [ { "Type" : "ACL" } ], "PrefixLength" : 24, "Type" : "transparent", "Version" : 4294967297, "VirtualNetwork" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "VirtualNetworkName" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350" }
INFO[0209] Created HNS endpoint with ID: c452b2d6-dd5b-4339-9ac1-85f9bd56dbb1
INFO[0209] Attaching endpoint c452b2d6-dd5b-4339-9ac1-85f9bd56dbb1 to container 6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca
DEBU[0209] HCSShim::OpenContainer id=6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca
INFO[0209] Error attaching the endpoint to the container, error: A Compute System with the specified identifier does not exist.
WARN[0209] Failed to hot attach HNS Endpoint "default_rtx-service-66446bd647-264j7" to container "6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca", reason: "A Compute System with the specified identifier does not exist."
INFO[0209] Deleting HNS endpoint: default_rtx-service-66446bd647-264j7
DEBU[0209] [GET]=>[/endpoints/] Request :
DEBU[0209] Network Response : [ { "ComputedPolicies" : [ { "ACL" : [ { "Type" : "ACL" } ] } ], "CreateProcessingStartTime" : 131969538730042926, "GatewayAddress" : "10.112.11.1", "ID" : "c452b2d6-dd5b-4339-9ac1-85f9bd56dbb1", "IPAddress" : "10.112.11.3", "MacAddress" : "0a-00-00-00-01-57", "Name" : "default_rtx-service-66446bd647-264j7", "Policies" : [ { "Type" : "ACL" } ], "PrefixLength" : 24, "Type" : "transparent", "Version" : 4294967297, "VirtualNetwork" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "VirtualNetworkName" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350" } ]
INFO[0209] Fetched endpoint: default_rtx-service-66446bd647-264j7
DEBU[0209] HCSShim::HNSEndpoint::Delete id=c452b2d6-dd5b-4339-9ac1-85f9bd56dbb1
DEBU[0209] [DELETE]=>[/endpoints/c452b2d6-dd5b-4339-9ac1-85f9bd56dbb1] Request :
INFO[0209] HNS endpoint successfully deleted: "default_rtx-service-66446bd647-264j7"
ERRO[0209] Failed to configure interface in pod: A Compute System with the specified identifier does not exist.
INFO[0209] Waiting for DEL result for pod default/rtx-service-66446bd647-264j7
INFO[0209] Dispatching pod network request &{DEL default rtx-service-66446bd647-264j7 6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca none eth0 0xc0001df0e0 0xc00064a5a0}
INFO[0209] Deleting HNS endpoint: default_rtx-service-66446bd647-264j7
DEBU[0209] [GET]=>[/endpoints/] Request :
DEBU[0209] Network Response : [ ]
INFO[0209] No endpoint with name default_rtx-service-66446bd647-264j7 was found, error Endpoint default_rtx-service-66446bd647-264j7 not found
INFO[0209] Returning pod network request &{DEL default rtx-service-66446bd647-264j7 6d6298cff8de772a8a66e5376976fb9a16a09f53b03b5a1626c100fc6b20a2ca none eth0 0xc0001df0e0 0xc00064a5a0}, result err <nil>
INFO[0215] Waiting for ADD result for pod default/rtx-service-66446bd647-264j7
INFO[0215] Dispatching pod network request &{ADD default rtx-service-66446bd647-264j7 c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1 none eth0 0xc000547e00 0xc000242c60}
DEBU[0215] [GET]=>[/networks/] Request :
DEBU[0215] Network Response : [ { "CurrentEndpointCount" : 0, "ID" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "LayeredOn" : "fb2167a7-fe99-47df-9233-9de11ca683c4", "MacPools" : [ { "EndMacAddress" : "00-15-5D-D1-6F-FF", "StartMacAddress" : "00-15-5D-D1-60-00" } ], "MaxConcurrentEndpoints" : 0, "Name" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350", "NetworkAdapterName" : "eth0", "Policies" : [ ], "Subnets" : [ { "AddressPrefix" : "10.112.11.0/24", "GatewayAddress" : "10.112.11.1", "Policies" : [ ] } ], "TotalEndpoints" : 0, "Type" : "transparent", "Version" : 4294967297 } ]
INFO[0215] HNS Network Id found: af38adc6-c105-4b25-8001-8c92a55eff7f
DEBU[0215] [GET]=>[/endpoints/] Request :
DEBU[0215] Network Response : [ ]
INFO[0215] HNS endpoint "default_rtx-service-66446bd647-264j7" does not exist
INFO[0215] Creating HNS endpoint
INFO[0215] hnsConfigBytes: {"Name":"default_rtx-service-66446bd647-264j7","VirtualNetwork":"af38adc6-c105-4b25-8001-8c92a55eff7f","MacAddress":"0a-00-00-00-01-57","IPAddress":"10.112.11.3","PrefixLength":24}
DEBU[0215] [POST]=>[/endpoints/] Request : {"Name":"default_rtx-service-66446bd647-264j7","VirtualNetwork":"af38adc6-c105-4b25-8001-8c92a55eff7f","MacAddress":"0a-00-00-00-01-57","IPAddress":"10.112.11.3","PrefixLength":24}
DEBU[0215] Network Response : { "ComputedPolicies" : [ { "ACL" : [ { "Type" : "ACL" } ] } ], "CreateProcessingStartTime" : 131969538791597213, "GatewayAddress" : "10.112.11.1", "ID" : "30ba6d17-4088-42bd-aa07-c5fabc03f1f4", "IPAddress" : "10.112.11.3", "MacAddress" : "0a-00-00-00-01-57", "Name" : "default_rtx-service-66446bd647-264j7", "Policies" : [ { "Type" : "ACL" } ], "PrefixLength" : 24, "Type" : "transparent", "Version" : 4294967297, "VirtualNetwork" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "VirtualNetworkName" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350" }
INFO[0215] Created HNS endpoint with ID: 30ba6d17-4088-42bd-aa07-c5fabc03f1f4
INFO[0215] Attaching endpoint 30ba6d17-4088-42bd-aa07-c5fabc03f1f4 to container c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1
DEBU[0215] HCSShim::OpenContainer id=c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1
DEBU[0215] HCSShim::OpenContainer succeeded id=c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1 handle=1758112
DEBU[0215] HCSShim::Container::Modify id=c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1 request={"ResourceType":"Network","Settings":"30ba6d17-4088-42bd-aa07-c5fabc03f1f4","RequestType":"Add"}
DEBU[0215] Result: {"Error":-2147024846,"ErrorMessage":"不支持该请求。"}
DEBU[0215] HCSShim::Container::Close id=c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1
DEBU[0215] HCSShim::Container::Close succeeded id=c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1
INFO[0215] Error attaching the endpoint to the container, error: unsupported platform request
WARN[0215] Failed to hot attach HNS Endpoint "default_rtx-service-66446bd647-264j7" to container "c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1", reason: "unsupported platform request"
INFO[0215] Deleting HNS endpoint: default_rtx-service-66446bd647-264j7
DEBU[0215] [GET]=>[/endpoints/] Request :
DEBU[0215] Network Response : [ { "ComputedPolicies" : [ { "ACL" : [ { "Type" : "ACL" } ] } ], "CreateProcessingStartTime" : 131969538791597213, "GatewayAddress" : "10.112.11.1", "ID" : "30ba6d17-4088-42bd-aa07-c5fabc03f1f4", "IPAddress" : "10.112.11.3", "MacAddress" : "0a-00-00-00-01-57", "Name" : "default_rtx-service-66446bd647-264j7", "Policies" : [ { "Type" : "ACL" } ], "PrefixLength" : 24, "Type" : "transparent", "Version" : 4294967297, "VirtualNetwork" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "VirtualNetworkName" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350" } ]
INFO[0215] Fetched endpoint: default_rtx-service-66446bd647-264j7
DEBU[0215] HCSShim::HNSEndpoint::Delete id=30ba6d17-4088-42bd-aa07-c5fabc03f1f4
DEBU[0215] [DELETE]=>[/endpoints/30ba6d17-4088-42bd-aa07-c5fabc03f1f4] Request :
INFO[0215] HNS endpoint successfully deleted: "default_rtx-service-66446bd647-264j7"
ERRO[0215] Failed to configure interface in pod: unsupported platform request
INFO[0215] Waiting for DEL result for pod default/rtx-service-66446bd647-264j7
INFO[0215] Dispatching pod network request &{DEL default rtx-service-66446bd647-264j7 c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1 none eth0 0xc0002121e0 0xc00064a1e0}
INFO[0216] Deleting HNS endpoint: default_rtx-service-66446bd647-264j7
DEBU[0216] [GET]=>[/endpoints/] Request :
DEBU[0216] Network Response : [ ]
INFO[0216] No endpoint with name default_rtx-service-66446bd647-264j7 was found, error Endpoint default_rtx-service-66446bd647-264j7 not found
INFO[0216] Returning pod network request &{DEL default rtx-service-66446bd647-264j7 c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1 none eth0 0xc0002121e0 0xc00064a1e0}, result err <nil>
INFO[0218] Waiting for ADD result for pod default/rtx-service-66446bd647-264j7
INFO[0218] Dispatching pod network request &{ADD default rtx-service-66446bd647-264j7 c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1 none eth0 0xc0003dd2c0 0xc00059eba0}
DEBU[0218] [GET]=>[/networks/] Request :
DEBU[0218] Network Response : [ { "CurrentEndpointCount" : 0, "ID" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "LayeredOn" : "fb2167a7-fe99-47df-9233-9de11ca683c4", "MacPools" : [ { "EndMacAddress" : "00-15-5D-D1-6F-FF", "StartMacAddress" : "00-15-5D-D1-60-00" } ], "MaxConcurrentEndpoints" : 0, "Name" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350", "NetworkAdapterName" : "eth0", "Policies" : [ ], "Subnets" : [ { "AddressPrefix" : "10.112.11.0/24", "GatewayAddress" : "10.112.11.1", "Policies" : [ ] } ], "TotalEndpoints" : 0, "Type" : "transparent", "Version" : 4294967297 } ]
INFO[0218] HNS Network Id found: af38adc6-c105-4b25-8001-8c92a55eff7f
DEBU[0218] [GET]=>[/endpoints/] Request :
DEBU[0218] Network Response : [ ]
INFO[0218] HNS endpoint "default_rtx-service-66446bd647-264j7" does not exist
INFO[0218] Creating HNS endpoint
INFO[0218] hnsConfigBytes: {"Name":"default_rtx-service-66446bd647-264j7","VirtualNetwork":"af38adc6-c105-4b25-8001-8c92a55eff7f","MacAddress":"0a-00-00-00-01-57","IPAddress":"10.112.11.3","PrefixLength":24}
DEBU[0218] [POST]=>[/endpoints/] Request : {"Name":"default_rtx-service-66446bd647-264j7","VirtualNetwork":"af38adc6-c105-4b25-8001-8c92a55eff7f","MacAddress":"0a-00-00-00-01-57","IPAddress":"10.112.11.3","PrefixLength":24}
DEBU[0218] Network Response : { "ComputedPolicies" : [ { "ACL" : [ { "Type" : "ACL" } ] } ], "CreateProcessingStartTime" : 131969538821415549, "GatewayAddress" : "10.112.11.1", "ID" : "e4cf8481-53e3-4a85-9224-7f0410c58e1a", "IPAddress" : "10.112.11.3", "MacAddress" : "0a-00-00-00-01-57", "Name" : "default_rtx-service-66446bd647-264j7", "Policies" : [ { "Type" : "ACL" } ], "PrefixLength" : 24, "Type" : "transparent", "Version" : 4294967297, "VirtualNetwork" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "VirtualNetworkName" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350" }
INFO[0218] Created HNS endpoint with ID: e4cf8481-53e3-4a85-9224-7f0410c58e1a
INFO[0218] Attaching endpoint e4cf8481-53e3-4a85-9224-7f0410c58e1a to container c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1
DEBU[0218] HCSShim::OpenContainer id=c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1
INFO[0218] Error attaching the endpoint to the container, error: A Compute System with the specified identifier does not exist.
WARN[0218] Failed to hot attach HNS Endpoint "default_rtx-service-66446bd647-264j7" to container "c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1", reason: "A Compute System with the specified identifier does not exist."
INFO[0218] Deleting HNS endpoint: default_rtx-service-66446bd647-264j7
DEBU[0218] [GET]=>[/endpoints/] Request :
DEBU[0218] Network Response : [ { "ComputedPolicies" : [ { "ACL" : [ { "Type" : "ACL" } ] } ], "CreateProcessingStartTime" : 131969538821415549, "GatewayAddress" : "10.112.11.1", "ID" : "e4cf8481-53e3-4a85-9224-7f0410c58e1a", "IPAddress" : "10.112.11.3", "MacAddress" : "0a-00-00-00-01-57", "Name" : "default_rtx-service-66446bd647-264j7", "Policies" : [ { "Type" : "ACL" } ], "PrefixLength" : 24, "Type" : "transparent", "Version" : 4294967297, "VirtualNetwork" : "af38adc6-c105-4b25-8001-8c92a55eff7f", "VirtualNetworkName" : "d33905203ff646733c8288ceafd2f7c3497d2e8823baa883ce0259627af1f350" } ]
INFO[0218] Fetched endpoint: default_rtx-service-66446bd647-264j7
DEBU[0218] HCSShim::HNSEndpoint::Delete id=e4cf8481-53e3-4a85-9224-7f0410c58e1a
DEBU[0218] [DELETE]=>[/endpoints/e4cf8481-53e3-4a85-9224-7f0410c58e1a] Request :
INFO[0218] HNS endpoint successfully deleted: "default_rtx-service-66446bd647-264j7"
ERRO[0218] Failed to configure interface in pod: A Compute System with the specified identifier does not exist.
INFO[0218] Waiting for DEL result for pod default/rtx-service-66446bd647-264j7
INFO[0218] Dispatching pod network request &{DEL default rtx-service-66446bd647-264j7 c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1 none eth0 0xc00037a320 0xc000242180}
INFO[0219] Deleting HNS endpoint: default_rtx-service-66446bd647-264j7
DEBU[0219] [GET]=>[/endpoints/] Request :
DEBU[0219] Network Response : [ ]
INFO[0219] No endpoint with name default_rtx-service-66446bd647-264j7 was found, error Endpoint default_rtx-service-66446bd647-264j7 not found
INFO[0219] Returning pod network request &{DEL default rtx-service-66446bd647-264j7 c9960338cc8ef74a101d3404e823187656ed83c86d78c1239993b631bf21f9f1 none eth0 0xc00037a320 0xc000242180}, result err <nil>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment