{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/OMS-docker/issues/28","repository_url":"https://api.github.com/repos/Microsoft/OMS-docker","labels_url":"https://api.github.com/repos/Microsoft/OMS-docker/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/OMS-docker/issues/28/comments","events_url":"https://api.github.com/repos/Microsoft/OMS-docker/issues/28/events","html_url":"https://github.com/Microsoft/OMS-docker/issues/28","id":225680443,"number":28,"title":"no containerlogs found after launching kubernetes daemonset","user":{"login":"jauco","id":68318,"avatar_url":"https://avatars0.githubusercontent.com/u/68318?v=4","gravatar_id":"","url":"https://api.github.com/users/jauco","html_url":"https://github.com/jauco","followers_url":"https://api.github.com/users/jauco/followers","following_url":"https://api.github.com/users/jauco/following{/other_user}","gists_url":"https://api.github.com/users/jauco/gists{/gist_id}","starred_url":"https://api.github.com/users/jauco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jauco/subscriptions","organizations_url":"https://api.github.com/users/jauco/orgs","repos_url":"https://api.github.com/users/jauco/repos","events_url":"https://api.github.com/users/jauco/events{/privacy}","received_events_url":"https://api.github.com/users/jauco/received_events","type":"User","site_admin":false},"labels":[{"id":301376109,"url":"https://api.github.com/repos/Microsoft/OMS-docker/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-02T12:30:00Z","updated_at":"2017-07-25T01:07:46Z","closed_at":"2017-07-25T01:07:46Z","body":"I applied the oms yaml file as described in the readme. I have a connection for each of the nodes. I can also query for the node information such as amount of memory available.\r\n\r\nHowever I cannot get any of the container specific logs. I'd especially like to be able to see the stdout logs of the individual containers. But if I do a query like `Type=ContainerLog` I get 0 results.\r\n\r\nDo I need to configure something else? Is there anyplace I can see what might be going wrong?\r\n\r\nThe pod logs look like this:\r\n\r\n```\r\n2017-05-02T11:53:39.659989573Z + sed -i -e 's/bind 127.0.0.1/bind 0.0.0.0/g' /etc/opt/microsoft/omsagent/sysconf/omsagent.d/container.conf\r\n2017-05-02T11:53:39.661263985Z + sed -i -e 's/^exit 101$/exit 0/g' /usr/sbin/policy-rc.d\r\n2017-05-02T11:53:39.662258880Z + sed -i.bak 's/record\\[\"Host\"\\] = hostname/record\\[\"Host\"\\] = OMS::Common.get_hostname/' /opt/microsoft/omsagent/plugin/filter_syslog.rb\r\n2017-05-02T11:53:39.724063342Z + /opt/omi/bin/service_control start\r\n2017-05-02T11:53:39.730663074Z invoke-rc.d: could not determine current runlevel\r\n2017-05-02T11:53:39.738063698Z  * Starting Microsoft OMI Server: \r\n2017-05-02T11:53:39.762201512Z    ...done.\r\n2017-05-02T11:53:39.762694714Z + '[' -z ']'\r\n2017-05-02T11:53:39.762705603Z + /opt/microsoft/omsagent/bin/omsadmin.sh -w <redacted> -s <redacted>\r\n2017-05-02T11:53:40.067206382Z info\tGenerating certificate ...\r\n2017-05-02T11:53:40.772758980Z -e info\tOnboarding success\r\n2017-05-02T11:53:40.813631111Z rm: cannot remove '/var/opt/microsoft/omsagent/state/containerhostname': Device or resource busy\r\n2017-05-02T11:53:40.826291250Z Configuring rsyslog for OMS logging\r\n2017-05-02T11:53:40.827954045Z Restarting service: rsyslog\r\n2017-05-02T11:53:40.835891777Z invoke-rc.d: could not determine current runlevel\r\n2017-05-02T11:53:40.844586396Z  * Stopping enhanced syslogd rsyslogd\r\n2017-05-02T11:53:40.845137432Z    ...done.\r\n2017-05-02T11:53:40.848593366Z  * Starting enhanced syslogd rsyslogd\r\n2017-05-02T11:53:40.859470654Z    ...done.\r\n2017-05-02T11:53:40.869103142Z Configuring OMS agent service ...\r\n2017-05-02T11:53:40.896602693Z invoke-rc.d: could not determine current runlevel\r\n2017-05-02T11:53:40.905504363Z  * Starting Operations Management Suite agent (ff8a4d0d-951e-47c6-a1c6-f22ce09ed910): \r\n2017-05-02T11:53:41.324327424Z    ...done.\r\n2017-05-02T11:53:41.853948411Z -e info\tConfigured omsconfig\r\n2017-05-02T11:53:41.856226666Z + /opt/microsoft/omsagent/bin/service_control start\r\n2017-05-02T11:53:41.865615177Z + trap shutdown SIGTERM\r\n2017-05-02T11:53:41.865628762Z + wait\r\n2017-05-02T11:53:41.865632258Z + sleep inf\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/OMS-docker/issues/comments/317598525","html_url":"https://github.com/Microsoft/OMS-docker/issues/28#issuecomment-317598525","issue_url":"https://api.github.com/repos/Microsoft/OMS-docker/issues/28","id":317598525,"user":{"login":"keikhara","id":19479703,"avatar_url":"https://avatars0.githubusercontent.com/u/19479703?v=4","gravatar_id":"","url":"https://api.github.com/users/keikhara","html_url":"https://github.com/keikhara","followers_url":"https://api.github.com/users/keikhara/followers","following_url":"https://api.github.com/users/keikhara/following{/other_user}","gists_url":"https://api.github.com/users/keikhara/gists{/gist_id}","starred_url":"https://api.github.com/users/keikhara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keikhara/subscriptions","organizations_url":"https://api.github.com/users/keikhara/orgs","repos_url":"https://api.github.com/users/keikhara/repos","events_url":"https://api.github.com/users/keikhara/events{/privacy}","received_events_url":"https://api.github.com/users/keikhara/received_events","type":"User","site_admin":false},"created_at":"2017-07-25T01:07:46Z","updated_at":"2017-07-25T01:07:46Z","body":"Closing case. "}}
{"actor":{"display_login":"keikhara"}}