Skip to content

Instantly share code, notes, and snippets.

@cmoulliard
Created September 10, 2018 16:03
Show Gist options
  • Save cmoulliard/9c99457defc55f60d5326640a3d4b63a to your computer and use it in GitHub Desktop.
Save cmoulliard/9c99457defc55f60d5326640a3d4b63a to your computer and use it in GitHub Desktop.
MINISHIFT_ENABLE_EXPERIMENTAL=y minishift start --extra-clusterup-flags="--enable=*,service-catalog,automation-service-broker"
-- 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 'xhyve' is supported on this platform ... OK
-- Checking if xhyve driver is installed ...
Driver is available at /usr/local/bin/docker-machine-driver-xhyve
Checking for setuid bit ... OK
-- Checking the ISO URL ... OK
-- Downloading OpenShift binary 'oc' version 'v3.10.0'
23.81 MiB / 23.81 MiB [================================================================================================================================================================================================] 100.00% 0s-- Downloading OpenShift v3.10.0 checksums ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'xhyve' hypervisor ...
-- Minishift VM will be configured with ...
Memory: 4 GB
vCPUs : 2
Disk size: 20 GB
Downloading ISO 'https://github.com/minishift/minishift-centos-iso/releases/download/v1.12.0/minishift-centos7.iso'
344.00 MiB / 344.00 MiB [==============================================================================================================================================================================================] 100.00% 0s
-- 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 ... 1% used OK
Importing 'openshift/origin:v3.10.0' . CACHE MISS
Importing 'openshift/origin-docker-registry:v3.10.0' . CACHE MISS
Importing 'openshift/origin-haproxy-router:v3.10.0' . CACHE MISS
-- OpenShift cluster will be configured with ...
Version: v3.10.0
-- Pulling the Openshift Container Image .............................. OK
-- Copying oc binary from the OpenShift container image to VM ... OK
-- Starting OpenShift cluster -- Extra 'oc' cluster up flags (experimental) ...
'--enable=*,service-catalog,automation-service-broker'
.............................................................................................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 --public-hostname 192.168.65.9 --routing-suffix 192.168.65.9.nip.io --enable=*,service-catalog,automation-service-broker
err : exit status 1
output : Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.10 is available ...
Pulling image openshift/origin-control-plane:v3.10
Image pull complete
Pulling image openshift/origin-cli:v3.10
Pulled 1/4 layers, 26% complete
Pulled 2/4 layers, 59% complete
Pulled 3/4 layers, 77% complete
Pulled 4/4 layers, 100% complete
Extracting
Image pull complete
Pulling image openshift/origin-node:v3.10
Pulled 5/6 layers, 84% complete
Pulled 5/6 layers, 94% complete
Pulled 6/6 layers, 100% complete
Extracting
Image pull complete
Checking type of volume mount ...
Determining server IP ...
Using public hostname IP 192.168.65.9 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 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.10 ...
I0910 11:53:45.184000 2101 config.go:42] Running "create-master-config"
I0910 11:53:48.042223 2101 config.go:46] Running "create-node-config"
I0910 11:53:49.001403 2101 flags.go:30] Running "create-kubelet-flags"
I0910 11:53:49.486906 2101 run_kubelet.go:48] Running "start-kubelet"
I0910 11:53:49.618408 2101 run_self_hosted.go:172] Waiting for the kube-apiserver to be ready ...
I0910 11:55:05.622902 2101 interface.go:26] Installing "kube-proxy" ...
I0910 11:55:05.623530 2101 interface.go:26] Installing "kube-dns" ...
I0910 11:55:05.623539 2101 interface.go:26] Installing "openshift-apiserver" ...
I0910 11:55:05.623656 2101 apply_template.go:83] Installing "kube-proxy"
I0910 11:55:05.623674 2101 apply_template.go:83] Installing "kube-dns"
I0910 11:55:05.623660 2101 apply_template.go:83] Installing "openshift-apiserver"
I0910 11:55:07.885762 2101 interface.go:41] Finished installing "kube-proxy" "kube-dns" "openshift-apiserver"
I0910 11:56:06.916042 2101 run_self_hosted.go:224] openshift-apiserver available
I0910 11:56:06.916072 2101 interface.go:26] Installing "openshift-controller-manager" ...
I0910 11:56:06.916089 2101 apply_template.go:83] Installing "openshift-controller-manager"
I0910 11:56:09.510272 2101 interface.go:41] Finished installing "openshift-controller-manager"
Adding default OAuthClient redirect URIs ...
Adding centos-imagestreams ...
Adding registry ...
Adding sample-templates ...
Adding web-console ...
Adding router ...
Adding persistent-volumes ...
Adding automation-service-broker ...
Adding service-catalog ...
I0910 11:56:09.525359 2101 interface.go:26] Installing "centos-imagestreams" ...
I0910 11:56:09.525368 2101 interface.go:26] Installing "openshift-image-registry" ...
I0910 11:56:09.525373 2101 interface.go:26] Installing "sample-templates" ...
I0910 11:56:09.525380 2101 interface.go:26] Installing "openshift-web-console-operator" ...
I0910 11:56:09.525384 2101 interface.go:26] Installing "openshift-router" ...
I0910 11:56:09.525388 2101 interface.go:26] Installing "persistent-volumes" ...
I0910 11:56:09.525393 2101 interface.go:26] Installing "automation-service-broker" ...
I0910 11:56:09.525398 2101 interface.go:26] Installing "openshift-service-catalog" ...
I0910 11:56:09.525970 2101 apply_list.go:68] Installing "centos-imagestreams"
I0910 11:56:09.526319 2101 interface.go:26] Installing "sample-templates/rails quickstart" ...
I0910 11:56:09.526327 2101 interface.go:26] Installing "sample-templates/mongodb" ...
I0910 11:56:09.526332 2101 interface.go:26] Installing "sample-templates/mariadb" ...
I0910 11:56:09.526336 2101 interface.go:26] Installing "sample-templates/mysql" ...
I0910 11:56:09.526340 2101 interface.go:26] Installing "sample-templates/postgresql" ...
I0910 11:56:09.526344 2101 interface.go:26] Installing "sample-templates/cakephp quickstart" ...
I0910 11:56:09.526348 2101 interface.go:26] Installing "sample-templates/django quickstart" ...
I0910 11:56:09.526353 2101 interface.go:26] Installing "sample-templates/nodejs quickstart" ...
I0910 11:56:09.526358 2101 interface.go:26] Installing "sample-templates/dancer quickstart" ...
I0910 11:56:09.526363 2101 interface.go:26] Installing "sample-templates/jenkins pipeline ephemeral" ...
I0910 11:56:09.526367 2101 interface.go:26] Installing "sample-templates/sample pipeline" ...
I0910 11:56:09.526407 2101 apply_list.go:68] Installing "sample-templates/sample pipeline"
I0910 11:56:09.526717 2101 apply_template.go:83] Installing "openshift-web-console-operator"
I0910 11:56:09.527616 2101 apply_list.go:68] Installing "sample-templates/rails quickstart"
I0910 11:56:09.527732 2101 apply_list.go:68] Installing "sample-templates/mongodb"
I0910 11:56:09.527827 2101 apply_list.go:68] Installing "sample-templates/mariadb"
I0910 11:56:09.527973 2101 apply_list.go:68] Installing "sample-templates/mysql"
I0910 11:56:09.528071 2101 apply_list.go:68] Installing "sample-templates/postgresql"
I0910 11:56:09.528157 2101 apply_list.go:68] Installing "sample-templates/cakephp quickstart"
I0910 11:56:09.528244 2101 apply_list.go:68] Installing "sample-templates/django quickstart"
I0910 11:56:09.528349 2101 apply_list.go:68] Installing "sample-templates/nodejs quickstart"
I0910 11:56:09.528436 2101 apply_list.go:68] Installing "sample-templates/dancer quickstart"
I0910 11:56:09.528526 2101 apply_list.go:68] Installing "sample-templates/jenkins pipeline ephemeral"
I0910 11:56:09.535912 2101 apply_template.go:83] Installing "automation-service-broker"
I0910 11:56:09.713936 2101 apply_template.go:83] Installing "service-catalog"
I0910 11:56:23.473495 2101 interface.go:41] Finished installing "sample-templates/rails quickstart" "sample-templates/mongodb" "sample-templates/mariadb" "sample-templates/mysql" "sample-templates/postgresql" "sample-templates/cakephp quickstart" "sample-templates/django quickstart" "sample-templates/nodejs quickstart" "sample-templates/dancer quickstart" "sample-templates/jenkins pipeline ephemeral" "sample-templates/sample pipeline"
E0910 12:01:24.765147 2101 interface.go:34] Failed to install "automation-service-broker": timed out waiting for the condition
I0910 12:01:24.765845 2101 interface.go:41] Finished installing "centos-imagestreams" "openshift-image-registry" "sample-templates" "openshift-web-console-operator" "openshift-router" "persistent-volumes" "automation-service-broker" "openshift-service-catalog"
Error: timed out waiting for the condition
...
oc login $(minishift ip) -u admin -p admin
The server is using a certificate that does not match its hostname: x509: cannot validate certificate for 192.168.65.9 because it doesn't contain any IP SANs
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n): y
error: couldn't get https://192.168.65.9:443/.well-known/oauth-authorization-server: unexpected response status 503
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment