Skip to content

Instantly share code, notes, and snippets.

@hygl
Created October 23, 2017 12:36
Show Gist options
  • Save hygl/a6b511143258a9881eb5b72e4bd404b0 to your computer and use it in GitHub Desktop.
Save hygl/a6b511143258a9881eb5b72e4bd404b0 to your computer and use it in GitHub Desktop.
minishift start fails behind http_proxy
minishift start --metrics --memory=4gb --http-proxy=$http_proxy --https-proxy=http_proxy
-- Checking if KVM driver is installed ...
Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
Checking driver binary is executable ... OK
-- Checking if Libvirt is installed ... OK
-- Checking if Libvirt default network is present ... OK
-- Checking if Libvirt default network is active ... OK
Proxy URL 'http_proxy' is not valid.
[huegelph@cd0026522:0 bin]$ minishift start --metrics --memory=4gb --http-proxy=$http_proxy --https-proxy=$http_proxy
-- Checking if KVM driver is installed ...
Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
Checking driver binary is executable ... OK
-- Checking if Libvirt is installed ... OK
-- Checking if Libvirt default network is present ... OK
-- Checking if Libvirt default network is active ... OK
-- Starting local OpenShift cluster using 'kvm' hypervisor ...
-- Starting Minishift VM .............. OK
-- Checking for IP address ... OK
-- Checking if external host is reachable from the Minishift VM ...
Pinging 8.8.8.8 ... FAIL
VM is unable to ping external host
-- Checking HTTP connectivity from the VM ...
Retrieving http://minishift.io/index.html ... FAIL
VM cannot connect to external URL with HTTP
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 0% used OK
-- OpenShift cluster will be configured with ...
Version: v3.6.0
-- Checking `oc` support for startup flags ...
host-pv-dir ... OK
host-data-dir ... OK
host-volumes-dir ... OK
http-proxy ... OK
https-proxy ... OK
metrics ... OK
no-proxy ... OK
routing-suffix ... OK
host-config-dir ... OK
Starting OpenShift using openshift/origin:v3.6.0 ...
Pulling image openshift/origin:v3.6.0
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ... OK
-- Checking for openshift/origin:v3.6.0 image ...
Pulling image openshift/origin:v3.6.0
FAIL
Error: error pulling Docker image openshift/origin:v3.6.0
Caused By:
Error: Error while pulling image: Get https://index.docker.io/v1/repositories/openshift/origin/images: dial tcp: lookup index.docker.io on 192.168.122.1:53: server misbehaving
Error during 'cluster up' execution: Error starting the cluster.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment