acs-engine icon indicating copy to clipboard operation
acs-engine copied to clipboard

NetworkPlugin cni failed to set up pod (invalid memory address or nil pointer dereference)

Open y325A opened this issue 8 years ago • 20 comments

Is this a request for help?: Yes

Is this an ISSUE or FEATURE REQUEST? (choose one): Issue

What version of acs-engine?: acs-engine 0.17.1

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm) Kubernetes 1.10.3 Windows Nodes 1803

What happened: 2 node Windows cluster is unable to schedule pods from a Cron Job on 1 particular node. Pods from deployments schedule on both nodes fine. Events from failed pod below.

Failed create pod sandbox: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod "mypod_development" network: netplugin failed but error parsing its diagnostic message "": unexpected end of JSON input

Pod sandbox changed, it will be killed and re-created.

(combined from similar events): Failed create pod sandbox: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod "mypod_development" network: runtime error: invalid memory address or nil pointer dereference; goroutine 1 [running]: github.com/Azure/azure-container-networking/cni.(*Plugin).Execute.func1(0xc042075ec0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:94 +0xc3 panic(0x6ab420, 0x84f790) /usr/local/go/src/runtime/panic.go:489 +0x2dd github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add.func1(0xc042075910, 0xc042139180, 0xc0420758d0, 0xc0420758f0, 0xc042003de0) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:150 +0xa6 github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add(0xc042003de0, 0xc042139180, 0x829be0, 0xc04200e9c0) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:285 +0x138d github.com/Azure/azure-container-networking/cni.(PluginApi).Add-fm(0xc042139180, 0xc04216c310, 0x5) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x40 github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc042168500, 0xc042139180, 0x82be20, 0xc042166690, 0xc042075e80, 0x0, 0xc04200c1c0) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:168 +0x1a6 github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc042168500, 0xc042075e80, 0xc042075e68, 0x82be20, 0xc042166690, 0xc042075e38) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:199 +0x38b github.com/containernetworking/cni/pkg/skel.PluginMainWithError(0xc042075e80, 0xc042075e68, 0x82be20, 0xc042166690, 0xc042166690) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:236 +0xf4 github.com/Azure/azure-container-networking/cni.(*Plugin).Execute(0xc042004070, 0x82bde0, 0xc042003de0, 0x0, 0x0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x12e main.main() /go/src/github.com/Azure/azure-container-networking/cni/network/plugin/main.go:93 +0x4db

What you expected to happen: Pods scheduled from Cron Jobs to run on all nodes.

How to reproduce it (as minimally and precisely as possible): ACS template:

{
	"apiVersion": "vlabs",
	"properties": {
		"orchestratorProfile": {
			"orchestratorType": "Kubernetes",
			"orchestratorRelease": "1.10"
		},
		"masterProfile": {
			"count": 1,
			"dnsPrefix": "",
			"vmSize": "Standard_B2ms"
		},
		"agentPoolProfiles": [{
			"name": "windowspool",
			"count": 2,
			"vmSize": "Standard_B2ms",
			"availabilityProfile": "AvailabilitySet",
			"osType": "Windows",
			"osDiskSizeGB": 128,
			"storageProfile": "StorageAccount"
		}],
		"windowsProfile": {
			"adminUsername": "",
			"adminPassword": "",
			"windowsPublisher": "MicrosoftWindowsServer",
			"windowsOffer": "WindowsServerSemiAnnual",
			"windowsSku": "Datacenter-Core-1803-with-Containers-smalldisk"
		},
		"linuxProfile": {
			"adminUsername": "",
			"ssh": {
				"publicKeys": [{
					"keyData": ""
				}]
			}
		},
		"servicePrincipalProfile": {
			"clientId": "",
			"secret": ""
		}
	}
}

Cron Job:

{
  "kind": "CronJob",
  "apiVersion": "batch/v1beta1",
  "metadata": {
    "name": "mycronjob",
    "namespace": "development",
    "selfLink": "/apis/batch/v1beta1/namespaces/development/cronjobs/mycronjob",
    "uid": "d63a2216-64ae-11e8-a9e5-000d3a386071",
    "resourceVersion": "597460",
    "creationTimestamp": "2018-05-31T08:44:31Z"
  },
  "spec": {
    "schedule": "22 * * * *",
    "startingDeadlineSeconds": 300,
    "concurrencyPolicy": "Forbid",
    "suspend": false,
    "jobTemplate": {
      "metadata": {
        "creationTimestamp": null
      },
      "spec": {
        "backoffLimit": 0,
        "template": {
          "metadata": {
            "creationTimestamp": null
          },
          "spec": {
            "containers": [
              {
                "name": "...",
                "image": "...",
                "args": [
                  "myargs"
                ],
                "env": [
                  {
                    "name": "ContainerName",
                    "valueFrom": {
                      "fieldRef": {
                        "apiVersion": "v1",
                        "fieldPath": "metadata.name"
                      }
                    }
                  },
                  .. some secrets ..
                ],
                "resources": {
                  "limits": {
                    "cpu": "100m",
                    "memory": "256Mi"
                  },
                  "requests": {
                    "cpu": "100m",
                    "memory": "256Mi"
                  }
                },
                "terminationMessagePath": "/dev/termination-log",
                "terminationMessagePolicy": "File",
                "imagePullPolicy": "IfNotPresent"
              }
            ],
            "restartPolicy": "Never",
            "terminationGracePeriodSeconds": 30,
            "dnsPolicy": "Default",
            "securityContext": {},
            "imagePullSecrets": [
              {
                "name": "containerregistry"
              }
            ],
            "affinity": {
              "nodeAffinity": {
                "requiredDuringSchedulingIgnoredDuringExecution": {
                  "nodeSelectorTerms": [
                    {
                      "matchExpressions": [
                        {
                          "key": "beta.kubernetes.io/os",
                          "operator": "In",
                          "values": [
                            "windows"
                          ]
                        }
                      ]
                    }
                  ]
                }
              }
            },
            "schedulerName": "default-scheduler"
          }
        }
      }
    },
    "successfulJobsHistoryLimit": 0,
    "failedJobsHistoryLimit": 1
  },
  "status": {
    "lastScheduleTime": "2018-06-04T09:22:00Z"
  }
}

y325A avatar Jun 04 '18 09:06 y325A

Issue is now affecting my other node.

y325A avatar Jun 05 '18 15:06 y325A

Getting the same issue Kubernetes 1.10.1, acs-engine 18.1, two windows nodes (1709).

SteveCurran avatar Jun 11 '18 20:06 SteveCurran

Looking into the logs further my issue was caused by IP address exhaustion in the Azure CNI plugin. I have given up on Azure CNI and returned to the kubenet networkPlugin in my cluster definition file.

y325A avatar Jun 14 '18 11:06 y325A

Using 18.5 and still getting same error here is some more information if anyone interested.

2018/06/15 21:00:53 [cni-net] Plugin started. 2018/06/15 21:00:53 [cni-net] Processing ADD command with args {ContainerID:7a894d6ef00392710740166f68ed69650b12b2a0321d23588ee4b479c56c036c Netns:container:a4bcd3f0403d9b4872ddadce6c533e78c723b8dc02f5c963677e81ebe55d660e IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=client3;K8S_POD_NAME=cspworker-7c85ff9584-mqf76;K8S_POD_INFRA_CONTAINER_ID=7a894d6ef00392710740166f68ed69650b12b2a0321d23588ee4b479c56c036c Path:/opt/azure-vnet/bin;c:\k\azurecni\bin}. 2018/06/15 21:00:53 [cni-net] Read network configuration &{CNIVersion:0.3.0 Name:azure Type:azure-vnet Mode:bridge Master: Bridge:azure0 LogLevel: LogTarget: Ipam:{Type:azure-vnet-ipam Environment: AddrSpace: Subnet: Address: QueryInterval:} DNS:{Nameservers:[10.0.0.10 168.63.129.16] Domain: Search:[svc.cluster.local] Options:[]} AdditionalArgs:[{Name:EndpointPolicy Value:[123 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 58 91 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 93 44 34 84 121 112 101 34 58 34 79 117 116 66 111 117 110 100 78 65 84 34 125]} {Name:EndpointPolicy Value:[123 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 58 34 49 48 46 48 46 48 46 48 47 49 54 34 44 34 78 101 101 100 69 110 99 97 112 34 58 116 114 117 101 44 34 84 121 112 101 34 58 34 82 79 85 84 69 34 125]}]}. 2018/06/15 21:00:53 [net] Found existing endpoint through hcsshim: &{Id:578c6b44-707e-487a-bf6d-f4ef21d55ed9 Name:a4bcd3f0-eth0 VirtualNetwork:382a044d-ed85-4afd-8439-05d3b7a6b94a VirtualNetworkName:azure Policies:[[123 32 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 32 58 32 91 32 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 32 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 32 93 44 32 34 84 121 112 101 34 32 58 32 34 79 117 116 66 111 117 110 100 78 65 84 34 32 125] [123 32 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 32 58 32 34 49 48 46 48 46 48 46 48 92 47 49 54 34 44 32 34 78 101 101 100 69 110 99 97 112 34 32 58 32 116 114 117 101 44 32 34 84 121 112 101 34 32 58 32 34 82 79 85 84 69 34 32 125] [123 32 34 84 121 112 101 34 32 58 32 34 76 50 68 114 105 118 101 114 34 32 125]] MacAddress:00-15-5D-DF-3C-CD IPAddress:10.240.0.61 DNSSuffix:kube-system.svc.cluster.local DNSServerList:10.0.0.10,168.63.129.16 GatewayAddress:10.240.0.1 EnableInternalDNS:false DisableICC:false PrefixLength:12 IsRemoteEndpoint:false Namespace:} 2018/06/15 21:00:53 [net] Attaching ep 578c6b44-707e-487a-bf6d-f4ef21d55ed9 to container 7a894d6ef00392710740166f68ed69650b12b2a0321d23588ee4b479c56c036c 2018/06/15 21:00:53 [cni-net] Failed to hot attach shared endpoint to container [578c6b44-707e-487a-bf6d-f4ef21d55ed9], err:A Compute System with the specified identifier does not exist.. 2018/06/15 21:00:53 [cni] Recovered panic: runtime error: invalid memory address or nil pointer dereference goroutine 1 [running]: github.com/Azure/azure-container-networking/cni.(*Plugin).Execute.func1(0xc042085ee0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:70 +0xc3 panic(0x6ae3c0, 0x890b10) /usr/local/go/src/runtime/panic.go:502 +0x237 github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add.func1(0xc0421829a0, 0xc042085880, 0xc042085830, 0xc042085850, 0xc042003820) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:155 +0x86 github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add(0xc042003820, 0xc0421829a0, 0x7426e0, 0xc04224cd08) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:213 +0x20d0 github.com/Azure/azure-container-networking/cni.(PluginApi).Add-fm(0xc0421829a0, 0xc0421ad5d6, 0x5) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:88 +0x40 github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc042192a80, 0xc0421829a0, 0x743080, 0xc04214ca50, 0xc042085e70, 0x0, 0x2) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:175 +0x18e github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc042192a80, 0xc042085e70, 0xc042085e88, 0xc042085ea0, 0x743080, 0xc04214ca50, 0x73f8f8, 0x6, 0xc04214ca50) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:210 +0x2e9 github.com/containernetworking/cni/pkg/skel.PluginMainWithError(0xc042085e70, 0xc042085e88, 0xc042085ea0, 0x743080, 0xc04214ca50, 0x73f8f8, 0x6, 0x707d57) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:275 +0x117 github.com/Azure/azure-container-networking/cni.(*Plugin).Execute(0xc042003800, 0x744200, 0xc042003820, 0x0, 0x0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:88 +0x15e main.main() /go/src/github.com/Azure/azure-container-networking/cni/network/plugin/main.go:108 +0x35e

2018/06/15 21:00:53 Failed to execute network plugin, err:runtime error: invalid memory address or nil pointer dereference; goroutine 1 [running]: github.com/Azure/azure-container-networking/cni.(*Plugin).Execute.func1(0xc042085ee0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:70 +0xc3 panic(0x6ae3c0, 0x890b10) /usr/local/go/src/runtime/panic.go:502 +0x237 github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add.func1(0xc0421829a0, 0xc042085880, 0xc042085830, 0xc042085850, 0xc042003820) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:155 +0x86 github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add(0xc042003820, 0xc0421829a0, 0x7426e0, 0xc04224cd08) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:213 +0x20d0 github.com/Azure/azure-container-networking/cni.(PluginApi).Add-fm(0xc0421829a0, 0xc0421ad5d6, 0x5) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:88 +0x40 github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc042192a80, 0xc0421829a0, 0x743080, 0xc04214ca50, 0xc042085e70, 0x0, 0x2) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:175 +0x18e github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc042192a80, 0xc042085e70, 0xc042085e88, 0xc042085ea0, 0x743080, 0xc04214ca50, 0x73f8f8, 0x6, 0xc04214ca50) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:210 +0x2e9 github.com/containernetworking/cni/pkg/skel.PluginMainWithError(0xc042085e70, 0xc042085e88, 0xc042085ea0, 0x743080, 0xc04214ca50, 0x73f8f8, 0x6, 0x707d57) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:275 +0x117 github.com/Azure/azure-container-networking/cni.(*Plugin).Execute(0xc042003800, 0x744200, 0xc042003820, 0x0, 0x0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:88 +0x15e main.main() /go/src/github.com/Azure/azure-container-networking/cni/network/plugin/main.go:108 +0x35e . 2018/06/15 21:00:53 Report plugin error 2018/06/15 21:00:56 SendReport failed due to [Azure CNI] HTTP Post returned statuscode 500 2018/06/15 21:00:56 [cni-net] Plugin stopped. 2018/06/15 21:00:56 [cni-net] Plugin azure-vnet version v1.0.6.

SteveCurran avatar Jun 15 '18 21:06 SteveCurran

Here is the problem

Found existing endpoint through hcsshim: &{Id:578c6b44-707e-487a-bf6d-f4ef21d55ed9 Name:a4bcd3f0-eth0 VirtualNetwork:382a044d-ed85-4afd-8439-05d3b7a6b94a

2018/06/15 21:00:53 [net] Attaching ep 578c6b44-707e-487a-bf6d-f4ef21d55ed9 to container 7a894d6ef00392710740166f68ed69650b12b2a0321d23588ee4b479c56c036c 2018/06/15 21:00:53 [cni-net] Failed to hot attach shared endpoint to container [578c6b44-707e-487a-bf6d-f4ef21d55ed9], err:A Compute System with the specified identifier does not exist..

@dineshgovindasamy / @madhanrm Can you please take a look?

sharmasushant avatar Jun 15 '18 22:06 sharmasushant

@sharmasushant This means the container doesn't exist. Can you look into why the request is coming to cni to hot add a nic to a non-existing container

madhanrm avatar Jun 15 '18 22:06 madhanrm

Additional error information happening today:

2018/06/18 17:00:01 [cni-net] Plugin started. 2018/06/18 17:00:01 [cni-net] Processing ADD command with args {ContainerID:807ca3603191a1609d11bda9d99576270c45fa54d43a843bcb863c5f4be78927 Netns:container:8f95699121ca3d18a053cc3c35bc684e3e049bca42063e58a9aa66641f823971 IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=client3;K8S_POD_NAME=cspapps-7d46d8d5b6-lrhmg;K8S_POD_INFRA_CONTAINER_ID=807ca3603191a1609d11bda9d99576270c45fa54d43a843bcb863c5f4be78927 Path:/opt/azure-vnet/bin;c:\k\azurecni\bin}. 2018/06/18 17:00:01 [cni-net] Read network configuration &{CNIVersion:0.3.0 Name:azure Type:azure-vnet Mode:bridge Master: Bridge:azure0 LogLevel: LogTarget: Ipam:{Type:azure-vnet-ipam Environment: AddrSpace: Subnet: Address: QueryInterval:} DNS:{Nameservers:[10.0.0.10 168.63.129.16] Domain: Search:[svc.cluster.local] Options:[]} AdditionalArgs:[{Name:EndpointPolicy Value:[123 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 58 91 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 93 44 34 84 121 112 101 34 58 34 79 117 116 66 111 117 110 100 78 65 84 34 125]} {Name:EndpointPolicy Value:[123 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 58 34 49 48 46 48 46 48 46 48 47 49 54 34 44 34 78 101 101 100 69 110 99 97 112 34 58 116 114 117 101 44 34 84 121 112 101 34 58 34 82 79 85 84 69 34 125]}]}. 2018/06/18 17:00:01 [cni-net] Found network azure with subnet 10.240.0.0/12. 2018/06/18 17:00:01 [cni] Calling plugin azure-vnet-ipam ADD nwCfg:&{CNIVersion:0.3.0 Name:azure Type:azure-vnet Mode:bridge Master: Bridge:azure0 LogLevel: LogTarget: Ipam:{Type:azure-vnet-ipam Environment: AddrSpace: Subnet:10.240.0.0/12 Address: QueryInterval:} DNS:{Nameservers:[10.0.0.10 168.63.129.16] Domain: Search:[svc.cluster.local] Options:[]} AdditionalArgs:[{Name:EndpointPolicy Value:[123 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 58 91 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 93 44 34 84 121 112 101 34 58 34 79 117 116 66 111 117 110 100 78 65 84 34 125]} {Name:EndpointPolicy Value:[123 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 58 34 49 48 46 48 46 48 46 48 47 49 54 34 44 34 78 101 101 100 69 110 99 97 112 34 58 116 114 117 101 44 34 84 121 112 101 34 58 34 82 79 85 84 69 34 125]}]}. 2018/06/18 17:00:01 [cni] Plugin azure-vnet-ipam returned result:IP:[{Version:4 Interface: Address:{IP:10.240.0.6 Mask:fff00000} Gateway:10.240.0.1}], Routes:[{Dst:{IP:0.0.0.0 Mask:00000000} GW:10.240.0.1}], DNS:{Nameservers:[168.63.129.16] Domain: Search:[] Options:[]}, err:. 2018/06/18 17:00:01 [cni-net] Creating endpoint 8f956991-eth0. 2018/06/18 17:00:01 [net] Creating endpoint &{Id:8f956991-eth0 ContainerID:807ca3603191a1609d11bda9d99576270c45fa54d43a843bcb863c5f4be78927 NetNsPath:container:8f95699121ca3d18a053cc3c35bc684e3e049bca42063e58a9aa66641f823971 IfName:eth0 SandboxKey: IfIndex:0 MacAddress: DNS:{Suffix:client3.svc.cluster.local Servers:[10.0.0.10 168.63.129.16]} IPAddresses:[{IP:10.240.0.6 Mask:fff00000}] Routes:[{Dst:{IP:0.0.0.0 Mask:00000000} Gw:10.240.0.1}] Policies:[{Type:EndpointPolicy Data:[123 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 58 91 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 93 44 34 84 121 112 101 34 58 34 79 117 116 66 111 117 110 100 78 65 84 34 125]} {Type:EndpointPolicy Data:[123 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 58 34 49 48 46 48 46 48 46 48 47 49 54 34 44 34 78 101 101 100 69 110 99 97 112 34 58 116 114 117 101 44 34 84 121 112 101 34 58 34 82 79 85 84 69 34 125]}] Gateways:[] Data:map[vethname:client3.cspapps-7d46d8d5b6-lrhmg]} in network azure. 2018/06/18 17:00:01 [net] HNSEndpointRequest POST request:{"Name":"8f956991-eth0","VirtualNetwork":"656fc1ec-04fa-4406-9beb-727450bf6754","Policies":[{"ExceptionList":["10.240.0.0/12","10.240.0.0/12"],"Type":"OutBoundNAT"},{"DestinationPrefix":"10.0.0.0/16","NeedEncap":true,"Type":"ROUTE"}],"IPAddress":"10.240.0.6","DNSSuffix":"client3.svc.cluster.local","DNSServerList":"10.0.0.10,168.63.129.16","PrefixLength":12} 2018/06/18 17:00:01 [net] HNSEndpointRequest POST response:&{Id:8d16d1a5-7765-47ca-8f41-238b0c302306 Name:8f956991-eth0 VirtualNetwork:656fc1ec-04fa-4406-9beb-727450bf6754 VirtualNetworkName:azure Policies:[[123 32 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 32 58 32 91 32 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 32 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 32 93 44 32 34 84 121 112 101 34 32 58 32 34 79 117 116 66 111 117 110 100 78 65 84 34 32 125] [123 32 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 32 58 32 34 49 48 46 48 46 48 46 48 92 47 49 54 34 44 32 34 78 101 101 100 69 110 99 97 112 34 32 58 32 116 114 117 101 44 32 34 84 121 112 101 34 32 58 32 34 82 79 85 84 69 34 32 125] [123 32 34 84 121 112 101 34 32 58 32 34 76 50 68 114 105 118 101 114 34 32 125]] MacAddress:00-15-5D-9F-A2-14 IPAddress:10.240.0.6 DNSSuffix:kube-system.svc.cluster.local DNSServerList:10.0.0.10,168.63.129.16 GatewayAddress:10.240.0.1 EnableInternalDNS:false DisableICC:false PrefixLength:12 IsRemoteEndpoint:false Namespace:} err:. 2018/06/18 17:00:01 [net] Attaching endpoint 8d16d1a5-7765-47ca-8f41-238b0c302306 to container 807ca3603191a1609d11bda9d99576270c45fa54d43a843bcb863c5f4be78927. 2018/06/18 17:00:01 [net] Failed to attach endpoint: A Compute System with the specified identifier does not exist.. 2018/06/18 17:00:01 [net] Created endpoint &{Id:8f956991-eth0 HnsId:8d16d1a5-7765-47ca-8f41-238b0c302306 SandboxKey:807ca3603191a1609d11bda9d99576270c45fa54d43a843bcb863c5f4be78927 IfName:eth0 HostIfName: MacAddress:00:15:5d:9f:a2:14 IPAddresses:[{IP:10.240.0.6 Mask:fff00000}] Gateways:[10.240.0.1] DNS:{Suffix:client3.svc.cluster.local Servers:[10.0.0.10 168.63.129.16]} Routes:[{Dst:{IP:0.0.0.0 Mask:00000000} Gw:10.240.0.1}]}. 2018/06/18 17:00:01 [net] Save succeeded. 2018/06/18 17:00:01 [cni-net] ADD command completed with result:Interfaces:[{Name:eth0 Mac: Sandbox:}], IP:[{Version:4 Interface: Address:{IP:10.240.0.6 Mask:fff00000} Gateway:10.240.0.1}], Routes:[{Dst:{IP:0.0.0.0 Mask:00000000} GW:10.240.0.1}], DNS:{Nameservers:[168.63.129.16] Domain: Search:[] Options:[]} err:. 2018/06/18 17:00:01 [cni-net] Plugin stopped. 2018/06/18 17:00:03 SendReport failed due to [Azure CNI] HTTP Post returned statuscode 500

SteveCurran avatar Jun 18 '18 17:06 SteveCurran

@madhanrm Looks like the same issue. Where should we look on why k8s is calling CNI for non-existing container. Any logs you need?

HNSEndpointRequest POST response:&{Id:8d16d1a5-7765-47ca-8f41-238b0c302306 Name:8f956991-eth0 VirtualNetwork:656fc1ec-04fa-4406-9beb-727450bf6754 VirtualNetworkName:azure Policies:[[123 32 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 32 58 32 91 32 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 32 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 32 93 44 32 34 84 121 112 101 34 32 58 32 34 79 117 116 66 111 117 110 100 78 65 84 34 32 125] [123 32 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 32 58 32 34 49 48 46 48 46 48 46 48 92 47 49 54 34 44 32 34 78 101 101 100 69 110 99 97 112 34 32 58 32 116 114 117 101 44 32 34 84 121 112 101 34 32 58 32 34 82 79 85 84 69 34 32 125] [123 32 34 84 121 112 101 34 32 58 32 34 76 50 68 114 105 118 101 114 34 32 125]] MacAddress:00-15-5D-9F-A2-14 IPAddress:10.240.0.6 DNSSuffix:kube-system.svc.cluster.local DNSServerList:10.0.0.10,168.63.129.16 GatewayAddress:10.240.0.1 EnableInternalDNS:false DisableICC:false PrefixLength:12 IsRemoteEndpoint:false Namespace:} err:. 2018/06/18 17:00:01 [net] Attaching endpoint 8d16d1a5-7765-47ca-8f41-238b0c302306 to container 807ca3603191a1609d11bda9d99576270c45fa54d43a843bcb863c5f4be78927. 2018/06/18 17:00:01 [net] Failed to attach endpoint: A Compute System with the specified identifier does not exist..

sharmasushant avatar Jun 18 '18 18:06 sharmasushant

We are also seeing this on Ubuntu 16.04 nodes with kubernetes 1.10, acs-engine v0.18.3

lzdhf_default" network: netplugin failed but error parsing its diagnostic message "": unexpected end of JSON input
  Normal   SandboxChanged          6m (x12 over 7m)  kubelet, k8s-cpuworkers-95713283-vmss000001  Pod sandbox changed, it will be killed and re-created.
  Warning  FailedCreatePodSandBox  2m (x44 over 6m)  kubelet, k8s-cpuworkers-95713283-vmss000001  (combined from similar events): Failed create pod sandbox: rpc error: code = Unknown desc = NetworkPlugin cni failed to set up pod "mission-c
ardiologs-worker-cpu-848dc5fbd5-lzdhf_default" network: runtime error: invalid memory address or nil pointer dereference; goroutine 1 [running]:
github.com/Azure/azure-container-networking/cni.(*Plugin).Execute.func1(0xc4201dfec0)
  /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:94 +0xbc
panic(0x69b3c0, 0x83ed90)
  /usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add.func1(0xc4201df910, 0xc42006a8c0, 0xc4201df8d0, 0xc4201df8f0, 0xc4201c1da0)
  /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:150 +0x9f
github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add(0xc4201c1da0, 0xc42006a8c0, 0x818c20, 0xc4202ba150)
  /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:285 +0x13b7
github.com/Azure/azure-container-networking/cni.(PluginApi).Add-fm(0xc42006a8c0, 0xc42028f7c6, 0x5)
  /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x39
github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc420298040, 0xc42006a8c0, 0x81b220, 0xc420261350, 0xc4201dfe80, 0x0, 0xc42001c080)
  /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:168 +0x19f
github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc420298040, 0xc4201dfe80, 0xc4201dfe68, 0x81b220, 0xc420261350, 0xc4201dfe38)
  /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:199 +0x384
github.com/containernetworking/cni/pkg/skel.PluginMainWithError(0xc4201dfe80, 0xc4201dfe68, 0x81b220, 0xc420261350, 0xc420261350)
  /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:236 +0xed
github.com/Azure/azure-container-networking/cni.(*Plugin).Execute(0xc4201ce028, 0x81b0e0, 0xc4201c1da0, 0x0, 0x0)
  /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x127
main.main()
  /go/src/github.com/Azure/azure-container-networking/cni/network/plugin/main.go:93 +0x4d4

No more pods can be created.

msornay avatar Jun 19 '18 09:06 msornay

@msornay your issue seems to be different. Can you please share files from /var/log/azure*

Cc @tamilmani1989

sharmasushant avatar Jun 19 '18 10:06 sharmasushant

@sharmasushant ADD/DEL can happen in non-existing containers, esp when containers are not stable. We should handle this and return error.

madhanrm avatar Jun 20 '18 01:06 madhanrm

This is definitely an azure plugin IP exhaustion issue. I am receiving an the same error "invalid memory address". I made 10 deployments, each deployment created a new public IP address and was assigned to the windowspool availability set. On the 10th deployment I started receiving this error. The azure load balancer has its IP limit set to 50 so it is not that. The cluster will no longer deploy any pods after this and has to be rebuilt. Each deployment creates 6 pods.

SteveCurran avatar Jun 26 '18 18:06 SteveCurran

@SteveCurran, We have made changes in the CNI plugin to not cause null ref. However, the create container will still fail.

In your exception stack above, we did get the ipaddress: Plugin azure-vnet-ipam returned result:IP:[{Version:4 Interface: Address:{IP:10.240.0.6 Mask:fff00000} Gateway:10.240.0.1}], Routes:[{Dst:{IP:0.0.0.0 Mask:00000000} GW:10.240.0.1}], DNS:{Nameservers:[168.63.129.16]

The number of POds will be limited to what you specify as pod count in your cluster config. By default, it is 30 PODs. You can specify larger value in your cluster config, or you can add more secondary IP addresses to the Interface in case you want to add more once cluster is created.

sharmasushant avatar Jun 26 '18 21:06 sharmasushant

@sharmasushant that is 30 per node correct, not cluster based on this change #1102. Is this configurable from the api model?

SteveCurran avatar Jun 26 '18 21:06 SteveCurran

@SteveCurran https://github.com/Azure/acs-engine/blob/master/docs/kubernetes/features.md

You need top specify ipAddressCount and --max-pods

ACS Engine supports deploying into an existing VNET. Operators must specify the ARM path/id of Subnets for the masterProfile and any agentPoolProfiles, as well as the first IP address to use for static IP allocation in firstConsecutiveStaticIP. Please note that in any azure subnet, the first four and the last ip address is reserved and can not be used. Additionally, each pod now gets the IP address from the Subnet. As a result, enough IP addresses (equal to ipAddressCount for each node) should be available beyond firstConsecutiveStaticIP. By default, the ipAddressCount has a value of 31, 1 for the node and 30 for pods, (note that the number of pods can be changed via KubeletConfig["--max-pods"]). ipAddressCount can be changed if desired

When using Azure integrated networking the maxPods setting will be set to 30 by default. This number can be changed keeping in mind that there is a limit of 4,000 IPs per vnet. "kubernetesConfig": { "kubeletConfig": { "--max-pods": "50" } }

sharmasushant avatar Jun 26 '18 22:06 sharmasushant

@sharmasushant Changing --max-pods: 50 makes no difference. Still receiving the above error after reaching 30 pod limit on node. I gradually increase in increments of 5 pods and as soon I as the cluster nears 29-30 pods on any node this error reproduces. There is no disk or memory pressure on any of the nodes. Once this occurs I can no longer deploy anymore pods, not even if I shut down pods and get below the 30 pod limit. It appears a service is in a permanent faulted state at this point. Below is my api model: { "apiVersion": "vlabs", "properties": { "orchestratorProfile": { "orchestratorType": "Kubernetes", "orchestratorVersion": "1.10.1", "kubernetesConfig": { "kubeletConfig": { "--max-pods": "50" } } }, "masterProfile": { "count": 1, "dnsPrefix": "", "vmSize": "Standard_D2_v2", "OSDiskSizeGB": 200 }, "agentPoolProfiles": [ { "name": "windowspool2", "count": 3, "vmSize": "Standard_D13_v2", "availabilityProfile": "AvailabilitySet", "osType": "Windows", "OSDiskSizeGB": 200 } ], "windowsProfile": { "adminUsername": "testkube", "adminPassword": "***********", "windowsPublisher": "MicrosoftWindowsServer", "windowsOffer": "WindowsServerSemiAnnual", "windowsSku": "Datacenter-Core-1709-with-Containers-smalldisk" }, "linuxProfile": { "adminUsername": "azureuser", "ssh": { "publicKeys": [ { "keyData": "" } ] } }, "servicePrincipalProfile": { "clientId": "", "secret": "" } } }

SteveCurran avatar Jul 02 '18 19:07 SteveCurran

@SteveCurran Please share the following log files from windows agent node where you see the issue : C:\K\azure-vnet*

And the output of below command from the same agent node

curl "http://169.254.169.254/machine/plugins?comp=nmagent&type=getinterfaceinfov1"

sharmasushant avatar Jul 02 '18 19:07 sharmasushant

@sharmasushant It looks like the subnet is running out of addresses. There are 50 ipaddresses allocated for each node on the subnet. Here is the output from azure-vnet.log. Plugin stops and restarts over and over. 2018/07/02 20:37:41 [cni-net] Plugin stopped. 2018/07/02 20:37:46 [cni-net] Plugin azure-vnet version v1.0.4-1-gf0f090e. 2018/07/02 20:37:46 [cni-net] Running on windows 2018/07/02 20:37:46 [net] Network interface: {Index:13 MTU:1500 Name:vEthernet (Ethernet 3) HardwareAddr:00:0d:3a:93:6f:23 Flags:up|broadcast|multicast} with IP addresses: [fe80::1d4b:9d9e:8a16:ff34/64 10.240.0.4/12] 2018/07/02 20:37:46 [net] Network interface: {Index:1 MTU:-1 Name:Loopback Pseudo-Interface 1 HardwareAddr: Flags:up|loopback|multicast} with IP addresses: [::1/128 127.0.0.1/8] 2018/07/02 20:37:46 [net] Network interface: {Index:6 MTU:1500 Name:vEthernet (nat) HardwareAddr:00:15:5d:3d:5b:5c Flags:up|broadcast|multicast} with IP addresses: [fe80::4c1b:3de4:49d6:b15/64 172.18.32.1/20] 2018/07/02 20:37:46 [net] Store timestamp is 2018-07-02 18:32:28.7778667 +0000 GMT. 2018/07/02 20:37:46 [net] Restored state, &{Version:v1.0.4-1-gf0f090e TimeStamp:2018-07-02 18:32:28.772823 +0000 UTC ExternalInterfaces:map[Ethernet 3:0xc04213efc0] store:0xc0420e6a80 Mutex:{state:0 sema:0}} 2018/07/02 20:37:46 [cni-net] Plugin started. 2018/07/02 20:37:46 [cni-net] Processing ADD command with args {ContainerID:916941a11dfd102807a5f13f3d26971de6679ad7a9982157501d0c7d2b2d4819 Netns:none IfName:eth0 Args:IgnoreUnknown=1;K8S_POD_NAMESPACE=client1;K8S_POD_NAME=cspcore-85f445788b-vglpz;K8S_POD_INFRA_CONTAINER_ID=916941a11dfd102807a5f13f3d26971de6679ad7a9982157501d0c7d2b2d4819 Path:/opt/azure-vnet/bin;c:\k\azurecni\bin}. 2018/07/02 20:37:46 [cni-net] Read network configuration &{CNIVersion:0.3.0 Name:azure Type:azure-vnet Mode:bridge Master: Bridge:azure0 LogLevel: LogTarget: Ipam:{Type:azure-vnet-ipam Environment: AddrSpace: Subnet: Address: QueryInterval:} DNS:{Nameservers:[10.0.0.10 10.0.0.10] Domain: Search:[svc.cluster.local] Options:[]} AdditionalArgs:[{Name:EndpointPolicy Value:[123 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 58 91 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 93 44 34 84 121 112 101 34 58 34 79 117 116 66 111 117 110 100 78 65 84 34 125]} {Name:EndpointPolicy Value:[123 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 58 34 49 48 46 48 46 48 46 48 47 49 54 34 44 34 78 101 101 100 69 110 99 97 112 34 58 116 114 117 101 44 34 84 121 112 101 34 58 34 82 79 85 84 69 34 125]}]}. 2018/07/02 20:37:46 [cni-net] Found network azure with subnet 10.240.0.0/12. 2018/07/02 20:37:46 [cni] Calling plugin azure-vnet-ipam ADD nwCfg:&{CNIVersion:0.3.0 Name:azure Type:azure-vnet Mode:bridge Master: Bridge:azure0 LogLevel: LogTarget: Ipam:{Type:azure-vnet-ipam Environment: AddrSpace: Subnet:10.240.0.0/12 Address: QueryInterval:} DNS:{Nameservers:[10.0.0.10 10.0.0.10] Domain: Search:[svc.cluster.local] Options:[]} AdditionalArgs:[{Name:EndpointPolicy Value:[123 34 69 120 99 101 112 116 105 111 110 76 105 115 116 34 58 91 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 44 34 49 48 46 50 52 48 46 48 46 48 47 49 50 34 93 44 34 84 121 112 101 34 58 34 79 117 116 66 111 117 110 100 78 65 84 34 125]} {Name:EndpointPolicy Value:[123 34 68 101 115 116 105 110 97 116 105 111 110 80 114 101 102 105 120 34 58 34 49 48 46 48 46 48 46 48 47 49 54 34 44 34 78 101 101 100 69 110 99 97 112 34 58 116 114 117 101 44 34 84 121 112 101 34 58 34 82 79 85 84 69 34 125]}]}. 2018/07/02 20:37:46 [cni] Plugin azure-vnet-ipam returned result:, err:Failed to allocate address: No available addresses. 2018/07/02 20:37:46 [azure-vnet] Failed to allocate address: Failed to delegate: Failed to allocate address: No available addresses. 2018/07/02 20:37:46 [cni] Recovered panic: runtime error: invalid memory address or nil pointer dereference goroutine 1 [running]: github.com/Azure/azure-container-networking/cni.(*Plugin).Execute.func1(0xc042081ec0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:94 +0xc3 panic(0x6ab420, 0x84f790) /usr/local/go/src/runtime/panic.go:489 +0x2dd github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add.func1(0xc042081910, 0xc0421533b0, 0xc0420818d0, 0xc0420818f0, 0xc042139840) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:150 +0xa6 github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add(0xc042139840, 0xc0421533b0, 0x829be0, 0xc042189dd0) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:285 +0x138d github.com/Azure/azure-container-networking/cni.(PluginApi).Add-fm(0xc0421533b0, 0xc04218e2c0, 0x5) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x40 github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc042194000, 0xc0421533b0, 0x82be20, 0xc042188ae0, 0xc042081e80, 0x0, 0xc042102000) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:168 +0x1a6 github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc042194000, 0xc042081e80, 0xc042081e68, 0x82be20, 0xc042188ae0, 0xc042081e38) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:199 +0x38b github.com/containernetworking/cni/pkg/skel.PluginMainWithError(0xc042081e80, 0xc042081e68, 0x82be20, 0xc042188ae0, 0xc042188ae0) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:236 +0xf4 github.com/Azure/azure-container-networking/cni.(*Plugin).Execute(0xc04205a0a0, 0x82bde0, 0xc042139840, 0x0, 0x0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x12e main.main() /go/src/github.com/Azure/azure-container-networking/cni/network/plugin/main.go:93 +0x4db

2018/07/02 20:37:46 Failed to execute network plugin, err:runtime error: invalid memory address or nil pointer dereference; goroutine 1 [running]: github.com/Azure/azure-container-networking/cni.(*Plugin).Execute.func1(0xc042081ec0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:94 +0xc3 panic(0x6ab420, 0x84f790) /usr/local/go/src/runtime/panic.go:489 +0x2dd github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add.func1(0xc042081910, 0xc0421533b0, 0xc0420818d0, 0xc0420818f0, 0xc042139840) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:150 +0xa6 github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add(0xc042139840, 0xc0421533b0, 0x829be0, 0xc042189dd0) /go/src/github.com/Azure/azure-container-networking/cni/network/network.go:285 +0x138d github.com/Azure/azure-container-networking/cni.(PluginApi).Add-fm(0xc0421533b0, 0xc04218e2c0, 0x5) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x40 github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc042194000, 0xc0421533b0, 0x82be20, 0xc042188ae0, 0xc042081e80, 0x0, 0xc042102000) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:168 +0x1a6 github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc042194000, 0xc042081e80, 0xc042081e68, 0x82be20, 0xc042188ae0, 0xc042081e38) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:199 +0x38b github.com/containernetworking/cni/pkg/skel.PluginMainWithError(0xc042081e80, 0xc042081e68, 0x82be20, 0xc042188ae0, 0xc042188ae0) /go/src/github.com/containernetworking/cni/pkg/skel/skel.go:236 +0xf4 github.com/Azure/azure-container-networking/cni.(*Plugin).Execute(0xc04205a0a0, 0x82bde0, 0xc042139840, 0x0, 0x0) /go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x12e main.main() /go/src/github.com/Azure/azure-container-networking/cni/network/plugin/main.go:93 +0x4db . 2018/07/02 20:37:46 Report plugin error 2018/07/02 20:37:48 SendReport failed due to [Azure CNI] HTTP Post returned statuscode 500 2018/07/02 20:37:48 [cni-net] Plugin stopped.

Here is the output from the curl command: StatusCode : 200 StatusDescription : OK Content : ... RawContent : HTTP/1.1 200 OK Content-Length: 2780 Content-Type: text/xml; charset=utf-8 Date: Mon, 02 Jul 2018 20:46:42 GMT Server: Microsoft-IIS/10.0

                <Interfaces><Interface MacAddress="000D3A936F23" IsPrimary="true"><IPSubnet Prefix="10.240.0.0/12"><IPAddress Address="10.240.0.4" IsPrimary="true"/><IPAddress Address="10.240.0.5" IsPrimary="false"/>..

Forms : Headers : {[Content-Length, 2780], [Content-Type, text/xml; charset=utf-8], [Date, Mon, 02 Jul 2018 20:46:42 GMT], [Server, Microsoft-IIS/10.0]} Images : {}

SteveCurran avatar Jul 02 '18 20:07 SteveCurran

Ok, the reason were not getting any ip addresses is because the node cannot connect to the dns server 10.0.0.10. Everything runs, I get up to 40 or so pods on the node and all internal dns connectivity is gone. Azure-cni plugin queries the dns server for an ip address and gets a null response. I cannot connect via wget to the dns server from the node either. I tried wget to the individual pod ip addresses for the dns with no luck either. I can wget externally to bing.com. So go ahead and handle the error but this won't fix the underlying old DNS connectivity issue we have been having for the last 6 months. I can drain the nodes and add new ones start deploying and wait for the dns issue to happen again, over and over.

SteveCurran avatar Jul 06 '18 14:07 SteveCurran

This fix is available in ACS-Engine now: https://github.com/Azure/acs-engine/releases/tag/v0.20.9

If you hit a problem on the new version - can you open a new issue with logs?

Thanks!

PatrickLang avatar Aug 14 '18 01:08 PatrickLang