{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/4042","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/4042/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/4042/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/4042/events","html_url":"https://github.com/rancher/rancher/issues/4042","id":141973275,"number":4042,"title":"Rancher Metadata service should expose service and container state","user":{"login":"janeczku","id":3813921,"avatar_url":"https://avatars.githubusercontent.com/u/3813921?v=3","gravatar_id":"","url":"https://api.github.com/users/janeczku","html_url":"https://github.com/janeczku","followers_url":"https://api.github.com/users/janeczku/followers","following_url":"https://api.github.com/users/janeczku/following{/other_user}","gists_url":"https://api.github.com/users/janeczku/gists{/gist_id}","starred_url":"https://api.github.com/users/janeczku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janeczku/subscriptions","organizations_url":"https://api.github.com/users/janeczku/orgs","repos_url":"https://api.github.com/users/janeczku/repos","events_url":"https://api.github.com/users/janeczku/events{/privacy}","received_events_url":"https://api.github.com/users/janeczku/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rancher/rancher/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/rancher/rancher/labels/status/resolved","name":"status/resolved","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"alena1108","id":1562176,"avatar_url":"https://avatars.githubusercontent.com/u/1562176?v=3","gravatar_id":"","url":"https://api.github.com/users/alena1108","html_url":"https://github.com/alena1108","followers_url":"https://api.github.com/users/alena1108/followers","following_url":"https://api.github.com/users/alena1108/following{/other_user}","gists_url":"https://api.github.com/users/alena1108/gists{/gist_id}","starred_url":"https://api.github.com/users/alena1108/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alena1108/subscriptions","organizations_url":"https://api.github.com/users/alena1108/orgs","repos_url":"https://api.github.com/users/alena1108/repos","events_url":"https://api.github.com/users/alena1108/events{/privacy}","received_events_url":"https://api.github.com/users/alena1108/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rancher/rancher/milestones/61","html_url":"https://github.com/rancher/rancher/milestones/Release%201.1.0","labels_url":"https://api.github.com/repos/rancher/rancher/milestones/61/labels","id":1651837,"number":61,"title":"Release 1.1.0","description":"","creator":{"login":"will-chan","id":10134676,"avatar_url":"https://avatars.githubusercontent.com/u/10134676?v=3","gravatar_id":"","url":"https://api.github.com/users/will-chan","html_url":"https://github.com/will-chan","followers_url":"https://api.github.com/users/will-chan/followers","following_url":"https://api.github.com/users/will-chan/following{/other_user}","gists_url":"https://api.github.com/users/will-chan/gists{/gist_id}","starred_url":"https://api.github.com/users/will-chan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-chan/subscriptions","organizations_url":"https://api.github.com/users/will-chan/orgs","repos_url":"https://api.github.com/users/will-chan/repos","events_url":"https://api.github.com/users/will-chan/events{/privacy}","received_events_url":"https://api.github.com/users/will-chan/received_events","type":"User","site_admin":false},"open_issues":148,"closed_issues":46,"state":"open","created_at":"2016-03-17T17:24:50Z","updated_at":"2016-06-10T06:23:59Z","due_on":"2016-06-15T07:00:00Z","closed_at":null},"comments":7,"created_at":"2016-03-18T20:44:25Z","updated_at":"2016-06-10T16:50:56Z","closed_at":null,"body":"Rancher Metadata returns services and containers that are not running (e.g. inactive, stopped, upgrading...) in its responses. Currently there is no way to identify these unavailable entities since the `state` API field is not exposed in the Metadata service.\r\nThis is especially problematic when generating config files (e.g. using [confd with Rancher backend](https://github.com/kelseyhightower/confd/blob/master/docs/quick-start-guide.md#rancher)) from the Metadata: You don't want stopped/unavailable container instances to go in there of course."},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/225235834","html_url":"https://github.com/rancher/rancher/issues/4042#issuecomment-225235834","issue_url":"https://api.github.com/repos/rancher/rancher/issues/4042","id":225235834,"user":{"login":"cdrx","id":11462,"avatar_url":"https://avatars.githubusercontent.com/u/11462?v=3","gravatar_id":"","url":"https://api.github.com/users/cdrx","html_url":"https://github.com/cdrx","followers_url":"https://api.github.com/users/cdrx/followers","following_url":"https://api.github.com/users/cdrx/following{/other_user}","gists_url":"https://api.github.com/users/cdrx/gists{/gist_id}","starred_url":"https://api.github.com/users/cdrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdrx/subscriptions","organizations_url":"https://api.github.com/users/cdrx/orgs","repos_url":"https://api.github.com/users/cdrx/repos","events_url":"https://api.github.com/users/cdrx/events{/privacy}","received_events_url":"https://api.github.com/users/cdrx/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T16:50:56Z","updated_at":"2016-06-10T16:50:56Z","body":"Thanks @alena1108 "}}
{"actor":{"display_login":"cdrx"}}