Details
-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
-
NDS Sprint 42, NDS Sprint 43
Description
While testing NDS-1118, I added and started a "Docker" application and recieved the following crash/stack trace in the ndslabs-apiserver:
I1213 21:06:05.622900 18 server.go:260] remoteAddr: 172.17.0.1:46418
|
{
|
"kind": "ReplicationController",
|
"apiVersion": "v1",
|
"metadata": {
|
"name": "svw3ql-docker",
|
"creationTimestamp": null,
|
"labels": {
|
"name": "svw3ql-docker",
|
"service": "docker",
|
"stack": "svw3ql"
|
}
|
},
|
"spec": {
|
"replicas": 1,
|
"selector": {
|
"name": "svw3ql-docker"
|
},
|
"template": {
|
"metadata": {
|
"creationTimestamp": null,
|
"labels": {
|
"name": "svw3ql-docker",
|
"service": "docker",
|
"stack": "svw3ql"
|
}
|
},
|
"spec": {
|
"volumes": [
|
{
|
"name": "home",
|
"hostPath": {
|
"path": "/ndslabs/data/volumes/lambert8"
|
}
|
},
|
{
|
"name": "shared",
|
"hostPath": {
|
"path": "/shared"
|
}
|
}
|
],
|
"containers": [
|
{
|
"name": "docker",
|
"image": "ndslabs/dind:latest",
|
"ports": [
|
{
|
"containerPort": 3000
|
}
|
],
|
"env": [
|
{
|
"name": "NDSLABS_HOSTNAME",
|
"value": "svw3ql-docker.local.ndslabs.org"
|
},
|
{
|
"name": "NDSLABS_DOMAIN",
|
"value": "local.ndslabs.org"
|
},
|
{
|
"name": "NDSLABS_EMAIL",
|
"value": "lambert8@illinois.edu"
|
},
|
{
|
"name": "NDSLABS_STACK",
|
"value": "svw3ql"
|
},
|
{
|
"name": "NAMESPACE",
|
"value": "lambert8"
|
},
|
{
|
"name": "NDSLABS_HOME",
|
"value": "/home/lambert8"
|
},
|
{
|
"name": "TERM",
|
"value": "linux"
|
},
|
{
|
"name": "COLUMNS",
|
"value": "100"
|
},
|
{
|
"name": "LINES",
|
"value": "30"
|
},
|
{
|
"name": "NDSLABS_SMTP_HOST",
|
"value": "10.0.0.44"
|
}
|
],
|
"resources": {
|
"limits": {
|
"cpu": "500m",
|
"memory": "512M"
|
},
|
"requests": {
|
"cpu": "100m",
|
"memory": "50M"
|
}
|
},
|
"volumeMounts": [
|
{
|
"name": "home",
|
"mountPath": "/home/lambert8"
|
},
|
{
|
"name": "shared",
|
"mountPath": "/shared"
|
}
|
],
|
"readinessProbe": {
|
"httpGet": {
|
"path": "/",
|
"port": 3000,
|
"scheme": "HTTP"
|
},
|
"initialDelaySeconds": 5,
|
"failureThreshold": 3
|
},
|
"imagePullPolicy": "Always",
|
"securityContext": {
|
"privileged": true
|
}
|
}
|
],
|
"nodeSelector": {
|
"ndslabs-role-compute": "true"
|
},
|
"serviceAccountName": ""
|
}
|
}
|
},
|
"status": {
|
"replicas": 0
|
}
|
}
|
I1213 21:06:10.691477 18 server.go:260] remoteAddr: 172.17.0.1:46480
|
13/Dec/2017:21:05:20 +0000 200 50553442μs "GET /api/start/s1mwng HTTP/1.1" lambert8 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
|
13/Dec/2017:21:06:10 +0000 200 1935003μs "GET /api/stacks HTTP/1.1" lambert8 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
|
panic: runtime error: invalid memory address or nil pointer dereference
|
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x41f797]
|
|
goroutine 1080 [running]:
|
panic(0x103dd00, 0xc420018060)
|
/usr/local/go/src/runtime/panic.go:500 +0x1a1
|
main.(*Server).startController(0xc4200e2790, 0xc4201438d8, 0x8, 0xc4200da900, 0x6, 0xc4204112d0, 0xc420027250, 0x1, 0xc4205e7078, 0x496dad)
|
/go/src/github.com/ndslabs/apiserver/cmd/server/server.go:2045 +0x26f7
|
created by main.(*Server).startStack
|
/go/src/github.com/ndslabs/apiserver/cmd/server/server.go:2232 +0x1344
|
Gliffy Diagrams
Attachments
Issue Links
- is needed for
-
NDS-1071 Reprovisioning the Workbench public beta
-
- Open
-
- is related to
-
NDS-1168 API server stack trace + crash + restart when starting toolmanager
-
- Open
-
-
NDS-1170 GET /api/stacks returning 500 when stopping FileManager
-
- Open
-
- relates to
-
NDS-1125 API server errors and restarts while trying to shutdown inactive service
-
- Open
-
-
NDS-1130 Frequent 500 errors from /accounts/{account-id}
-
- Open
-
-
NDS-998 Intermittent etcd timeouts from apiserver
-
- Resolved
-