{"action":"opened","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/11871","repository_url":"https://api.github.com/repos/openshift/origin","labels_url":"https://api.github.com/repos/openshift/origin/issues/11871/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/11871/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/11871/events","html_url":"https://github.com/openshift/origin/issues/11871","id":188529956,"number":11871,"title":"oc logs does not work  for pipeline builds","user":{"login":"tnozicka","id":11869554,"avatar_url":"https://avatars.githubusercontent.com/u/11869554?v=3","gravatar_id":"","url":"https://api.github.com/users/tnozicka","html_url":"https://github.com/tnozicka","followers_url":"https://api.github.com/users/tnozicka/followers","following_url":"https://api.github.com/users/tnozicka/following{/other_user}","gists_url":"https://api.github.com/users/tnozicka/gists{/gist_id}","starred_url":"https://api.github.com/users/tnozicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnozicka/subscriptions","organizations_url":"https://api.github.com/users/tnozicka/orgs","repos_url":"https://api.github.com/users/tnozicka/repos","events_url":"https://api.github.com/users/tnozicka/events{/privacy}","received_events_url":"https://api.github.com/users/tnozicka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T14:59:00Z","updated_at":"2016-11-10T14:59:00Z","closed_at":null,"body":"For a regular build you can get logs by `oc logs build/nodejs-ex-1`. But this doesn't work for build with pipeline strategy.\r\n\r\nProblem is that even the API `/oapi/v1/namespaces/{namespace}/builds/{name}/log` is broken (probably not implemented) for this. \r\n\r\n##### Version\r\n```\r\n$ oc version\r\noc v1.4.0-alpha.1+ee5a124-135-dirty\r\nkubernetes v1.4.0+776c994\r\nfeatures: Basic-Auth\r\n\r\nServer https://192.168.42.42:8443\r\nopenshift v1.4.0-alpha.1+43fbf69-133\r\nkubernetes v1.4.0+776c994\r\n```\r\n##### Steps To Reproduce\r\n- have a pipeline build\r\n```\r\n$ oc get build nodejs-ex-pipeline-6\r\nNAME                   TYPE              FROM           STATUS     STARTED          DURATION\r\nnodejs-ex-pipeline-6   JenkinsPipeline   Git@sync-WIP   Complete   16 minutes ago   1m10s\r\n```\r\n```\r\n$ oc logs build/nodejs-ex-pipeline-6\r\nError from server: pod \"nodejs-ex-pipeline-6-build\" not found\r\n```\r\n\r\n##### Current Result\r\nNot found\r\n\r\n##### Expected Result\r\nShow logs\r\n"}}
{"actor":{"display_login":"tnozicka"}}