{"action":"created","issue":{"url":"https://api.github.com/repos/fluent/fluentd-kubernetes-daemonset/issues/192","repository_url":"https://api.github.com/repos/fluent/fluentd-kubernetes-daemonset","labels_url":"https://api.github.com/repos/fluent/fluentd-kubernetes-daemonset/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/fluent/fluentd-kubernetes-daemonset/issues/192/comments","events_url":"https://api.github.com/repos/fluent/fluentd-kubernetes-daemonset/issues/192/events","html_url":"https://github.com/fluent/fluentd-kubernetes-daemonset/issues/192","id":358336841,"node_id":"MDU6SXNzdWUzNTgzMzY4NDE=","number":192,"title":"[error]: [in_systemd_kubelet] Exception emitting record: undefined method `emit' for nil:NilClass","user":{"login":"AjeetK","id":3701464,"node_id":"MDQ6VXNlcjM3MDE0NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3701464?v=4","gravatar_id":"","url":"https://api.github.com/users/AjeetK","html_url":"https://github.com/AjeetK","followers_url":"https://api.github.com/users/AjeetK/followers","following_url":"https://api.github.com/users/AjeetK/following{/other_user}","gists_url":"https://api.github.com/users/AjeetK/gists{/gist_id}","starred_url":"https://api.github.com/users/AjeetK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjeetK/subscriptions","organizations_url":"https://api.github.com/users/AjeetK/orgs","repos_url":"https://api.github.com/users/AjeetK/repos","events_url":"https://api.github.com/users/AjeetK/events{/privacy}","received_events_url":"https://api.github.com/users/AjeetK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-08T23:56:47Z","updated_at":"2018-11-23T10:46:10Z","closed_at":null,"author_association":"NONE","body":"I am trying out `debian-elasticsearch` with version `1.2`. The `fluent.conf`, `systemd.conf` and `kubernetes.conf` remains the default one.\r\n\r\n**Expectation** - All kubernetes logs in Elasticsearch-kibana with prefix `logstash`\r\n**Issue** - Logs appear in elasticsearch for a while and then pods gets terminated with the following error:\r\n\r\n```\r\nfluentd-zgkkf fluentd 2018-09-08 23:47:32 +0000 [error]: [in_systemd_kubelet] Exception emitting record: undefined method `emit' for nil:NilClass\r\nfluentd-zgkkf fluentd Did you mean?  exit\r\nfluentd-zgkkf fluentd 2018-09-08 23:47:33 +0000 [error]: [in_systemd_kubelet] Exception emitting record: undefined method `emit' for nil:NilClass\r\nfluentd-zgkkf fluentd Did you mean?  exit\r\nfluentd-zgkkf fluentd 2018-09-08 23:47:33 +0000 [error]: [in_systemd_kubelet] Exception emitting record: undefined method `emit' for nil:NilClass\r\nfluentd-zgkkf fluentd Did you mean?  exit\r\nfluentd-zgkkf fluentd 2018-09-08 23:47:33 +0000 [error]: [in_systemd_kubelet] Exception emitting record: undefined method `emit' for nil:NilClass\r\nfluentd-zgkkf fluentd Did you mean?  exit\r\nfluentd-zgkkf fluentd 2018-09-08 23:47:33 +0000 [warn]: [in_systemd_kubelet] killing existing thread thread=#<Thread:0x007f81a3586b88@/fluentd/vendor/bundle/ruby/2.3.0/gems/fluentd-1.2.5/lib/fluent/plugin_helper/thread.rb:70 sleep>\r\nfluentd-zgkkf fluentd 2018-09-08 23:47:33 +0000 [warn]: [in_systemd_kubelet] thread doesn't exit correctly (killed or other reason) plugin=Fluent::Plugin::SystemdInput title=:event_loop thread=#<Thread:0x007f81a3586b88@/fluentd/vendor/bundle/ruby/2.3.0/gems/fluentd-1.2.5/lib/fluent/plugin_helper/thread.rb:70 aborting> error=nil\r\n```\r\n\r\nFound a similar issue [here](https://github.com/reevoo/fluent-plugin-systemd/issues/46 )\r\nSeems like some version issue with the Gems getting installed."},"comment":{"url":"https://api.github.com/repos/fluent/fluentd-kubernetes-daemonset/issues/comments/441208621","html_url":"https://github.com/fluent/fluentd-kubernetes-daemonset/issues/192#issuecomment-441208621","issue_url":"https://api.github.com/repos/fluent/fluentd-kubernetes-daemonset/issues/192","id":441208621,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTIwODYyMQ==","user":{"login":"AjeetK","id":3701464,"node_id":"MDQ6VXNlcjM3MDE0NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3701464?v=4","gravatar_id":"","url":"https://api.github.com/users/AjeetK","html_url":"https://github.com/AjeetK","followers_url":"https://api.github.com/users/AjeetK/followers","following_url":"https://api.github.com/users/AjeetK/following{/other_user}","gists_url":"https://api.github.com/users/AjeetK/gists{/gist_id}","starred_url":"https://api.github.com/users/AjeetK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjeetK/subscriptions","organizations_url":"https://api.github.com/users/AjeetK/orgs","repos_url":"https://api.github.com/users/AjeetK/repos","events_url":"https://api.github.com/users/AjeetK/events{/privacy}","received_events_url":"https://api.github.com/users/AjeetK/received_events","type":"User","site_admin":false},"created_at":"2018-11-23T10:46:10Z","updated_at":"2018-11-23T10:46:10Z","author_association":"NONE","body":"@cristifalcas In which namespace are you trying to run fluentd-daemonset? In my case, I am running K8s on GKE and when I was running fluentd-daemonset in `kube-system` namespace, I was getting these errors. Now I have switched to `default` namespace and everything is working fine. "}}
{"actor":{"display_login":"AjeetK"}}