{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/3943","labels_url":"https://api.github.com/repos/openshift/origin/issues/3943/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/3943/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/3943/events","html_url":"https://github.com/openshift/origin/pull/3943","id":97928179,"number":3943,"title":"[WIP] deploy: Support --logs","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T12:51:04Z","updated_at":"2015-07-29T12:52:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/3943","html_url":"https://github.com/openshift/origin/pull/3943","diff_url":"https://github.com/openshift/origin/pull/3943.diff","patch_url":"https://github.com/openshift/origin/pull/3943.patch"},"body":"This PR adds support for getting the logs out of a deployment (only what's in its deployer pod for now) via \r\n`$ oc deploy DEPLOYMENTCONFIG --logs`\r\n\r\nTBD:\r\n* tests for the registry (rest_test.go)\r\n* fake deploylogs call (fake_deploymentlogs.go)\r\n\r\n@ironcladlou @csrwng PTAL"},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/125940337","html_url":"https://github.com/openshift/origin/pull/3943#issuecomment-125940337","issue_url":"https://api.github.com/repos/openshift/origin/issues/3943","id":125940337,"user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T12:52:34Z","updated_at":"2015-07-29T12:52:34Z","body":"Currently\r\n```\r\n[vagrant@openshiftdev sample-app]$ oc get dc\r\nNAME       TRIGGERS                    LATEST VERSION\r\ndatabase   ConfigChange                1\r\nfrontend   ConfigChange, ImageChange   0\r\n\r\n[vagrant@openshiftdev sample-app]$ oc get pods\r\nNAME                        READY     STATUS    RESTARTS   AGE\r\ndatabase-1-o2191            1/1       Running   0          14s\r\nruby-sample-build-1-build   1/1       Running   0          19s\r\n\r\n[vagrant@openshiftdev sample-app]$ oc deploy database --logs\r\nError from server: User \"test\" cannot get deploymentlogs in project \"test\"\r\n\r\n[vagrant@openshiftdev sample-app]$ oc deploy database --logs  --config=openshift.local.config/master/admin.kubeconfig\r\nError from server: deploymentConfig \"database\" not found\r\n```\r\n\r\nWhat am I missing?"}}