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

Can crc be run in a CentOS box on VirtualBox? #672

Closed
morningspace opened this issue Sep 30, 2019 · 7 comments
Closed

Can crc be run in a CentOS box on VirtualBox? #672

morningspace opened this issue Sep 30, 2019 · 7 comments

Comments

@morningspace
Copy link

General information

  • OS: macOS
  • Hypervisor: VirtualBox
  • Did you run crc setup before starting it (Yes)?

CRC version

# Put the output of `crc version`
$ crc version
version: 1.0.0-beta.5+f2aa58c
OpenShift version: 4.1.14 (embedded in binary)

CRC status

# Put the output of `crc status`
$ crc status
ERRO Error occurred: Machine "crc" does not exist. Use "crc start" to add a new one.

CRC config

# Put the output of `crc config view`

Host Operating System

# put the output of `sw_vers` in case of Mac
sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.6
BuildVersion:	17G3025

Steps to reproduce

  1. Launch a CentOS box using vagrant + virtualbox
  2. Go into CentOS box and run crc setup
  3. It failed and report:
INFO Checking if running as non-root              
INFO Caching oc binary                            
INFO Setting up virtualization                    
FATA You need to enable virtualization in BIOS    

Still new to crc, but just would like to know if that's possible to run crc in a CentOS box running on VirtualBox.

@morningspace morningspace changed the title Can crc be run in a CentOS on VirtualBox? Can crc be run in a CentOS box on VirtualBox? Sep 30, 2019
@cfergeau
Copy link
Contributor

cfergeau commented Sep 30, 2019

FATA You need to enable virtualization in BIOS

For this error, you'd need to enable nested virtualization in virtualbox

@cfergeau
Copy link
Contributor

Closing as this issue is not something crc can/should fix

@morningspace
Copy link
Author

@cfergeau Thanks for your quick response! So, it appears that I need to find other ways as it's said the nested virtualization is only for AMD at the moment, not for Intel... while my Mac uses Intel...

@cfergeau
Copy link
Contributor

cfergeau commented Oct 1, 2019

We provide native macos crc binaries, as well as an unsupported virtualbox crc disk image, do you have any specific requirement to use crc from a linux host?

@morningspace
Copy link
Author

Hi @cfergeau I'd like to embed crc into my lab-k8s-playground, and it's supposed to support mult-OS, such as MacOS, Ubuntu, CentOS, RHEL. So, I'd like to automate, test, verify crc, and other apps deployment such as Istio, API Connect on top of crc on CentOS... Also, our CI/CD env is linux-based...

While I don't have CentOS at hand, that's why I was trying to install it using VirtualBox:-)

@snowch
Copy link

snowch commented Dec 17, 2019

We provide native macos crc binaries, as well as an unsupported virtualbox crc disk image, do you have any specific requirement to use crc from a linux host?

After a few days of failing to run crc on my mac, a self contained virtualbox image would have been a nice solution.

@morningspace
Copy link
Author

@snowch According to #838, it appears the virtualbox support is deprecated and removed from the official crc distributions.

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

3 participants