-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PodLogs do not work on master branch #475
Comments
It's likely a change in the client tooling, options, etc. |
Yes, but I'm interested in tracking down the actual commit that changed this behavior. The APIServer validation stuff has not changed in 2 years so I was looking for some possibly deleted code since github UI doesn't show deleted code in the blame view. |
Fixes vmware-tanzu#475 Signed-off-by: Chuck Ha <[email protected]>
Fixes vmware-tanzu#475 Signed-off-by: Chuck Ha <[email protected]>
@chuckha - did you accidentally push to master here? |
I did at some point accidentally push to scanner master, but not sonobuoy. This was closed #467 |
Ahh it was on the commit message it auto-closed. |
What steps did you take and what happened:
I started seeing
time="2018-07-11T02:45:22Z" level=error msg="the server rejected our request due to an error in our request (get pods sonobuoy)"
in my sonobuoy logs.
This failure can be traced back to the ValidatePodLogOptions in the kube-apiserver: https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/core/v1/validation/validation.go#L125
I have not yet been able to trace the commit to kubernetes where we are now affected by this, but it passes on sonobuoy v0.11.3 which is pinned to k8s 1.9 and fails on master which is pinned to k8s version v1.11.
I have a fix in place and will continue digging so I can find the exact cause of this error.
This caused me to read through the PodLog limits code and I think it needs to be revisited, but that's out of scope for this ticket.
What did you expect to happen:
I expected PodLogs to be gathered like normal.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: