{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67047","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67047/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67047/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67047/events","html_url":"https://github.com/kubernetes/kubernetes/issues/67047","id":348120015,"node_id":"MDU6SXNzdWUzNDgxMjAwMTU=","number":67047,"title":"sample-apiserver API resource types don't have protobuf definitions, requests respond with errNotMarshalable","user":{"login":"tristanburgess","id":3913590,"node_id":"MDQ6VXNlcjM5MTM1OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3913590?v=4","gravatar_id":"","url":"https://api.github.com/users/tristanburgess","html_url":"https://github.com/tristanburgess","followers_url":"https://api.github.com/users/tristanburgess/followers","following_url":"https://api.github.com/users/tristanburgess/following{/other_user}","gists_url":"https://api.github.com/users/tristanburgess/gists{/gist_id}","starred_url":"https://api.github.com/users/tristanburgess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristanburgess/subscriptions","organizations_url":"https://api.github.com/users/tristanburgess/orgs","repos_url":"https://api.github.com/users/tristanburgess/repos","events_url":"https://api.github.com/users/tristanburgess/events{/privacy}","received_events_url":"https://api.github.com/users/tristanburgess/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"node_id":"MDU6TGFiZWwxMDUxNDYwNzE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":173493835,"node_id":"MDU6TGFiZWwxNzM0OTM4MzU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/api-machinery","name":"sig/api-machinery","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-06T23:58:26Z","updated_at":"2018-11-07T20:47:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"/kind bug\r\n\r\n**What happened**:\r\nSent a request for an aggregated resource (sample-api wardle/flunders). Response was a 406 status code and an error message saying the response could not be given.\r\n\r\n**What you expected to happen**:\r\nA 200 status response containing marshaled protobuf data for the sample-apiserver API resource types.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\n    1. Set up sample-apiserver.\r\n    2. `curl -k -v -H \"Accept: application/vnd.kubernetes.protobuf\" -H \"Authorization: Bearer \" http://localhost:8080/apis/wardle.k8s.io/v1alpha1/namespaces/default/flunders`\r\n    Response:\r\n```\r\n< HTTP/1.1 406 Not Acceptable\r\n< Content-Length: 184\r\n< Content-Type: application/vnd.kubernetes.protobuf\r\n< Date: Mon, 06 Aug 2018 23:52:22 GMT\r\n< \r\nk8s\r\n\r\n\r\n\u0002v1\u0012\u0006Status\u0012�\u0001\r\n\u0006\r\n* Connection #0 to host localhost left intact\r\nNotAcceptable0�\u0003\u001A\"object *v1alpha1.FlunderList does not implement the protobuf marshalling interface and cannot be encoded to a protobuf message\"\r\n\r\n```\r\n\r\n**Anything else we need to know?**: The `406 Not Acceptable` status code depends on the fix for #50342. Without this fix, the response status code will be `200 OK`.\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): v1.12.0-alpha.1.158+1ced858ddde1bb\r\n- Cloud provider or hardware configuration: hack/local-up-cluster.sh (minikube)\r\n- OS (e.g. from /etc/os-release): Ubuntu 18.04.1 LTS (64 Bit)\r\n- Kernel (e.g. `uname -a`): Linux 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n- Install tools:\r\n- Others:\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/436771507","html_url":"https://github.com/kubernetes/kubernetes/issues/67047#issuecomment-436771507","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/67047","id":436771507,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjc3MTUwNw==","user":{"login":"fejta-bot","id":30488982,"node_id":"MDQ6VXNlcjMwNDg4OTgy","avatar_url":"https://avatars1.githubusercontent.com/u/30488982?v=4","gravatar_id":"","url":"https://api.github.com/users/fejta-bot","html_url":"https://github.com/fejta-bot","followers_url":"https://api.github.com/users/fejta-bot/followers","following_url":"https://api.github.com/users/fejta-bot/following{/other_user}","gists_url":"https://api.github.com/users/fejta-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/fejta-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fejta-bot/subscriptions","organizations_url":"https://api.github.com/users/fejta-bot/orgs","repos_url":"https://api.github.com/users/fejta-bot/repos","events_url":"https://api.github.com/users/fejta-bot/events{/privacy}","received_events_url":"https://api.github.com/users/fejta-bot/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T20:47:34Z","updated_at":"2018-11-07T20:47:34Z","author_association":"NONE","body":"Issues go stale after 90d of inactivity.\nMark the issue as fresh with `/remove-lifecycle stale`.\nStale issues rot after an additional 30d of inactivity and eventually close.\n\nIf this issue is safe to close now please do so with `/close`.\n\nSend feedback to sig-testing, kubernetes/test-infra and/or [fejta](https://github.com/fejta).\n/lifecycle stale"}}
{"actor":{"display_login":"fejta-bot"}}