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

virtualbox on windows with --no-vtx-check: hangs #7122

Closed
eslam-cs opened this issue Mar 20, 2020 · 4 comments
Closed

virtualbox on windows with --no-vtx-check: hangs #7122

eslam-cs opened this issue Mar 20, 2020 · 4 comments
Labels
co/virtualbox kind/support Categorizes issue or PR as a support question. os/windows

Comments

@eslam-cs
Copy link

The exact command to reproduce the issue:
minikube start --extra-config=apiserver.service-node-port-range=1000-33000 --memory=4192 --vm-driver=virtualbox --no-vtx-check --alsologtostderr -v=3 --bootstrapper=localkube

The full output of the command that failed:


INITIALIZING MINICUBE CLUSTER
I0320 19:34:57.799234 9960 notify.go:125] Checking for updates...
I0320 19:34:59.933182 9960 start.go:252] hostinfo: {"hostname":"EG-5CG9363CKS","uptime":23169,"bootTime":1584702530,"procs":217,"os":"windows","platform":"Microsoft Windows 10 Enterprise","platformFamily":"Standalone Workstation","platformVersion":"10.0.17763 Build 17763","kernelVersion":"","virtualizationSystem":"","virtualizationRole":"","hostid":"0be07da4-0b5a-4286-a46b-364273d4f741"}
W0320 19:34:59.934684 9960 start.go:260] gopshost.Virtualization returned error: not implemented yet

  • minikube v1.8.2 on Microsoft Windows 10 Enterprise 10.0.17763 Build 17763
    I0320 19:34:59.952683 9960 driver.go:226] Setting default libvirt URI to qemu:///system
  • Using the virtualbox driver based on user configuration
    I0320 19:35:01.638741 9960 start.go:299] selected driver: virtualbox
    I0320 19:35:01.640241 9960 start.go:488] validating driver "virtualbox" against
    I0320 19:35:01.640741 9960 start.go:494] status for virtualbox: {Installed:true Healthy:true Error: Fix: Doc:}
    I0320 19:35:01.647241 9960 iso.go:119] acquiring lock: {Name:mkaf8cbee2fd5eef808c49a53a20094ee56650ac Clock:{} Delay:500ms Timeout:10m0s Cancel:}
    I0320 19:35:01.655238 9960 preload.go:84] Found local preload: C:\Users\eali8.minikube\cache\preloaded-tarball/preloaded-images-k8s-v1-v1.17.3-docker-overlay2.tar.lz4
    I0320 19:35:01.656238 9960 cache.go:41] Caching tarball of preloaded images
    I0320 19:35:01.657745 9960 preload.go:113] Found C:\Users\eali8.minikube\cache\preloaded-tarball/preloaded-images-k8s-v1-v1.17.3-docker-overlay2.tar.lz4 in cache, skipping download
    I0320 19:35:01.658738 9960 cache.go:44] Finished downloading the preloaded tar for v1.17.3 on docker
    I0320 19:35:01.665238 9960 profile.go:121] Saving config to C:\Users\eali8.minikube\profiles\minikube\config.json ...
    I0320 19:35:01.667738 9960 lock.go:35] WriteFile acquiring C:\Users\eali8.minikube\profiles\minikube\config.json: {Name:mkf1569d429679c3d06346e6bfa7a32b340a1e5a Clock:{} Delay:500ms Timeout:1m0s Cancel:}
    I0320 19:35:01.685354 9960 cache.go:109] Successfully downloaded all kic artifacts
    I0320 19:35:01.692739 9960 start.go:245] acquiring machines lock for minikube: {Name:mk6ccf33797377617aa40e3bf512132e3d7eb9ba Clock:{} Delay:500ms Timeout:15m0s Cancel:}
    I0320 19:35:01.693737 9960 start.go:249] acquired machines lock for "minikube" in 0s
    I0320 19:35:01.696245 9960 start.go:82] Provisioning new machine with config: {Name:minikube KeepContext:false EmbedCerts:false MinikubeISO:https://storage.googleapis.com/minikube/iso/minikube-v1.8.0.iso Memory:4192 CPUs:2 DiskSize:20000 Driver:virtualbox HyperkitVpnKitSock: HyperkitVSockPorts:[] DockerEnv:[] 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:true DNSProxy:false HostDNSResolver:true HostOnlyNicType:virtio NatNicType:virtio KubernetesConfig:{KubernetesVersion:v1.17.3 ClusterName:minikube APIServerName:minikubeCA APIServerNames:[] APIServerIPs:[] DNSDomain:cluster.local ContainerRuntime:docker CRISocket: NetworkPlugin: FeatureGates: ServiceCIDR:10.96.0.0/12 ImageRepository: ExtraOptions:[{Component:apiserver Key:service-node-port-range Value:1000-33000}] ShouldLoadCachedImages:true EnableDefaultCNI:false NodeIP: NodePort:0 NodeName:} Nodes:[{Name:m01 IP: Port:8443 KubernetesVersion:v1.17.3 ControlPlane:true Worker:true}] Addons:map[]}
    I0320 19:35:01.701738 9960 start.go:101] createHost starting for "minikube" (driver="virtualbox")
  • Creating virtualbox VM (CPUs=2, Memory=4192MB, Disk=20000MB) ...
    I0320 19:35:01.713737 9960 start.go:137] libmachine.API.Create for "minikube" (driver="virtualbox")
    I0320 19:35:01.717242 9960 main.go:110] libmachine: Reading certificate data from C:\Users\eali8.minikube\certs\ca.pem
    I0320 19:35:01.741743 9960 main.go:110] libmachine: Decoding PEM data...
    I0320 19:35:01.742751 9960 main.go:110] libmachine: Parsing certificate...
    I0320 19:35:01.747237 9960 main.go:110] libmachine: Reading certificate data from C:\Users\eali8.minikube\certs\cert.pem
    I0320 19:35:01.761740 9960 main.go:110] libmachine: Decoding PEM data...
    I0320 19:35:01.762239 9960 main.go:110] libmachine: Parsing certificate...
    I0320 19:35:01.764239 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe --version
    I0320 19:35:01.846238 9960 main.go:110] libmachine: STDOUT:
    {
    6.0.18r136238
    }
    I0320 19:35:01.846738 9960 main.go:110] libmachine: STDERR:
    {
    }
    I0320 19:35:01.850738 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list hostonlyifs
    I0320 19:35:47.279311 9960 main.go:110] libmachine: STDOUT:
    {
    Name: VirtualBox Host-Only Ethernet Adapter
    GUID: 0ed35982-abdc-4808-ab26-8eff7aa1ee5b
    DHCP: Disabled
    IPAddress: 192.168.99.1
    NetworkMask: 255.255.255.0
    IPV6Address: fe80::1145:4210:1cb7:efe
    IPV6NetworkMaskPrefixLength: 64
    HardwareAddress: 0a:00:27:00:00:30
    MediumType: Ethernet
    Wireless: No
    Status: Up
    VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter

Name: VirtualBox Host-Only Ethernet Adapter #4
GUID: 1f2c60fb-292b-44da-9b19-56c94e551399
DHCP: Disabled
IPAddress: 0.0.0.0
NetworkMask: 0.0.0.0
IPV6Address: fe80::8043:fd6e:2c1f:e7fb
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:43
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #4

Name: VirtualBox Host-Only Ethernet Adapter #2
GUID: 77743f5d-f679-41de-b129-2ed71d5114df
DHCP: Disabled
IPAddress: 169.254.195.112
NetworkMask: 255.255.0.0
IPV6Address: fe80::4946:9b91:190b:3087
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:39
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2

Name: VirtualBox Host-Only Ethernet Adapter #3
GUID: 874afcaa-f2ad-4db6-b71b-6df47ed18c18
DHCP: Disabled
IPAddress: 192.168.56.1
NetworkMask: 255.255.255.0
IPV6Address: fe80::f9d8:de3a:255d:f03a
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:3e
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #3

}
I0320 19:35:47.283310 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:35:47.328814 9960 main.go:110] libmachine: Downloading C:\Users\eali8.minikube\cache\boot2docker.iso from file://C:/Users/eali8/.minikube/cache/iso/minikube-v1.8.0.iso...
I0320 19:35:48.347654 9960 main.go:110] libmachine: Creating VirtualBox VM...
I0320 19:35:48.348169 9960 main.go:110] libmachine: Creating SSH key...
I0320 19:35:48.524098 9960 main.go:110] libmachine: Creating disk image...
I0320 19:35:48.524599 9960 main.go:110] libmachine: Creating 20000 MB hard disk image...
I0320 19:35:48.526598 9960 main.go:110] libmachine: Writing magic tar header
I0320 19:35:48.528603 9960 main.go:110] libmachine: Writing SSH key tar header
I0320 19:35:48.543217 9960 main.go:110] libmachine: Calling inner createDiskImage
I0320 19:35:48.543597 9960 main.go:110] libmachine: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe convertfromraw stdin C:\Users\eali8.minikube\machines\minikube\disk.vmdk 20971520000 --format VMDK
I0320 19:35:48.546601 9960 main.go:110] libmachine: Starting command
I0320 19:35:48.576818 9960 main.go:110] libmachine: Copying to stdin
I0320 19:35:48.653561 9960 main.go:110] libmachine: Filling zeroes
I0320 19:36:08.189236 9960 main.go:110] libmachine: Closing STDIN
I0320 19:36:08.190235 9960 main.go:110] libmachine: Waiting on cmd
I0320 19:36:08.218241 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe createvm --basefolder C:\Users\eali8.minikube\machines\minikube --name minikube --register
I0320 19:36:08.932740 9960 main.go:110] libmachine: STDOUT:
{
Virtual machine 'minikube' is created and registered.
UUID: 98076c47-011f-4f2d-9f07-5d7a6fd37503
Settings file: 'C:\Users\eali8.minikube\machines\minikube\minikube\minikube.vbox'
}
I0320 19:36:08.933265 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:08.937240 9960 main.go:110] libmachine: VM CPUS: 2
I0320 19:36:08.940241 9960 main.go:110] libmachine: VM Memory: 4192
I0320 19:36:08.940741 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm minikube --firmware bios --bioslogofadein off --bioslogofadeout off --bioslogodisplaytime 0 --biosbootmenu disabled --ostype Linux26_64 --cpus 2 --memory 4192 --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
I0320 19:36:09.108240 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:09.108740 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:09.111241 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm minikube --nic1 nat --nictype1 virtio --cableconnected1 on
I0320 19:36:09.264737 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:09.265240 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:09.268237 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe storagectl minikube --name SATA --add sata --hostiocache on
I0320 19:36:09.412238 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:09.412740 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:09.416241 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe storageattach minikube --storagectl SATA --port 0 --device 0 --type dvddrive --medium C:\Users\eali8.minikube\machines\minikube\boot2docker.iso
I0320 19:36:09.608235 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:09.608736 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:09.612740 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe storageattach minikube --storagectl SATA --port 1 --device 0 --type hdd --medium C:\Users\eali8.minikube\machines\minikube\disk.vmdk
I0320 19:36:09.793239 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:09.793740 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:09.796242 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe guestproperty set minikube /VirtualBox/GuestAdd/SharedFolders/MountPrefix /
I0320 19:36:09.933236 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:09.933738 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:09.937239 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe guestproperty set minikube /VirtualBox/GuestAdd/SharedFolders/MountDir /
I0320 19:36:10.064236 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:10.064737 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:10.067236 9960 main.go:110] libmachine: setting up shareDir '\?\c:\Users' -> 'c/Users'
I0320 19:36:10.068740 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe sharedfolder add minikube --name c/Users --hostpath \?\c:\Users --automount
I0320 19:36:10.193739 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:10.194253 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:10.197241 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe setextradata minikube VBoxInternal2/SharedFoldersEnableSymlinksCreate/c/Users 1
I0320 19:36:10.322739 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:10.323239 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:10.326241 9960 main.go:110] libmachine: Starting the VM...
I0320 19:36:10.327742 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo minikube --machinereadable
I0320 19:36:10.483239 9960 main.go:110] libmachine: STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="98076c47-011f-4f2d-9f07-5d7a6fd37503"
CfgFile="C:\Users\eali8\.minikube\machines\minikube\minikube\minikube.vbox"
SnapFldr="C:\Users\eali8\.minikube\machines\minikube\minikube\Snapshots"
LogFldr="C:\Users\eali8\.minikube\machines\minikube\minikube\Logs"
hardwareuuid="98076c47-011f-4f2d-9f07-5d7a6fd37503"
memory=4192
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-03-20T17:36:08.867000000"
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"="C:\Users\eali8.minikube\machines\minikube\boot2docker.iso"
"SATA-ImageUUID-0-0"="69e20b76-412b-47ac-86e0-4a12f7a20b71"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="C:\Users\eali8.minikube\machines\minikube\disk.vmdk"
"SATA-ImageUUID-1-0"="2718704b-44d8-405d-9671-ef265b85cf32"
"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="080027CF2D76"
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="dsound"
audio_out="off"
audio_in="off"
clipboard="disabled"
draganddrop="disabled"
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="c/Users"
SharedFolderPathMachineMapping1="\\?\c:\Users"
videocap="off"
videocapaudio="off"
capturescreens=""
capturefilename="C:\Users\eali8\.minikube\machines\minikube\minikube\minikube.webm"
captureres="1024x768"
capturevideorate=512
capturevideofps=25
captureopts=""
GuestMemoryBalloon=0
}
I0320 19:36:10.487239 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:10.494849 9960 main.go:110] libmachine: Check network to re-create if needed...
I0320 19:36:10.496235 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list hostonlyifs
I0320 19:36:10.718740 9960 main.go:110] libmachine: STDOUT:
{
Name: VirtualBox Host-Only Ethernet Adapter
GUID: 0ed35982-abdc-4808-ab26-8eff7aa1ee5b
DHCP: Disabled
IPAddress: 192.168.99.1
NetworkMask: 255.255.255.0
IPV6Address: fe80::1145:4210:1cb7:efe
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:30
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter

Name: VirtualBox Host-Only Ethernet Adapter #4
GUID: 1f2c60fb-292b-44da-9b19-56c94e551399
DHCP: Disabled
IPAddress: 169.254.231.251
NetworkMask: 255.255.0.0
IPV6Address: fe80::8043:fd6e:2c1f:e7fb
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:43
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #4

Name: VirtualBox Host-Only Ethernet Adapter #2
GUID: 77743f5d-f679-41de-b129-2ed71d5114df
DHCP: Disabled
IPAddress: 169.254.195.112
NetworkMask: 255.255.0.0
IPV6Address: fe80::4946:9b91:190b:3087
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:39
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2

Name: VirtualBox Host-Only Ethernet Adapter #3
GUID: 874afcaa-f2ad-4db6-b71b-6df47ed18c18
DHCP: Disabled
IPAddress: 192.168.56.1
NetworkMask: 255.255.255.0
IPV6Address: fe80::f9d8:de3a:255d:f03a
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:3e
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #3

}
I0320 19:36:10.723240 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:10.959240 9960 main.go:110] libmachine: Searching for hostonly interface for IPv4: 192.168.99.1 and Mask: ffffff00
I0320 19:36:10.959739 9960 main.go:110] libmachine: Found: VirtualBox Host-Only Ethernet Adapter
I0320 19:36:10.962239 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list dhcpservers
I0320 19:36:11.063741 9960 main.go:110] libmachine: STDOUT:
{
NetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter
IP: 192.168.99.9
NetworkMask: 255.255.255.0
lowerIPAddress: 192.168.99.100
upperIPAddress: 192.168.99.254
Enabled: Yes
Global options:
1:255.255.255.0

}
I0320 19:36:11.064240 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:11.069742 9960 main.go:110] libmachine: Removing orphan DHCP servers...
I0320 19:36:11.071739 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list hostonlyifs
I0320 19:36:11.283735 9960 main.go:110] libmachine: STDOUT:
{
Name: VirtualBox Host-Only Ethernet Adapter
GUID: 0ed35982-abdc-4808-ab26-8eff7aa1ee5b
DHCP: Disabled
IPAddress: 192.168.99.1
NetworkMask: 255.255.255.0
IPV6Address: fe80::1145:4210:1cb7:efe
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:30
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter

Name: VirtualBox Host-Only Ethernet Adapter #4
GUID: 1f2c60fb-292b-44da-9b19-56c94e551399
DHCP: Disabled
IPAddress: 169.254.231.251
NetworkMask: 255.255.0.0
IPV6Address: fe80::8043:fd6e:2c1f:e7fb
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:43
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #4

Name: VirtualBox Host-Only Ethernet Adapter #2
GUID: 77743f5d-f679-41de-b129-2ed71d5114df
DHCP: Disabled
IPAddress: 169.254.195.112
NetworkMask: 255.255.0.0
IPV6Address: fe80::4946:9b91:190b:3087
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:39
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2

Name: VirtualBox Host-Only Ethernet Adapter #3
GUID: 874afcaa-f2ad-4db6-b71b-6df47ed18c18
DHCP: Disabled
IPAddress: 192.168.56.1
NetworkMask: 255.255.255.0
IPV6Address: fe80::f9d8:de3a:255d:f03a
IPV6NetworkMaskPrefixLength: 64
HardwareAddress: 0a:00:27:00:00:3e
MediumType: Ethernet
Wireless: No
Status: Up
VBoxNetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #3

}
I0320 19:36:11.285735 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:11.292236 9960 main.go:110] libmachine: Adding/Modifying DHCP server "192.168.99.15" with address range "192.168.99.100" - "192.168.99.254"...
I0320 19:36:11.294737 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe list dhcpservers
I0320 19:36:11.395239 9960 main.go:110] libmachine: STDOUT:
{
NetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter
IP: 192.168.99.9
NetworkMask: 255.255.255.0
lowerIPAddress: 192.168.99.100
upperIPAddress: 192.168.99.254
Enabled: Yes
Global options:
1:255.255.255.0

}
I0320 19:36:11.395739 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:11.400740 9960 main.go:110] libmachine: Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
I0320 19:36:11.401242 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe dhcpserver modify --netname HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter --ip 192.168.99.15 --netmask 255.255.255.0 --lowerip 192.168.99.100 --upperip 192.168.99.254 --enable
I0320 19:36:11.539237 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:11.539738 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:11.542751 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm minikube --nic2 hostonly --nictype2 virtio --nicpromisc2 deny --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter --cableconnected2 on
I0320 19:36:11.672739 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:11.673239 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:11.676740 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm minikube --natpf1 delete ssh
I0320 19:36:11.805739 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:11.806253 9960 main.go:110] libmachine: STDERR:
{
VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available)
VBoxManage.exe: error: Context: "RemoveRedirect(Bstr(ValueUnion.psz).raw())" at line 1878 of file VBoxManageModifyVM.cpp
}
I0320 19:36:11.810237 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm minikube --natpf1 ssh,tcp,127.0.0.1,50911,,22
I0320 19:36:11.956238 9960 main.go:110] libmachine: STDOUT:
{
}
I0320 19:36:11.956736 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:11.959240 9960 main.go:110] libmachine: COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube --type headless
I0320 19:36:20.603734 9960 main.go:110] libmachine: STDOUT:
{
Waiting for VM "minikube" to power on...
VM "minikube" has been successfully started.
}
I0320 19:36:20.604236 9960 main.go:110] libmachine: STDERR:
{
}
I0320 19:36:20.609739 9960 main.go:110] libmachine: Waiting for an IP...
I0320 19:36:20.610738 9960 main.go:110] libmachine: Getting to WaitForSSH function...
I0320 19:36:20.620737 9960 main.go:110] libmachine: Using SSH client type: native
I0320 19:36:20.624237 9960 main.go:110] libmachine: &{{{ 0 [] [] []} docker [0x7bfea0] 0x7bfe70 [] 0s} 127.0.0.1 50911 }
I0320 19:36:20.625241 9960 main.go:110] libmachine: About to run SSH command:
exit 0

The output of the minikube logs command:


once it stuck in this situation no minikube commands will run not logs not status nothing

i did reinstall same thing delete and try again same thing and also different version of minikube also same thing

and i ping the connector adapter that used by minikube and it respond back normally

The operating system version:
windows 10 is the operating system

@tstromberg tstromberg changed the title minikube hangs once it start virtualbox on windows with --no-vtx-check: hangs Mar 20, 2020
@tstromberg
Copy link
Contributor

Hi There! Let's see if we can narrow this down a bit.

  • What is the output when you run: "minikube start"

I'm concerned because typically --no-vtx-check is unnnecessary if VirtualBox is functioning properly.

@eslam-cs
Copy link
Author

eslam-cs commented Mar 20, 2020

hi @tstromberg
thanks for replay
without --no-vtx-check i will run to a problem because minikube will think the vtx is not enable but it is actually enable as u can see in the img in attachment

vir

hy

@priyawadhwa priyawadhwa added co/virtualbox os/windows kind/support Categorizes issue or PR as a support question. labels Mar 25, 2020
@sharifelgamal
Copy link
Collaborator

@eslam-cs what version of minikube are you using? what is the full output of minikube start? based on those logs things looked successful.

@priyawadhwa
Copy link

Hey @eslam-cs some time has passed so I'm going to close this issue. If you're still seeing this bug & are able to provide additional details, please reopen at any time by including /reopen in your comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/virtualbox kind/support Categorizes issue or PR as a support question. os/windows
Projects
None yet
Development

No branches or pull requests

4 participants