Guest User

esp-start

a guest
Nov 1st, 2018
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 14.97 KB | None | 0 0
  1.  ./start_esp.sh
  2. + vbox_host_only_gateway=192.168.99.1
  3. + minishift start --iso-url centos --memory 8G --insecure-registry repository.int.kn --vm-driver virtualbox --openshift-version v3.10.0
  4. -- Starting profile 'minishift'
  5. -- Using proxy for the setup
  6. -- Check if deprecated options are used ... OK
  7. -- Checking if https://github.com is reachable ... OK
  8. -- Checking if requested OpenShift version 'v3.10.0' is valid ... OK
  9. -- Checking if requested OpenShift version 'v3.10.0' is supported ... OK
  10. -- Checking if requested hypervisor 'virtualbox' is supported on this platform ... OK
  11. -- Checking if VirtualBox is installed ... OK
  12. -- Checking the ISO URL ... OK
  13. -- Checking if provided oc flags are supported ... OK
  14. -- Starting the OpenShift cluster using 'virtualbox' hypervisor ...
  15. -- Minishift VM will be configured with ...
  16.    Memory:    8 GB
  17.    vCPUs :    2
  18.    Disk size: 20 GB
  19. -- Starting Minishift VM ............................-- Setting proxy information ... .OK
  20.  OK
  21. -- Checking for IP address ... OK
  22. -- Checking for nameservers ... OK
  23. -- Checking if external host is reachable from the Minishift VM ...
  24.    Pinging 8.8.8.8 ... OK
  25. -- Checking HTTP connectivity from the VM ...
  26.    Retrieving http://minishift.io/index.html ... OK
  27. -- Checking if persistent storage volume is mounted ... OK
  28. -- Checking available disk space ... 1% used OK
  29. -- Writing current configuration for static assignment of IP address ... OK
  30.    Importing 'openshift/origin-control-plane:v3.10.0' ........ OK
  31.    Importing 'openshift/origin-docker-registry:v3.10.0' .. OK
  32.    Importing 'openshift/origin-haproxy-router:v3.10.0' ... OK
  33. -- OpenShift cluster will be configured with ...
  34.    Version: v3.10.0
  35. -- Copying oc binary from the OpenShift container image to VM ... OK
  36. -- Starting OpenShift cluster ......................................................
  37. Getting a Docker client ...
  38. Checking if image openshift/origin-control-plane:v3.10.0 is available ...
  39. Pulling image openshift/origin-cli:v3.10.0
  40. Pulled 1/5 layers, 23% complete
  41. Pulled 2/5 layers, 42% complete
  42. Pulled 3/5 layers, 63% complete
  43. Pulled 4/5 layers, 94% complete
  44. Pulled 5/5 layers, 100% complete
  45. Extracting
  46. Image pull complete
  47. Pulling image openshift/origin-node:v3.10.0
  48. Pulled 2/6 layers, 36% complete
  49. Pulled 3/6 layers, 52% complete
  50. Pulled 4/6 layers, 76% complete
  51. Pulled 5/6 layers, 99% complete
  52. Pulled 6/6 layers, 100% complete
  53. Extracting
  54. Image pull complete
  55. Checking type of volume mount ...
  56. Determining server IP ...
  57. Using public hostname IP 192.168.99.101 as the host IP
  58. Checking if OpenShift is already running ...
  59. Checking for supported Docker version (=>1.22) ...
  60. Checking if insecured registry is configured properly in Docker ...
  61. Checking if required ports are available ...
  62. Checking if OpenShift client is configured properly ...
  63. Checking if image openshift/origin-control-plane:v3.10.0 is available ...
  64. Starting OpenShift using openshift/origin-control-plane:v3.10.0 ...
  65. I1101 15:52:50.789407    2581 config.go:42] Running "create-master-config"
  66. I1101 15:52:52.978599    2581 config.go:46] Running "create-node-config"
  67. I1101 15:52:53.780454    2581 flags.go:30] Running "create-kubelet-flags"
  68. I1101 15:52:54.376465    2581 run_kubelet.go:48] Running "start-kubelet"
  69. I1101 15:52:54.558826    2581 run_self_hosted.go:172] Waiting for the kube-apiserver to be ready ...
  70. I1101 15:53:38.562266    2581 interface.go:26] Installing "kube-proxy" ...
  71. I1101 15:53:38.562288    2581 interface.go:26] Installing "kube-dns" ...
  72. I1101 15:53:38.562293    2581 interface.go:26] Installing "openshift-apiserver" ...
  73. I1101 15:53:38.562316    2581 apply_template.go:83] Installing "openshift-apiserver"
  74. I1101 15:53:38.562424    2581 apply_template.go:83] Installing "kube-proxy"
  75. I1101 15:53:38.564248    2581 apply_template.go:83] Installing "kube-dns"
  76. I1101 15:53:41.350183    2581 interface.go:41] Finished installing "kube-proxy" "kube-dns" "openshift-apiserver"
  77. I1101 15:55:00.389751    2581 run_self_hosted.go:224] openshift-apiserver available
  78. I1101 15:55:00.390301    2581 interface.go:26] Installing "openshift-controller-manager" ...
  79. I1101 15:55:00.390321    2581 apply_template.go:83] Installing "openshift-controller-manager"
  80. I1101 15:55:03.063326    2581 interface.go:41] Finished installing "openshift-controller-manager"
  81. Adding default OAuthClient redirect URIs ...
  82. Adding web-console ...
  83. Adding registry ...
  84. Adding router ...
  85. Adding centos-imagestreams ...
  86. Adding sample-templates ...
  87. Adding persistent-volumes ...
  88. I1101 15:55:03.095096    2581 interface.go:26] Installing "openshift-web-console-operator" ...
  89. I1101 15:55:03.095105    2581 interface.go:26] Installing "openshift-image-registry" ...
  90. I1101 15:55:03.095111    2581 interface.go:26] Installing "openshift-router" ...
  91. I1101 15:55:03.095115    2581 interface.go:26] Installing "centos-imagestreams" ...
  92. I1101 15:55:03.095120    2581 interface.go:26] Installing "sample-templates" ...
  93. I1101 15:55:03.095125    2581 interface.go:26] Installing "persistent-volumes" ...
  94. I1101 15:55:03.095752    2581 apply_template.go:83] Installing "openshift-web-console-operator"
  95. I1101 15:55:03.096405    2581 apply_list.go:68] Installing "centos-imagestreams"
  96. I1101 15:55:03.096626    2581 interface.go:26] Installing "sample-templates/nodejs quickstart" ...
  97. I1101 15:55:03.096634    2581 interface.go:26] Installing "sample-templates/jenkins pipeline ephemeral" ...
  98. I1101 15:55:03.096639    2581 interface.go:26] Installing "sample-templates/mysql" ...
  99. I1101 15:55:03.096644    2581 interface.go:26] Installing "sample-templates/dancer quickstart" ...
  100. I1101 15:55:03.096649    2581 interface.go:26] Installing "sample-templates/django quickstart" ...
  101. I1101 15:55:03.096655    2581 interface.go:26] Installing "sample-templates/cakephp quickstart" ...
  102. I1101 15:55:03.096660    2581 interface.go:26] Installing "sample-templates/rails quickstart" ...
  103. I1101 15:55:03.096665    2581 interface.go:26] Installing "sample-templates/sample pipeline" ...
  104. I1101 15:55:03.096671    2581 interface.go:26] Installing "sample-templates/mongodb" ...
  105. I1101 15:55:03.096676    2581 interface.go:26] Installing "sample-templates/mariadb" ...
  106. I1101 15:55:03.096680    2581 interface.go:26] Installing "sample-templates/postgresql" ...
  107. I1101 15:55:03.096709    2581 apply_list.go:68] Installing "sample-templates/postgresql"
  108. I1101 15:55:03.096818    2581 apply_list.go:68] Installing "sample-templates/nodejs quickstart"
  109. I1101 15:55:03.096899    2581 apply_list.go:68] Installing "sample-templates/jenkins pipeline ephemeral"
  110. I1101 15:55:03.097040    2581 apply_list.go:68] Installing "sample-templates/mysql"
  111. I1101 15:55:03.097126    2581 apply_list.go:68] Installing "sample-templates/dancer quickstart"
  112. I1101 15:55:03.097206    2581 apply_list.go:68] Installing "sample-templates/django quickstart"
  113. I1101 15:55:03.097283    2581 apply_list.go:68] Installing "sample-templates/cakephp quickstart"
  114. I1101 15:55:03.097359    2581 apply_list.go:68] Installing "sample-templates/rails quickstart"
  115. I1101 15:55:03.097435    2581 apply_list.go:68] Installing "sample-templates/sample pipeline"
  116. I1101 15:55:03.097601    2581 apply_list.go:68] Installing "sample-templates/mongodb"
  117. I1101 15:55:03.097687    2581 apply_list.go:68] Installing "sample-templates/mariadb"
  118. I1101 15:55:15.899228    2581 interface.go:41] Finished installing "sample-templates/nodejs quickstart" "sample-templates/jenkins pipeline ephemeral" "sample-templates/mysql" "sample-templates/dancer quickstart" "sample-templates/django quickstart" "sample-templates/cakephp quickstart" "sample-templates/rails quickstart" "sample-templates/sample pipeline""sample-templates/mongodb" "sample-templates/mariadb" "sample-templates/postgresql"
  119. I1101 15:55:43.747776    2581 interface.go:41] Finished installing "openshift-web-console-operator" "openshift-image-registry" "openshift-router" "centos-imagestreams" "sample-templates" "persistent-volumes"
  120. Login to server ...
  121. Creating initial project "myproject" ...
  122. Server Information ...
  123. OpenShift server started.
  124.  
  125. The server is accessible via web console at:
  126.     https://192.168.99.101:8443
  127.  
  128. You are logged in as:
  129.     User:     developer
  130.     Password: <any value>
  131.  
  132. To login as administrator:
  133.     oc login -u system:admin
  134.  
  135.  
  136. + minishift ip --set-static
  137. Writing current configuration for static assignment of IP address
  138. -- Set the following network settings to VM ...
  139.    Device:      eth1
  140.    IP Address:  192.168.99.101/24
  141.    Gateway:     10.0.2.2
  142.    Nameservers: 10.0.2.3
  143. Network settings get applied to the instance on restart
  144. + minishift ip
  145. 192.168.99.101
  146. + minishift status
  147. Minishift:  Running
  148. Profile:    minishift
  149. OpenShift:  Running (openshift v3.10.0+8eb5600-70)
  150. DiskUsage:  17% of 19G (Mounted On: /mnt/sda1)
  151. CacheUsage: 3.469 GB (used by oc binary, ISO or cached images)
  152. + forward_port elasticsearch 9200 30000
  153. + local label=elasticsearch
  154. + local local_port=9200
  155. + local remote_port=30000
  156. + echo 'Adding port forward '\''elasticsearch'\'' 9200 -> 30000'
  157. Adding port forward 'elasticsearch' 9200 -> 30000
  158. + VBoxManage showvminfo minishift --machinereadable
  159. + grep 'Forwarding.*elasticsearch'
  160. + VBoxManage controlvm minishift natpf1 elasticsearch,tcp,,9200,,30000
  161. + forward_port rabbitmq 5672 30001
  162. + local label=rabbitmq
  163. + local local_port=5672
  164. + local remote_port=30001
  165. + echo 'Adding port forward '\''rabbitmq'\'' 5672 -> 30001'
  166. Adding port forward 'rabbitmq' 5672 -> 30001
  167. + VBoxManage showvminfo minishift --machinereadable
  168. + grep 'Forwarding.*rabbitmq'
  169. + VBoxManage controlvm minishift natpf1 rabbitmq,tcp,,5672,,30001
  170. + forward_port rabbitmq_mngmt 15672 30004
  171. + local label=rabbitmq_mngmt
  172. + local local_port=15672
  173. + local remote_port=30004
  174. + echo 'Adding port forward '\''rabbitmq_mngmt'\'' 15672 -> 30004'
  175. Adding port forward 'rabbitmq_mngmt' 15672 -> 30004
  176. + VBoxManage showvminfo minishift --machinereadable
  177. + grep 'Forwarding.*rabbitmq_mngmt'
  178. + VBoxManage controlvm minishift natpf1 rabbitmq_mngmt,tcp,,15672,,30004
  179. + forward_port redis 6379 30002
  180. + local label=redis
  181. + local local_port=6379
  182. + local remote_port=30002
  183. + echo 'Adding port forward '\''redis'\'' 6379 -> 30002'
  184. Adding port forward 'redis' 6379 -> 30002
  185. + VBoxManage showvminfo minishift --machinereadable
  186. + grep 'Forwarding.*redis'
  187. + VBoxManage controlvm minishift natpf1 redis,tcp,,6379,,30002
  188. + forward_port varnish 8888 30003
  189. + local label=varnish
  190. + local local_port=8888
  191. + local remote_port=30003
  192. + echo 'Adding port forward '\''varnish'\'' 8888 -> 30003'
  193. Adding port forward 'varnish' 8888 -> 30003
  194. + VBoxManage showvminfo minishift --machinereadable
  195. + grep 'Forwarding.*varnish'
  196. + VBoxManage controlvm minishift natpf1 varnish,tcp,,8888,,30003
  197. ++ minishift oc-env --no-proxy
  198. + eval export 'PATH="C:\Users\robert.depke\.minishift\cache\oc\v3.10.0\windows:$PATH"' export 'NO_PROXY="127.0.0.1,localhost,.int.kn,.kuehne-nagel.com,192.168.99.101"' '#' Run this command to configure your shell: '#' eval '$(minishift' oc-env '--no-proxy)'
  199. ++ export 'PATH=C:\Users\robert.depke\.minishift\cache\oc\v3.10.0\windows:/c/Users/robert.depke/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/robert.depke/bin:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/c/Program Files (x86)/RSA SecurID Token Common:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/d.velop/AS4GET:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/ProgramData/chocolatey/bin:/c/Tools/HashiCorp/Vagrant/bin:/c/tools/go/bin:/c/Program Files(x86)/GitExtensions:/cmd:/mingw64/bin:/usr/bin:/c/Program Files/OpenSSL/bin:/c/Go/bin:/c/Data/minishift/bin:/c/Tools:/c/Go/bin:/c/Users/robert.depke/AppData/Local/Microsoft/WindowsApps:/c/Tools/apache-maven-3.5.4/bin:/c/Users/robert.depke/AppData/Local/Programs/Microsoft VS Code/bin:/c/Tools/openshift-origin-client-tools-v3.10.0-dd10d17-windows:/c/ProgramFiles/Oracle/VirtualBox:/c/Users/robert.depke/AppData/Local/GitHubDesktop/bin:/c/Program Files (x86)/Dr. Memory/bin:/c/Program Files (x86)/Nmap:/c/Data/minishift/bin:/c/tools/Cmder:/usr/bin/vendor_perl:/usr/bin/core_perl' export NO_PROXY=127.0.0.1,localhost,.int.kn,.kuehne-nagel.com,192.168.99.101
  200. ++ PATH='C:\Users\robert.depke\.minishift\cache\oc\v3.10.0\windows:/c/Users/robert.depke/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/robert.depke/bin:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/c/Program Files (x86)/RSA SecurID Token Common:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/d.velop/AS4GET:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/c/ProgramData/chocolatey/bin:/c/Tools/HashiCorp/Vagrant/bin:/c/tools/go/bin:/c/Program Files (x86)/GitExtensions:/cmd:/mingw64/bin:/usr/bin:/c/Program Files/OpenSSL/bin:/c/Go/bin:/c/Data/minishift/bin:/c/Tools:/c/Go/bin:/c/Users/robert.depke/AppData/Local/Microsoft/WindowsApps:/c/Tools/apache-maven-3.5.4/bin:/c/Users/robert.depke/AppData/Local/Programs/Microsoft VS Code/bin:/c/Tools/openshift-origin-client-tools-v3.10.0-dd10d17-windows:/c/Program Files/Oracle/VirtualBox:/c/Users/robert.depke/AppData/Local/GitHubDesktop/bin:/c/Program Files (x86)/Dr. Memory/bin:/c/Program Files (x86)/Nmap:/c/Data/minishift/bin:/c/tools/Cmder:/usr/bin/vendor_perl:/usr/bin/core_perl'
  201. ++ NO_PROXY=127.0.0.1,localhost,.int.kn,.kuehne-nagel.com,192.168.99.101
  202. + oc create configmap varnish-vcl-toml --from-file=resources/varnish.vcl.toml
  203. configmap "varnish-vcl-toml" created
  204. ++ mktemp
  205. + tmp=/tmp/tmp.ny3ROmz41y
  206. + oc process -f resources/esp-minishift.yml -p HOST_GATEWAY=192.168.99.1
  207. + oc apply -f /tmp/tmp.ny3ROmz41y
  208. pod "elasticsearch1" created
  209. pod "rabbitmq1" created
  210. pod "redis1" created
  211. pod "varnish1" created
  212. service "elasticsearch" created
  213. service "rabbitmq" created
  214. service "redis" created
  215. service "varnish" created
  216. service "taskmanager" created
  217. persistentvolumeclaim "elasticsearch-pvc" created
  218. persistentvolumeclaim "rabbitmq-pvc" created
  219. + rm /tmp/tmp.ny3ROmz41y
  220. + set +x
  221. => Waiting for pods to start (this could take a while)
  222. => ESP is now running!
  223. You should be able to access it at http://localhost:8888
Add Comment
Please, Sign In to add comment