{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/6289","labels_url":"https://api.github.com/repos/openshift/origin/issues/6289/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/6289/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/6289/events","html_url":"https://github.com/openshift/origin/issues/6289","id":121949410,"number":6289,"title":"Warning about restarting pod should show up next to DC in oc status","user":{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openshift/origin/labels/component/cli","name":"component/cli","color":"0052cc"},{"url":"https://api.github.com/repos/openshift/origin/labels/priority/P3","name":"priority/P3","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-13T22:34:48Z","updated_at":"2015-12-14T13:58:56Z","closed_at":null,"body":"The current \"pod has restarted X times\" warning isn't very useful in oc status.  It needs to be connected to the actual DC that it's under.\r\n\r\n```\r\n$ oc status -v\r\nIn project default on server https://10.1.2.2:8443\r\n\r\nsvc/docker-registry - 172.30.213.112:5000\r\n  dc/docker-registry deploys docker.io/openshift/origin-docker-registry:v1.1 \r\n    #1 deployed 11 minutes ago - 1 pod\r\n\r\nsvc/kubernetes - 172.30.0.1 ports 443, 53, 53\r\n\r\nWarnings:\r\n  * container \"registry\" in pod/docker-registry-1-d49us has restarted 53 times\r\n\r\nTo see more, use 'oc describe <resource>/<name>'.\r\nYou can use 'oc get all' to see a list of other objects.\r\n```\r\n\r\nshould probably be\r\n\r\n```\r\n$ oc status -v\r\nIn project default on server https://10.1.2.2:8443\r\n\r\nsvc/docker-registry - 172.30.213.112:5000\r\n  dc/docker-registry deploys docker.io/openshift/origin-docker-registry:v1.1 \r\n    #1 deployed 11 minutes ago - 1 pod (warning: 53 restarts)\r\n\r\nsvc/kubernetes - 172.30.0.1 ports 443, 53, 53\r\n\r\nWarnings:\r\n  * container \"registry\" in pod/docker-registry-1-d49us has restarted 53 times\r\n\r\nTo see more, use 'oc describe <resource>/<name>'.\r\nYou can use 'oc get all' to see a list of other objects.\r\n```\r\n\r\nor even:\r\n\r\n```\r\n$ oc status\r\nIn project default on server https://10.1.2.2:8443\r\n\r\nsvc/docker-registry - 172.30.213.112:5000\r\n  dc/docker-registry deploys docker.io/openshift/origin-docker-registry:v1.1 \r\n    ! #1 deployed 11 minutes ago - 1 pod (warning: 53 restarts)\r\n\r\nsvc/kubernetes - 172.30.0.1 ports 443, 53, 53\r\n```"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/164444512","html_url":"https://github.com/openshift/origin/issues/6289#issuecomment-164444512","issue_url":"https://api.github.com/repos/openshift/origin/issues/6289","id":164444512,"user":{"login":"deads2k","id":8225098,"avatar_url":"https://avatars.githubusercontent.com/u/8225098?v=3","gravatar_id":"","url":"https://api.github.com/users/deads2k","html_url":"https://github.com/deads2k","followers_url":"https://api.github.com/users/deads2k/followers","following_url":"https://api.github.com/users/deads2k/following{/other_user}","gists_url":"https://api.github.com/users/deads2k/gists{/gist_id}","starred_url":"https://api.github.com/users/deads2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deads2k/subscriptions","organizations_url":"https://api.github.com/users/deads2k/orgs","repos_url":"https://api.github.com/users/deads2k/repos","events_url":"https://api.github.com/users/deads2k/events{/privacy}","received_events_url":"https://api.github.com/users/deads2k/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T13:58:56Z","updated_at":"2015-12-14T13:58:56Z","body":"Now that we have markers and we have warnings, do we want to start colorizing or marking various parts of the status in yellow or something other indicator to make it clear that something is wrong with this resource?\r\n\r\n@kargakis @jwforres @fabianofranz "}}