Bug 1378990
Summary: | get stack trace when doing oc new-project on Mac running with macOS 10.12 | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Peter Ruan <pruan> |
Component: | oc | Assignee: | Fabiano Franz <ffranz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Peter Ruan <pruan> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.x | CC: | abhgupta, aos-bugs, jcajka, jokerman, jvallejo, mmccomas, pruan, sdodson, xiaocwan |
Target Milestone: | --- | Keywords: | UpcomingRelease |
Target Release: | 3.x | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
Binaries compiled with Golang versions prior to 1.7 will segfault most of the times in macOS Sierra (10.12) given incompatibilities between the Go syscall wrappers and Darwin.
Consequence:
Users of the OpenShift command-line tools ('oc', 'oadm', and others) in macOS Sierra (10.12) get a stack trace in the attempt of running commands.
Fix:
The Go 1.7 fix was backported by the go-tools team to Go 1.6 which was then used to compile our command-line tools in this release.
Result:
Users of the OpenShift command-line tools can use it normally in macOS Sierra (10.12).
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-16 22:12:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1381593 | ||
Bug Blocks: |
Description
Peter Ruan
2016-09-23 19:50:17 UTC
Marking this as UpcomingRelease as this is not a blocker and not a regression. I'm thinking it's some OS related issue with oc. since I didn't see that prior to the OS upgrade of the MacOS. (In reply to Peter Ruan from comment #2) > I'm thinking it's some OS related issue with oc. since I didn't see that > prior to the OS upgrade of the MacOS. I think this is likely to be the case. This thread[1] suggests downloading "go1.7rc5" as it contains a few fixes for mac. Could you try using rc5[2] and reporting back if it fixes this issue? [1] https://groups.google.com/forum/#!topic/golang-nuts/XaVT6fi1g30 [2] https://golang.org/dl/#go1.7rc5 Related github issue: https://github.com/openshift/origin/issues/11085 There's a pre-release version of atomic-openshift-clients-redistributable build with a patched version of Go that might fix the macOS Sierra issue. This is not yet the final fix, but we need some help from QE to test this on Mac. Here follows the information from the go-tools team: "I haven't tested on older releases of macOS/OSX. I would much appreciate if someone could test it on all versions of macOS/OSX you are targeting. I have built with patched go latest redistributables from atomic-openshift http://file.brq.redhat.com/jcajka/atomic-openshift-clients-redistributable-3.3.1.1-1.git.0.629a1d8.el7.x86_64.rpm and also prepared internal repo with patched Go https://copr.devel.redhat.com/coprs/jcajka/golang1.6-macos-backport/." According to comment 2, this is tested by same env and client as bug https://bugzilla.redhat.com/show_bug.cgi?id=1380544. The step is also covered by bug 1380544. Tested on on macOS Sierra version 10.12 OC client from Comment 5 rpm package: http://file.brq.redhat.com/jcajka/atomic-openshift-clients-redistributable-3.3.1.1-1.git.0.629a1d8.el7.x86_64.rpm $ ./oc version oc v3.3.1.1 kubernetes v1.3.0+52492b4 features: Basic-Auth Server https://xxx:8443 openshift v3.3.1.1 kubernetes v1.3.0+52492b4 Steps: oc new-project xiaocwan-t oc run hello --image=openshift/hello-openshift oc get pod oc edit dc/hello oc deploy hello --latest oc get pod oc delete dc hello oc get pod Not reproduced on above client version, could Dev help to confirm the client package and the steps, if there's no problem, QE will change the status to Verified. Running oc version oc v3.3.1.1 kubernetes v1.3.0+52492b4 I didn't experience any traceback. Marking bug as verified. |