origin
origin copied to clipboard
OC client error on new version of macOS Monterey
OC clinet throwing the error as its build on go 1.10
Version
OC Client version 3.11
Steps To Reproduce
Mac OS Monterey 12.1
Current Result
fatal error: runtime: bsdthread_register error
runtime stack: runtime.throw(0x37ead3b, 0x21) /usr/local/go/src/runtime/panic.go:616 +0x81 fp=0x7ff7bfeffaa8 sp=0x7ff7bfeffa88 pc=0x102ae91 runtime.goenvs() /usr/local/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeffad8 sp=0x7ff7bfeffaa8 pc=0x1028a13 runtime.schedinit() /usr/local/go/src/runtime/proc.go:501 +0xd6 fp=0x7ff7bfeffb40 sp=0x7ff7bfeffad8 pc=0x102d786 runtime.rt0_go(0x7ff7bfeffb70, 0x3, 0x7ff7bfeffb70, 0x1000000, 0x3, 0x7ff7bfeffca8, 0x7ff7bfeffcab, 0x7ff7bfeffcaf, 0x0, 0x7ff7bfeffcbb, ...) /usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeffb48 sp=0x7ff7bfeffb40 pc=0x1056af4
Expected Result
OC client output or oc version output with oc version command,
Additional Information
issue with simple OC command too. Find this thred about go version as OC client is build on 1.10 version of golang. https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue
is it going to be new OC client which is build on go 1.11 or highter?
[visit https://docs.openshift.org/latest/welcome/index.html]
Facing the same issue. Is there any update on this issue?
I have installed the latest version of oc clinet with brew install openshift-cli
its working for me so far. Some command has changed with updated version.
@kshitij241 's answer works well.
@kshitij241 's answer worked, but installs the openshift v4 client. Some things like flags are removed or replaced, keep that in mind!
if you installed oc before, please remember run below command:
brew link openshift-cli
otherwise, the oc
command still links to the old one and still reports the same issue.
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten /remove-lifecycle stale
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen
.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Exclude this issue from closing again by commenting /lifecycle frozen
.
/close
@openshift-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen
. Mark the issue as fresh by commenting/remove-lifecycle rotten
. Exclude this issue from closing again by commenting/lifecycle frozen
./close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.