Skip to content
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

UPSTREAM: 46608: fixes kubectl cached discovery on Windows #14399

Merged
merged 1 commit into from
May 30, 2017

Conversation

fabianofranz
Copy link
Member

@fabianofranz fabianofranz commented May 29, 2017

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1452073
Upstream PR: kubernetes/kubernetes#46608

The kubectl cached discovery makes use of func (f *File) Chmod(mode FileMode) error which is not supported and errors out on Windows, making oc get and potentially a number of other commands to fail miserably on that platform. os.Chmod by file name, on the other hand, does not error out and should be used instead.

@ncdc up to you, but this breaks oc on Windows pretty badly. Was reported on 3.6.0.

@fabianofranz
Copy link
Member Author

[test]

@fabianofranz fabianofranz added component/cli kind/bug Categorizes issue or PR as related to a bug. labels May 29, 2017
@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 21d9860

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1831/) (Base Commit: 5a19120)

@ncdc
Copy link
Contributor

ncdc commented May 30, 2017

[merge][severity: bug]

@fabianofranz
Copy link
Member Author

flake #13984 re[merge][severity: bug]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 21d9860

@openshift-bot
Copy link
Contributor

openshift-bot commented May 30, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/841/) (Base Commit: b2dfb64) (Extended Tests: bug) (Image: devenv-rhel7_6283)

@openshift-bot openshift-bot merged commit 1c38059 into openshift:master May 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/cli component/kubernetes kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants