{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27234","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27234/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27234/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27234/events","html_url":"https://github.com/kubernetes/kubernetes/issues/27234","id":159766466,"number":27234,"title":"make release-skip-tests dont work with user namespaces.","user":{"login":"mercuriete","id":7898144,"avatar_url":"https://avatars.githubusercontent.com/u/7898144?v=3","gravatar_id":"","url":"https://api.github.com/users/mercuriete","html_url":"https://github.com/mercuriete","followers_url":"https://api.github.com/users/mercuriete/followers","following_url":"https://api.github.com/users/mercuriete/following{/other_user}","gists_url":"https://api.github.com/users/mercuriete/gists{/gist_id}","starred_url":"https://api.github.com/users/mercuriete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercuriete/subscriptions","organizations_url":"https://api.github.com/users/mercuriete/orgs","repos_url":"https://api.github.com/users/mercuriete/repos","events_url":"https://api.github.com/users/mercuriete/events{/privacy}","received_events_url":"https://api.github.com/users/mercuriete/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/release-infra","name":"team/release-infra","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-11T10:09:34Z","updated_at":"2016-09-23T07:22:23Z","closed_at":null,"body":"the isolation and permission that provides user namespaces make imposible to build kubernetes.\r\n\r\nsteps to reproduce:\r\n1) run your docker daemon with \r\n        ExecStart=/usr/bin/docker daemon --userns-remap=default -H fd://\r\n2) check your /etc/subuid\r\n    cat subuid\r\n    dockremap:100000:65536\r\n3) check your /etc/subgid\r\n    cat subgid \r\n    dockremap:100000:65536\r\n4) check you are in docker group\r\n5) clone kubernetes\r\n    git clone ........\r\n6) export KUBERNETES_PROVIDER=libvirt-coreos\r\n7) make release-skip-tests\r\n\r\nOUTPUT:\r\n\r\n+++ [0611 10:58:55] Placing binaries\r\nmkdir: cannot create directory '/go/src/k8s.io/kubernetes/_output/dockerized/bin/linux': Permission denied\r\n!!! Error in /go/src/k8s.io/kubernetes/hack/lib/golang.sh:384\r\n  'mkdir -p \"${KUBE_OUTPUT_BINPATH}/${platform}\"' exited with status 1\r\nCall stack:\r\n  1: /go/src/k8s.io/kubernetes/hack/lib/golang.sh:384 kube::golang::place_bins(...)\r\n  2: hack/build-cross.sh:36 main(...)\r\nExiting with status 1\r\n!!! Error in build/../build/common.sh:616\r\n  '\"${docker_cmd[@]}\" \"$@\"' exited with status 1\r\nCall stack:\r\n  1: build/../build/common.sh:616 kube::build::run_build_command(...)\r\n  2: build/release.sh:33 main(...)\r\nExiting with status 1\r\nMakefile:158: fallo en las instrucciones para el objetivo 'release-skip-tests'\r\nmake: *** [release-skip-tests] Error 1\r\n\r\n\r\nproposed solution:\r\n\r\nit seems you tried to copy from inside a container to outside and it is imposible because of the file permissions.\r\n\r\nit is better to use \"docker cp container\" from outside because we are in docker group.\r\n\r\nThanks for your work. :smile: \r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/249120974","html_url":"https://github.com/kubernetes/kubernetes/issues/27234#issuecomment-249120974","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/27234","id":249120974,"user":{"login":"dgonzalez","id":123962,"avatar_url":"https://avatars.githubusercontent.com/u/123962?v=3","gravatar_id":"","url":"https://api.github.com/users/dgonzalez","html_url":"https://github.com/dgonzalez","followers_url":"https://api.github.com/users/dgonzalez/followers","following_url":"https://api.github.com/users/dgonzalez/following{/other_user}","gists_url":"https://api.github.com/users/dgonzalez/gists{/gist_id}","starred_url":"https://api.github.com/users/dgonzalez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgonzalez/subscriptions","organizations_url":"https://api.github.com/users/dgonzalez/orgs","repos_url":"https://api.github.com/users/dgonzalez/repos","events_url":"https://api.github.com/users/dgonzalez/events{/privacy}","received_events_url":"https://api.github.com/users/dgonzalez/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T07:22:23Z","updated_at":"2016-09-23T07:22:23Z","body":"Same problem here and the line commented above (the one that fixes the problem) does not exist anymore."}}
{"actor":{"display_login":"dgonzalez"}}