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

"minikube start" hangs in a nested Virtualbox VM environment #9647

Closed
chippey5 opened this issue Nov 9, 2020 · 11 comments
Closed

"minikube start" hangs in a nested Virtualbox VM environment #9647

chippey5 opened this issue Nov 9, 2020 · 11 comments
Labels
cause/nested-vm-config When nested VM's appear to play a role co/virtualbox kind/support Categorizes issue or PR as a support question. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/linux

Comments

@chippey5
Copy link

chippey5 commented Nov 9, 2020

Steps to reproduce the issue:

  1. Create a fresh Ubuntu Server 18.04 or 20.04 LTS installation as a virtual machine (running in virtualbox). Perform the following steps in the VM.
  2. Install the latest version of virtualbox (6.1.10 at the time of writing)
  3. Install minikube (curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/)
  4. Ensure VTx is enabled:
$ grep vmx /proc/cpuinfo
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti tpr_shadow flexpriority fsgsbase avx2 invpcid rdseed clflushopt md_clear flush_l1d
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti tpr_shadow flexpriority fsgsbase avx2 invpcid rdseed clflushopt md_clear flush_l1d
  1. Ensure enough RAM and disk space is available:
$ free -m
              total        used        free      shared  buff/cache   available
Mem:           7962         151        7524           1         286        7577
Swap:          2047           0        2047
$ df -h
Filesystem                         Size  Used Avail Use% Mounted on
udev                               3.9G     0  3.9G   0% /dev
tmpfs                              797M  1.1M  796M   1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv   36G  6.5G   28G  19% /
tmpfs                              3.9G     0  3.9G   0% /dev/shm
tmpfs                              5.0M     0  5.0M   0% /run/lock
tmpfs                              3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda2                          976M  181M  728M  20% /boot
/dev/loop1                          31M   31M     0 100% /snap/snapd/9721
/dev/loop2                          56M   56M     0 100% /snap/core18/1932
/dev/loop0                          68M   68M     0 100% /snap/lxd/18150
tmpfs                              797M     0  797M   0% /run/user/1000
  1. Run minikube start

Full output of failed command:

$ minikube start --alsologtostderr
I1109 17:34:31.813745    1194 out.go:192] Setting JSON to false
I1109 17:34:31.814547    1194 start.go:103] hostinfo: {"hostname":"minikube-test","uptime":875,"bootTime":1604942396,"procs":166,"os":"linux","platform":"ubuntu","platformFamily":"debian","platformVersion":"20.04","kernelVersion":"5.4.0-52-generic","virtualizationSystem":"kvm","virtualizationRole":"host","hostid":"85191452-720d-43c5-9485-d136e5ba9062"}
I1109 17:34:31.814852    1194 start.go:113] virtualization: kvm host
I1109 17:34:31.919944    1194 out.go:110] * minikube v1.14.2 on Ubuntu 20.04
* minikube v1.14.2 on Ubuntu 20.04
I1109 17:34:31.945395    1194 notify.go:126] Checking for updates...
I1109 17:34:31.946015    1194 driver.go:288] Setting default libvirt URI to qemu:///system
I1109 17:34:31.946098    1194 global.go:102] Querying for installed drivers using PATH=/home/chippey5/.minikube/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
I1109 17:34:31.946243    1194 global.go:110] docker priority: 8, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "docker": executable file not found in $PATH Fix:Install Docker Doc:https://minikube.sigs.k8s.io/docs/drivers/docker/}
I1109 17:34:31.946543    1194 global.go:110] kvm2 priority: 7, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "virsh": executable file not found in $PATH Fix:Install libvirt Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/}
I1109 17:34:31.946789    1194 global.go:110] none priority: 3, state: {Installed:false Healthy:false Running:true NeedsImprovement:false Error:exec: "docker": executable file not found in $PATH Fix:Install docker Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/none/}
I1109 17:34:31.947010    1194 global.go:110] podman priority: 2, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "podman": executable file not found in $PATH Fix:Install Podman Doc:https://minikube.sigs.k8s.io/docs/drivers/podman/}
I1109 17:34:32.798050    1194 global.go:110] virtualbox priority: 5, state: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Fix: Doc:}
I1109 17:34:32.798201    1194 global.go:110] vmware priority: 6, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "docker-machine-driver-vmware": executable file not found in $PATH Fix:Install docker-machine-driver-vmware Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/}
I1109 17:34:32.798256    1194 driver.go:270] Picked: virtualbox
I1109 17:34:32.798269    1194 driver.go:271] Alternatives: []
I1109 17:34:32.798277    1194 driver.go:272] Rejects: [docker kvm2 none podman vmware]
I1109 17:34:32.856503    1194 out.go:110] * Automatically selected the virtualbox driver
* Automatically selected the virtualbox driver
I1109 17:34:32.856662    1194 start.go:272] selected driver: virtualbox
I1109 17:34:32.856706    1194 start.go:680] validating driver "virtualbox" against <nil>
I1109 17:34:32.856759    1194 start.go:691] status for virtualbox: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Fix: Doc:}
I1109 17:34:32.858083    1194 start_flags.go:228] no existing cluster config was found, will generate one from the flags
I1109 17:34:32.858906    1194 start_flags.go:246] Using suggested 2200MB memory alloc based on sys=7962MB, container=0MB
I1109 17:34:32.859278    1194 start_flags.go:631] Wait components to verify : map[apiserver:true system_pods:true]
I1109 17:34:32.859362    1194 cni.go:74] Creating CNI manager for ""
I1109 17:34:32.859384    1194 cni.go:117] CNI unnecessary in this configuration, recommending no CNI
I1109 17:34:32.859410    1194 start_flags.go:358] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.13@sha256:4d43acbd0050148d4bc399931f1b15253b5e73815b63a67b8ab4a5c9e523403f Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:virtualbox HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio KubernetesConfig:{KubernetesVersion:v1.19.2 ClusterName:minikube APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ExposedPorts:[]}
I1109 17:34:32.859658    1194 iso.go:119] acquiring lock: {Name:mk6965c5bbd0f2a831092be4b78eb4b07ecfbdf3 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1109 17:34:32.986278    1194 out.go:110] * Starting control plane node minikube in cluster minikube
* Starting control plane node minikube in cluster minikube
I1109 17:34:32.987451    1194 preload.go:97] Checking if preload exists for k8s version v1.19.2 and runtime docker
I1109 17:34:32.989537    1194 preload.go:105] Found local preload: /home/chippey5/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4
I1109 17:34:32.991248    1194 cache.go:53] Caching tarball of preloaded images
I1109 17:34:32.991876    1194 preload.go:131] Found /home/chippey5/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4 in cache, skipping download
I1109 17:34:32.992721    1194 cache.go:56] Finished verifying existence of preloaded tar for  v1.19.2 on docker
I1109 17:34:32.994284    1194 profile.go:150] Saving config to /home/chippey5/.minikube/profiles/minikube/config.json ...
I1109 17:34:32.995163    1194 lock.go:36] WriteFile acquiring /home/chippey5/.minikube/profiles/minikube/config.json: {Name:mkc4f1e46e3a50b2fa74ccf617f47ff3412b8de0 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1109 17:34:32.996780    1194 cache.go:182] Successfully downloaded all kic artifacts
I1109 17:34:32.997589    1194 start.go:314] acquiring machines lock for minikube: {Name:mkcd717921edb98395471c78ffc60d70122d50a6 Clock:{} Delay:500ms Timeout:13m0s Cancel:<nil>}
I1109 17:34:32.998781    1194 start.go:318] acquired machines lock for "minikube" in 476.395µs
I1109 17:34:32.999266    1194 start.go:90] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.14.0.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.13@sha256:4d43acbd0050148d4bc399931f1b15253b5e73815b63a67b8ab4a5c9e523403f Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:virtualbox HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio KubernetesConfig:{KubernetesVersion:v1.19.2 ClusterName:minikube APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.19.2 ControlPlane:true Worker:true}] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ExposedPorts:[]} &{Name: IP: Port:8443 KubernetesVersion:v1.19.2 ControlPlane:true Worker:true}
I1109 17:34:33.000053    1194 start.go:127] createHost starting for "" (driver="virtualbox")
I1109 17:34:33.050751    1194 out.go:110] * Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
* Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
I1109 17:34:33.053247    1194 start.go:164] libmachine.API.Create for "minikube" (driver="virtualbox")
I1109 17:34:33.054172    1194 client.go:165] LocalClient.Create starting
I1109 17:34:33.076013    1194 main.go:119] libmachine: Reading certificate data from /home/chippey5/.minikube/certs/ca.pem
I1109 17:34:33.113722    1194 main.go:119] libmachine: Decoding PEM data...
I1109 17:34:33.114830    1194 main.go:119] libmachine: Parsing certificate...
I1109 17:34:33.116181    1194 main.go:119] libmachine: Reading certificate data from /home/chippey5/.minikube/certs/cert.pem
I1109 17:34:33.118508    1194 main.go:119] libmachine: Decoding PEM data...
I1109 17:34:33.119289    1194 main.go:119] libmachine: Parsing certificate...
I1109 17:34:33.120431    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage --version
I1109 17:34:33.165335    1194 main.go:119] libmachine: STDOUT:
{
6.1.10_Ubuntur138449
}
I1109 17:34:33.166231    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:33.166919    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1109 17:34:33.203151    1194 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Down
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1109 17:34:33.205099    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:33.205729    1194 main.go:119] libmachine: Downloading /home/chippey5/.minikube/cache/boot2docker.iso from file:///home/chippey5/.minikube/cache/iso/minikube-v1.14.0.iso...
I1109 17:34:34.770240    1194 main.go:119] libmachine: Creating VirtualBox VM...
I1109 17:34:34.771073    1194 main.go:119] libmachine: Creating SSH key...
I1109 17:34:35.122514    1194 main.go:119] libmachine: Creating disk image...
I1109 17:34:35.122561    1194 main.go:119] libmachine: Creating 20000 MB hard disk image...
I1109 17:34:35.122575    1194 main.go:119] libmachine: Writing magic tar header
I1109 17:34:35.122598    1194 main.go:119] libmachine: Writing SSH key tar header
I1109 17:34:35.122649    1194 main.go:119] libmachine: Calling inner createDiskImage
I1109 17:34:35.122687    1194 main.go:119] libmachine: /usr/bin/VBoxManage convertfromraw stdin /home/chippey5/.minikube/machines/minikube/disk.vmdk 20971520000 --format VMDK
I1109 17:34:35.122726    1194 main.go:119] libmachine: Starting command
I1109 17:34:35.122962    1194 main.go:119] libmachine: Copying to stdin
I1109 17:34:35.122996    1194 main.go:119] libmachine: Filling zeroes
I1109 17:34:41.268691    1194 main.go:119] libmachine: Closing STDIN
I1109 17:34:41.268720    1194 main.go:119] libmachine: Waiting on cmd
I1109 17:34:41.959689    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage createvm --basefolder /home/chippey5/.minikube/machines/minikube --name minikube --register
I1109 17:34:43.621354    1194 main.go:119] libmachine: STDOUT:
{
Virtual machine 'minikube' is created and registered.
UUID: e81e68f3-53b7-4b00-aea7-fd73c0dac81b
Settings file: '/home/chippey5/.minikube/machines/minikube/minikube/minikube.vbox'
}
I1109 17:34:43.621444    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:43.621474    1194 main.go:119] libmachine: VM CPUS: 2
I1109 17:34:43.621495    1194 main.go:119] libmachine: VM Memory: 2200
I1109 17:34:43.621579    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --firmware bios --bioslogofadein off --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --ostype Linux26_64 --cpus 2 --memory 2200 --acpi on --ioapic on --rtcuseutc on --natdnshostresolver1 on --natdnsproxy1 off --cpuhotplug off --pae on --hpet on --hwvirtex on --nestedpaging on --largepages on --vtxvpid on --accelerate3d off --boot1 dvd
I1109 17:34:43.843933    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:43.844031    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:43.844082    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --nic1 nat --nictype1 virtio --cableconnected1 on
I1109 17:34:44.024323    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:44.024436    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:44.024485    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storagectl minikube --name SATA --add sata --hostiocache on
I1109 17:34:44.205255    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:44.205324    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:44.205397    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storageattach minikube --storagectl SATA --port 0 --device 0 --type dvddrive --medium /home/chippey5/.minikube/machines/minikube/boot2docker.iso
I1109 17:34:44.640657    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:44.641825    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:44.642925    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storageattach minikube --storagectl SATA --port 1 --device 0 --type hdd --medium /home/chippey5/.minikube/machines/minikube/disk.vmdk
I1109 17:34:44.951201    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:44.952046    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:44.952746    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage guestproperty set minikube /VirtualBox/GuestAdd/SharedFolders/MountPrefix /
I1109 17:34:45.512757    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:45.513492    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:45.514622    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage guestproperty set minikube /VirtualBox/GuestAdd/SharedFolders/MountDir /
I1109 17:34:45.718886    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:45.719817    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:45.720741    1194 main.go:119] libmachine: setting up shareDir '/home' -> 'hosthome'
I1109 17:34:45.721282    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage sharedfolder add minikube --name hosthome --hostpath /home --automount
I1109 17:34:45.910534    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:45.911535    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:45.912563    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage setextradata minikube VBoxInternal2/SharedFoldersEnableSymlinksCreate/hosthome 1
I1109 17:34:46.109533    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:46.109563    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:46.109574    1194 main.go:119] libmachine: Starting the VM...
I1109 17:34:46.109585    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage showvminfo minikube --machinereadable
I1109 17:34:46.185497    1194 main.go:119] libmachine: STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="e81e68f3-53b7-4b00-aea7-fd73c0dac81b"
CfgFile="/home/chippey5/.minikube/machines/minikube/minikube/minikube.vbox"
SnapFldr="/home/chippey5/.minikube/machines/minikube/minikube/Snapshots"
LogFldr="/home/chippey5/.minikube/machines/minikube/minikube/Logs"
hardwareuuid="e81e68f3-53b7-4b00-aea7-fd73c0dac81b"
memory=2200
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="on"
cpu-profile="host"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="off"
nested-hw-virt="off"
cpuid-portability-level=0
bootmenu="disabled"
boot1="dvd"
boot2="dvd"
boot3="disk"
boot4="none"
acpi="on"
ioapic="on"
biosapic="apic"
biossystemtimeoffset=0
rtcuseutc="on"
hwvirtex="on"
nestedpaging="on"
largepages="on"
vtxvpid="on"
vtxux="on"
paravirtprovider="default"
effparavirtprovider="kvm"
VMState="poweroff"
VMStateChangeTime="2020-11-09T17:34:43.406000000"
graphicscontroller="vboxvga"
monitorcount=1
accelerate3d="off"
accelerate2dvideo="off"
teleporterenabled="off"
teleporterport=0
teleporteraddress=""
teleporterpassword=""
tracing-enabled="off"
tracing-allow-vm-access="off"
tracing-config=""
autostart-enabled="off"
autostart-delay=0
defaultfrontend=""
vmprocpriority="default"
storagecontrollername0="SATA"
storagecontrollertype0="IntelAhci"
storagecontrollerinstance0="0"
storagecontrollermaxportcount0="30"
storagecontrollerportcount0="30"
storagecontrollerbootable0="on"
"SATA-0-0"="/home/chippey5/.minikube/machines/minikube/boot2docker.iso"
"SATA-ImageUUID-0-0"="c8328112-350c-4712-9c4c-3833fe0ef4d2"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="/home/chippey5/.minikube/machines/minikube/disk.vmdk"
"SATA-ImageUUID-1-0"="a2161605-efeb-4be8-b8c4-a08eb4431383"
"SATA-2-0"="none"
"SATA-3-0"="none"
"SATA-4-0"="none"
"SATA-5-0"="none"
"SATA-6-0"="none"
"SATA-7-0"="none"
"SATA-8-0"="none"
"SATA-9-0"="none"
"SATA-10-0"="none"
"SATA-11-0"="none"
"SATA-12-0"="none"
"SATA-13-0"="none"
"SATA-14-0"="none"
"SATA-15-0"="none"
"SATA-16-0"="none"
"SATA-17-0"="none"
"SATA-18-0"="none"
"SATA-19-0"="none"
"SATA-20-0"="none"
"SATA-21-0"="none"
"SATA-22-0"="none"
"SATA-23-0"="none"
"SATA-24-0"="none"
"SATA-25-0"="none"
"SATA-26-0"="none"
"SATA-27-0"="none"
"SATA-28-0"="none"
"SATA-29-0"="none"
natnet1="nat"
macaddress1="0800273A4762"
cableconnected1="on"
nic1="nat"
nictype1="virtio"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
nic2="none"
nic3="none"
nic4="none"
nic5="none"
nic6="none"
nic7="none"
nic8="none"
hidpointing="ps2mouse"
hidkeyboard="ps2kbd"
uart1="off"
uart2="off"
uart3="off"
uart4="off"
lpt1="off"
lpt2="off"
audio="alsa"
audio_out="off"
audio_in="off"
clipboard="disabled"
draganddrop="disabled"
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="hosthome"
SharedFolderPathMachineMapping1="/home"
videocap="off"
videocapaudio="off"
capturescreens=""
capturefilename="/home/chippey5/.minikube/machines/minikube/minikube/minikube.webm"
captureres="1024x768"
capturevideorate=512
capturevideofps=25
captureopts=""
GuestMemoryBalloon=0
}
I1109 17:34:46.185560    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:46.185608    1194 main.go:119] libmachine: Check network to re-create if needed...
I1109 17:34:46.185625    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1109 17:34:46.217430    1194 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Down
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1109 17:34:46.218065    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:46.218321    1194 main.go:119] libmachine: Searching for hostonly interface for IPv4: 192.168.99.1 and Mask: ffffff00
I1109 17:34:46.218400    1194 main.go:119] libmachine: Found: vboxnet0
I1109 17:34:46.218455    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list dhcpservers
I1109 17:34:46.249237    1194 main.go:119] libmachine: STDOUT:
{
NetworkName:    HostInterfaceNetworking-vboxnet0
Dhcpd IP:       192.168.99.24
LowerIPAddress: 192.168.99.100
UpperIPAddress: 192.168.99.254
NetworkMask:    255.255.255.0
Enabled:        Yes
Global Configuration:
    minLeaseTime:     default
    defaultLeaseTime: default
    maxLeaseTime:     default
    Forced options:   None
    Suppressed opts.: None
        1/legacy: 255.255.255.0
Groups:               None
Individual Configs:   None
}
I1109 17:34:46.249259    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:46.249293    1194 main.go:119] libmachine: Removing orphan DHCP servers...
I1109 17:34:46.249300    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1109 17:34:46.286352    1194 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Down
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1109 17:34:46.286730    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:46.287159    1194 main.go:119] libmachine: Adding/Modifying DHCP server "192.168.99.9" with address range "192.168.99.100" - "192.168.99.254"...
I1109 17:34:46.287394    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list dhcpservers
I1109 17:34:46.340720    1194 main.go:119] libmachine: STDOUT:
{
NetworkName:    HostInterfaceNetworking-vboxnet0
Dhcpd IP:       192.168.99.24
LowerIPAddress: 192.168.99.100
UpperIPAddress: 192.168.99.254
NetworkMask:    255.255.255.0
Enabled:        Yes
Global Configuration:
    minLeaseTime:     default
    defaultLeaseTime: default
    maxLeaseTime:     default
    Forced options:   None
    Suppressed opts.: None
        1/legacy: 255.255.255.0
Groups:               None
Individual Configs:   None
}
I1109 17:34:46.340788    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:46.340839    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage dhcpserver modify --netname HostInterfaceNetworking-vboxnet0 --ip 192.168.99.9 --netmask 255.255.255.0 --lowerip 192.168.99.100 --upperip 192.168.99.254 --enable
I1109 17:34:46.783043    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:46.837505    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:46.837574    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --nic2 hostonly --nictype2 virtio --nicpromisc2 deny --hostonlyadapter2 vboxnet0 --cableconnected2 on
I1109 17:34:47.051314    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:47.051615    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:47.052110    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --natpf1 delete ssh
I1109 17:34:47.114929    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:47.114992    1194 main.go:119] libmachine: STDERR:
{
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
VBoxManage: error: Context: "RemoveRedirect(Bstr(ValueUnion.psz).raw())" at line 1920 of file VBoxManageModifyVM.cpp
}
I1109 17:34:47.115032    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --natpf1 ssh,tcp,127.0.0.1,36851,,22
I1109 17:34:47.307465    1194 main.go:119] libmachine: STDOUT:
{
}
I1109 17:34:47.307655    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:47.307830    1194 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage startvm minikube --type headless
I1109 17:34:48.573746    1194 main.go:119] libmachine: STDOUT:
{
Waiting for VM "minikube" to power on...
VM "minikube" has been successfully started.
}
I1109 17:34:48.573866    1194 main.go:119] libmachine: STDERR:
{
}
I1109 17:34:48.573928    1194 main.go:119] libmachine: Checking vm logs: /home/chippey5/.minikube/machines/minikube/minikube/Logs/VBox.log
I1109 17:34:48.574513    1194 main.go:119] libmachine: Waiting for an IP...
I1109 17:34:48.574593    1194 main.go:119] libmachine: Getting to WaitForSSH function...
I1109 17:34:48.574820    1194 main.go:119] libmachine: Using SSH client type: native
I1109 17:34:48.575105    1194 main.go:119] libmachine: &{{{<nil> 0 [] [] []} docker [0x7e4fa0] 0x7e4f60 <nil>  [] 0s} 127.0.0.1 36851 <nil> <nil>}
I1109 17:34:48.575211    1194 main.go:119] libmachine: About to run SSH command:
exit 0
I1109 17:35:30.646341    1194 main.go:119] libmachine: Error dialing TCP: ssh: handshake failed: read tcp 127.0.0.1:37138->127.0.0.1:36851: read: connection reset by peer
I1109 17:35:34.008604    1194 main.go:119] libmachine: Error dialing TCP: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Other errors showing up during minikube start:

Message from syslogd@minikube-test at Nov  9 18:56:18 ...
 kernel:[  524.341301] watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [EMT-0:2033]

This has been tested on two different machines, both running Ubuntu 20.04 under virtualbox. Kernel version 5.4.0-52-generic.

Optional: Full output of minikube logs command:

``` $ minikube logs * The control plane node must be running for this command - To fix this, run: "minikube start" ```
@afbjorklund afbjorklund added os/linux cause/nested-vm-config When nested VM's appear to play a role labels Nov 9, 2020
@afbjorklund
Copy link
Collaborator

afbjorklund commented Nov 9, 2020

If you are already running in VirtualBox, I would recommend using a different driver...

For instance the "docker" driver (for a desktop), or the "none" driver (for a dedicated VM)

Is there a reason for using an Ubuntu VM, rather than using the provided Buildroot ISO ?

Another approach is using a remote/second VM for minikube, as described here: #4730

@afbjorklund
Copy link
Collaborator

It might be an issue when using more than 1 vCPU, as required by kubadm:

I am running a KVM vm inside virtualbox. if the VM is set with 1 CPU, it works well.
But if i increase the CPU to 2 or more, i am getting CPU stuck message inside virtualbox.

@afbjorklund afbjorklund added kind/support Categorizes issue or PR as a support question. co/virtualbox labels Nov 9, 2020
@chippey5
Copy link
Author

If you are already running in VirtualBox, I would recommend using a different driver...

For instance the "docker" driver (for a desktop), or the "none" driver (for a dedicated VM)

Is there a reason for using an Ubuntu VM, rather than using the provided Buildroot ISO ?

Another approach is using a remote/second VM for minikube, as described here: #4730

Hi,

I was following the instructions from the Linux foundation in the course Kubernetes Fundamentals (LFS258), where they suggest using Virtualbox as the driver in the learning phase. I have previously used the docker driver where it worked just fine.

It might be an issue when using more than 1 vCPU, as required by kubadm:

I am running a KVM vm inside virtualbox. if the VM is set with 1 CPU, it works well.
But if i increase the CPU to 2 or more, i am getting CPU stuck message inside virtualbox.

I tried this to no avail, unfortunately. I'm going to see whether this could be kernel version related or not with a more recent version.

@chippey5
Copy link
Author

Alright, I have now tried with CentOS 8 instead:

$ uname -r
4.18.0-193.28.1.el8_2.x86_64
$ cat /etc/centos-release
CentOS Linux release 8.2.2004 (Core)
$ free -m
              total        used        free      shared  buff/cache   available
Mem:           7810         240        6140           8        1429        7317
Swap:          4095           0        4095
$ cat /proc/cpuinfo | egrep 'vmx|cpu cores'
cpu cores       : 2
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti tpr_shadow flexpriority fsgsbase avx2 invpcid rdseed clflushopt md_clear flush_l1d arch_capabilities
$ vboxmanage --version
6.0.24r139119
$ minikube version
minikube version: v1.14.2
commit: 2c82918e2347188e21c4e44c8056fc80408bce10

Run results:

$ minikube start --alsologtostderr
I1111 10:13:25.993309   14219 out.go:192] Setting JSON to false
I1111 10:13:25.994062   14219 start.go:103] hostinfo: {"hostname":"minikube-test3","uptime":1159,"bootTime":1605084846,"procs":166,"os":"linux","platform":"centos","platformFamily":"rhel","platformVersion":"8.2.2004","kernelVersion":"4.18.0-193.28.1.el8_2.x86_64","virtualizationSystem":"kvm","virtualizationRole":"host","hostid":"e2dd7fe2-330a-4a65-a8f7-6251cfd30fba"}
I1111 10:13:25.994396   14219 start.go:113] virtualization: kvm host
I1111 10:13:26.000398   14219 out.go:110] * minikube v1.14.2 on Centos 8.2.2004
* minikube v1.14.2 on Centos 8.2.2004
I1111 10:13:26.000470   14219 driver.go:288] Setting default libvirt URI to qemu:///system
I1111 10:13:26.000486   14219 global.go:102] Querying for installed drivers using PATH=/home/chippey5/.minikube/bin:/home/chippey5/.local/bin:/home/chippey5/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
I1111 10:13:26.000508   14219 global.go:110] kvm2 priority: 7, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "virsh": executable file not found in $PATH Fix:Install libvirt Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/}
I1111 10:13:26.000693   14219 global.go:110] none priority: 3, state: {Installed:false Healthy:false Running:true NeedsImprovement:false Error:exec: "docker": executable file not found in $PATH Fix:Install docker Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/none/}
I1111 10:13:26.003572   14219 notify.go:126] Checking for updates...
W1111 10:13:26.012923   14219 podman.go:139] podman returned error: exit status 1
I1111 10:13:26.013358   14219 global.go:110] podman priority: 2, state: {Installed:true Healthy:false Running:false NeedsImprovement:false Error:"sudo -k -n podman version --format {{.Version}}" exit status 1: sudo: a password is required Fix:Add your user to the 'sudoers' file: 'chippey5 ALL=(ALL) NOPASSWD: /usr/bin/podman' Doc:https://podman.io}
I1111 10:13:26.190494   14219 global.go:110] virtualbox priority: 5, state: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Fix: Doc:}
I1111 10:13:26.190647   14219 global.go:110] vmware priority: 6, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "docker-machine-driver-vmware": executable file not found in $PATH Fix:Install docker-machine-driver-vmware Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/}
I1111 10:13:26.190700   14219 global.go:110] docker priority: 8, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "docker": executable file not found in $PATH Fix:Install Docker Doc:https://minikube.sigs.k8s.io/docs/drivers/docker/}
I1111 10:13:26.190722   14219 driver.go:236] not recommending "podman" due to health: "sudo -k -n podman version --format {{.Version}}" exit status 1: sudo: a password is required
I1111 10:13:26.190739   14219 driver.go:270] Picked: virtualbox
I1111 10:13:26.190755   14219 driver.go:271] Alternatives: []
I1111 10:13:26.190761   14219 driver.go:272] Rejects: [kvm2 none podman vmware docker]
I1111 10:13:26.201161   14219 out.go:110] * Automatically selected the virtualbox driver
* Automatically selected the virtualbox driver
I1111 10:13:26.201185   14219 start.go:272] selected driver: virtualbox
I1111 10:13:26.201191   14219 start.go:680] validating driver "virtualbox" against <nil>
I1111 10:13:26.201208   14219 start.go:691] status for virtualbox: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Fix: Doc:}
I1111 10:13:26.201275   14219 start_flags.go:228] no existing cluster config was found, will generate one from the flags
I1111 10:13:26.201601   14219 start_flags.go:246] Using suggested 2200MB memory alloc based on sys=7810MB, container=0MB
I1111 10:13:26.201745   14219 start_flags.go:631] Wait components to verify : map[apiserver:true system_pods:true]
I1111 10:13:26.201794   14219 cni.go:74] Creating CNI manager for ""
I1111 10:13:26.201802   14219 cni.go:117] CNI unnecessary in this configuration, recommending no CNI
I1111 10:13:26.201827   14219 start_flags.go:358] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.13@sha256:4d43acbd0050148d4bc399931f1b15253b5e73815b63a67b8ab4a5c9e523403f Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:virtualbox HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio KubernetesConfig:{KubernetesVersion:v1.19.2 ClusterName:minikube APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ExposedPorts:[]}
I1111 10:13:26.201938   14219 iso.go:119] acquiring lock: {Name:mk6965c5bbd0f2a831092be4b78eb4b07ecfbdf3 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1111 10:13:26.210268   14219 out.go:110] * Starting control plane node minikube in cluster minikube
* Starting control plane node minikube in cluster minikube
I1111 10:13:26.210304   14219 preload.go:97] Checking if preload exists for k8s version v1.19.2 and runtime docker
I1111 10:13:26.210337   14219 preload.go:105] Found local preload: /home/chippey5/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4
I1111 10:13:26.210346   14219 cache.go:53] Caching tarball of preloaded images
I1111 10:13:26.210366   14219 preload.go:131] Found /home/chippey5/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4 in cache, skipping download
I1111 10:13:26.210382   14219 cache.go:56] Finished verifying existence of preloaded tar for  v1.19.2 on docker
I1111 10:13:26.210710   14219 profile.go:150] Saving config to /home/chippey5/.minikube/profiles/minikube/config.json ...
I1111 10:13:26.210753   14219 lock.go:36] WriteFile acquiring /home/chippey5/.minikube/profiles/minikube/config.json: {Name:mkc4f1e46e3a50b2fa74ccf617f47ff3412b8de0 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1111 10:13:26.210969   14219 cache.go:182] Successfully downloaded all kic artifacts
I1111 10:13:26.211004   14219 start.go:314] acquiring machines lock for minikube: {Name:mkcd717921edb98395471c78ffc60d70122d50a6 Clock:{} Delay:500ms Timeout:13m0s Cancel:<nil>}
I1111 10:13:26.211068   14219 start.go:318] acquired machines lock for "minikube" in 51.39µs
I1111 10:13:26.211094   14219 start.go:90] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.14.0.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.13@sha256:4d43acbd0050148d4bc399931f1b15253b5e73815b63a67b8ab4a5c9e523403f Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:virtualbox HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio KubernetesConfig:{KubernetesVersion:v1.19.2 ClusterName:minikube APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.19.2 ControlPlane:true Worker:true}] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ExposedPorts:[]} &{Name: IP: Port:8443 KubernetesVersion:v1.19.2 ControlPlane:true Worker:true}
I1111 10:13:26.211151   14219 start.go:127] createHost starting for "" (driver="virtualbox")
I1111 10:13:26.218830   14219 out.go:110] * Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
* Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
I1111 10:13:26.219090   14219 start.go:164] libmachine.API.Create for "minikube" (driver="virtualbox")
I1111 10:13:26.219132   14219 client.go:165] LocalClient.Create starting
I1111 10:13:26.219189   14219 main.go:119] libmachine: Reading certificate data from /home/chippey5/.minikube/certs/ca.pem
I1111 10:13:26.219234   14219 main.go:119] libmachine: Decoding PEM data...
I1111 10:13:26.219260   14219 main.go:119] libmachine: Parsing certificate...
I1111 10:13:26.219386   14219 main.go:119] libmachine: Reading certificate data from /home/chippey5/.minikube/certs/cert.pem
I1111 10:13:26.219422   14219 main.go:119] libmachine: Decoding PEM data...
I1111 10:13:26.219443   14219 main.go:119] libmachine: Parsing certificate...
I1111 10:13:26.219522   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage --version
I1111 10:13:26.248747   14219 main.go:119] libmachine: STDOUT:
{
6.0.24r139119
}
I1111 10:13:26.248781   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:26.248825   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1111 10:13:26.307393   14219 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:     fe80::800:27ff:fe00:0
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1111 10:13:26.307428   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:26.307873   14219 main.go:119] libmachine: Downloading /home/chippey5/.minikube/cache/boot2docker.iso from file:///home/chippey5/.minikube/cache/iso/minikube-v1.14.0.iso...
I1111 10:13:26.308026   14219 main.go:119] libmachine: Creating VirtualBox VM...
I1111 10:13:26.308045   14219 main.go:119] libmachine: Creating SSH key...
I1111 10:13:26.527288   14219 main.go:119] libmachine: Creating disk image...
I1111 10:13:26.527308   14219 main.go:119] libmachine: Creating 20000 MB hard disk image...
I1111 10:13:26.527314   14219 main.go:119] libmachine: Writing magic tar header
I1111 10:13:26.527328   14219 main.go:119] libmachine: Writing SSH key tar header
I1111 10:13:26.527364   14219 main.go:119] libmachine: Calling inner createDiskImage
I1111 10:13:26.527390   14219 main.go:119] libmachine: /usr/bin/VBoxManage convertfromraw stdin /home/chippey5/.minikube/machines/minikube/disk.vmdk 20971520000 --format VMDK
I1111 10:13:26.527415   14219 main.go:119] libmachine: Starting command
I1111 10:13:26.527801   14219 main.go:119] libmachine: Copying to stdin
I1111 10:13:26.527818   14219 main.go:119] libmachine: Filling zeroes
I1111 10:13:31.145943   14219 main.go:119] libmachine: Closing STDIN
I1111 10:13:31.145965   14219 main.go:119] libmachine: Waiting on cmd
I1111 10:13:31.149636   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage createvm --basefolder /home/chippey5/.minikube/machines/minikube --name minikube --register
I1111 10:13:31.198943   14219 main.go:119] libmachine: STDOUT:
{
Virtual machine 'minikube' is created and registered.
UUID: 1f26f4c0-ecdb-4780-8c27-93033cc2c7ee
Settings file: '/home/chippey5/.minikube/machines/minikube/minikube/minikube.vbox'
}
I1111 10:13:31.198999   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.199016   14219 main.go:119] libmachine: VM CPUS: 2
I1111 10:13:31.199030   14219 main.go:119] libmachine: VM Memory: 2200
I1111 10:13:31.199083   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --firmware bios --bioslogofadein off --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --ostype Linux26_64 --cpus 2 --memory 2200 --acpi on --ioapic on --rtcuseutc on --natdnshostresolver1 on --natdnsproxy1 off --cpuhotplug off --pae on --hpet on --hwvirtex on --nestedpaging on --largepages on --vtxvpid on --accelerate3d off --boot1 dvd
I1111 10:13:31.272122   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.272161   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.272194   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --nic1 nat --nictype1 virtio --cableconnected1 on
I1111 10:13:31.337448   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.337470   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.337494   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storagectl minikube --name SATA --add sata --hostiocache on
I1111 10:13:31.393353   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.393404   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.393459   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storageattach minikube --storagectl SATA --port 0 --device 0 --type dvddrive --medium /home/chippey5/.minikube/machines/minikube/boot2docker.iso
I1111 10:13:31.506728   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.506776   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.506802   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storageattach minikube --storagectl SATA --port 1 --device 0 --type hdd --medium /home/chippey5/.minikube/machines/minikube/disk.vmdk
I1111 10:13:31.562164   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.562188   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.562208   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage guestproperty set minikube /VirtualBox/GuestAdd/SharedFolders/MountPrefix /
I1111 10:13:31.613589   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.613613   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.613630   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage guestproperty set minikube /VirtualBox/GuestAdd/SharedFolders/MountDir /
I1111 10:13:31.670330   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.670381   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.670403   14219 main.go:119] libmachine: setting up shareDir '/home' -> 'hosthome'
I1111 10:13:31.670450   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage sharedfolder add minikube --name hosthome --hostpath /home --automount
I1111 10:13:31.745909   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.745936   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.745958   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage setextradata minikube VBoxInternal2/SharedFoldersEnableSymlinksCreate/hosthome 1
I1111 10:13:31.793006   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:31.793026   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.793034   14219 main.go:119] libmachine: Starting the VM...
I1111 10:13:31.793045   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage showvminfo minikube --machinereadable
I1111 10:13:31.976958   14219 main.go:119] libmachine: STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="1f26f4c0-ecdb-4780-8c27-93033cc2c7ee"
CfgFile="/home/chippey5/.minikube/machines/minikube/minikube/minikube.vbox"
SnapFldr="/home/chippey5/.minikube/machines/minikube/minikube/Snapshots"
LogFldr="/home/chippey5/.minikube/machines/minikube/minikube/Logs"
hardwareuuid="1f26f4c0-ecdb-4780-8c27-93033cc2c7ee"
memory=2200
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="on"
cpu-profile="host"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="off"
nested-hw-virt="off"
cpuid-portability-level=0
bootmenu="disabled"
boot1="dvd"
boot2="dvd"
boot3="disk"
boot4="none"
acpi="on"
ioapic="on"
biosapic="apic"
biossystemtimeoffset=0
rtcuseutc="on"
hwvirtex="on"
nestedpaging="on"
largepages="on"
vtxvpid="on"
vtxux="on"
paravirtprovider="default"
effparavirtprovider="kvm"
VMState="poweroff"
VMStateChangeTime="2020-11-11T09:13:31.169000000"
graphicscontroller="vboxvga"
monitorcount=1
accelerate3d="off"
accelerate2dvideo="off"
teleporterenabled="off"
teleporterport=0
teleporteraddress=""
teleporterpassword=""
tracing-enabled="off"
tracing-allow-vm-access="off"
tracing-config=""
autostart-enabled="off"
autostart-delay=0
defaultfrontend=""
storagecontrollername0="SATA"
storagecontrollertype0="IntelAhci"
storagecontrollerinstance0="0"
storagecontrollermaxportcount0="30"
storagecontrollerportcount0="30"
storagecontrollerbootable0="on"
"SATA-0-0"="/home/chippey5/.minikube/machines/minikube/boot2docker.iso"
"SATA-ImageUUID-0-0"="e4cdc474-66c4-498e-8daa-19bd425a557c"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="/home/chippey5/.minikube/machines/minikube/disk.vmdk"
"SATA-ImageUUID-1-0"="f586fa34-a1d4-428a-93b9-a1e8a6734375"
"SATA-2-0"="none"
"SATA-3-0"="none"
"SATA-4-0"="none"
"SATA-5-0"="none"
"SATA-6-0"="none"
"SATA-7-0"="none"
"SATA-8-0"="none"
"SATA-9-0"="none"
"SATA-10-0"="none"
"SATA-11-0"="none"
"SATA-12-0"="none"
"SATA-13-0"="none"
"SATA-14-0"="none"
"SATA-15-0"="none"
"SATA-16-0"="none"
"SATA-17-0"="none"
"SATA-18-0"="none"
"SATA-19-0"="none"
"SATA-20-0"="none"
"SATA-21-0"="none"
"SATA-22-0"="none"
"SATA-23-0"="none"
"SATA-24-0"="none"
"SATA-25-0"="none"
"SATA-26-0"="none"
"SATA-27-0"="none"
"SATA-28-0"="none"
"SATA-29-0"="none"
natnet1="nat"
macaddress1="080027157EE8"
cableconnected1="on"
nic1="nat"
nictype1="virtio"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
nic2="none"
nic3="none"
nic4="none"
nic5="none"
nic6="none"
nic7="none"
nic8="none"
hidpointing="ps2mouse"
hidkeyboard="ps2kbd"
uart1="off"
uart2="off"
uart3="off"
uart4="off"
lpt1="off"
lpt2="off"
audio="alsa"
audio_out="off"
audio_in="off"
clipboard="disabled"
draganddrop="disabled"
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="hosthome"
SharedFolderPathMachineMapping1="/home"
videocap="off"
videocapaudio="off"
capturescreens=""
capturefilename="/home/chippey5/.minikube/machines/minikube/minikube/minikube.webm"
captureres="1024x768"
capturevideorate=512
capturevideofps=25
captureopts=""
GuestMemoryBalloon=0
}
I1111 10:13:31.977187   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:31.977350   14219 main.go:119] libmachine: Check network to re-create if needed...
I1111 10:13:31.977400   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1111 10:13:32.375313   14219 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:     fe80::800:27ff:fe00:0
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1111 10:13:32.375337   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:32.375972   14219 main.go:119] libmachine: Searching for hostonly interface for IPv4: 192.168.99.1 and Mask: ffffff00
I1111 10:13:32.375987   14219 main.go:119] libmachine: Found: vboxnet0
I1111 10:13:32.375995   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list dhcpservers
I1111 10:13:32.418338   14219 main.go:119] libmachine: STDOUT:
{
NetworkName:    HostInterfaceNetworking-vboxnet0
IP:             192.168.99.2
NetworkMask:    255.255.255.0
lowerIPAddress: 192.168.99.100
upperIPAddress: 192.168.99.254
Enabled:        Yes
Global options:
   1:255.255.255.0

}
I1111 10:13:32.418412   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:32.418587   14219 main.go:119] libmachine: Removing orphan DHCP servers...
I1111 10:13:32.418740   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1111 10:13:32.507888   14219 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:     fe80::800:27ff:fe00:0
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Up
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1111 10:13:32.507910   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:32.507955   14219 main.go:119] libmachine: Adding/Modifying DHCP server "192.168.99.23" with address range "192.168.99.100" - "192.168.99.254"...
I1111 10:13:32.507966   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list dhcpservers
I1111 10:13:32.558492   14219 main.go:119] libmachine: STDOUT:
{
NetworkName:    HostInterfaceNetworking-vboxnet0
IP:             192.168.99.2
NetworkMask:    255.255.255.0
lowerIPAddress: 192.168.99.100
upperIPAddress: 192.168.99.254
Enabled:        Yes
Global options:
   1:255.255.255.0

}
I1111 10:13:32.558518   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:32.558575   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage dhcpserver modify --netname HostInterfaceNetworking-vboxnet0 --ip 192.168.99.23 --netmask 255.255.255.0 --lowerip 192.168.99.100 --upperip 192.168.99.254 --enable
I1111 10:13:32.615960   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:32.615987   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:32.616007   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --nic2 hostonly --nictype2 virtio --nicpromisc2 deny --hostonlyadapter2 vboxnet0 --cableconnected2 on
I1111 10:13:32.686509   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:32.686535   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:32.686652   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --natpf1 delete ssh
I1111 10:13:32.735997   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:32.736029   14219 main.go:119] libmachine: STDERR:
{
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
VBoxManage: error: Context: "RemoveRedirect(Bstr(ValueUnion.psz).raw())" at line 1878 of file VBoxManageModifyVM.cpp
}
I1111 10:13:32.736051   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --natpf1 ssh,tcp,127.0.0.1,39565,,22
I1111 10:13:32.820598   14219 main.go:119] libmachine: STDOUT:
{
}
I1111 10:13:32.820652   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:32.820694   14219 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage startvm minikube --type headless
I1111 10:13:33.054581   14219 main.go:119] libmachine: STDOUT:
{
Waiting for VM "minikube" to power on...
VM "minikube" has been successfully started.
}
I1111 10:13:33.054601   14219 main.go:119] libmachine: STDERR:
{
}
I1111 10:13:33.054610   14219 main.go:119] libmachine: Checking vm logs: /home/chippey5/.minikube/machines/minikube/minikube/Logs/VBox.log
I1111 10:13:33.054843   14219 main.go:119] libmachine: Waiting for an IP...
I1111 10:13:33.054857   14219 main.go:119] libmachine: Getting to WaitForSSH function...
I1111 10:13:33.054886   14219 main.go:119] libmachine: Using SSH client type: native
I1111 10:13:33.054987   14219 main.go:119] libmachine: &{{{<nil> 0 [] [] []} docker [0x7e4fa0] 0x7e4f60 <nil>  [] 0s} 127.0.0.1 39565 <nil> <nil>}
I1111 10:13:33.054995   14219 main.go:119] libmachine: About to run SSH command:
exit 0

After updating to mainline:

$ uname -r
5.9.7-1.el8.elrepo.x86_64
$ vboxmanage -v
6.1.16r140961
$ minikube start --alsologtostderr
I1111 10:49:58.509412    8167 out.go:192] Setting JSON to false
I1111 10:49:58.510275    8167 start.go:103] hostinfo: {"hostname":"minikube-test3","uptime":627,"bootTime":1605087571,"procs":177,"os":"linux","platform":"centos","platformFamily":"rhel","platformVersion":"8.2.2004","kernelVersion":"5.9.7-1.el8.elrepo.x86_64","virtualizationSystem":"kvm","virtualizationRole":"host","hostid":"e2dd7fe2-330a-4a65-a8f7-6251cfd30fba"}
I1111 10:49:58.510501    8167 start.go:113] virtualization: kvm host
I1111 10:49:58.516873    8167 out.go:110] * minikube v1.14.2 on Centos 8.2.2004
* minikube v1.14.2 on Centos 8.2.2004
I1111 10:49:58.517027    8167 driver.go:288] Setting default libvirt URI to qemu:///system
I1111 10:49:58.517059    8167 global.go:102] Querying for installed drivers using PATH=/home/chippey5/.minikube/bin:/home/chippey5/.local/bin:/home/chippey5/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
I1111 10:49:58.517132    8167 global.go:110] docker priority: 8, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "docker": executable file not found in $PATH Fix:Install Docker Doc:https://minikube.sigs.k8s.io/docs/drivers/docker/}
I1111 10:49:58.517183    8167 global.go:110] kvm2 priority: 7, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "virsh": executable file not found in $PATH Fix:Install libvirt Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/}
I1111 10:49:58.517302    8167 global.go:110] none priority: 3, state: {Installed:false Healthy:false Running:true NeedsImprovement:false Error:exec: "docker": executable file not found in $PATH Fix:Install docker Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/none/}
I1111 10:49:58.522660    8167 notify.go:126] Checking for updates...
W1111 10:49:58.529534    8167 podman.go:139] podman returned error: exit status 1
I1111 10:49:58.529750    8167 global.go:110] podman priority: 2, state: {Installed:true Healthy:false Running:false NeedsImprovement:false Error:"sudo -k -n podman version --format {{.Version}}" exit status 1: sudo: a password is required Fix:Add your user to the 'sudoers' file: 'chippey5 ALL=(ALL) NOPASSWD: /usr/bin/podman' Doc:https://podman.io}
I1111 10:49:58.724877    8167 global.go:110] virtualbox priority: 5, state: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Fix: Doc:}
I1111 10:49:58.724967    8167 global.go:110] vmware priority: 6, state: {Installed:false Healthy:false Running:false NeedsImprovement:false Error:exec: "docker-machine-driver-vmware": executable file not found in $PATH Fix:Install docker-machine-driver-vmware Doc:https://minikube.sigs.k8s.io/docs/reference/drivers/vmware/}
I1111 10:49:58.724992    8167 driver.go:236] not recommending "podman" due to health: "sudo -k -n podman version --format {{.Version}}" exit status 1: sudo: a password is required
I1111 10:49:58.725008    8167 driver.go:270] Picked: virtualbox
I1111 10:49:58.725014    8167 driver.go:271] Alternatives: []
I1111 10:49:58.725017    8167 driver.go:272] Rejects: [docker kvm2 none podman vmware]
I1111 10:49:58.738028    8167 out.go:110] * Automatically selected the virtualbox driver
* Automatically selected the virtualbox driver
I1111 10:49:58.738053    8167 start.go:272] selected driver: virtualbox
I1111 10:49:58.738058    8167 start.go:680] validating driver "virtualbox" against <nil>
I1111 10:49:58.738072    8167 start.go:691] status for virtualbox: {Installed:true Healthy:true Running:false NeedsImprovement:false Error:<nil> Fix: Doc:}
I1111 10:49:58.738124    8167 start_flags.go:228] no existing cluster config was found, will generate one from the flags
I1111 10:49:58.738307    8167 start_flags.go:246] Using suggested 2200MB memory alloc based on sys=7960MB, container=0MB
I1111 10:49:58.738386    8167 start_flags.go:631] Wait components to verify : map[apiserver:true system_pods:true]
I1111 10:49:58.738407    8167 cni.go:74] Creating CNI manager for ""
I1111 10:49:58.738412    8167 cni.go:117] CNI unnecessary in this configuration, recommending no CNI
I1111 10:49:58.738416    8167 start_flags.go:358] config:
{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO: KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.13@sha256:4d43acbd0050148d4bc399931f1b15253b5e73815b63a67b8ab4a5c9e523403f Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:virtualbox HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio KubernetesConfig:{KubernetesVersion:v1.19.2 ClusterName:minikube APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ExposedPorts:[]}
I1111 10:49:58.738471    8167 iso.go:119] acquiring lock: {Name:mk6965c5bbd0f2a831092be4b78eb4b07ecfbdf3 Clock:{} Delay:500ms Timeout:10m0s Cancel:<nil>}
I1111 10:49:58.745965    8167 out.go:110] * Starting control plane node minikube in cluster minikube
* Starting control plane node minikube in cluster minikube
I1111 10:49:58.746014    8167 preload.go:97] Checking if preload exists for k8s version v1.19.2 and runtime docker
I1111 10:49:58.746131    8167 preload.go:105] Found local preload: /home/chippey5/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4
I1111 10:49:58.746175    8167 cache.go:53] Caching tarball of preloaded images
I1111 10:49:58.746209    8167 preload.go:131] Found /home/chippey5/.minikube/cache/preloaded-tarball/preloaded-images-k8s-v6-v1.19.2-docker-overlay2-amd64.tar.lz4 in cache, skipping download
I1111 10:49:58.746234    8167 cache.go:56] Finished verifying existence of preloaded tar for  v1.19.2 on docker
I1111 10:49:58.746727    8167 profile.go:150] Saving config to /home/chippey5/.minikube/profiles/minikube/config.json ...
I1111 10:49:58.746778    8167 lock.go:36] WriteFile acquiring /home/chippey5/.minikube/profiles/minikube/config.json: {Name:mkc4f1e46e3a50b2fa74ccf617f47ff3412b8de0 Clock:{} Delay:500ms Timeout:1m0s Cancel:<nil>}
I1111 10:49:58.747190    8167 cache.go:182] Successfully downloaded all kic artifacts
I1111 10:49:58.747257    8167 start.go:314] acquiring machines lock for minikube: {Name:mkcd717921edb98395471c78ffc60d70122d50a6 Clock:{} Delay:500ms Timeout:13m0s Cancel:<nil>}
I1111 10:49:58.747432    8167 start.go:318] acquired machines lock for "minikube" in 136.088µs
I1111 10:49:58.747485    8167 start.go:90] Provisioning new machine with config: &{Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.14.0.iso KicBaseImage:gcr.io/k8s-minikube/kicbase:v0.0.13@sha256:4d43acbd0050148d4bc399931f1b15253b5e73815b63a67b8ab4a5c9e523403f Memory:2200 CPUs:2 DiskSize:20000 VMDriver: Driver:virtualbox HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] ContainerVolumeMounts:[] InsecureRegistry:[] RegistryMirror:[] HostOnlyCIDR:192.168.99.1/24 HypervVirtualSwitch: HypervUseExternalSwitch:false HypervExternalAdapter: KVMNetwork:default KVMQemuURI:qemu:///system KVMGPU:false KVMHidden:false DockerOpt:[] DisableDriverMounts:false NFSShare:[] NFSSharesRoot:/nfsshares UUID: NoVTXCheck:false DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio KubernetesConfig:{KubernetesVersion:v1.19.2 ClusterName:minikube APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: LoadBalancerStartIP: LoadBalancerEndIP: ExtraOptions:[] ShouldLoadCachedImages:true EnableDefaultCNI:false CNI: NodeIP: NodePort:8443 NodeName:} Nodes:[{Name: IP: Port:8443 KubernetesVersion:v1.19.2 ControlPlane:true Worker:true}] Addons:map[] VerifyComponents:map[apiserver:true system_pods:true] StartHostTimeout:6m0s ExposedPorts:[]} &{Name: IP: Port:8443 KubernetesVersion:v1.19.2 ControlPlane:true Worker:true}
I1111 10:49:58.747668    8167 start.go:127] createHost starting for "" (driver="virtualbox")
I1111 10:49:58.760019    8167 out.go:110] * Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
* Creating virtualbox VM (CPUs=2, Memory=2200MB, Disk=20000MB) ...
I1111 10:49:58.760534    8167 start.go:164] libmachine.API.Create for "minikube" (driver="virtualbox")
I1111 10:49:58.760614    8167 client.go:165] LocalClient.Create starting
I1111 10:49:58.760719    8167 main.go:119] libmachine: Reading certificate data from /home/chippey5/.minikube/certs/ca.pem
I1111 10:49:58.761490    8167 main.go:119] libmachine: Decoding PEM data...
I1111 10:49:58.761584    8167 main.go:119] libmachine: Parsing certificate...
I1111 10:49:58.761869    8167 main.go:119] libmachine: Reading certificate data from /home/chippey5/.minikube/certs/cert.pem
I1111 10:49:58.762429    8167 main.go:119] libmachine: Decoding PEM data...
I1111 10:49:58.762487    8167 main.go:119] libmachine: Parsing certificate...
I1111 10:49:58.762633    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage --version
I1111 10:49:58.805226    8167 main.go:119] libmachine: STDOUT:
{
6.1.16r140961
}
I1111 10:49:58.805316    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:49:58.805350    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1111 10:49:58.906046    8167 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Down
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1111 10:49:58.906085    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:49:58.906364    8167 main.go:119] libmachine: Downloading /home/chippey5/.minikube/cache/boot2docker.iso from file:///home/chippey5/.minikube/cache/iso/minikube-v1.14.0.iso...
I1111 10:49:58.906457    8167 main.go:119] libmachine: Creating VirtualBox VM...
I1111 10:49:58.906468    8167 main.go:119] libmachine: Creating SSH key...
I1111 10:49:59.236334    8167 main.go:119] libmachine: Creating disk image...
I1111 10:49:59.236353    8167 main.go:119] libmachine: Creating 20000 MB hard disk image...
I1111 10:49:59.236359    8167 main.go:119] libmachine: Writing magic tar header
I1111 10:49:59.236373    8167 main.go:119] libmachine: Writing SSH key tar header
I1111 10:49:59.236399    8167 main.go:119] libmachine: Calling inner createDiskImage
I1111 10:49:59.236411    8167 main.go:119] libmachine: /usr/bin/VBoxManage convertfromraw stdin /home/chippey5/.minikube/machines/minikube/disk.vmdk 20971520000 --format VMDK
I1111 10:49:59.236426    8167 main.go:119] libmachine: Starting command
I1111 10:49:59.236874    8167 main.go:119] libmachine: Copying to stdin
I1111 10:49:59.236887    8167 main.go:119] libmachine: Filling zeroes
I1111 10:50:03.935375    8167 main.go:119] libmachine: Closing STDIN
I1111 10:50:03.935399    8167 main.go:119] libmachine: Waiting on cmd
I1111 10:50:03.939838    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage createvm --basefolder /home/chippey5/.minikube/machines/minikube --name minikube --register
I1111 10:50:09.091052    8167 main.go:119] libmachine: STDOUT:
{
Virtual machine 'minikube' is created and registered.
UUID: 80eecfcf-501d-43e7-b0cc-1dd42b913ba9
Settings file: '/home/chippey5/.minikube/machines/minikube/minikube/minikube.vbox'
}
I1111 10:50:09.091087    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.091101    8167 main.go:119] libmachine: VM CPUS: 2
I1111 10:50:09.091111    8167 main.go:119] libmachine: VM Memory: 2200
I1111 10:50:09.091156    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --firmware bios --bioslogofadein off --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --ostype Linux26_64 --cpus 2 --memory 2200 --acpi on --ioapic on --rtcuseutc on --natdnshostresolver1 on --natdnsproxy1 off --cpuhotplug off --pae on --hpet on --hwvirtex on --nestedpaging on --largepages on --vtxvpid on --accelerate3d off --boot1 dvd
I1111 10:50:09.164710    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.164734    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.164746    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --nic1 nat --nictype1 virtio --cableconnected1 on
I1111 10:50:09.209485    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.209506    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.209519    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storagectl minikube --name SATA --add sata --hostiocache on
I1111 10:50:09.253394    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.253414    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.253435    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storageattach minikube --storagectl SATA --port 0 --device 0 --type dvddrive --medium /home/chippey5/.minikube/machines/minikube/boot2docker.iso
I1111 10:50:09.327517    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.327564    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.327601    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage storageattach minikube --storagectl SATA --port 1 --device 0 --type hdd --medium /home/chippey5/.minikube/machines/minikube/disk.vmdk
I1111 10:50:09.404285    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.404316    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.404334    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage guestproperty set minikube /VirtualBox/GuestAdd/SharedFolders/MountPrefix /
I1111 10:50:09.466078    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.466132    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.466149    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage guestproperty set minikube /VirtualBox/GuestAdd/SharedFolders/MountDir /
I1111 10:50:09.517175    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.517199    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.517207    8167 main.go:119] libmachine: setting up shareDir '/home' -> 'hosthome'
I1111 10:50:09.517237    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage sharedfolder add minikube --name hosthome --hostpath /home --automount
I1111 10:50:09.593205    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.593235    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.593261    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage setextradata minikube VBoxInternal2/SharedFoldersEnableSymlinksCreate/hosthome 1
I1111 10:50:09.667698    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.667725    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.667736    8167 main.go:119] libmachine: Starting the VM...
I1111 10:50:09.667752    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage showvminfo minikube --machinereadable
I1111 10:50:09.780944    8167 main.go:119] libmachine: STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="80eecfcf-501d-43e7-b0cc-1dd42b913ba9"
CfgFile="/home/chippey5/.minikube/machines/minikube/minikube/minikube.vbox"
SnapFldr="/home/chippey5/.minikube/machines/minikube/minikube/Snapshots"
LogFldr="/home/chippey5/.minikube/machines/minikube/minikube/Logs"
hardwareuuid="80eecfcf-501d-43e7-b0cc-1dd42b913ba9"
memory=2200
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="on"
cpu-profile="host"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="off"
nested-hw-virt="off"
cpuid-portability-level=0
bootmenu="disabled"
boot1="dvd"
boot2="dvd"
boot3="disk"
boot4="none"
acpi="on"
ioapic="on"
biosapic="apic"
biossystemtimeoffset=0
rtcuseutc="on"
hwvirtex="on"
nestedpaging="on"
largepages="on"
vtxvpid="on"
vtxux="on"
paravirtprovider="default"
effparavirtprovider="kvm"
VMState="poweroff"
VMStateChangeTime="2020-11-11T09:50:09.046000000"
graphicscontroller="vboxvga"
monitorcount=1
accelerate3d="off"
accelerate2dvideo="off"
teleporterenabled="off"
teleporterport=0
teleporteraddress=""
teleporterpassword=""
tracing-enabled="off"
tracing-allow-vm-access="off"
tracing-config=""
autostart-enabled="off"
autostart-delay=0
defaultfrontend=""
vmprocpriority="default"
storagecontrollername0="SATA"
storagecontrollertype0="IntelAhci"
storagecontrollerinstance0="0"
storagecontrollermaxportcount0="30"
storagecontrollerportcount0="30"
storagecontrollerbootable0="on"
"SATA-0-0"="/home/chippey5/.minikube/machines/minikube/boot2docker.iso"
"SATA-ImageUUID-0-0"="4db74ba0-6eeb-4f34-a7d7-f9f8be3f463f"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="/home/chippey5/.minikube/machines/minikube/disk.vmdk"
"SATA-ImageUUID-1-0"="ab721dbb-5d83-4d63-ac31-0385570cc023"
"SATA-2-0"="none"
"SATA-3-0"="none"
"SATA-4-0"="none"
"SATA-5-0"="none"
"SATA-6-0"="none"
"SATA-7-0"="none"
"SATA-8-0"="none"
"SATA-9-0"="none"
"SATA-10-0"="none"
"SATA-11-0"="none"
"SATA-12-0"="none"
"SATA-13-0"="none"
"SATA-14-0"="none"
"SATA-15-0"="none"
"SATA-16-0"="none"
"SATA-17-0"="none"
"SATA-18-0"="none"
"SATA-19-0"="none"
"SATA-20-0"="none"
"SATA-21-0"="none"
"SATA-22-0"="none"
"SATA-23-0"="none"
"SATA-24-0"="none"
"SATA-25-0"="none"
"SATA-26-0"="none"
"SATA-27-0"="none"
"SATA-28-0"="none"
"SATA-29-0"="none"
natnet1="nat"
macaddress1="08002771F54A"
cableconnected1="on"
nic1="nat"
nictype1="virtio"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
nic2="none"
nic3="none"
nic4="none"
nic5="none"
nic6="none"
nic7="none"
nic8="none"
hidpointing="ps2mouse"
hidkeyboard="ps2kbd"
uart1="off"
uart2="off"
uart3="off"
uart4="off"
lpt1="off"
lpt2="off"
audio="alsa"
audio_out="off"
audio_in="off"
clipboard="disabled"
draganddrop="disabled"
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="hosthome"
SharedFolderPathMachineMapping1="/home"
videocap="off"
videocapaudio="off"
capturescreens=""
capturefilename="/home/chippey5/.minikube/machines/minikube/minikube/minikube.webm"
captureres="1024x768"
capturevideorate=512
capturevideofps=25
captureopts=""
GuestMemoryBalloon=0
}
I1111 10:50:09.780992    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.781031    8167 main.go:119] libmachine: Check network to re-create if needed...
I1111 10:50:09.781041    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1111 10:50:09.817384    8167 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Down
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1111 10:50:09.817409    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.817580    8167 main.go:119] libmachine: Searching for hostonly interface for IPv4: 192.168.99.1 and Mask: ffffff00
I1111 10:50:09.817592    8167 main.go:119] libmachine: Found: vboxnet0
I1111 10:50:09.817599    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list dhcpservers
I1111 10:50:09.851228    8167 main.go:119] libmachine: STDOUT:
{
NetworkName:    HostInterfaceNetworking-vboxnet0
Dhcpd IP:       192.168.99.23
LowerIPAddress: 192.168.99.100
UpperIPAddress: 192.168.99.254
NetworkMask:    255.255.255.0
Enabled:        Yes
Global Configuration:
    minLeaseTime:     default
    defaultLeaseTime: default
    maxLeaseTime:     default
    Forced options:   None
    Suppressed opts.: None
        1/legacy: 255.255.255.0
Groups:               None
Individual Configs:   None
}
I1111 10:50:09.851255    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.851284    8167 main.go:119] libmachine: Removing orphan DHCP servers...
I1111 10:50:09.851291    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list hostonlyifs
I1111 10:50:09.886076    8167 main.go:119] libmachine: STDOUT:
{
Name:            vboxnet0
GUID:            786f6276-656e-4074-8000-0a0027000000
DHCP:            Disabled
IPAddress:       192.168.99.1
NetworkMask:     255.255.255.0
IPV6Address:
IPV6NetworkMaskPrefixLength: 0
HardwareAddress: 0a:00:27:00:00:00
MediumType:      Ethernet
Wireless:        No
Status:          Down
VBoxNetworkName: HostInterfaceNetworking-vboxnet0

}
I1111 10:50:09.886099    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.886144    8167 main.go:119] libmachine: Adding/Modifying DHCP server "192.168.99.10" with address range "192.168.99.100" - "192.168.99.254"...
I1111 10:50:09.886155    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage list dhcpservers
I1111 10:50:09.918603    8167 main.go:119] libmachine: STDOUT:
{
NetworkName:    HostInterfaceNetworking-vboxnet0
Dhcpd IP:       192.168.99.23
LowerIPAddress: 192.168.99.100
UpperIPAddress: 192.168.99.254
NetworkMask:    255.255.255.0
Enabled:        Yes
Global Configuration:
    minLeaseTime:     default
    defaultLeaseTime: default
    maxLeaseTime:     default
    Forced options:   None
    Suppressed opts.: None
        1/legacy: 255.255.255.0
Groups:               None
Individual Configs:   None
}
I1111 10:50:09.918631    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.918672    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage dhcpserver modify --netname HostInterfaceNetworking-vboxnet0 --ip 192.168.99.10 --netmask 255.255.255.0 --lowerip 192.168.99.100 --upperip 192.168.99.254 --enable
I1111 10:50:09.984455    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:09.984503    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:09.984523    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --nic2 hostonly --nictype2 virtio --nicpromisc2 deny --hostonlyadapter2 vboxnet0 --cableconnected2 on
I1111 10:50:10.035357    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:10.035389    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:10.035498    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --natpf1 delete ssh
I1111 10:50:10.071144    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:10.071173    8167 main.go:119] libmachine: STDERR:
{
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
VBoxManage: error: Context: "RemoveRedirect(Bstr(ValueUnion.psz).raw())" at line 1920 of file VBoxManageModifyVM.cpp
}
I1111 10:50:10.071191    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage modifyvm minikube --natpf1 ssh,tcp,127.0.0.1,33369,,22
I1111 10:50:10.115855    8167 main.go:119] libmachine: STDOUT:
{
}
I1111 10:50:10.115915    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:10.115928    8167 main.go:119] libmachine: COMMAND: /usr/bin/VBoxManage startvm minikube --type headless
I1111 10:50:10.332754    8167 main.go:119] libmachine: STDOUT:
{
Waiting for VM "minikube" to power on...
VM "minikube" has been successfully started.
}
I1111 10:50:10.332771    8167 main.go:119] libmachine: STDERR:
{
}
I1111 10:50:10.332780    8167 main.go:119] libmachine: Checking vm logs: /home/chippey5/.minikube/machines/minikube/minikube/Logs/VBox.log
I1111 10:50:10.332977    8167 main.go:119] libmachine: Waiting for an IP...
I1111 10:50:10.332985    8167 main.go:119] libmachine: Getting to WaitForSSH function...
I1111 10:50:10.333088    8167 main.go:119] libmachine: Using SSH client type: native
I1111 10:50:10.333202    8167 main.go:119] libmachine: &{{{<nil> 0 [] [] []} docker [0x7e4fa0] 0x7e4f60 <nil>  [] 0s} 127.0.0.1 33369 <nil> <nil>}
I1111 10:50:10.333211    8167 main.go:119] libmachine: About to run SSH command:
exit 0

Same result happens when changing VM to 1 vCPU.

@afbjorklund
Copy link
Collaborator

I was following the instructions from the Linux foundation in the course Kubernetes Fundamentals (LFS258), where they suggest using Virtualbox as the driver in the learning phase. I have previously used the docker driver where it worked just fine.

Instead of running minikube inside a VirtualBox VM, you can let minikube use VirtualBox to create the VM for you.

@chippey5
Copy link
Author

I was following the instructions from the Linux foundation in the course Kubernetes Fundamentals (LFS258), where they suggest using Virtualbox as the driver in the learning phase. I have previously used the docker driver where it worked just fine.

Instead of running minikube inside a VirtualBox VM, you can let minikube use VirtualBox to create the VM for you.

To be clear, I figured as much that it is meant to be run on bare metal, but given that Virtualbox does support nested virtualization, this should work. Quoting from The Linux Foundation's free course (LFS258):

“Minikube is installed and runs directly on a local Linux, macOS, or Windows workstation. However, in order to fully take advantage of all the features Minikube has to offer, a Type-2 Hypervisor should be installed on the local workstation, to run in conjunction with Minikube. This does not mean that we need to create any VMs with guest operating systems with this Hypervisor.

Minikube builds all its infrastructure as long as the Type-2 Hypervisor is installed on our workstation. Minikube invokes the Hypervisor to create a single VM which then hosts a single-node Kubernetes cluster. Thus we need to make sure that we have the necessary hardware and software required by Minikube to build its environment.”

Minikube is also recognized to use the Virtualbox driver as the default VM runtime. If operating minikube inside a virtual machine isn't supported, this should be stated in the documentation. I believe installing testing environments on bare metal is a bad idea overall, and should be separated if possible wheter minikube already virtualizes and isolates it from a production environment or not.

On a side note; I ran minikube with the docker driver and it works like a charm as when I tried it last year.

@chippey5 chippey5 changed the title minikube start hangs under Ubuntu server 18.04 LTS & 20.04 LTS in virtualbox "minikube start" hangs in a nested Virtualbox VM environment Nov 11, 2020
@afbjorklund
Copy link
Collaborator

afbjorklund commented Nov 11, 2020

The course sounds about right:

"This does not mean that we need to create any VMs with guest operating systems with this Hypervisor."

This is because minikube will use your hypervisor, to create a virtual machine (thus not touching the original environment).
We still don't recommend to install kubernetes directly on the desktop, since we want to provide this "node" isolation...

We do provide a driver, for people who want to provide their own VM rather than letting minikube do it. (It's called "none")
You could call it "installing on bare metal", even though the metal in this case would be virtual - i.e. your VirtualBox VM.

On a side note; I ran minikube with the docker driver and it works like a charm as when I tried it last year.

Of course you can just continue to use the new "docker" driver, it was not available at the time this course was written.

Either you can run it on a Docker available directly on the host, or even run docker inside your own VM for extra isolation.
(since the driver uses docker-in-docker, the node container is privileged which means it does have some extra privileges)

But running one VirtualBox VM inside another VirtualBox VM seems like it has some issue, and is thus better off avoided.
Sometimes you can't avoid nested virtualization, but our suggested approach is to use containers on top of hypervisors*

* this approach is for instance used when running the minikube "docker" driver with Docker Desktop, on Mac or Win

@chippey5
Copy link
Author

This is because minikube will use your hypervisor, to create a virtual machine (thus not touching the original environment).

This is true when following the course only using Virtualbox on "bare metal". I think that the confusion comes from how the options are layered in terms of isolation;

  1. If one installs minikube and virtualbox on bare metal and use the virtualbox driver, the environment becomes isolated from the "production" environment as minikube spins up virtual machines for the user.

  2. If one decides to go with the docker driver instead on bare metal, the underlying "production environment" will suddenly have iptables chains set up for them for container isolation and network rules, which directly interferes with the "production environment" (which I see you just mentioned later in your latest comment).

The setup I'm trying is most likely not used by many but I still believe that either the official documentation should mention to avoid nested virtualization where minikube is installed in a virtual machine and where the user then tries to use the virtualbox driver.

Nonetheless, going forward I'm using the docker driver in a VM for the extra isolation. Looking back at this I learned that the minikube driver should not be confused with the kubernetes CRI (which I believe I did for a second). Actual kubernetes environments will look a lot different in the end in terms of infrastructure setup where virtualbox won't be involved as much, if at all.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 16, 2021
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 15, 2021
@spowelljr spowelljr added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Apr 21, 2021
@spowelljr
Copy link
Member

@chippey5 I'm unsure from the discussion if there is any action on minikube's behalf that should be done to help resolve your issue. For now I'm going to close this issue, but if there's any recommendation that would help, feel free to comment, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/nested-vm-config When nested VM's appear to play a role co/virtualbox kind/support Categorizes issue or PR as a support question. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/linux
Projects
None yet
Development

No branches or pull requests

6 participants