{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/heapster/issues/945","repository_url":"https://api.github.com/repos/kubernetes/heapster","labels_url":"https://api.github.com/repos/kubernetes/heapster/issues/945/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/heapster/issues/945/comments","events_url":"https://api.github.com/repos/kubernetes/heapster/issues/945/events","html_url":"https://github.com/kubernetes/heapster/issues/945","id":131609602,"number":945,"title":"Eventer panics","user":{"login":"gmarek","id":1703842,"avatar_url":"https://avatars.githubusercontent.com/u/1703842?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarek","html_url":"https://github.com/gmarek","followers_url":"https://api.github.com/users/gmarek/followers","following_url":"https://api.github.com/users/gmarek/following{/other_user}","gists_url":"https://api.github.com/users/gmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarek/subscriptions","organizations_url":"https://api.github.com/users/gmarek/orgs","repos_url":"https://api.github.com/users/gmarek/repos","events_url":"https://api.github.com/users/gmarek/events{/privacy}","received_events_url":"https://api.github.com/users/gmarek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-05T10:43:24Z","updated_at":"2016-02-05T10:43:24Z","closed_at":null,"body":"```\r\nE0205 10:35:30.002817       1 influxdb.go:117] Failed to create infuxdb: failed to ping InfluxDB server at \"monitoring-influxdb:8086\" - Get http://monitoring-influxdb:8086/ping: EOF\r\npanic: runtime error: invalid memory address or nil pointer dereference\r\n[signal 0xb code=0x1 addr=0x30 pc=0x50d441]\r\n\r\ngoroutine 26 [running]:\r\nk8s.io/heapster/events/sinks/influxdb.(*influxdbSink).sendData(0xc8201aae80, 0xc82043c000, 0x2, 0xa)\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/sinks/influxdb/influxdb.go:126 +0x221\r\nk8s.io/heapster/events/sinks/influxdb.(*influxdbSink).ExportEvents(0xc8201aae80, 0xc82042eea0)\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/sinks/influxdb/influxdb.go:111 +0x379\r\nk8s.io/heapster/events/sinks.NewEventSinkManager.func1(0x7fd28255e2b8, 0xc8201aae80, 0xc820328300, 0xc820328360)\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/sinks/manager.go:59 +0xe3\r\ncreated by k8s.io/heapster/events/sinks.NewEventSinkManager\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/sinks/manager.go:68 +0x238\r\n\r\ngoroutine 1 [chan receive]:\r\nmain.main()\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/eventer.go:88 +0xc44\r\n\r\ngoroutine 5 [chan receive]:\r\ngithub.com/golang/glog.(*loggingT).flushDaemon(0x1843c80)\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/Godeps/_workspace/src/github.com/golang/glog/glog.go:879 +0x67\r\ncreated by github.com/golang/glog.init.1\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/Godeps/_workspace/src/github.com/golang/glog/glog.go:410 +0x297\r\n\r\ngoroutine 19 [syscall]:\r\nos/signal.loop()\r\n        /usr/lib/google-golang/src/os/signal/signal_unix.go:22 +0x18\r\ncreated by os/signal.init.1\r\n        /usr/lib/google-golang/src/os/signal/signal_unix.go:28 +0x37\r\ngoroutine 21 [select]:\r\nk8s.io/heapster/events/sources/kubernetes.(*KubernetesEventSource).watch(0xc820244990)\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/sources/kubernetes/kubernetes_source.go:101 +0x116e\r\ncreated by k8s.io/heapster/events/sources/kubernetes.NewKubernetesSource\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/sources/kubernetes/kubernetes_source.go:160 +0x2cf\r\ngoroutine 33 [select]:\r\nnet/http.(*persistConn).writeLoop(0xc8200e3a20)\r\n        /usr/lib/google-golang/src/net/http/transport.go:1009 +0x40c\r\ncreated by net/http.(*Transport).dialConn\r\n        /usr/lib/google-golang/src/net/http/transport.go:686 +0xc9d\r\ngoroutine 34 [IO wait]:\r\nnet.runtime_pollWait(0x7fd28259a440, 0x72, 0xc820014120)\r\n        /usr/lib/google-golang/src/runtime/netpoll.go:157 +0x60\r\nnet.(*pollDesc).Wait(0xc820148ca0, 0x72, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/fd_poll_runtime.go:73 +0x3a\r\nnet.(*pollDesc).WaitRead(0xc820148ca0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/fd_poll_runtime.go:78 +0x36\r\nnet.(*netFD).Read(0xc820148c40, 0xc820358000, 0x8000, 0x8000, 0x0, 0x7fd282594050, 0xc820014120)\r\n        /usr/lib/google-golang/src/net/fd_unix.go:232 +0x23a\r\nnet.(*conn).Read(0xc8200261b8, 0xc820358000, 0x8000, 0x8000, 0x0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/net.go:172 +0xe4\r\ncrypto/tls.(*block).readFromUntil(0xc820164840, 0x7fd28259a500, 0xc8200261b8, 0x5, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/crypto/tls/conn.go:455 +0xcc\r\ncrypto/tls.(*Conn).readRecord(0xc8200a6dc0, 0x1446317, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/crypto/tls/conn.go:540 +0x2d1\r\ncrypto/tls.(*Conn).Read(0xc8200a6dc0, 0xc82034e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/crypto/tls/conn.go:901 +0x167\r\nnet/http.noteEOFReader.Read(0x7fd28259ab40, 0xc8200a6dc0, 0xc8200e3a78, 0xc82034e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/http/transport.go:1370 +0x67\r\nnet/http.(*noteEOFReader).Read(0xc8201678c0, 0xc82034e000, 0x1000, 0x1000, 0xc82013d1c0, 0x0, 0x0)\r\n        <autogenerated>:126 +0xd0\r\nbufio.(*Reader).fill(0xc820019f20)\r\n        /usr/lib/google-golang/src/bufio/bufio.go:97 +0x1e9\r\nbufio.(*Reader).ReadSlice(0xc820019f20, 0xc82016910a, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/bufio/bufio.go:328 +0x21a\r\nnet/http/internal.readLine(0xc820019f20, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/http/internal/chunked.go:110 +0x4b\r\nnet/http/internal.(*chunkedReader).beginChunk(0xc820165740)\r\n        /usr/lib/google-golang/src/net/http/internal/chunked.go:47 +0x39\r\nnet/http/internal.(*chunkedReader).Read(0xc820165740, 0xc820354601, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/http/internal/chunked.go:77 +0xb7\r\nnet/http.(*body).readLocked(0xc82013d040, 0xc820354601, 0x5ff, 0x5ff, 0xc800000000, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/http/transfer.go:632 +0x98\r\nnet/http.(*body).Read(0xc82013d040, 0xc820354601, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/http/transfer.go:624 +0x110\r\nnet/http.(*bodyEOFSignal).Read(0xc82013d080, 0xc820354601, 0x5ff, 0x5ff, 0x0, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/net/http/transport.go:1296 +0x26a\r\nencoding/json.(*Decoder).refill(0xc820160340, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/encoding/json/stream.go:152 +0x287\r\nencoding/json.(*Decoder).readValue(0xc820160340, 0x1, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/encoding/json/stream.go:128 +0x41b\r\nencoding/json.(*Decoder).Decode(0xc820160340, 0xe0ece0, 0xc820165b30, 0x0, 0x0)\r\n        /usr/lib/google-golang/src/encoding/json/stream.go:57 +0x159\r\nk8s.io/kubernetes/pkg/watch/json.(*Decoder).Decode(0xc820165770, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/Godeps/_workspace/src/k8s.io/kubernetes/pkg/watch/json/decoder.go:50 +0xa5\r\nk8s.io/kubernetes/pkg/watch.(*StreamWatcher).receive(0xc8201657a0)\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/Godeps/_workspace/src/k8s.io/kubernetes/pkg/watch/iowatcher.go:92 +0xf0\r\ncreated by k8s.io/kubernetes/pkg/watch.NewStreamWatcher\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/Godeps/_workspace/src/k8s.io/kubernetes/pkg/watch/iowatcher.go:59 +0xbf\r\ngoroutine 16 [select]:\r\nnet/http.(*persistConn).readLoop(0xc8200e3a20)\r\n        /usr/lib/google-golang/src/net/http/transport.go:976 +0xac7\r\ncreated by net/http.(*Transport).dialConn\r\n        /usr/lib/google-golang/src/net/http/transport.go:685 +0xc78\r\ngoroutine 27 [select]:\r\nk8s.io/heapster/events/manager.(*realManager).Housekeep(0xc820245020)\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/manager/manager.go:64 +0x29f\r\ncreated by k8s.io/heapster/events/manager.(*realManager).Start\r\n        /usr/local/google/home/pszczesniak/go/src/k8s.io/heapster/events/manager/manager.go:49 +0x35\r\n```\r\n\r\ncc @fgrzadkowski @piosz "}}