Skip to content

Instantly share code, notes, and snippets.

@gashcrumb
Created February 18, 2019 20:21
Show Gist options
  • Save gashcrumb/80a13603c5d3a72243bceecce132f34c to your computer and use it in GitHub Desktop.
Save gashcrumb/80a13603c5d3a72243bceecce132f34c to your computer and use it in GitHub Desktop.
gashcrumb@plucky (master)
~/Source/syndesis/app/ui
] ../../tools/bin/syndesis minishift --full-reset
Removed cache content at: '/home/gashcrumb/.minishift/cache'
Add-on 'admin-user' enabled
Starting minishift ....
-- 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 'kvm' is supported on this platform ... OK
-- 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
-- Checking the ISO URL ... OK
-- Downloading OpenShift binary 'oc' version 'v3.10.0'
20.04 MiB / 24.08 MiB [=====================================================================================================================================================================>---------------------------------] 83.22% 0s 24.08 MiB / 24.08 MiB [=======================================================================================================================================================================================================] 100.00% 0sOK
-- Checking if provided oc flags are supported ... OK
-- Starting the OpenShift cluster using 'kvm' 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.13.0/minishift-centos7.iso'
346.00 MiB / 346.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
-- Writing current configuration for static assignment of IP address ... WARN
Importing 'openshift/origin-control-plane: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 ............................................
Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.10.0 is available ...
Pulling image openshift/origin-cli:v3.10.0
Image pull complete
Pulling image openshift/origin-node:v3.10.0
Pulled 2/6 layers, 34% complete
Pulled 3/6 layers, 55% complete
Pulled 4/6 layers, 92% 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.42.116 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 ...
I0218 19:47:05.455014 2125 config.go:42] Running "create-master-config"
I0218 19:47:11.606306 2125 config.go:46] Running "create-node-config"
I0218 19:47:12.480686 2125 flags.go:30] Running "create-kubelet-flags"
I0218 19:47:13.052132 2125 run_kubelet.go:48] Running "start-kubelet"
I0218 19:47:13.248625 2125 run_self_hosted.go:172] Waiting for the kube-apiserver to be ready ...
I0218 19:47:53.255485 2125 interface.go:26] Installing "kube-proxy" ...
I0218 19:47:53.256748 2125 interface.go:26] Installing "kube-dns" ...
I0218 19:47:53.256778 2125 interface.go:26] Installing "openshift-apiserver" ...
I0218 19:47:53.256850 2125 apply_template.go:83] Installing "openshift-apiserver"
I0218 19:47:53.259087 2125 apply_template.go:83] Installing "kube-proxy"
I0218 19:47:53.260490 2125 apply_template.go:83] Installing "kube-dns"
I0218 19:47:57.164422 2125 interface.go:41] Finished installing "kube-proxy" "kube-dns" "openshift-apiserver"
I0218 19:48:41.218505 2125 run_self_hosted.go:224] openshift-apiserver available
I0218 19:48:41.218533 2125 interface.go:26] Installing "openshift-controller-manager" ...
I0218 19:48:41.218561 2125 apply_template.go:83] Installing "openshift-controller-manager"
Adding default OAuthClient redirect URIs ...
I0218 19:48:43.942951 2125 interface.go:41] Finished installing "openshift-controller-manager"
Adding registry ...
Adding persistent-volumes ...
Adding web-console ...
Adding centos-imagestreams ...
Adding router ...
Adding sample-templates ...
I0218 19:48:43.960538 2125 interface.go:26] Installing "openshift-image-registry" ...
I0218 19:48:43.960547 2125 interface.go:26] Installing "persistent-volumes" ...
I0218 19:48:43.960556 2125 interface.go:26] Installing "openshift-web-console-operator" ...
I0218 19:48:43.960560 2125 interface.go:26] Installing "centos-imagestreams" ...
I0218 19:48:43.960565 2125 interface.go:26] Installing "openshift-router" ...
I0218 19:48:43.960572 2125 interface.go:26] Installing "sample-templates" ...
I0218 19:48:43.960613 2125 interface.go:26] Installing "sample-templates/sample pipeline" ...
I0218 19:48:43.960619 2125 interface.go:26] Installing "sample-templates/mariadb" ...
I0218 19:48:43.960623 2125 interface.go:26] Installing "sample-templates/mysql" ...
I0218 19:48:43.960628 2125 interface.go:26] Installing "sample-templates/postgresql" ...
I0218 19:48:43.960633 2125 interface.go:26] Installing "sample-templates/dancer quickstart" ...
I0218 19:48:43.960639 2125 interface.go:26] Installing "sample-templates/django quickstart" ...
I0218 19:48:43.960644 2125 interface.go:26] Installing "sample-templates/jenkins pipeline ephemeral" ...
I0218 19:48:43.960649 2125 interface.go:26] Installing "sample-templates/mongodb" ...
I0218 19:48:43.960655 2125 interface.go:26] Installing "sample-templates/cakephp quickstart" ...
I0218 19:48:43.960660 2125 interface.go:26] Installing "sample-templates/nodejs quickstart" ...
I0218 19:48:43.960665 2125 interface.go:26] Installing "sample-templates/rails quickstart" ...
I0218 19:48:43.960709 2125 apply_list.go:68] Installing "sample-templates/rails quickstart"
I0218 19:48:43.961798 2125 apply_template.go:83] Installing "openshift-web-console-operator"
I0218 19:48:43.961979 2125 apply_list.go:68] Installing "centos-imagestreams"
I0218 19:48:43.962347 2125 apply_list.go:68] Installing "sample-templates/sample pipeline"
I0218 19:48:43.962473 2125 apply_list.go:68] Installing "sample-templates/mariadb"
I0218 19:48:43.962571 2125 apply_list.go:68] Installing "sample-templates/mysql"
I0218 19:48:43.962682 2125 apply_list.go:68] Installing "sample-templates/postgresql"
I0218 19:48:43.962777 2125 apply_list.go:68] Installing "sample-templates/dancer quickstart"
I0218 19:48:43.962894 2125 apply_list.go:68] Installing "sample-templates/django quickstart"
I0218 19:48:43.962993 2125 apply_list.go:68] Installing "sample-templates/jenkins pipeline ephemeral"
I0218 19:48:43.963106 2125 apply_list.go:68] Installing "sample-templates/mongodb"
I0218 19:48:43.963206 2125 apply_list.go:68] Installing "sample-templates/cakephp quickstart"
I0218 19:48:43.963337 2125 apply_list.go:68] Installing "sample-templates/nodejs quickstart"
I0218 19:48:56.561147 2125 interface.go:41] Finished installing "sample-templates/sample pipeline" "sample-templates/mariadb" "sample-templates/mysql" "sample-templates/postgresql" "sample-templates/dancer quickstart" "sample-templates/django quickstart" "sample-templates/jenkins pipeline ephemeral" "sample-templates/mongodb" "sample-templates/cakephp quickstart" "sample-templates/nodejs quickstart" "sample-templates/rails quickstart"
I0218 19:49:13.108387 2125 interface.go:41] Finished installing "openshift-image-registry" "persistent-volumes" "openshift-web-console-operator" "centos-imagestreams" "openshift-router" "sample-templates"
Login to server ...
Creating initial project "myproject" ...
Server Information ...
OpenShift server started.
The server is accessible via web console at:
https://192.168.42.116:8443
You are logged in as:
User: developer
Password: <any value>
To login as administrator:
oc login -u system:admin
-- Applying addon 'admin-user':..
-- Exporting of OpenShift images is occuring in background process with pid 8594.
gashcrumb@plucky (master)
~/Source/syndesis/app/ui
] minishift-en
bash: minishift-en: command not found
gashcrumb@plucky (master)
~/Source/syndesis/app/ui
] minishift-env
Login successful.
You have one project on this server: "myproject"
Using project "myproject".
gashcrumb@plucky (master)
~/Source/syndesis/app/ui
] ../../tools/bin/syndesis minishift --install --dev --local -p syndesis
Switched to context "minishift".
Creating project syndesis
Already on project "syndesis" on server "https://192.168.42.116:8443".
Already on project "syndesis" on server "https://192.168.42.116:8443".
Installing Syndesis CRD
cluster role "syndesis-extra-permissions" added: "developer"
Deploying Syndesis operator
Login successful.
You have access to the following projects and can switch between them with 'oc project <projectname>':
myproject
* syndesis
Using project "syndesis".
Waiting for syndesis-operator to be scaled to 1
Sleeping 10s ...
NAME READY STATUS RESTARTS AGE
syndesis-operator-1-deploy 0/1 Pending 0 0s
syndesis-operator-1-deploy 0/1 Pending 0 0s
syndesis-operator-1-deploy 0/1 ContainerCreating 0 0s
syndesis-operator-1-deploy 1/1 Running 0 3s
syndesis-operator-1-km5k5 0/1 Pending 0 0s
syndesis-operator-1-km5k5 0/1 Pending 0 0s
syndesis-operator-1-km5k5 0/1 ContainerCreating 0 0s
Sleeping 10s ...
syndesis-operator-1-km5k5 1/1 Running 0 7s
syndesis-operator-1-deploy 0/1 Completed 0 11s
syndesis-operator-1-deploy 0/1 Terminating 0 11s
syndesis-operator-1-deploy 0/1 Terminating 0 11s
Error from server (NotFound): Unable to list "syndesises": the server could not find the requested resource (get syndesises.syndesis.io)
Error from server (NotFound): error when creating "STDIN": the server could not find the requested resource (post syndesises.syndesis.io)
ERROR: Error while creating resource apiVersion: "syndesis.io/v1alpha1" kind: "Syndesis" metadata: name: "app" spec: openShiftConsoleUrl: https://192.168.42.116:8443/console routeHostname: syndesis.192.168.42.116.nip.io
===============================================================
serviceaccount "syndesis-operator" created
role.rbac.authorization.k8s.io "syndesis-operator" created
rolebinding.rbac.authorization.k8s.io "syndesis-operator:install" created
rolebinding.authorization.openshift.io "syndesis-operator:view" created
rolebinding.authorization.openshift.io "syndesis-operator:edit" created
imagestream.image.openshift.io "syndesis-operator" created
deploymentconfig.apps.openshift.io "syndesis-operator" created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment