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

oc problems after upgrading to Mac Sierra #11085

Closed
rawlingsj opened this issue Sep 25, 2016 · 14 comments
Closed

oc problems after upgrading to Mac Sierra #11085

rawlingsj opened this issue Sep 25, 2016 · 14 comments
Assignees
Milestone

Comments

@rawlingsj
Copy link

The latest Mac OS update 'Sierra' is causing problems with golang binaries compiled with less than go 1.7.1. gofabric8 was hit by this but after compiling with 1.7.1 and releasing the problems seems to be resolved.

Problems running oc commands: deleting deployment configs sometimes hangs, oc get pods and oc edit dc foo intermittently causing panic errors, see the errors in gist...

Version
oc v1.3.0
kubernetes v1.3.0+52492b4
features: Basic-Auth
kubernetes v1.2.0-36-g4a3f9c5
Steps To Reproduce
  1. upgrade Mac to Sierra http://www.apple.com/uk/macos/sierra/
  2. connect to openshift cluster, I was using an openshift dedicated instance
  3. start interacting with the cluster using CLI commands as described above
@liggitt
Copy link
Contributor

liggitt commented Sep 25, 2016

Looks like go 1.6.3 should fix this
golang/go#16354

@rawlingsj
Copy link
Author

Unfortunately I don't think that's going to be enough, our gofabric8 client was compiled with 1.6.3 when we had the issue reported. 1.7.1 has fixed it though.

@liggitt
Copy link
Contributor

liggitt commented Sep 25, 2016

That's unfortunate and should probably be reported upstream if they think 1.6.3 resolved Sierra issues

@jimmidyson
Copy link
Contributor

@rawlingsj We should probably check with all components compiled with 1.6.3 before reporting - it looks like it should work.

@jimmidyson
Copy link
Contributor

Think they know it wasn't fixed in 1.6.3 - golang/go#16354 (comment)

@fabianofranz
Copy link
Member

@eparis @smarterclayton arguments for 1.7.1?

@fabianofranz
Copy link
Member

fabianofranz commented Sep 26, 2016

This will likely bit everyone in Sierra on Origin, Online, and OCP 1.3, 3.3. I'm increasing the priority and we have to debate about a new 0.x release or just 3.3.1. @pweil- @smarterclayton @juanvallejo

@fabianofranz
Copy link
Member

cc @jwforres

@liggitt
Copy link
Contributor

liggitt commented Sep 26, 2016

opened golang/go#17234 to track backporting the final version of the fix for sierra to 1.6.x, we'll see if it happens

@fabianofranz
Copy link
Member

Upstream issue is kubernetes/kubernetes#32999.

@rafabene
Copy link
Contributor

rafabene commented Sep 29, 2016

This bug is so unfortunate! I just updated MacOS to Sierra and now I can't use OpenShift/Kubectl anymore. @fabianofranz Do you have any updates on this bug? Is there any "urgent" release planned?

@rafabene
Copy link
Contributor

WORKAROUND for people who already updated to Sierra:
Use the brew version: brew install openshift-cli It is already compiled for Sierra.

@fabianofranz
Copy link
Member

@rafabene we're targeting 3.3.1 / 1.3.1. This is related to an issue with Go which can be reproduced on mostly anything compiled by Go < 1.7 and used on MacOS Sierra (including fabric8, kubectl for example). Our strategy has been to work on a port of the fix to 1.6.x on Fedora/RHEL which we will then use to compile the .1 release.

Meanwhile, the workaround is to compile oc and kubectl by yourself using Go 1.7.x (or use a tool that does that for you, like brew as you mentioned).

@fabianofranz fabianofranz added this to the 1.3.1 milestone Oct 19, 2016
@fabianofranz
Copy link
Member

Fixed in 1.3.1 and 3.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants