minishift: Minishift wont start on windows

General information

I have download the latest version and try to install. I am running minishift on Windows 7 from gitbash and with the minishift start --vm-driver=virtualbox command. After i install it the first time i run minishift start. I have install and uninstall minishift many times It run’s on VM but not showing the web console at all. Once i was even able to deploy a rubi application and a node.js but the most times is failing. what can i do to fix this what have i done wrong?This must be easy to use . I have spend many hours but with no luck. thanks

  • Minishift version: minishift-1.25.0-windows-amd64
  • OS: Linux / macOS / Windows Windows 7
  • Hypervisor: KVM / xhyve / Hyper-V / VirtualBox VirtualBox Version 5.2.6 r120293 (Qt5.6.2)

Steps to reproduce

  1. minishift start --vm-driver=virtualbox

Expected

To have a minishift running on web console to be able to deploy an application

Actual

https://192.168.99.100:8443/healthz?timeout=32s: dial tcp 192.168.99.100:8443: connect: connection refused () Error: timed out waiting for the condition

if by accident minishift starts then i cannot deploy.

Logs

$ minishift start
-- Starting profile 'minishift'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.10.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.10.0' is supported ... OK
-- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
-- Checking if VirtualBox is installed ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'virtualbox' hypervisor ...
-- Starting Minishift VM ............................. OK
-- Checking for IP address ... OK
-- Checking for nameservers ... OK
-- Checking if external host is reachable from the Minishift VM ...
   Pinging 8.8.8.8 ... OK
-- Checking HTTP connectivity from the VM ...
   Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 15% used OK
-- OpenShift cluster will be configured with ...
   Version: v3.10.0
-- Copying oc binary from the OpenShift container image to VM ... OK
-- Starting OpenShift cluster ....................................................................Error during 'cluster up' execution: Error starting the cluster. ssh command error:
command : /var/lib/minishift/bin/oc cluster up --base-dir /var/lib/minishift/base --image 'openshift/origin-${component}:v3.10.0' --public-hostname 192.168.99.100 --routing-suffix 192.168.99.100.nip.io
err     : exit status 1
output  : Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.10.0 is available ...
Checking type of volume mount ...
Determining server IP ...
Using public hostname IP 192.168.99.100 as the host IP
Checking if OpenShift is already running ...
Checking for supported Docker version (=>1.22) ...
Checking if insecured registry is configured properly in Docker ...
Checking if required ports are available ...
Checking if OpenShift client is configured properly ...
Checking if image openshift/origin-control-plane:v3.10.0 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.10.0 ...
I1020 01:58:16.205714    2225 flags.go:30] Running "create-kubelet-flags"
I1020 01:58:23.177264    2225 run_kubelet.go:48] Running "start-kubelet"
I1020 01:58:27.515137    2225 run_self_hosted.go:172] Waiting for the kube-apiserver to be ready ...
E1020 02:03:27.523266    2225 run_self_hosted.go:542] API server error: Get https://192.168.99.100:8443/healthz?timeout=32s: dial tcp 192.168.99.100:8443: connect: connection refused ()
Error: timed out waiting for the condition

and here

$ minishift start --show-libmachine-logs -v5
-- minishift version: v1.25.0+90fb23e
-- Starting profile 'minishift'
Found binary path at C:\Users\giorgo\minishift\minishift.exe
Launching plugin server for driver virtualbox
Plugin server listening at address 127.0.0.1:49968
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minishift) Calling .GetState
(minishift) DBG | COMMAND: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo minishift --machinereadable
(minishift) DBG | STDOUT:
(minishift) DBG | {
(minishift) DBG | name="minishift"
(minishift) DBG | groups="/"
(minishift) DBG | ostype="Linux 2.6 / 3.x / 4.x (64-bit)"
(minishift) DBG | UUID="f4a3ac7e-dc37-4c56-ac47-93e595337134"
(minishift) DBG | CfgFile="C:\\Users\\giorgo\\.minishift\\machines\\minishift\\minishift\\minishift.vbox"
(minishift) DBG | SnapFldr="C:\\Users\\giorgo\\.minishift\\machines\\minishift\\minishift\\Snapshots"
(minishift) DBG | LogFldr="C:\\Users\\giorgo\\.minishift\\machines\\minishift\\minishift\\Logs"
(minishift) DBG | hardwareuuid="f4a3ac7e-dc37-4c56-ac47-93e595337134"
(minishift) DBG | memory=4096
(minishift) DBG | pagefusion="off"
(minishift) DBG | vram=8
(minishift) DBG | cpuexecutioncap=100
(minishift) DBG | hpet="on"
(minishift) DBG | chipset="piix3"
(minishift) DBG | firmware="BIOS"
(minishift) DBG | cpus=2
(minishift) DBG | pae="on"
(minishift) DBG | longmode="on"
(minishift) DBG | triplefaultreset="off"
(minishift) DBG | apic="on"
(minishift) DBG | x2apic="off"
(minishift) DBG | cpuid-portability-level=0
(minishift) DBG | bootmenu="disabled"
(minishift) DBG | boot1="dvd"
The 'minishift' VM is already running.
(minishift) DBG | boot2="dvd"
(minishift) DBG | boot3="disk"

You can start Minishift with minishift start --show-libmachine-logs -v5 to collect logs. Please consider posting this on http://gist.github.com/ and post the link in the issue.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 22 (10 by maintainers)

Most upvoted comments

@praveenkumar
Hello praveenkumar , unfortunatly both was working but the 3.10.0 stop working at all (see first log) and version 3.9.0 has problem by giving the wrong ip to openshift. I have try to change it manually (config.json file) but with no luck since when minishift starts it will overwrite the value i give.Then i have to find out if i can change the ip someway .