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

Flag 'http-proxy' is not supported for oc version v3.11.0. Use 'openshift-version' flag to select a different version of OpenShift. FAIL #3573

Open
unnipilla opened this issue Mar 16, 2023 · 0 comments

Comments

@unnipilla
Copy link

unnipilla commented Mar 16, 2023

General information

  • Minishift version: minishift v1.34.3+4b58f89
  • OS: macOS
  • Hypervisor: VirtualBox

While starting Minishift after install i am getting the following error

Steps to reproduce

  1. minishift profile set servicemesh
  2. minishift config set memory 8GB
  3. minishift config set cpus 4
  4. minishift config set image-caching true
  5. minishift config set openshift-version v3.11.0
  6. minishift addon enable admin-user
  7. minishift addon enable anyuid
  8. ##If you are behind a proxy, configure the virtual machine to be able to use the proxy, otherwise skip the proxy setup
  9. ##Start minishift
  10. minishift start --vm-driver virtualbox

Expected

Minishift starts

Actual

Error

Logs

minishift start --show-libmachine-logs -v5
-- minishift version: v1.34.3+4b58f89
-- Starting profile 'servicemesh'
-- Using proxy for the setup

-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x37ead3b, 0x21)
/usr/local/go/src/runtime/panic.go:616 +0x81 fp=0x7ff7bfeff698 sp=0x7ff7bfeff678 pc=0x102ae91
runtime.goenvs()
/usr/local/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff6c8 sp=0x7ff7bfeff698 pc=0x1028a13
runtime.schedinit()
/usr/local/go/src/runtime/proc.go:501 +0xd6 fp=0x7ff7bfeff730 sp=0x7ff7bfeff6c8 pc=0x102d786
runtime.rt0_go(0x7ff7bfeff768, 0x4, 0x7ff7bfeff768, 0x0, 0x1000000, 0x4, 0x7ff7bfeff920, 0x7ff7bfeff956, 0x7ff7bfeff95e, 0x7ff7bfeff961, ...)
/usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff738 sp=0x7ff7bfeff730 pc=0x1056af4
Flag 'http-proxy' is not supported for oc version v3.11.0. Use 'openshift-version' flag to select a different version of OpenShift.
FAIL
Provided oc flag not supported

You can start Minishift with minishift start --show-libmachine-logs -v5 to collect logs.
Please consider posting this on http://gist.github.com/ and post the link in the issue.

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

No branches or pull requests

1 participant