Skip to content

Instantly share code, notes, and snippets.

@porcelli
Created June 27, 2019 23:30
Show Gist options
  • Save porcelli/67f9d3966e76f29af4fe29d087a00510 to your computer and use it in GitHub Desktop.
Save porcelli/67f9d3966e76f29af4fe29d087a00510 to your computer and use it in GitHub Desktop.
crc - Local OpenShift 4.x cluster
INFO Caching oc binary
INFO Setting up virtualization
Password:
Q: what password for?
FATA Could not install VirtualBox.pkg: installer: Package name is Oracle VM VirtualBox
installer: Installing at base path /
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
exit status 1:
Q: what to do?
~/D/crc ❯❯❯ ./crc setup ✘ 1
crc - Local OpenShift 4.x cluster
INFO Caching oc binary
INFO Setting up virtualization
INFO Setting file permissions for resolver
~/D/crc ❯❯❯ ./crc setup
crc - Local OpenShift 4.x cluster
INFO Caching oc binary
INFO Setting up virtualization
INFO Setting file permissions for resolver
~/D/crc ❯❯❯ ./crc start -d virtualbox -b crc_vbox_4.1.0.tar.xz
crc - Local OpenShift 4.x cluster
INFO Checking if oc binary is cached
INFO Checking if VirtualBox is Installed
INFO Checking file permissions for resolver
INFO Extracting the Bundle tarball ...
INFO Creating VM ...
ERRO Error occured: Error creating the VM. [Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue]
ERRO Error creating host: Error creating the VM. Error creating machine: Error in driver during machine creation: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x145f266]
goroutine 1 [running]:
github.com/code-ready/crc/pkg/crc/machine.Start(0x1646d1a, 0x3, 0x7ffeefbff755, 0x15, 0x7ffeefbff747, 0xa, 0x2000, 0x4, 0x0, 0x0, ...)
/home/prkumar/work/github/crc/pkg/crc/machine/machine.go:99 +0x20a6
github.com/code-ready/crc/cmd/crc/cmd.runStart(0xc0000dc740, 0x0, 0x4)
/home/prkumar/work/github/crc/cmd/crc/cmd/start.go:55 +0x258
github.com/code-ready/crc/cmd/crc/cmd.glob..func6(0x1b38260, 0xc0000dc740, 0x0, 0x4)
/home/prkumar/work/github/crc/cmd/crc/cmd/start.go:31 +0x3f
github.com/spf13/cobra.(*Command).execute(0x1b38260, 0xc0000dc6c0, 0x4, 0x4, 0x1b38260, 0xc0000dc6c0)
/home/prkumar/work/go/pkg/mod/github.com/spf13/[email protected]/command.go:766 +0x2ae
github.com/spf13/cobra.(*Command).ExecuteC(0x1b38be0, 0x100552f, 0xc000080058, 0x0)
/home/prkumar/work/go/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x2ec
github.com/spf13/cobra.(*Command).Execute(...)
/home/prkumar/work/go/pkg/mod/github.com/spf13/[email protected]/command.go:800
github.com/code-ready/crc/cmd/crc/cmd.Execute()
/home/prkumar/work/github/crc/cmd/crc/cmd/root.go:63 +0x2e
main.main()
/home/prkumar/work/github/crc/cmd/crc/main.go:10 +0x25
Installed new version of VirtualBox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment