-
Notifications
You must be signed in to change notification settings - Fork 41.8k
Closed
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.
Description
/kind bug
What happened:
Sent a request for an aggregated resource (sample-api wardle/flunders). Response was a 200 status code and an error message saying the response could not be given.
What you expected to happen:
We should have an error status code.
How to reproduce it (as minimally and precisely as possible):
- Set up sample-apiserver.
- curl -k -v -XGET -H "User-Agent: kubectl/v1.8.0 (linux/amd64) kubernetes/49ae996" -H "Accept: application/vnd.kubernetes.protobuf" -H "Authorization: Bearer " https:///apis/wardle.k8s.io/v1alpha1/namespaces/default/flunders
- Response
< HTTP/1.1 200 OK
< Content-Length: 173
< Content-Type: application/vnd.kubernetes.protobuf
< Date: Tue, 08 Aug 2017 22:57:37 GMT
<
k8s
�v1��Status���
�
- Connection #0 to host 35.193.112.40 left intact
��Failure�~object *v1alpha1.FlunderList does not implement the protobuf marshalling interface and cannot be encoded to a protobuf message"0���"
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version): 1.8 - Cloud provider or hardware configuration**: GCE
- OS (e.g. from /etc/os-release): Debian GNU/Linux 7 (wheezy)
- Kernel (e.g.
uname -a): 3.16.0-4-amd64 - Install tools:
- Others:
Metadata
Metadata
Assignees
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.sig/api-machineryCategorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG API Machinery.