rancher/server:stable 启动失败 fatal error: concurrent map iteration and map write
sudo docker run -d --restart=unless-stopped -p 8080:8080 rancher/server:stable
time="2018-01-20T07:04:47Z" level=info msg="Stack Create Event Received" eventId=632e1fcd-bb8c-402c-bb22-5ac0b8cfbb65 resourceId=1st3
time="2018-01-20T07:04:47Z" level=info msg="Stack Create Event Received" eventId=ddbe572e-2a48-472f-953b-8e6827ffb7f8 resourceId=1st1
time="2018-01-20T07:04:47Z" level=info msg="Creating schema machine, roles " id=1ds29 service=gms
fatal error: concurrent map iteration and map write
goroutine 52 :
runtime.throw(0xa72b5f, 0x26)
/usr/local/go/src/runtime/panic.go:596 +0x95 fp=0xc420f0eca8 sp=0xc420f0ec88
runtime.mapiternext(0xc420f0ee58)
/usr/local/go/src/runtime/hashmap.go:737 +0x7ee fp=0xc420f0ed58 sp=0xc420f0eca8
text/template.addValueFuncs(0xc4207ab3e0, 0xc4200179b0)
/usr/local/go/src/text/template/funcs.go:66 +0x1e3 fp=0xc420f0eec8 sp=0xc420f0ed58
text/template.(*Template).Funcs(0xc420be7500, 0xc4200179b0, 0x0)
/usr/local/go/src/text/template/template.go:170 +0x9f fp=0xc420f0ef08 sp=0xc420f0eec8
github.com/rancher/rancher-compose-executor/template.Apply(0xc4205fcc00, 0xa8e, 0xc00, 0xc4203db7f0, 0x5, 0x0, 0x0, 0xc4203f4c30, 0x5, 0xc420b65520, ...)
/go/src/github.com/rancher/rancher-compose-executor/template/template.go:32 +0x1e2 fp=0xc420f0f0c0 sp=0xc420f0ef08
github.com/rancher/rancher-compose-executor/config.Merge(0xc42012fee0, 0xd36420, 0xc42000c0f8, 0xd363e0, 0xd8d8a8, 0xc4203db7f0, 0x5, 0x0, 0x0, 0xc4203f4c30, ...)
/go/src/github.com/rancher/rancher-compose-executor/config/merge.go:111 +0xce fp=0xc420f0f3d8 sp=0xc420f0f0c0
github.com/rancher/rancher-compose-executor/project.(*Project).load(0xc4201d42d0, 0x0, 0x0, 0xc4205fcc00, 0xa8e, 0xc00, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/project/project.go:164 +0x16e fp=0xc420f0f848 sp=0xc420f0f3d8
github.com/rancher/rancher-compose-executor/project.(*Project).Parse(0xc4201d42d0, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/project/project.go:93 +0x13a fp=0xc420f0f8c0 sp=0xc420f0f848
github.com/rancher/rancher-compose-executor/rancher.NewProject(0xc4201e2540, 0xc4201e2540, 0xc420591a48, 0x2)
/go/src/github.com/rancher/rancher-compose-executor/rancher/project.go:44 +0x3c1 fp=0xc420f0f968 sp=0xc420f0f8c0
github.com/rancher/rancher-compose-executor/executor/handlers.constructProject(0xc42035c840, 0xc42041c1c0, 0xc420205fa0, 0x1d, 0xc420016012, 0x14, 0xc420018092, 0x28, 0xc4204a6880, 0xc420552000, ...)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/project.go:91 +0x4d2 fp=0xc420f0fc08 sp=0xc420f0f968
github.com/rancher/rancher-compose-executor/executor/handlers.createStack(0xc42035c840, 0xc4204a2750, 0xc420320000, 0x1, 0xc4204b7050)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/create_handler.go:46 +0x166 fp=0xc420f0fca0 sp=0xc420f0fc08
github.com/rancher/rancher-compose-executor/executor/handlers.CreateStack(0xc4204a2750, 0xc420320000, 0xc42034dd60, 0xc42034dde8)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/create_handler.go:22 +0x269 fp=0xc420f0fd70 sp=0xc420f0fca0
github.com/rancher/rancher-compose-executor/executor/handlers.WithTimeout.func1(0xc4204a2750, 0xc420320000, 0xc4204b6cc0, 0x2d)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/common.go:54 +0x46 fp=0xc420f0fdf8 sp=0xc420f0fd70
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.doWork(0xc4204a2750, 0xc420386e10, 0xc420320000, 0xd33560, 0xc42037f910)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:94 +0x28d fp=0xc420f0ff80 sp=0xc420f0fdf8
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*skippingWorkerPool).HandleWork.func1(0xc42030a640, 0x5, 0xc4204a2750, 0xc420386e10, 0xc420320000)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:47 +0x9e fp=0xc420f0ffb8 sp=0xc420f0ff80
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420f0ffc0 sp=0xc420f0ffb8
created by github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*skippingWorkerPool).HandleWork
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:48 +0x18d
goroutine 1 :
net.runtime_pollWait(0x7fef5ca78010, 0x72, 0x3)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4200f64c8, 0x72, 0xd355a0, 0xd312b8)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4200f64c8, 0xc420509000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4200f6460, 0xc420509000, 0x1000, 0x1000, 0x0, 0xd355a0, 0xd312b8)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc42000c0a0, 0xc420509000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
bufio.(*Reader).Read(0xc42034ec60, 0xc42037f7d0, 0x2, 0x8, 0xc42052b910, 0x40f4a8, 0x10)
/usr/local/go/src/bufio/bufio.go:213 +0x312
github.com/rancher/rancher-compose-executor/vendor/github.com/gorilla/websocket.(*Conn).readFull(0xc4201d40f0, 0xc42037f7d0, 0x2, 0x8, 0x7fef5cacb960, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/gorilla/websocket/conn.go:542 +0x91
github.com/rancher/rancher-compose-executor/vendor/github.com/gorilla/websocket.(*Conn).advanceFrame(0xc4201d40f0, 0x8c078d, 0xc42052bad8, 0x8c078d)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/gorilla/websocket/conn.go:566 +0x8f
github.com/rancher/rancher-compose-executor/vendor/github.com/gorilla/websocket.(*Conn).NextReader(0xc4201d40f0, 0xc420320000, 0x909e80, 0x5, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/gorilla/websocket/conn.go:706 +0x57
github.com/rancher/rancher-compose-executor/vendor/github.com/gorilla/websocket.(*Conn).ReadMessage(0xc4201d40f0, 0xc4204a2750, 0xc420386e10, 0xc420320000, 0xc420360048, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/gorilla/websocket/conn.go:769 +0x2f
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*EventRouter).run(0xc420076000, 0xd33520, 0xc42030a640, 0x0, 0xc420386d50, 0x21, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/listener.go:139 +0x759
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*EventRouter).Start(0xc420076000, 0x0, 0x7d0, 0xc42001624b)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/listener.go:88 +0x112
github.com/rancher/rancher-compose-executor/executor.Main()
/go/src/github.com/rancher/rancher-compose-executor/executor/main.go:39 +0x6be
main.main()
/go/src/github.com/rancher/rancher-compose-executor/main.go:24 +0x9b
goroutine 5 :
github.com/rancher/rancher-compose-executor/vendor/github.com/docker/libcompose/cli/logger.generateColors()
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/docker/libcompose/cli/logger/colors.go:27 +0x115
created by github.com/rancher/rancher-compose-executor/vendor/github.com/docker/libcompose/cli/logger.init.1
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/docker/libcompose/cli/logger/colors.go:33 +0x35
goroutine 6 :
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:116 +0x104
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x41
goroutine 7 :
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/locks.locker()
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/locks/locks.go:95 +0xf0
created by github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/locks.init.1
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/locks/locks.go:6 +0x35
goroutine 27 :
encoding/json.stateInString(0xc42041c748, 0xc420bb0f22, 0x0)
/usr/local/go/src/encoding/json/scanner.go:331 +0x10f
encoding/json.(*decodeState).scanWhile(0xc42041c728, 0x0, 0x1)
/usr/local/go/src/encoding/json/decode.go:352 +0x58
encoding/json.(*decodeState).objectInterface(0xc42041c728, 0x9)
/usr/local/go/src/encoding/json/decode.go:1070 +0xaf
encoding/json.(*decodeState).valueInterface(0xc42041c728, 0xc, 0xa11)
/usr/local/go/src/encoding/json/decode.go:1020 +0x138
encoding/json.(*decodeState).objectInterface(0xc42041c728, 0x9)
/usr/local/go/src/encoding/json/decode.go:1086 +0x169
encoding/json.(*decodeState).valueInterface(0xc42041c728, 0x2, 0x2)
/usr/local/go/src/encoding/json/decode.go:1020 +0x138
encoding/json.(*decodeState).arrayInterface(0xc42041c728, 0x9, 0x6, 0x5)
/usr/local/go/src/encoding/json/decode.go:1040 +0xc2
encoding/json.(*decodeState).valueInterface(0xc42041c728, 0x7, 0xa2d)
/usr/local/go/src/encoding/json/decode.go:1018 +0x65
encoding/json.(*decodeState).objectInterface(0xc42041c728, 0x9)
/usr/local/go/src/encoding/json/decode.go:1086 +0x169
encoding/json.(*decodeState).valueInterface(0xc42041c728, 0x7, 0xa36)
/usr/local/go/src/encoding/json/decode.go:1020 +0x138
encoding/json.(*decodeState).objectInterface(0xc42041c728, 0x9)
/usr/local/go/src/encoding/json/decode.go:1086 +0x169
encoding/json.(*decodeState).valueInterface(0xc42041c728, 0x9, 0xa41)
/usr/local/go/src/encoding/json/decode.go:1020 +0x138
encoding/json.(*decodeState).objectInterface(0xc42041c728, 0x9)
/usr/local/go/src/encoding/json/decode.go:1086 +0x169
encoding/json.(*decodeState).valueInterface(0xc42041c728, 0xc, 0x197d)
/usr/local/go/src/encoding/json/decode.go:1020 +0x138
encoding/json.(*decodeState).objectInterface(0xc42041c728, 0x9)
/usr/local/go/src/encoding/json/decode.go:1086 +0x169
encoding/json.(*decodeState).valueInterface(0xc42041c728, 0x9, 0x19f1)
/usr/local/go/src/encoding/json/decode.go:1020 +0x138
encoding/json.(*decodeState).objectInterface(0xc42041c728, 0x9)
/usr/local/go/src/encoding/json/decode.go:1086 +0x169
encoding/json.(*decodeState).valueInterface(0xc42041c728, 0xd, 0x1dae)
/usr/local/go/src/encoding/json/decode.go:1020 +0x138
encoding/json.(*decodeState).objectInterface(0xc42041c728, 0xc420ca8b60)
/usr/local/go/src/encoding/json/decode.go:1086 +0x169
encoding/json.(*decodeState).object(0xc42041c728, 0x91e100, 0xc420ca8b60, 0x16)
/usr/local/go/src/encoding/json/decode.go:614 +0x1a84
encoding/json.(*decodeState).value(0xc42041c728, 0x91e100, 0xc420ca8b60, 0x16)
/usr/local/go/src/encoding/json/decode.go:402 +0x2f4
encoding/json.(*decodeState).unmarshal(0xc42041c728, 0x91e100, 0xc420ca8b60, 0x0, 0x0)
/usr/local/go/src/encoding/json/decode.go:184 +0x21a
encoding/json.(*Decoder).Decode(0xc42041c700, 0x91e100, 0xc420ca8b60, 0x30, 0x9dc3c0)
/usr/local/go/src/encoding/json/stream.go:67 +0x1c3
github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema.decodeJsonUsingNumber(0xd32b60, 0xc420c2f3e0, 0xc42069a000, 0x1af4, 0x26cd, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema/jsonLoader.go:279 +0xad
github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema.(*jsonGoLoader).loadJSON(0xc420c9d4a0, 0x0, 0x0, 0xc420d96e08, 0x40f4a8)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema/jsonLoader.go:241 +0xcf
github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema.(*jsonGoLoader).loadSchema(0xc420c9d4a0, 0x0, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema/jsonLoader.go:249 +0x40
github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema.NewSchema(0xd38960, 0xc420c9d4a0, 0x10, 0x9b6380, 0x1)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema/schema.go:45 +0x31
github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema.Validate(0xd38960, 0xc420c9d4a0, 0xd38960, 0xc420d3c8e0, 0xd6f980, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/xeipuuv/gojsonschema/validation.go:43 +0x39
github.com/rancher/rancher-compose-executor/config.validateV2(0xc420c74660, 0xc420d96fe0, 0x40e6c2)
/go/src/github.com/rancher/rancher-compose-executor/config/validation.go:220 +0xf8
github.com/rancher/rancher-compose-executor/config.MergeServicesV2(0xc4201c7820, 0xd36420, 0xc42044c0d0, 0xd363e0, 0xd8d8a8, 0x0, 0x0, 0xc420c74660, 0xc420c07200, 0x0, ...)
/go/src/github.com/rancher/rancher-compose-executor/config/merge_v2.go:13 +0x43
github.com/rancher/rancher-compose-executor/config.Merge(0xc4201c7820, 0xd36420, 0xc42044c0d0, 0xd363e0, 0xd8d8a8, 0xc42015bd60, 0x6, 0x0, 0x0, 0xc42015bd66, ...)
/go/src/github.com/rancher/rancher-compose-executor/config/merge.go:204 +0xe49
github.com/rancher/rancher-compose-executor/project.(*Project).load(0xc42045e0f0, 0x0, 0x0, 0xc42011cb60, 0x199, 0x1a0, 0x4, 0xc4203e20c0)
/go/src/github.com/rancher/rancher-compose-executor/project/project.go:164 +0x16e
github.com/rancher/rancher-compose-executor/project.(*Project).Parse(0xc42045e0f0, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/project/project.go:93 +0x13a
github.com/rancher/rancher-compose-executor/rancher.NewProject(0xc42046c380, 0xc4202c3e60, 0xc420479a28, 0x2)
/go/src/github.com/rancher/rancher-compose-executor/rancher/project.go:44 +0x3c1
github.com/rancher/rancher-compose-executor/executor/handlers.constructProject(0xc42035c4c0, 0xc42041c000, 0xc420205fa0, 0x1d, 0xc420016012, 0x14, 0xc420018092, 0x28, 0xc4204a64e0, 0xc420552000, ...)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/project.go:91 +0x4d2
github.com/rancher/rancher-compose-executor/executor/handlers.createStack(0xc42035c4c0, 0xc42005aa90, 0xc420320000, 0x1, 0xc4204b6990)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/create_handler.go:46 +0x166
github.com/rancher/rancher-compose-executor/executor/handlers.CreateStack(0xc42005aa90, 0xc420320000, 0xc4204a0101, 0xc42034dde8)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/create_handler.go:22 +0x269
github.com/rancher/rancher-compose-executor/executor/handlers.WithTimeout.func1(0xc42005aa90, 0xc420320000, 0xc4203875f0, 0x2d)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/common.go:54 +0x46
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.doWork(0xc42005aa90, 0xc420386e10, 0xc420320000, 0xd33560, 0xc42037ebe0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:94 +0x28d
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*skippingWorkerPool).HandleWork.func1(0xc42030a640, 0x2, 0xc42005aa90, 0xc420386e10, 0xc420320000)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:47 +0x9e
created by github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*skippingWorkerPool).HandleWork
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:48 +0x18d
goroutine 28 :
net/http.(*persistConn).roundTrip(0xc4202167e0, 0xc4209e6fe0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/transport.go:1898 +0x974
net/http.(*Transport).RoundTrip(0xd699e0, 0xc420bbc600, 0xd699e0, 0xed1f4e12d, 0x37719587)
/usr/local/go/src/net/http/transport.go:391 +0x74c
net/http.send(0xc420bbc500, 0xd33c20, 0xd699e0, 0xed1f4e12d, 0x37719587, 0xd71140, 0x0, 0x8, 0xc4204465d8, 0x40f4a8)
/usr/local/go/src/net/http/client.go:249 +0x162
net/http.(*Client).send(0xc420cf95c0, 0xc420bbc500, 0xed1f4e12d, 0x37719587, 0xd71140, 0xc4204465d8, 0x0, 0x1, 0x40874e)
/usr/local/go/src/net/http/client.go:173 +0x108
net/http.(*Client).Do(0xc420cf95c0, 0xc420bbc500, 0xc, 0xa6512b, 0x10)
/usr/local/go/src/net/http/client.go:595 +0x254
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/go-rancher/v2.(*RancherBaseClientImpl).doModify(0xc420205f80, 0xa5b550, 0x4, 0xc420cf9410, 0x25, 0x91b140, 0xc4207a5040, 0x91b140, 0xc4207a51e0, 0x0, ...)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/go-rancher/v2/common.go:385 +0x212
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/go-rancher/v2.(*RancherBaseClientImpl).doCreate(0xc420205f80, 0xa5eaef, 0x7, 0x91b140, 0xc4207a5040, 0x91b140, 0xc4207a51e0, 0xc420016012, 0x14)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/go-rancher/v2/common.go:440 +0x1ef
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/go-rancher/v2.(*PublishClient).Create(0xc42000c7a8, 0xc4207a5040, 0x946a40, 0x1, 0xc420d1feb0)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/go-rancher/v2/generated_publish.go:59 +0x8c
github.com/rancher/rancher-compose-executor/executor/handlers.publishReply(0xc4207a5040, 0xc420320000, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/common.go:22 +0x44
github.com/rancher/rancher-compose-executor/executor/handlers.publishTransitioningReply(0xa6377a, 0xe, 0xc42005ab60, 0xc420320000, 0xc420016000)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/common.go:36 +0x13e
github.com/rancher/rancher-compose-executor/executor/handlers.createStack(0xc420344ec0, 0xc42005ab60, 0xc420320000, 0x1, 0xc420387920)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/create_handler.go:51 +0x1bb
github.com/rancher/rancher-compose-executor/executor/handlers.CreateStack(0xc42005ab60, 0xc420320000, 0xc4204b0101, 0xc420049de8)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/create_handler.go:22 +0x269
github.com/rancher/rancher-compose-executor/executor/handlers.WithTimeout.func1(0xc42005ab60, 0xc420320000, 0xc4203877d0, 0x2d)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/common.go:54 +0x46
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.doWork(0xc42005ab60, 0xc420386e10, 0xc420320000, 0xd33560, 0xc4202d5540)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:94 +0x28d
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*skippingWorkerPool).HandleWork.func1(0xc42030a640, 0x3, 0xc42005ab60, 0xc420386e10, 0xc420320000)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:47 +0x9e
created by github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*skippingWorkerPool).HandleWork
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:48 +0x18d
goroutine 38 :
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*pongHandler).startTimer(0xc420505050, 0x1388, 0x2710)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/websocket_pings.go:60 +0x301
created by github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.newPongHandler
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/websocket_pings.go:44 +0x149
goroutine 90 :
github.com/rancher/rancher-compose-executor/executor/handlers.NewListenLogger.func1(0xc4203b64e0, 0xc420344ec0, 0xc42045e000)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/log.go:14 +0x9c
created by github.com/rancher/rancher-compose-executor/executor/handlers.NewListenLogger
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/log.go:29 +0x71
goroutine 39 :
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*EventRouter).sendWebsocketPings(0xc420076000)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/websocket_pings.go:27 +0x10c
created by github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*EventRouter).run
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/listener.go:136 +0x744
goroutine 42 :
text/template.addValueFuncs(0xc4205d23f0, 0xc4200179b0)
/usr/local/go/src/text/template/funcs.go:77 +0x19d
text/template.(*Template).Funcs(0xc420a0c4c0, 0xc4200179b0, 0x0)
/usr/local/go/src/text/template/template.go:170 +0x9f
github.com/rancher/rancher-compose-executor/template.Apply(0xc4202589a0, 0x14e, 0x160, 0xc42000e6f8, 0x6, 0x0, 0x0, 0xc42000ea70, 0xb, 0xc420b37550, ...)
/go/src/github.com/rancher/rancher-compose-executor/template/template.go:32 +0x1e2
github.com/rancher/rancher-compose-executor/config.Merge(0xc4201b69a0, 0xd36420, 0xc420538268, 0xd363e0, 0xd8d8a8, 0xc42000e6f8, 0x6, 0x0, 0x0, 0xc42000ea70, ...)
/go/src/github.com/rancher/rancher-compose-executor/config/merge.go:111 +0xce
github.com/rancher/rancher-compose-executor/project.(*Project).load(0xc420498000, 0x0, 0x0, 0xc4202589a0, 0x14e, 0x160, 0x4, 0xc420c7ae40)
/go/src/github.com/rancher/rancher-compose-executor/project/project.go:164 +0x16e
github.com/rancher/rancher-compose-executor/project.(*Project).Parse(0xc420498000, 0x0, 0x0)
/go/src/github.com/rancher/rancher-compose-executor/project/project.go:93 +0x13a
github.com/rancher/rancher-compose-executor/rancher.NewProject(0xc4204201c0, 0xc420353a10, 0xc420475a28, 0x2)
/go/src/github.com/rancher/rancher-compose-executor/rancher/project.go:44 +0x3c1
github.com/rancher/rancher-compose-executor/executor/handlers.constructProject(0xc4204b4d80, 0xc420420000, 0xc420205fa0, 0x1d, 0xc420016012, 0x14, 0xc420018092, 0x28, 0xc4204f2e20, 0xc4200d00c0, ...)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/project.go:91 +0x4d2
github.com/rancher/rancher-compose-executor/executor/handlers.createStack(0xc4204b4d80, 0xc4203548f0, 0xc420320000, 0x1, 0xc4205055f0)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/create_handler.go:46 +0x166
github.com/rancher/rancher-compose-executor/executor/handlers.CreateStack(0xc4203548f0, 0xc420320000, 0xc4204f0101, 0xc420347de8)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/create_handler.go:22 +0x269
github.com/rancher/rancher-compose-executor/executor/handlers.WithTimeout.func1(0xc4203548f0, 0xc420320000, 0xc4205054a0, 0x2d)
/go/src/github.com/rancher/rancher-compose-executor/executor/handlers/common.go:54 +0x46
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.doWork(0xc4203548f0, 0xc420386e10, 0xc420320000, 0xd33560, 0xc420264560)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:94 +0x28d
github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*skippingWorkerPool).HandleWork.func1(0xc42030a640, 0x4, 0xc4203548f0, 0xc420386e10, 0xc420320000)
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:47 +0x9e
created by github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events.(*skippingWorkerPool).HandleWork
/go/src/github.com/rancher/rancher-compose-executor/vendor/github.com/rancher/event-subscriber/events/worker.go:48 +0x18d
goroutine 48 :
net.runtime_pollWait(0x7fef5ca77e90, 0x72, 0x6)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4200f5648, 0x72, 0xd355a0, 0xd312b8)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4200f5648, 0xc4204e7000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4200f55e0, 0xc4204e7000, 0x1000, 0x1000, 0x0, 0xd355a0, 0xd312b8)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4205381d8, 0xc4204e7000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc4202167e0, 0xc4204e7000, 0x1000, 0x1000, 0x4, 0x44f070, 0xc4201e0000)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc420365620)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc420365620, 0x1, 0xc420346be5, 0xc4205efb01, 0x4, 0xc420364f00, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc4202167e0)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 68 :
github.com/rancher/rancher-compose-executor/project.(*defaultListener).start(0xc42000e8e0)
/go/src/github.com/rancher/rancher-compose-executor/project/listener.go:51 +0xa8
created by github.com/rancher/rancher-compose-executor/project.NewDefaultListener
/go/src/github.com/rancher/rancher-compose-executor/project/listener.go:46 +0x9f
goroutine 66 :
net.runtime_pollWait(0x7fef5ca77dd0, 0x72, 0x7)
/usr/local/go/src/runtime/netpoll.go:164 +0x59
net.(*pollDesc).wait(0xc4200f67d8, 0x72, 0xd355a0, 0xd312b8)
/usr/local/go/src/net/fd_poll_runtime.go:75 +0x38
net.(*pollDesc).waitRead(0xc4200f67d8, 0xc42043f000, 0x1000)
/usr/local/go/src/net/fd_poll_runtime.go:80 +0x34
net.(*netFD).Read(0xc4200f6770, 0xc42043f000, 0x1000, 0x1000, 0x0, 0xd355a0, 0xd312b8)
/usr/local/go/src/net/fd_unix.go:250 +0x1b7
net.(*conn).Read(0xc4205381e0, 0xc42043f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/net.go:181 +0x70
net/http.(*persistConn).Read(0xc420214d80, 0xc42043f000, 0x1000, 0x1000, 0x4, 0x44f070, 0xc420365920)
/usr/local/go/src/net/http/transport.go:1316 +0x14b
bufio.(*Reader).fill(0xc4203657a0)
/usr/local/go/src/bufio/bufio.go:97 +0x117
bufio.(*Reader).Peek(0xc4203657a0, 0x1, 0xc420049be5, 0xc420b7e001, 0x4, 0xc4206d88a0, 0x0)
/usr/local/go/src/bufio/bufio.go:129 +0x67
net/http.(*persistConn).readLoop(0xc420214d80)
/usr/local/go/src/net/http/transport.go:1474 +0x196
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1117 +0xa35
goroutine 65 :
net/http.(*persistConn).writeLoop(0xc4202167e0)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 67 :
net/http.(*persistConn).writeLoop(0xc420214d80)
/usr/local/go/src/net/http/transport.go:1704 +0x43a
created by net/http.(*Transport).dialConn
/usr/local/go/src/net/http/transport.go:1118 +0xa5a
goroutine 97 :
github.com/rancher/rancher-compose-executor/project.(*defaultListener).start(0xc4201da2b0)
/go/src/github.com/rancher/rancher-compose-executor/project/listener.go:51 +0xa8
created by github.com/rancher/rancher-compose-executor/project.NewDefaultListener
/go/src/github.com/rancher/rancher-compose-executor/project/listener.go:46 +0x9f
goroutine 82 :
github.com/rancher/rancher-compose-executor/project.(*defaultListener).start(0xc4203f4c00)
/go/src/github.com/rancher/rancher-compose-executor/project/listener.go:51 +0xa8
created by github.com/rancher/rancher-compose-executor/project.NewDefaultListener
/go/src/github.com/rancher/rancher-compose-executor/project/listener.go:46 +0x9f
goroutine 91 :
net/http.setRequestCancel.func3(0x0, 0xc420cf9680, 0xc420bfa1c0, 0xc420b9e83c, 0xc4203b67e0)
/usr/local/go/src/net/http/client.go:320 +0x17c
created by net/http.setRequestCancel
/usr/local/go/src/net/http/client.go:330 +0x287
2018/01/20 07:04:47 http: proxy error: net/http: request canceled
time="2018-01-20T07:04:48Z" level=info msg="Starting rancher-compose-executor" version=v0.14.18
time="2018-01-20T07:04:48Z" level=info msg="Creating schema host, roles " id=1ds30 service=gms
time="2018-01-20T07:04:48Z" level=info msg="Creating schema machine, roles " id=1ds31 service=gms
time="2018-01-20T07:04:49Z" level=info msg="Creating schema host, roles " id=1ds32 service=gms
time="2018-01-20T07:04:49Z" level=info msg="Creating schema machine, roles " id=1ds33 service=gms
time="2018-01-20T07:04:49Z" level=info msg="Initializing event router" workerCount=250
time="2018-01-20T07:04:49Z" level=info msg="Connection established"
time="2018-01-20T07:04:49Z" level=info msg="Starting websocket pings"
time="2018-01-20T07:04:49Z" level=info msg="Creating schema host, roles " id=1ds34 service=gms
time="2018-01-20T07:04:49Z" level=info msg="Creating schema machine, roles " id=1ds35 service=gms
time="2018-01-20T07:04:50Z" level=info msg="Creating schema host, roles " id=1ds36 service=gms
time="2018-01-20T07:05:38Z" level=info msg="Stack Create Event Received" eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:38Z" level=info msg="Stack Create Event Received" eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:38Z" level=info msg="Stack Create Event Received" eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Creating project " eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Creating project " eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg="Creating service scheduler"
time="2018-01-20T07:05:39Z" level=info msg="Creating service healthcheck"
time="2018-01-20T07:05:39Z" level=info msg=": Creating project " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg="Creating service cni-driver"
time="2018-01-20T07:05:39Z" level=info msg="Creating service ipsec"
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg=": Project created " eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg=": Creating project " eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Project created " eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Creating project " eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Project created " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Creating project " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg=": Project created " eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg="Stack Create Event Done" eventId=51fac95b-f91a-4268-89f1-662e2d708224 resourceId=1st3
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Creating " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Project created " eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg="Stack Create Event Done" eventId=2c20445b-a52d-4de6-9ed2-879b080c99c9 resourceId=1st4
time="2018-01-20T07:05:39Z" level=info msg=": Created " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg=": Project created " eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:05:39Z" level=info msg="Stack Create Event Done" eventId=c97e7fad-1ed5-48fe-8b0d-d797c6d88096 resourceId=1st1
time="2018-01-20T07:06:23Z" level=info msg="Stack Create Event Received" eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Creating project " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Creating " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Creating " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg="Creating service network-manager"
time="2018-01-20T07:06:24Z" level=info msg="Creating service metadata"
time="2018-01-20T07:06:24Z" level=info msg=": Created " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Created " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Creating " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Created " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Project created " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Creating project " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Creating " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Creating " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Created " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Created " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Creating " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Created " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg=": Project created " eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
time="2018-01-20T07:06:24Z" level=info msg="Stack Create Event Done" eventId=e809479e-4714-44d1-9829-aa16cab64a54 resourceId=1st2
没有找到相关结果
已邀请:
2 个回复
王伟军 - 分享技术,分享快乐
赞同来自: zlcolin
2、操作系统建议采用Ubuntu 16.04.3,(ubuntu 17.04版本好像不是长期支持版本LTS吧?)
3、命令中不要使用latest标签,建议指定版本rancher/server:v1.6.14
相关支持信息:
https://github.com/rancher/rancher/releases/tag/v1.6.14
https://rancher.com/docs/rancher/v1.6/en/hosts/#supported-docker-versions
hongxiaolu