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 0.23 cannot download localkube #31602

Closed
moretea opened this issue Nov 13, 2017 · 7 comments
Closed

Minikube 0.23 cannot download localkube #31602

moretea opened this issue Nov 13, 2017 · 7 comments

Comments

@moretea
Copy link
Contributor

moretea commented Nov 13, 2017

Issue description

On an up to date unstable system, minikube start fails with the following error message:

Ellipsed error message, expand for full error log
...
Moving files into cluster...
E1113 11:37:28.050442   25068 start.go:222] Error updating cluster:  Error updating localkube from uri: Error attempting to download and cache localkube: Error getting localkube download url: Not a valid localkube version to download
Aliases:
Aliases:
map[string]string{}
Override:
map[string]interface {}{"v":"9"}
PFlags:
map[string]viper.FlagValue{"container-runtime":viper.pflagValue{flag:(*pflag.Flag)(0xc4203123c0)}, "cpus":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fbb80)}, "disk-size":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fbc20)}, "docker-env":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fbf40)}, "docker-opt":viper.pflagValue{flag:(*pflag.Flag)(0xc420312000)}, "apiserver-name":viper.pflagValue{flag:(*pflag.Flag)(0xc4203120a0)}, "feature-gates":viper.pflagValue{flag:(*pflag.Flag)(0xc420312500)}, "iso-url":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fb9a0)}, "kvm-network":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fbe00)}, "cache-images":viper.pflagValue{flag:(*pflag.Flag)(0xc4203125a0)}, "kubernetes-version":viper.pflagValue{flag:(*pflag.Flag)(0xc420312320)}, "network-plugin":viper.pflagValue{flag:(*pflag.Flag)(0xc420312460)}, "registry-mirror":viper.pflagValue{flag:(*pflag.Flag)(0xc420312280)}, "hyperv-virtual-switch":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fbd60)}, "xhyve-disk-driver":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fbea0)}, "host-only-cidr":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fbcc0)}, "dns-domain":viper.pflagValue{flag:(*pflag.Flag)(0xc420312140)}, "profile":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fac80)}, "extra-config":viper.pflagValue{flag:(*pflag.Flag)(0xc420312640)}, "memory":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fbae0)}, "mount-string":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fb860)}, "keep-context":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fb720)}, "vm-driver":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fba40)}, "insecure-registry":viper.pflagValue{flag:(*pflag.Flag)(0xc4203121e0)}, "disable-driver-mounts":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fb900)}, "mount":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fb7c0)}, "bootstrapper":viper.pflagValue{flag:(*pflag.Flag)(0xc4201fad20)}}
Env:
map[string]string{}
Key/Value Store:
map[string]interface {}{}
Config:
map[string]interface {}{"wantreporterrorprompt":false}
Defaults:
map[string]interface {}{"wantreporterrorprompt":true, "wantkubectldownloadmsg":true, "v":"0", "alsologtostderr":"false", "log_dir":"", "wantupdatenotification":true, "reminderwaitperiodinhours":24, "wantreporterror":false}
Starting local Kubernetes v1.8.0+54e1cc9df cluster...
Starting VM...
COMMAND: /run/current-system/sw/bin/VBoxManage showvminfo minikube --machinereadable
STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="181f6247-b80b-41a7-970a-d69d1a71ec14"
CfgFile="/home/maarten/.minikube/machines/minikube/minikube/minikube.vbox"
SnapFldr="/home/maarten/.minikube/machines/minikube/minikube/Snapshots"
LogFldr="/home/maarten/.minikube/machines/minikube/minikube/Logs"
hardwareuuid="181f6247-b80b-41a7-970a-d69d1a71ec14"
memory=2048
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="on"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="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="running"
VMStateChangeTime="2017-11-13T10:35:29.017000000"
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/maarten/.minikube/machines/minikube/boot2docker.iso"
"SATA-ImageUUID-0-0"="f310bcbf-802a-473d-ba13-5d81c171c299"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="/home/maarten/.minikube/machines/minikube/disk.vmdk"
"SATA-ImageUUID-1-0"="a9f6cceb-0086-42be-8f39-2578a9eeab80"
"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="0800276CE988"
cableconnected1="on"
nic1="nat"
nictype1="82540EM"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
Forwarding(0)="ssh,tcp,127.0.0.1,33125,,22"
hostonlyadapter2="vboxnet1"
macaddress2="080027925C52"
cableconnected2="on"
nic2="hostonly"
nictype2="82540EM"
nicspeed2="0"
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="pulse"
clipboard="disabled"
draganddrop="disabled"
SessionName="headless"
VideoMode="720,400,0"@0,0 1
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="hosthome"
SharedFolderPathMachineMapping1="/home"
VRDEActiveConnection="off"
VRDEClients=0
vcpenabled="off"
vcpscreens=0
vcpfile="/home/maarten/.minikube/machines/minikube/minikube/minikube.webm"
vcpwidth=1024
vcpheight=768
vcprate=512
vcpfps=25
GuestMemoryBalloon=0
GuestOSType="Linux26_64"
GuestAdditionsRunLevel=2
GuestAdditionsVersion="5.1.18 r114002"
GuestAdditionsFacility_VirtualBox Base Driver=50,1510569361189
GuestAdditionsFacility_VirtualBox System Service=50,1510569361332
GuestAdditionsFacility_Seamless Mode=0,1510569361188
GuestAdditionsFacility_Graphics Mode=0,1510569361188
}
STDERR:
{
}
Waiting for SSH to be available...
Getting to WaitForSSH function...
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
exit 0
SSH cmd err, output: <nil>: 
Detecting the provisioner...
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
cat /etc/os-release
SSH cmd err, output: <nil>: NAME=Buildroot
VERSION=2017.02
ID=buildroot
VERSION_ID=2017.02
PRETTY_NAME="Buildroot 2017.02"

found compatible host: buildroot
setting hostname "minikube"
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
sudo hostname minikube && echo "minikube" | sudo tee /etc/hostname
SSH cmd err, output: <nil>: minikube

Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:

		if ! grep -xq '.*\sminikube' /etc/hosts; then
			if grep -xq '127.0.1.1\s.*' /etc/hosts; then
				sudo sed -i 's/^127.0.1.1\s.*/127.0.1.1 minikube/g' /etc/hosts;
			else 
				echo '127.0.1.1 minikube' | sudo tee -a /etc/hosts; 
			fi
		fi
SSH cmd err, output: <nil>: 
set auth options {CertDir:/home/maarten/.minikube CaCertPath:/home/maarten/.minikube/certs/ca.pem CaPrivateKeyPath:/home/maarten/.minikube/certs/ca-key.pem CaCertRemotePath:/etc/docker/ca.pem ServerCertPath:/home/maarten/.minikube/machines/server.pem ServerKeyPath:/home/maarten/.minikube/machines/server-key.pem ClientKeyPath:/home/maarten/.minikube/certs/key.pem ServerCertRemotePath:/etc/docker/server.pem ServerKeyRemotePath:/etc/docker/server-key.pem ClientCertPath:/home/maarten/.minikube/certs/cert.pem ServerCertSANs:[] StorePath:/home/maarten/.minikube}
setting up certificates
COMMAND: /run/current-system/sw/bin/VBoxManage showvminfo minikube --machinereadable
STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="181f6247-b80b-41a7-970a-d69d1a71ec14"
CfgFile="/home/maarten/.minikube/machines/minikube/minikube/minikube.vbox"
SnapFldr="/home/maarten/.minikube/machines/minikube/minikube/Snapshots"
LogFldr="/home/maarten/.minikube/machines/minikube/minikube/Logs"
hardwareuuid="181f6247-b80b-41a7-970a-d69d1a71ec14"
memory=2048
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="on"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="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="running"
VMStateChangeTime="2017-11-13T10:35:29.017000000"
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/maarten/.minikube/machines/minikube/boot2docker.iso"
"SATA-ImageUUID-0-0"="f310bcbf-802a-473d-ba13-5d81c171c299"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="/home/maarten/.minikube/machines/minikube/disk.vmdk"
"SATA-ImageUUID-1-0"="a9f6cceb-0086-42be-8f39-2578a9eeab80"
"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="0800276CE988"
cableconnected1="on"
nic1="nat"
nictype1="82540EM"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
Forwarding(0)="ssh,tcp,127.0.0.1,33125,,22"
hostonlyadapter2="vboxnet1"
macaddress2="080027925C52"
cableconnected2="on"
nic2="hostonly"
nictype2="82540EM"
nicspeed2="0"
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="pulse"
clipboard="disabled"
draganddrop="disabled"
SessionName="headless"
VideoMode="720,400,0"@0,0 1
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="hosthome"
SharedFolderPathMachineMapping1="/home"
VRDEActiveConnection="off"
VRDEClients=0
vcpenabled="off"
vcpscreens=0
vcpfile="/home/maarten/.minikube/machines/minikube/minikube/minikube.webm"
vcpwidth=1024
vcpheight=768
vcprate=512
vcpfps=25
GuestMemoryBalloon=0
GuestOSType="Linux26_64"
GuestAdditionsRunLevel=2
GuestAdditionsVersion="5.1.18 r114002"
GuestAdditionsFacility_VirtualBox Base Driver=50,1510569361189
GuestAdditionsFacility_VirtualBox System Service=50,1510569361332
GuestAdditionsFacility_Seamless Mode=0,1510569361188
GuestAdditionsFacility_Graphics Mode=0,1510569361188
}
STDERR:
{
}
COMMAND: /run/current-system/sw/bin/VBoxManage showvminfo minikube --machinereadable
STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="181f6247-b80b-41a7-970a-d69d1a71ec14"
CfgFile="/home/maarten/.minikube/machines/minikube/minikube/minikube.vbox"
SnapFldr="/home/maarten/.minikube/machines/minikube/minikube/Snapshots"
LogFldr="/home/maarten/.minikube/machines/minikube/minikube/Logs"
hardwareuuid="181f6247-b80b-41a7-970a-d69d1a71ec14"
memory=2048
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="on"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="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="running"
VMStateChangeTime="2017-11-13T10:35:29.017000000"
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/maarten/.minikube/machines/minikube/boot2docker.iso"
"SATA-ImageUUID-0-0"="f310bcbf-802a-473d-ba13-5d81c171c299"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="/home/maarten/.minikube/machines/minikube/disk.vmdk"
"SATA-ImageUUID-1-0"="a9f6cceb-0086-42be-8f39-2578a9eeab80"
"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="0800276CE988"
cableconnected1="on"
nic1="nat"
nictype1="82540EM"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
Forwarding(0)="ssh,tcp,127.0.0.1,33125,,22"
hostonlyadapter2="vboxnet1"
macaddress2="080027925C52"
cableconnected2="on"
nic2="hostonly"
nictype2="82540EM"
nicspeed2="0"
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="pulse"
clipboard="disabled"
draganddrop="disabled"
SessionName="headless"
VideoMode="720,400,0"@0,0 1
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="hosthome"
SharedFolderPathMachineMapping1="/home"
VRDEActiveConnection="off"
VRDEClients=0
vcpenabled="off"
vcpscreens=0
vcpfile="/home/maarten/.minikube/machines/minikube/minikube/minikube.webm"
vcpwidth=1024
vcpheight=768
vcprate=512
vcpfps=25
GuestMemoryBalloon=0
GuestOSType="Linux26_64"
GuestAdditionsRunLevel=2
GuestAdditionsVersion="5.1.18 r114002"
GuestAdditionsFacility_VirtualBox Base Driver=50,1510569361189
GuestAdditionsFacility_VirtualBox System Service=50,1510569361332
GuestAdditionsFacility_Seamless Mode=0,1510569361188
GuestAdditionsFacility_Graphics Mode=0,1510569361188
}
STDERR:
{
}
Host-only MAC: 080027925c52

Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
ip addr show
SSH cmd err, output: <nil>: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:6c:e9:88 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic eth0
       valid_lft 86318sec preferred_lft 86318sec
    inet6 fe80::a00:27ff:fe6c:e988/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:92:5c:52 brd ff:ff:ff:ff:ff:ff
    inet 192.168.99.100/24 brd 192.168.99.255 scope global dynamic eth1
       valid_lft 1118sec preferred_lft 1118sec
    inet6 fe80::a00:27ff:fe92:5c52/64 scope link 
       valid_lft forever preferred_lft forever
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:98:32:d0:ef brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 scope global docker0
       valid_lft forever preferred_lft forever

SSH returned: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:6c:e9:88 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic eth0
       valid_lft 86318sec preferred_lft 86318sec
    inet6 fe80::a00:27ff:fe6c:e988/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:92:5c:52 brd ff:ff:ff:ff:ff:ff
    inet 192.168.99.100/24 brd 192.168.99.255 scope global dynamic eth1
       valid_lft 1118sec preferred_lft 1118sec
    inet6 fe80::a00:27ff:fe92:5c52/64 scope link 
       valid_lft forever preferred_lft forever
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:98:32:d0:ef brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 scope global docker0
       valid_lft forever preferred_lft forever

END SSH

generating server cert: /home/maarten/.minikube/machines/server.pem ca-key=/home/maarten/.minikube/certs/ca.pem private-key=/home/maarten/.minikube/certs/ca-key.pem org=maarten.minikube san=[192.168.99.100 localhost]
Setting Docker configuration on the remote daemon...
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
sudo mkdir -p /lib/systemd/system && printf %s "[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket

[Service]
Type=notify

# DOCKER_RAMDISK disables pivot_root in Docker, using MS_MOVE instead.
Environment=DOCKER_RAMDISK=yes


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=virtualbox --insecure-registry 10.0.0.0/24 
ExecReload=/bin/kill -s HUP $MAINPID

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target
" | sudo tee /lib/systemd/system/docker.service
SSH cmd err, output: <nil>: [Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket

[Service]
Type=notify

# DOCKER_RAMDISK disables pivot_root in Docker, using MS_MOVE instead.
Environment=DOCKER_RAMDISK=yes


# This file is a systemd drop-in unit that inherits from the base dockerd configuration.
# The base configuration already specifies an 'ExecStart=...' command. The first directive
# here is to clear out that command inherited from the base configuration. Without this,
# the command from the base configuration and the command specified here are treated as
# a sequence of commands, which is not the desired behavior, nor is it valid -- systemd
# will catch this invalid input and refuse to start the service with an error like:
#  Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services.
ExecStart=
ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label provider=virtualbox --insecure-registry 10.0.0.0/24 
ExecReload=/bin/kill -s HUP 

# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity

# Uncomment TasksMax if your systemd version supports it.
# Only systemd 226 and above support this version.
TasksMax=infinity
TimeoutStartSec=0

# set delegate yes so that systemd does not reset the cgroups of docker containers
Delegate=yes

# kill only the docker process, not all processes in the cgroup
KillMode=process

[Install]
WantedBy=multi-user.target

Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
sudo systemctl daemon-reload
SSH cmd err, output: <nil>: 
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
sudo systemctl -f restart docker
SSH cmd err, output: <nil>: 
setting minikube options for container-runtime
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
sudo mkdir -p /etc/sysconfig && printf %s "
CRIO_MINIKUBE_OPTIONS='--insecure-registry 10.0.0.0/24 '
" | sudo tee /etc/sysconfig/crio.minikube
SSH cmd err, output: <nil>: 
CRIO_MINIKUBE_OPTIONS='--insecure-registry 10.0.0.0/24 '

Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
sudo systemctl daemon-reload
SSH cmd err, output: <nil>: 
Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
sudo systemctl -f restart crio
SSH cmd err, output: <nil>: 
Getting VM IP address...
COMMAND: /run/current-system/sw/bin/VBoxManage showvminfo minikube --machinereadable
STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="181f6247-b80b-41a7-970a-d69d1a71ec14"
CfgFile="/home/maarten/.minikube/machines/minikube/minikube/minikube.vbox"
SnapFldr="/home/maarten/.minikube/machines/minikube/minikube/Snapshots"
LogFldr="/home/maarten/.minikube/machines/minikube/minikube/Logs"
hardwareuuid="181f6247-b80b-41a7-970a-d69d1a71ec14"
memory=2048
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="on"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="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="running"
VMStateChangeTime="2017-11-13T10:35:29.017000000"
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/maarten/.minikube/machines/minikube/boot2docker.iso"
"SATA-ImageUUID-0-0"="f310bcbf-802a-473d-ba13-5d81c171c299"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="/home/maarten/.minikube/machines/minikube/disk.vmdk"
"SATA-ImageUUID-1-0"="a9f6cceb-0086-42be-8f39-2578a9eeab80"
"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="0800276CE988"
cableconnected1="on"
nic1="nat"
nictype1="82540EM"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
Forwarding(0)="ssh,tcp,127.0.0.1,33125,,22"
hostonlyadapter2="vboxnet1"
macaddress2="080027925C52"
cableconnected2="on"
nic2="hostonly"
nictype2="82540EM"
nicspeed2="0"
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="pulse"
clipboard="disabled"
draganddrop="disabled"
SessionName="headless"
VideoMode="720,400,0"@0,0 1
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="hosthome"
SharedFolderPathMachineMapping1="/home"
VRDEActiveConnection="off"
VRDEClients=0
vcpenabled="off"
vcpscreens=0
vcpfile="/home/maarten/.minikube/machines/minikube/minikube/minikube.webm"
vcpwidth=1024
vcpheight=768
vcprate=512
vcpfps=25
GuestMemoryBalloon=0
GuestOSType="Linux26_64"
GuestAdditionsRunLevel=2
GuestAdditionsVersion="5.1.18 r114002"
GuestAdditionsFacility_VirtualBox Base Driver=50,1510569361189
GuestAdditionsFacility_VirtualBox System Service=50,1510569361332
GuestAdditionsFacility_Seamless Mode=0,1510569361188
GuestAdditionsFacility_Graphics Mode=0,1510569361188
}
STDERR:
{
}
COMMAND: /run/current-system/sw/bin/VBoxManage showvminfo minikube --machinereadable
STDOUT:
{
name="minikube"
groups="/"
ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
UUID="181f6247-b80b-41a7-970a-d69d1a71ec14"
CfgFile="/home/maarten/.minikube/machines/minikube/minikube/minikube.vbox"
SnapFldr="/home/maarten/.minikube/machines/minikube/minikube/Snapshots"
LogFldr="/home/maarten/.minikube/machines/minikube/minikube/Logs"
hardwareuuid="181f6247-b80b-41a7-970a-d69d1a71ec14"
memory=2048
pagefusion="off"
vram=8
cpuexecutioncap=100
hpet="on"
chipset="piix3"
firmware="BIOS"
cpus=2
pae="on"
longmode="on"
triplefaultreset="off"
apic="on"
x2apic="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="running"
VMStateChangeTime="2017-11-13T10:35:29.017000000"
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/maarten/.minikube/machines/minikube/boot2docker.iso"
"SATA-ImageUUID-0-0"="f310bcbf-802a-473d-ba13-5d81c171c299"
"SATA-tempeject"="off"
"SATA-IsEjected"="off"
"SATA-1-0"="/home/maarten/.minikube/machines/minikube/disk.vmdk"
"SATA-ImageUUID-1-0"="a9f6cceb-0086-42be-8f39-2578a9eeab80"
"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="0800276CE988"
cableconnected1="on"
nic1="nat"
nictype1="82540EM"
nicspeed1="0"
mtu="0"
sockSnd="64"
sockRcv="64"
tcpWndSnd="64"
tcpWndRcv="64"
Forwarding(0)="ssh,tcp,127.0.0.1,33125,,22"
hostonlyadapter2="vboxnet1"
macaddress2="080027925C52"
cableconnected2="on"
nic2="hostonly"
nictype2="82540EM"
nicspeed2="0"
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="pulse"
clipboard="disabled"
draganddrop="disabled"
SessionName="headless"
VideoMode="720,400,0"@0,0 1
vrde="off"
usb="off"
ehci="off"
xhci="off"
SharedFolderNameMachineMapping1="hosthome"
SharedFolderPathMachineMapping1="/home"
VRDEActiveConnection="off"
VRDEClients=0
vcpenabled="off"
vcpscreens=0
vcpfile="/home/maarten/.minikube/machines/minikube/minikube/minikube.webm"
vcpwidth=1024
vcpheight=768
vcprate=512
vcpfps=25
GuestMemoryBalloon=0
GuestOSType="Linux26_64"
GuestAdditionsRunLevel=2
GuestAdditionsVersion="5.1.18 r114002"
GuestAdditionsFacility_VirtualBox Base Driver=50,1510569361189
GuestAdditionsFacility_VirtualBox System Service=50,1510569361332
GuestAdditionsFacility_Seamless Mode=0,1510569361188
GuestAdditionsFacility_Graphics Mode=0,1510569361188
}
STDERR:
{
}
Host-only MAC: 080027925c52

Using SSH client type: native
&{{{<nil> 0 [] [] []} docker [0x83dbb0] 0x83db60  [] 0s} 127.0.0.1 33125 <nil> <nil>}
About to run SSH command:
ip addr show
SSH cmd err, output: <nil>: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:6c:e9:88 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic eth0
       valid_lft 86314sec preferred_lft 86314sec
    inet6 fe80::a00:27ff:fe6c:e988/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:92:5c:52 brd ff:ff:ff:ff:ff:ff
    inet 192.168.99.100/24 brd 192.168.99.255 scope global dynamic eth1
       valid_lft 1114sec preferred_lft 1114sec
    inet6 fe80::a00:27ff:fe92:5c52/64 scope link 
       valid_lft forever preferred_lft forever
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:98:32:d0:ef brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 scope global docker0
       valid_lft forever preferred_lft forever

SSH returned: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:6c:e9:88 brd ff:ff:ff:ff:ff:ff
    inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic eth0
       valid_lft 86314sec preferred_lft 86314sec
    inet6 fe80::a00:27ff:fe6c:e988/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 08:00:27:92:5c:52 brd ff:ff:ff:ff:ff:ff
    inet 192.168.99.100/24 brd 192.168.99.255 scope global dynamic eth1
       valid_lft 1114sec preferred_lft 1114sec
    inet6 fe80::a00:27ff:fe92:5c52/64 scope link 
       valid_lft forever preferred_lft forever
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1
    link/sit 0.0.0.0 brd 0.0.0.0
5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:98:32:d0:ef brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 scope global docker0
       valid_lft forever preferred_lft forever

END SSH

Moving files into cluster...
E1113 11:37:28.050442   25068 start.go:222] Error updating cluster:  Error updating localkube from uri: Error attempting to download and cache localkube: Error getting localkube download url: Not a valid localkube version to download

Technical details

  • System: 18.03pre117327.3fe7cddc30 (Impala)
  • Nix version: nix-env (Nix) 1.11.15
  • Nixpkgs version: "18.03pre117327.3fe7cddc30"
  • Sandboxing enabled: build-use-sandbox = true
@moretea
Copy link
Contributor Author

moretea commented Nov 13, 2017

ping @NeQuissimus @copumpkin @ebzzry

@NeQuissimus
Copy link
Member

kubernetes/minikube#2089 broke this for us, I sent a PR to use the bundled localkube again

@moretea
Copy link
Contributor Author

moretea commented Nov 13, 2017

Awesome, I'll close this issue then.

@moretea moretea closed this as completed Nov 13, 2017
@johbo
Copy link
Contributor

johbo commented Nov 19, 2017

I ran into the same issue and did try the following:

$ minikube start --kubernetes-version=v1.8.0
Starting local Kubernetes v1.8.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Downloading localkube binary
 148.56 MB / 148.56 MB [============================================] 100.00% 0s
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.

Without setting the kubernetes version, I got the following output:

$ minikube start
Starting local Kubernetes v1.8.0+54e1cc9df cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
E1119 17:51:04.756766   69761 start.go:222] Error updating cluster:  Error updating localkube from uri: Error attempting to download and cache localkube: Error getting localkube download url: Not a valid localkube version to download
================================================================================
An error has occurred. Would you like to opt in to sending anonymized crash
information to minikube to help prevent future errors?
To opt out of these messages, run the command:
	minikube config set WantReportErrorPrompt false
================================================================================
Please enter your response [Y/n]: 

I've also tried the mentioned PR #31621, it does build and run fine, but I did not find the /usr/local/bin/localkube in there. Anything like minikube dashboard did still fail. That's why I assume the suggested fix might not be the correct approach.

@copumpkin
Copy link
Member

@NeQuissimus is your fix already merged?

@NeQuissimus
Copy link
Member

NeQuissimus commented Nov 20, 2017

@copumpkin Just did :(

@copumpkin
Copy link
Member

Oh sorry, forgot about your PR 😄 @johbo can you check if it works for you now?

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

No branches or pull requests

4 participants