Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minishift wont start on windows #2910

Closed
giorgoch opened this issue Oct 20, 2018 · 22 comments
Closed

Minishift wont start on windows #2910

giorgoch opened this issue Oct 20, 2018 · 22 comments

Comments

@giorgoch
Copy link

giorgoch commented Oct 20, 2018

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.

@giorgoch
Copy link
Author

giorgoch commented Oct 20, 2018

i just download minishift-1.18.0-windows-amd64
and everything works fine.
I cannot explain what and why . No changes made just install.

Here is the log

$ minishift start --vm-driver=virtualbox
-- Starting profile 'minishift'
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.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
-- Downloading OpenShift binary 'oc' version 'v3.9.0'
 40.81 MiB / 40.81 MiB  100.00% 0s-- Downloading OpenShift v3.9.0 checksums ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting local OpenShift cluster using 'virtualbox' hypervisor ...
-- Minishift VM will be configured with ...
   Memory:    2 GB
   vCPUs :    2
   Disk size: 20 GB

   Downloading ISO 'https://github.com/minishift/minishift-b2d-iso/releases/download/v1.3.0/minishift-b2d.iso'
 40.00 MiB / 40.00 MiB  100.00% 0sss
-- 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 ... 0% used OK
   Importing 'openshift/origin:v3.9.0'  CACHE MISS
   Importing 'openshift/origin-docker-registry:v3.9.0' . CACHE MISS
   Importing 'openshift/origin-haproxy-router:v3.9.0' . CACHE MISS
-- OpenShift cluster will be configured with ...
   Version: v3.9.0
-- Copying oc binary from the OpenShift container image to VM ..................................... OK
-- Starting OpenShift cluster ...........................................................
Using Docker shared volumes for OpenShift volumes
Using public hostname IP 192.168.99.101 as the host IP
Using 192.168.99.101 as the server IP
Starting OpenShift using openshift/origin:v3.9.0 ...
OpenShift server started.

The server is accessible via web console at:
    https://192.168.99.101:8443

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin


-- Exporting of OpenShift images is occuring in background process with pid 6800.

i have deploy a node.js app (the default app )with success and even deployed a spring boot app.

Here is the log from gitbash

$ oc
OpenShift Client

This client helps you develop, build, deploy, and run your applications on any O                                                                                                                penShift or Kubernetes compatible platform. It also includes the administrative                                                                                                                 commands for managing a cluster under the 'adm' subcommand.

To create a new application, login to your server and then run new-app:

  oc login https://mycluster.mycompany.com
  oc new-app centos/ruby-25-centos7~https://github.com/sclorg/ruby-ex.git
  oc logs -f bc/ruby-ex

This will create an application based on the Docker image 'centos/ruby-25-centos                                                                                                                7' that builds the source code from GitHub. A build will start automatically, pu                                                                                                                sh the resulting image to the registry, and a deployment will roll that change o                                                                                                                ut in your project.

Once your application is deployed, use the status, describe, and get commands to                                                                                                                 see more about the created components:

  oc status
  oc describe deploymentconfig ruby-ex
  oc get pods

To make this application visible outside of the cluster, use the expose command                                                                                                                 on the service we just created to create a 'route' (which will connect your appl                                                                                                                ication over the HTTP port to a public domain name).

  oc expose svc/ruby-ex
  oc status

You should now see the URL the application can be reached at.

To see the full list of commands supported, run 'oc --help'.

and here is the log for spring boot app

giorgo@giorgo-PC MINGW64 ~/Desktop/Oc
$ oc project example-spring-boot
Now using project "example-spring-boot" on server "https://192.168.99.101:8443".

giorgo@giorgo-PC MINGW64 ~/Desktop/Oc
$ oc new-app https://github.com/appuio/example-spring-boot-helloworld.git --strategy=docker --name=appuio-spring-boot-ex
warning: Cannot check if git requires authentication.
--> Found Docker image bb81a09 (20 months old) from Docker Hub for "openshift/base-centos7"

    * An image stream tag will be created as "base-centos7:latest" that will track the source image
    * A Docker build using source code from https://github.com/appuio/example-spring-boot-helloworld.git will be created
      * The resulting image will be pushed to image stream tag "appuio-spring-boot-ex:latest"
      * Every time "base-centos7:latest" changes a new build will be triggered
      * WARNING: this source repository may require credentials.
                 Create a secret with your git credentials and use 'set build-secret' to assign it to the build config.
    * This image will be deployed in deployment config "appuio-spring-boot-ex"
    * Port 8080/tcp will be load balanced by service "appuio-spring-boot-ex"
      * Other containers can access this service through the hostname "appuio-spring-boot-ex"
    * WARNING: Image "openshift/base-centos7" runs as the 'root' user which may not be permitted by your cluster administrator

--> Creating resources ...
    imagestream.image.openshift.io "base-centos7" created
    imagestream.image.openshift.io "appuio-spring-boot-ex" created
    buildconfig.build.openshift.io "appuio-spring-boot-ex" created
    deploymentconfig.apps.openshift.io "appuio-spring-boot-ex" created
    service "appuio-spring-boot-ex" created
--> Success
    Build scheduled, use 'oc logs -f bc/appuio-spring-boot-ex' to track its progress.
    Application is not exposed. You can expose services to the outside world by executing one or more of the commands below:
     'oc expose svc/appuio-spring-boot-ex'
    Run 'oc status' to view your app.

giorgo@giorgo-PC MINGW64 ~/Desktop/Oc
$ oc expose service appuio-spring-boot-ex
route.route.openshift.io/appuio-spring-boot-ex exposed

here is the build from minishift

Cloning "https://github.com/appuio/example-spring-boot-helloworld.git " ...
	Commit:	fd98ed62376ec45242523c175e92cb8d64529fa4 (updated Configuration)
	Author:	Thomas Philipona <philipona@puzzle.ch>
	Date:	Fri Jun 17 17:25:27 2016 +0200

Pulling image openshift/base-centos7@sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c ...
Pulled 1/4 layers, 26% complete
Pulled 2/4 layers, 51% complete
Pulled 2/4 layers, 78% complete
Pulled 3/4 layers, 99% complete
Pulled 4/4 layers, 100% complete
Extracting
Step 1 : FROM openshift/base-centos7@sha256:aea292a3bddba020cde0ee83e6a45807931eb607c164ec6a3674f67039d8cd7c
 ---> 4842f0bd3d61
Step 2 : MAINTAINER Thomas Philipona <philipona@puzzle.ch>
 ---> Running in a78d2aa35c81
 ---> 495002c5d287
Removing intermediate container a78d2aa35c81
Step 3 : EXPOSE 8080
 ---> Running in dcc0ecb71281
 ---> a1788397afff
Removing intermediate container dcc0ecb71281
Step 4 : LABEL io.k8s.description "Example Spring Boot App" io.k8s.display-name "APPUiO Spring Boot App" io.openshift.expose-services "8080:http" io.openshift.tags "builder,springboot" io.openshift.s2i.destination "/opt/s2i/destination"
 ---> Running in 8e1e49dbd1c9
 ---> 4f98a6fc9e37
Removing intermediate container 8e1e49dbd1c9
Step 5 : RUN INSTALL_PKGS="tar unzip bc which lsof java-1.8.0-openjdk java-1.8.0-openjdk-devel" &&     yum install -y $INSTALL_PKGS &&     rpm -V $INSTALL_PKGS &&     yum clean all -y &&     mkdir -p /opt/s2i/destination
 ---> Running in 286cdfaaeb24
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: ftp.hosteurope.de
 * extras: mirror.eu.oneandone.net
 * updates: ftp.antilo.de
Package which-2.20-7.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package bc.x86_64 0:1.06.95-13.el7 will be installed
---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.181-3.b13.el7_5 will be installed
--> Processing Dependency: java-1.8.0-openjdk-headless(x86-64) = 1:1.8.0.181-3.b13.el7_5 for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libjvm.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libjava.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libasound.so.2(ALSA_0.9)(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libjvm.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libjava.so()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libasound.so.2()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: libXcomposite.so.1()(64bit) for package: 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64
---> Package java-1.8.0-openjdk-devel.x86_64 1:1.8.0.181-3.b13.el7_5 will be installed
---> Package lsof.x86_64 0:4.87-4.el7 will be updated
---> Package lsof.x86_64 0:4.87-5.el7 will be an update
---> Package tar.x86_64 2:1.26-31.el7 will be updated
---> Package tar.x86_64 2:1.26-34.el7 will be an update
---> Package unzip.x86_64 0:6.0-16.el7 will be updated
---> Package unzip.x86_64 0:6.0-19.el7 will be an update
--> Running transaction check
---> Package alsa-lib.x86_64 0:1.1.4.1-2.el7 will be installed
---> Package giflib.x86_64 0:4.1.6-9.el7 will be installed
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.181-3.b13.el7_5 will be installed
--> Processing Dependency: tzdata-java >= 2015d for package: 1:java-1.8.0-openjdk-headless-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: nss-softokn(x86-64) >= 3.36.0 for package: 1:java-1.8.0-openjdk-headless-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: nss(x86-64) >= 3.36.0 for package: 1:java-1.8.0-openjdk-headless-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: copy-jdk-configs >= 2.2 for package: 1:java-1.8.0-openjdk-headless-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: lksctp-tools(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.181-3.b13.el7_5.x86_64
--> Processing Dependency: jpackage-utils for package: 1:java-1.8.0-openjdk-headless-1.8.0.181-3.b13.el7_5.x86_64
---> Package libXcomposite.x86_64 0:0.4.4-4.1.el7 will be installed
---> Package libXi.x86_64 0:1.7.9-1.el7 will be installed
---> Package libXrender.x86_64 0:0.9.10-1.el7 will be installed
---> Package libXtst.x86_64 0:1.2.3-1.el7 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Running transaction check
---> Package copy-jdk-configs.noarch 0:3.3-10.el7_5 will be installed
---> Package javapackages-tools.noarch 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-javapackages = 3.4.1-11.el7 for package: javapackages-tools-3.4.1-11.el7.noarch
---> Package lksctp-tools.x86_64 0:1.0.17-2.el7 will be installed
---> Package nss.x86_64 0:3.21.3-2.el7_3 will be updated
--> Processing Dependency: nss = 3.21.3-2.el7_3 for package: nss-sysinit-3.21.3-2.el7_3.x86_64
--> Processing Dependency: nss(x86-64) = 3.21.3-2.el7_3 for package: nss-tools-3.21.3-2.el7_3.x86_64
---> Package nss.x86_64 0:3.36.0-7.el7_5 will be an update
--> Processing Dependency: nss-util >= 3.36.0-1 for package: nss-3.36.0-7.el7_5.x86_64
--> Processing Dependency: nspr >= 4.19.0 for package: nss-3.36.0-7.el7_5.x86_64
--> Processing Dependency: nss-pem(x86-64) for package: nss-3.36.0-7.el7_5.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.31)(64bit) for package: nss-3.36.0-7.el7_5.x86_64
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.24)(64bit) for package: nss-3.36.0-7.el7_5.x86_64
---> Package nss-softokn.x86_64 0:3.16.2.3-14.4.el7 will be updated
---> Package nss-softokn.x86_64 0:3.36.0-5.el7_5 will be an update
--> Processing Dependency: nss-softokn-freebl(x86-64) >= 3.36.0-5.el7_5 for package: nss-softokn-3.36.0-5.el7_5.x86_64
---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed
---> Package tzdata-java.noarch 0:2018e-3.el7 will be installed
---> Package xorg-x11-font-utils.x86_64 1:7.5-20.el7 will be installed
--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--> Processing Dependency: libXfont.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-20.el7.x86_64
--> Running transaction check
---> Package libXfont.x86_64 0:1.5.2-1.el7 will be installed
---> Package libfontenc.x86_64 0:1.1.3-3.el7 will be installed
---> Package nspr.x86_64 0:4.11.0-1.el7_2 will be updated
---> Package nspr.x86_64 0:4.19.0-1.el7_5 will be an update
---> Package nss-pem.x86_64 0:1.0.3-4.el7 will be installed
---> Package nss-softokn-freebl.x86_64 0:3.16.2.3-14.4.el7 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.36.0-5.el7_5 will be an update
---> Package nss-sysinit.x86_64 0:3.21.3-2.el7_3 will be updated
---> Package nss-sysinit.x86_64 0:3.36.0-7.el7_5 will be an update
---> Package nss-tools.x86_64 0:3.21.3-2.el7_3 will be updated
---> Package nss-tools.x86_64 0:3.36.0-7.el7_5 will be an update
---> Package nss-util.x86_64 0:3.21.3-1.1.el7_3 will be updated
---> Package nss-util.x86_64 0:3.36.0-1.el7_5 will be an update
---> Package python-javapackages.noarch 0:3.4.1-11.el7 will be installed
--> Processing Dependency: python-lxml for package: python-javapackages-3.4.1-11.el7.noarch
--> Running transaction check
---> Package python-lxml.x86_64 0:3.2.1-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                      Arch    Version                    Repository
                                                                           Size
================================================================================
Installing:
 bc                           x86_64  1.06.95-13.el7             base     115 k
 java-1.8.0-openjdk           x86_64  1:1.8.0.181-3.b13.el7_5    updates  250 k
 java-1.8.0-openjdk-devel     x86_64  1:1.8.0.181-3.b13.el7_5    updates  9.8 M
Updating:
 lsof                         x86_64  4.87-5.el7                 base     331 k
 tar                          x86_64  2:1.26-34.el7              base     845 k
 unzip                        x86_64  6.0-19.el7                 base     170 k
Installing for dependencies:
 alsa-lib                     x86_64  1.1.4.1-2.el7              base     422 k
 copy-jdk-configs             noarch  3.3-10.el7_5               updates   21 k
 giflib                       x86_64  4.1.6-9.el7                base      40 k
 java-1.8.0-openjdk-headless  x86_64  1:1.8.0.181-3.b13.el7_5    updates   32 M
 javapackages-tools           noarch  3.4.1-11.el7               base      73 k
 libXcomposite                x86_64  0.4.4-4.1.el7              base      22 k
 libXfont                     x86_64  1.5.2-1.el7                base     152 k
 libXi                        x86_64  1.7.9-1.el7                base      40 k
 libXrender                   x86_64  0.9.10-1.el7               base      26 k
 libXtst                      x86_64  1.2.3-1.el7                base      20 k
 libfontenc                   x86_64  1.1.3-3.el7                base      31 k
 lksctp-tools                 x86_64  1.0.17-2.el7               base      88 k
 nss-pem                      x86_64  1.0.3-4.el7                base      73 k
 python-javapackages          noarch  3.4.1-11.el7               base      31 k
 python-lxml                  x86_64  3.2.1-4.el7                base     758 k
 ttmkfdir                     x86_64  3.0.9-42.el7               base      48 k
 tzdata-java                  noarch  2018e-3.el7                updates  185 k
 xorg-x11-font-utils          x86_64  1:7.5-20.el7               base      87 k
 xorg-x11-fonts-Type1         noarch  7.5-9.el7                  base     521 k
Updating for dependencies:
 nspr                         x86_64  4.19.0-1.el7_5             updates  127 k
 nss                          x86_64  3.36.0-7.el7_5             updates  835 k
 nss-softokn                  x86_64  3.36.0-5.el7_5             updates  315 k
 nss-softokn-freebl           x86_64  3.36.0-5.el7_5             updates  222 k
 nss-sysinit                  x86_64  3.36.0-7.el7_5             updates   62 k
 nss-tools                    x86_64  3.36.0-7.el7_5             updates  515 k
 nss-util                     x86_64  3.36.0-1.el7_5             updates   78 k

Transaction Summary
================================================================================
Install  3 Packages (+19 Dependent packages)
Upgrade  3 Packages (+ 7 Dependent packages)

Total download size: 48 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total                                              2.9 MB/s |  48 MB  00:16     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : nspr-4.19.0-1.el7_5.x86_64                                  1/42 
  Updating   : nss-util-3.36.0-1.el7_5.x86_64                              2/42 
  Installing : libfontenc-1.1.3-3.el7.x86_64                               3/42 
  Installing : libXi-1.7.9-1.el7.x86_64                                    4/42 
  Installing : libXtst-1.2.3-1.el7.x86_64                                  5/42 
  Installing : libXfont-1.5.2-1.el7.x86_64                                 6/42 
  Installing : 1:xorg-x11-font-utils-7.5-20.el7.x86_64                     7/42 
  Updating   : nss-softokn-freebl-3.36.0-5.el7_5.x86_64                    8/42 
  Updating   : nss-softokn-3.36.0-5.el7_5.x86_64                           9/42 
  Updating   : nss-sysinit-3.36.0-7.el7_5.x86_64                          10/42 
  Updating   : nss-3.36.0-7.el7_5.x86_64                                  11/42 
  Installing : nss-pem-1.0.3-4.el7.x86_64                                 12/42 
  Installing : alsa-lib-1.1.4.1-2.el7.x86_64                              13/42 
  Installing : tzdata-java-2018e-3.el7.noarch                             14/42 
  Installing : lksctp-tools-1.0.17-2.el7.x86_64                           15/42 
  Installing : libXcomposite-0.4.4-4.1.el7.x86_64                         16/42 
  Installing : copy-jdk-configs-3.3-10.el7_5.noarch                       17/42 
  Installing : ttmkfdir-3.0.9-42.el7.x86_64                               18/42 
  Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch                      19/42 
  Installing : python-lxml-3.2.1-4.el7.x86_64                             20/42 
  Installing : python-javapackages-3.4.1-11.el7.noarch                    21/42 
  Installing : javapackages-tools-3.4.1-11.el7.noarch                     22/42 
  Installing : 1:java-1.8.0-openjdk-headless-1.8.0.181-3.b13.el7_5.x86_   23/42 
  Installing : libXrender-0.9.10-1.el7.x86_64                             24/42 
  Installing : giflib-4.1.6-9.el7.x86_64                                  25/42 
  Installing : 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64          26/42 
  Installing : 1:java-1.8.0-openjdk-devel-1.8.0.181-3.b13.el7_5.x86_64    27/42 
  Updating   : nss-tools-3.36.0-7.el7_5.x86_64                            28/42 
  Updating   : unzip-6.0-19.el7.x86_64                                    29/42 
  Updating   : 2:tar-1.26-34.el7.x86_64                                   30/42 
  Updating   : lsof-4.87-5.el7.x86_64                                     31/42 
  Installing : bc-1.06.95-13.el7.x86_64                                   32/42 
  Cleanup    : nss-tools-3.21.3-2.el7_3.x86_64                            33/42 
  Cleanup    : nss-sysinit-3.21.3-2.el7_3.x86_64                          34/42 
  Cleanup    : nss-3.21.3-2.el7_3.x86_64                                  35/42 
  Cleanup    : nss-softokn-3.16.2.3-14.4.el7.x86_64                       36/42 
  Cleanup    : nss-util-3.21.3-1.1.el7_3.x86_64                           37/42 
  Cleanup    : nspr-4.11.0-1.el7_2.x86_64                                 38/42 
  Cleanup    : nss-softokn-freebl-3.16.2.3-14.4.el7.x86_64                39/42 
  Cleanup    : unzip-6.0-16.el7.x86_64                                    40/42 
  Cleanup    : 2:tar-1.26-31.el7.x86_64                                   41/42 
  Cleanup    : lsof-4.87-4.el7.x86_64                                     42/42 
  Verifying  : libXi-1.7.9-1.el7.x86_64                                    1/42 
  Verifying  : giflib-4.1.6-9.el7.x86_64                                   2/42 
  Verifying  : nss-pem-1.0.3-4.el7.x86_64                                  3/42 
  Verifying  : libXrender-0.9.10-1.el7.x86_64                              4/42 
  Verifying  : libXfont-1.5.2-1.el7.x86_64                                 5/42 
  Verifying  : python-lxml-3.2.1-4.el7.x86_64                              6/42 
  Verifying  : nss-tools-3.36.0-7.el7_5.x86_64                             7/42 
  Verifying  : nss-3.36.0-7.el7_5.x86_64                                   8/42 
  Verifying  : ttmkfdir-3.0.9-42.el7.x86_64                                9/42 
  Verifying  : bc-1.06.95-13.el7.x86_64                                   10/42 
  Verifying  : nss-util-3.36.0-1.el7_5.x86_64                             11/42 
  Verifying  : copy-jdk-configs-3.3-10.el7_5.noarch                       12/42 
  Verifying  : python-javapackages-3.4.1-11.el7.noarch                    13/42 
  Verifying  : libXcomposite-0.4.4-4.1.el7.x86_64                         14/42 
  Verifying  : libXtst-1.2.3-1.el7.x86_64                                 15/42 
  Verifying  : lsof-4.87-5.el7.x86_64                                     16/42 
  Verifying  : lksctp-tools-1.0.17-2.el7.x86_64                           17/42 
  Verifying  : 1:java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64          18/42 
  Verifying  : 1:java-1.8.0-openjdk-headless-1.8.0.181-3.b13.el7_5.x86_   19/42 
  Verifying  : xorg-x11-fonts-Type1-7.5-9.el7.noarch                      20/42 
  Verifying  : javapackages-tools-3.4.1-11.el7.noarch                     21/42 
  Verifying  : 1:java-1.8.0-openjdk-devel-1.8.0.181-3.b13.el7_5.x86_64    22/42 
  Verifying  : nss-sysinit-3.36.0-7.el7_5.x86_64                          23/42 
  Verifying  : nss-softokn-freebl-3.36.0-5.el7_5.x86_64                   24/42 
  Verifying  : 2:tar-1.26-34.el7.x86_64                                   25/42 
  Verifying  : nspr-4.19.0-1.el7_5.x86_64                                 26/42 
  Verifying  : 1:xorg-x11-font-utils-7.5-20.el7.x86_64                    27/42 
  Verifying  : tzdata-java-2018e-3.el7.noarch                             28/42 
  Verifying  : unzip-6.0-19.el7.x86_64                                    29/42 
  Verifying  : libfontenc-1.1.3-3.el7.x86_64                              30/42 
  Verifying  : nss-softokn-3.36.0-5.el7_5.x86_64                          31/42 
  Verifying  : alsa-lib-1.1.4.1-2.el7.x86_64                              32/42 
  Verifying  : nss-softokn-3.16.2.3-14.4.el7.x86_64                       33/42 
  Verifying  : unzip-6.0-16.el7.x86_64                                    34/42 
  Verifying  : 2:tar-1.26-31.el7.x86_64                                   35/42 
  Verifying  : nss-softokn-freebl-3.16.2.3-14.4.el7.x86_64                36/42 
  Verifying  : nss-3.21.3-2.el7_3.x86_64                                  37/42 
  Verifying  : nss-sysinit-3.21.3-2.el7_3.x86_64                          38/42 
  Verifying  : nss-tools-3.21.3-2.el7_3.x86_64                            39/42 
  Verifying  : nss-util-3.21.3-1.1.el7_3.x86_64                           40/42 
  Verifying  : lsof-4.87-4.el7.x86_64                                     41/42 
  Verifying  : nspr-4.11.0-1.el7_2.x86_64                                 42/42 

Installed:
  bc.x86_64 0:1.06.95-13.el7                                                    
  java-1.8.0-openjdk.x86_64 1:1.8.0.181-3.b13.el7_5                             
  java-1.8.0-openjdk-devel.x86_64 1:1.8.0.181-3.b13.el7_5                       

Dependency Installed:
  alsa-lib.x86_64 0:1.1.4.1-2.el7                                               
  copy-jdk-configs.noarch 0:3.3-10.el7_5                                        
  giflib.x86_64 0:4.1.6-9.el7                                                   
  java-1.8.0-openjdk-headless.x86_64 1:1.8.0.181-3.b13.el7_5                    
  javapackages-tools.noarch 0:3.4.1-11.el7                                      
  libXcomposite.x86_64 0:0.4.4-4.1.el7                                          
  libXfont.x86_64 0:1.5.2-1.el7                                                 
  libXi.x86_64 0:1.7.9-1.el7                                                    
  libXrender.x86_64 0:0.9.10-1.el7                                              
  libXtst.x86_64 0:1.2.3-1.el7                                                  
  libfontenc.x86_64 0:1.1.3-3.el7                                               
  lksctp-tools.x86_64 0:1.0.17-2.el7                                            
  nss-pem.x86_64 0:1.0.3-4.el7                                                  
  python-javapackages.noarch 0:3.4.1-11.el7                                     
  python-lxml.x86_64 0:3.2.1-4.el7                                              
  ttmkfdir.x86_64 0:3.0.9-42.el7                                                
  tzdata-java.noarch 0:2018e-3.el7                                              
  xorg-x11-font-utils.x86_64 1:7.5-20.el7                                       
  xorg-x11-fonts-Type1.noarch 0:7.5-9.el7                                       

Updated:
  lsof.x86_64 0:4.87-5.el7  tar.x86_64 2:1.26-34.el7  unzip.x86_64 0:6.0-19.el7 

Dependency Updated:
  nspr.x86_64 0:4.19.0-1.el7_5                                                  
  nss.x86_64 0:3.36.0-7.el7_5                                                   
  nss-softokn.x86_64 0:3.36.0-5.el7_5                                           
  nss-softokn-freebl.x86_64 0:3.36.0-5.el7_5                                    
  nss-sysinit.x86_64 0:3.36.0-7.el7_5                                           
  nss-tools.x86_64 0:3.36.0-7.el7_5                                             
  nss-util.x86_64 0:3.36.0-1.el7_5                                              

Complete!
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up everything
Cleaning up list of fastest mirrors
 ---> 5ac0f871b1cb
Removing intermediate container 286cdfaaeb24
Step 6 : USER 1001
 ---> Running in 61511d67627d
 ---> b804695f9f47
Removing intermediate container 61511d67627d
Step 7 : ADD ./gradlew /opt/app-root/src/
 ---> 0a77fa749d19
Removing intermediate container 73f8e3a7f301
Step 8 : ADD gradle /opt/app-root/src/gradle
 ---> a7ff64281787
Removing intermediate container 740f5d4e14f3
Step 9 : ADD build.gradle /opt/app-root/src/
 ---> 0c56a76fa7ae
Removing intermediate container 63236c641f9f
Step 10 : ADD src /opt/app-root/src/src
 ---> 7a3bc3fa9a9d
Removing intermediate container a6c3139a84a9
Step 11 : RUN sh /opt/app-root/src/gradlew build
 ---> Running in c7af38bc4582
Downloading https://services.gradle.org/distributions/gradle-2.12-bin.zip 
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /opt/app-root/src/.gradle/wrapper/dists/gradle-2.12-bin/avhnk0p45wmm16bas931at19r/gradle-2.12-bin.zip to /opt/app-root/src/.gradle/wrapper/dists/gradle-2.12-bin/avhnk0p45wmm16bas931at19r
Set executable permissions for: /opt/app-root/src/.gradle/wrapper/dists/gradle-2.12-bin/avhnk0p45wmm16bas931at19r/gradle-2.12/bin/gradle
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.3.5.RELEASE/spring-boot-gradle-plugin-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-tools/1.3.5.RELEASE/spring-boot-tools-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-parent/1.3.5.RELEASE/spring-boot-parent-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/1.3.5.RELEASE/spring-boot-dependencies-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-framework-bom/4.2.6.RELEASE/spring-framework-bom-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/data/spring-data-releasetrain/Gosling-SR4/spring-data-releasetrain-Gosling-SR4.pom 
Download https://repo1.maven.org/maven2/org/springframework/data/build/spring-data-build/1.7.4.RELEASE/spring-data-build-1.7.4.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/integration/spring-integration-bom/4.2.5.RELEASE/spring-integration-bom-4.2.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/security/spring-security-bom/4.0.4.RELEASE/spring-security-bom-4.0.4.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-loader-tools/1.3.5.RELEASE/spring-boot-loader-tools-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/io/spring/gradle/dependency-management-plugin/0.5.6.RELEASE/dependency-management-plugin-0.5.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-core/4.2.6.RELEASE/spring-core-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.pom 
Download https://repo1.maven.org/maven2/org/apache/commons/commons-parent/34/commons-parent-34.pom 
Download https://repo1.maven.org/maven2/org/apache/apache/13/apache-13.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.3.5.RELEASE/spring-boot-gradle-plugin-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-loader-tools/1.3.5.RELEASE/spring-boot-loader-tools-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/io/spring/gradle/dependency-management-plugin/0.5.6.RELEASE/dependency-management-plugin-0.5.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-core/4.2.6.RELEASE/spring-core-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/commons-logging/commons-logging/1.2/commons-logging-1.2.jar 
:compileJava
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.3.5.RELEASE/spring-boot-starter-parent-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-actuator/1.3.5.RELEASE/spring-boot-starter-actuator-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starters/1.3.5.RELEASE/spring-boot-starters-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-data-jpa/1.3.5.RELEASE/spring-boot-starter-data-jpa-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-jdbc/1.3.5.RELEASE/spring-boot-starter-jdbc-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-web/1.3.5.RELEASE/spring-boot-starter-web-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/liquibase/liquibase-core/3.4.2/liquibase-core-3.4.2.pom 
Download https://repo1.maven.org/maven2/org/liquibase/liquibase-parent/3.4.2/liquibase-parent-3.4.2.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter/1.3.5.RELEASE/spring-boot-starter-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-actuator/1.3.5.RELEASE/spring-boot-actuator-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-aop/1.3.5.RELEASE/spring-boot-starter-aop-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/4.3.11.Final/hibernate-entitymanager-4.3.11.Final.pom 
Download https://repo1.maven.org/maven2/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.pom 
Download https://repo1.maven.org/maven2/net/java/jvnet-parent/3/jvnet-parent-3.pom 
Download https://repo1.maven.org/maven2/org/springframework/data/spring-data-jpa/1.9.4.RELEASE/spring-data-jpa-1.9.4.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/data/build/spring-data-parent/1.7.4.RELEASE/spring-data-parent-1.7.4.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-framework-bom/4.1.9.RELEASE/spring-framework-bom-4.1.9.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-aspects/4.2.6.RELEASE/spring-aspects-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/apache/tomcat/tomcat-jdbc/8.0.33/tomcat-jdbc-8.0.33.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-jdbc/4.2.6.RELEASE/spring-jdbc-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-tomcat/1.3.5.RELEASE/spring-boot-starter-tomcat-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-validation/1.3.5.RELEASE/spring-boot-starter-validation-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.6.6/jackson-databind-2.6.6.pom 
Download https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-parent/2.6.2/jackson-parent-2.6.2.pom 
Download https://repo1.maven.org/maven2/com/fasterxml/oss-parent/24/oss-parent-24.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-web/4.2.6.RELEASE/spring-web-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-webmvc/4.2.6.RELEASE/spring-webmvc-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/1.3.5.RELEASE/spring-boot-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-autoconfigure/1.3.5.RELEASE/spring-boot-autoconfigure-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-logging/1.3.5.RELEASE/spring-boot-starter-logging-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/yaml/snakeyaml/1.16/snakeyaml-1.16.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-context/4.2.6.RELEASE/spring-context-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-aop/4.2.6.RELEASE/spring-aop-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/aspectj/aspectjweaver/1.8.9/aspectjweaver-1.8.9.pom 
Download https://repo1.maven.org/maven2/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.pom 
Download https://repo1.maven.org/maven2/org/jboss/jboss-parent/15/jboss-parent-15.pom 
Download https://repo1.maven.org/maven2/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1.pom 
Download https://repo1.maven.org/maven2/org/jboss/logging/jboss-logging-tools-parent/1.2.0.Beta1/jboss-logging-tools-parent-1.2.0.Beta1.pom 
Download https://repo1.maven.org/maven2/org/jboss/jboss-parent/10/jboss-parent-10.pom 
Download https://repo1.maven.org/maven2/org/hibernate/hibernate-core/4.3.11.Final/hibernate-core-4.3.11.Final.pom 
Download https://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.pom 
Download https://repo1.maven.org/maven2/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final.pom 
Download https://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.pom 
Download https://repo1.maven.org/maven2/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.pom 
Download https://repo1.maven.org/maven2/org/springframework/data/spring-data-commons/1.11.4.RELEASE/spring-data-commons-1.11.4.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-orm/4.2.6.RELEASE/spring-orm-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-tx/4.2.6.RELEASE/spring-tx-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-beans/4.2.6.RELEASE/spring-beans-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.pom 
Download https://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.7.21/slf4j-parent-1.7.21.pom 
Download https://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.7.21/jcl-over-slf4j-1.7.21.pom 
Download https://repo1.maven.org/maven2/org/apache/tomcat/tomcat-juli/8.0.33/tomcat-juli-8.0.33.pom 
Download https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-core/8.0.33/tomcat-embed-core-8.0.33.pom 
Download https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-el/8.0.33/tomcat-embed-el-8.0.33.pom 
Download https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.33/tomcat-embed-logging-juli-8.0.33.pom 
Download https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-websocket/8.0.33/tomcat-embed-websocket-8.0.33.pom 
Download https://repo1.maven.org/maven2/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.pom 
Download https://repo1.maven.org/maven2/org/hibernate/hibernate-validator-parent/5.2.4.Final/hibernate-validator-parent-5.2.4.Final.pom 
Download https://repo1.maven.org/maven2/org/jboss/arquillian/arquillian-bom/1.1.9.Final/arquillian-bom-1.1.9.Final.pom 
Download https://repo1.maven.org/maven2/org/jboss/shrinkwrap/shrinkwrap-bom/1.2.2/shrinkwrap-bom-1.2.2.pom 
Download https://repo1.maven.org/maven2/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/2.1.1/shrinkwrap-resolver-bom-2.1.1.pom 
Download https://repo1.maven.org/maven2/org/jboss/shrinkwrap/descriptors/shrinkwrap-descriptors-bom/2.0.0-alpha-7/shrinkwrap-descriptors-bom-2.0.0-alpha-7.pom 
Download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.6.6/jackson-annotations-2.6.6.pom 
Download https://repo1.maven.org/maven2/com/fasterxml/jackson/jackson-parent/2.6.1/jackson-parent-2.6.1.pom 
Download https://repo1.maven.org/maven2/com/fasterxml/oss-parent/23/oss-parent-23.pom 
Download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.6.6/jackson-core-2.6.6.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-expression/4.2.6.RELEASE/spring-expression-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.pom 
Download https://repo1.maven.org/maven2/ch/qos/logback/logback-parent/1.1.7/logback-parent-1.1.7.pom 
Download https://repo1.maven.org/maven2/org/slf4j/jul-to-slf4j/1.7.21/jul-to-slf4j-1.7.21.pom 
Download https://repo1.maven.org/maven2/org/slf4j/log4j-over-slf4j/1.7.21/log4j-over-slf4j-1.7.21.pom 
Download https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom 
Download https://repo1.maven.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom 
Download https://repo1.maven.org/maven2/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.pom 
Download https://repo1.maven.org/maven2/org/jboss/jboss-parent/5/jboss-parent-5.pom 
Download https://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.pom 
Download https://repo1.maven.org/maven2/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.pom 
Download https://repo1.maven.org/maven2/com/fasterxml/classmate/1.1.0/classmate-1.1.0.pom 
Download https://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom 
Download https://repo1.maven.org/maven2/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-actuator/1.3.5.RELEASE/spring-boot-starter-actuator-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-data-jpa/1.3.5.RELEASE/spring-boot-starter-data-jpa-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-jdbc/1.3.5.RELEASE/spring-boot-starter-jdbc-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-web/1.3.5.RELEASE/spring-boot-starter-web-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/liquibase/liquibase-core/3.4.2/liquibase-core-3.4.2.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter/1.3.5.RELEASE/spring-boot-starter-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-actuator/1.3.5.RELEASE/spring-boot-actuator-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-aop/1.3.5.RELEASE/spring-boot-starter-aop-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/4.3.11.Final/hibernate-entitymanager-4.3.11.Final.jar 
Download https://repo1.maven.org/maven2/javax/transaction/javax.transaction-api/1.2/javax.transaction-api-1.2.jar 
Download https://repo1.maven.org/maven2/org/springframework/data/spring-data-jpa/1.9.4.RELEASE/spring-data-jpa-1.9.4.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-aspects/4.2.6.RELEASE/spring-aspects-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/apache/tomcat/tomcat-jdbc/8.0.33/tomcat-jdbc-8.0.33.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-jdbc/4.2.6.RELEASE/spring-jdbc-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-tomcat/1.3.5.RELEASE/spring-boot-starter-tomcat-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-validation/1.3.5.RELEASE/spring-boot-starter-validation-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.6.6/jackson-databind-2.6.6.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-web/4.2.6.RELEASE/spring-web-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-webmvc/4.2.6.RELEASE/spring-webmvc-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/1.3.5.RELEASE/spring-boot-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-autoconfigure/1.3.5.RELEASE/spring-boot-autoconfigure-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-logging/1.3.5.RELEASE/spring-boot-starter-logging-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/yaml/snakeyaml/1.16/snakeyaml-1.16.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-context/4.2.6.RELEASE/spring-context-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-aop/4.2.6.RELEASE/spring-aop-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/aspectj/aspectjweaver/1.8.9/aspectjweaver-1.8.9.jar 
Download https://repo1.maven.org/maven2/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar 
Download https://repo1.maven.org/maven2/org/jboss/logging/jboss-logging-annotations/1.2.0.Beta1/jboss-logging-annotations-1.2.0.Beta1.jar 
Download https://repo1.maven.org/maven2/org/hibernate/hibernate-core/4.3.11.Final/hibernate-core-4.3.11.Final.jar 
Download https://repo1.maven.org/maven2/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar 
Download https://repo1.maven.org/maven2/org/hibernate/common/hibernate-commons-annotations/4.0.5.Final/hibernate-commons-annotations-4.0.5.Final.jar 
Download https://repo1.maven.org/maven2/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Final/hibernate-jpa-2.1-api-1.0.0.Final.jar 
Download https://repo1.maven.org/maven2/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar 
Download https://repo1.maven.org/maven2/org/springframework/data/spring-data-commons/1.11.4.RELEASE/spring-data-commons-1.11.4.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-orm/4.2.6.RELEASE/spring-orm-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-tx/4.2.6.RELEASE/spring-tx-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-beans/4.2.6.RELEASE/spring-beans-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.21/slf4j-api-1.7.21.jar 
Download https://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/1.7.21/jcl-over-slf4j-1.7.21.jar 
Download https://repo1.maven.org/maven2/org/apache/tomcat/tomcat-juli/8.0.33/tomcat-juli-8.0.33.jar 
Download https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-core/8.0.33/tomcat-embed-core-8.0.33.jar 
Download https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-el/8.0.33/tomcat-embed-el-8.0.33.jar 
Download https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-logging-juli/8.0.33/tomcat-embed-logging-juli-8.0.33.jar 
Download https://repo1.maven.org/maven2/org/apache/tomcat/embed/tomcat-embed-websocket/8.0.33/tomcat-embed-websocket-8.0.33.jar 
Download https://repo1.maven.org/maven2/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar 
Download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.6.6/jackson-annotations-2.6.6.jar 
Download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.6.6/jackson-core-2.6.6.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-expression/4.2.6.RELEASE/spring-expression-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar 
Download https://repo1.maven.org/maven2/org/slf4j/jul-to-slf4j/1.7.21/jul-to-slf4j-1.7.21.jar 
Download https://repo1.maven.org/maven2/org/slf4j/log4j-over-slf4j/1.7.21/log4j-over-slf4j-1.7.21.jar 
Download https://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar 
Download https://repo1.maven.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar 
Download https://repo1.maven.org/maven2/org/jboss/jandex/1.1.0.Final/jandex-1.1.0.Final.jar 
Download https://repo1.maven.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar 
Download https://repo1.maven.org/maven2/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar 
Download https://repo1.maven.org/maven2/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar 
Download https://repo1.maven.org/maven2/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar 
:processResources
:classes
:findMainClass
:jar
:bootRepackage
Download https://repo1.maven.org/maven2/com/h2database/h2/1.4.191/h2-1.4.191.pom 
Download https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.pom 
Download https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4.1208.jre7/postgresql-9.4.1208.jre7.pom 
Download https://repo1.maven.org/maven2/org/postgresql/pgjdbc-core-prevjre/1.0.5/pgjdbc-core-prevjre-1.0.5.pom 
Download https://repo1.maven.org/maven2/org/postgresql/pgjdbc-core-parent/1.0.5/pgjdbc-core-parent-1.0.5.pom 
Download https://repo1.maven.org/maven2/org/postgresql/pgjdbc-versions/1.0.5/pgjdbc-versions-1.0.5.pom 
Download https://repo1.maven.org/maven2/com/h2database/h2/1.4.191/h2-1.4.191.jar 
Download https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar 
Download https://repo1.maven.org/maven2/org/postgresql/postgresql/9.4.1208.jre7/postgresql-9.4.1208.jre7.jar 
:assemble
:compileTestJava
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-test/1.3.5.RELEASE/spring-boot-starter-test-1.3.5.RELEASE.pom 
Download https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.pom 
Download https://repo1.maven.org/maven2/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.pom 
Download https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.pom 
Download https://repo1.maven.org/maven2/org/hamcrest/hamcrest-parent/1.3/hamcrest-parent-1.3.pom 
Download https://repo1.maven.org/maven2/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.pom 
Download https://repo1.maven.org/maven2/org/springframework/spring-test/4.2.6.RELEASE/spring-test-4.2.6.RELEASE.pom 
Download https://repo1.maven.org/maven2/org/objenesis/objenesis/2.1/objenesis-2.1.pom 
Download https://repo1.maven.org/maven2/org/objenesis/objenesis-parent/2.1/objenesis-parent-2.1.pom 
Download https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-starter-test/1.3.5.RELEASE/spring-boot-starter-test-1.3.5.RELEASE.jar 
Download https://repo1.maven.org/maven2/junit/junit/4.12/junit-4.12.jar 
Download https://repo1.maven.org/maven2/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar 
Download https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar 
Download https://repo1.maven.org/maven2/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar 
Download https://repo1.maven.org/maven2/org/springframework/spring-test/4.2.6.RELEASE/spring-test-4.2.6.RELEASE.jar 
Download https://repo1.maven.org/maven2/org/objenesis/objenesis/2.1/objenesis-2.1.jar 
:processTestResources UP-TO-DATE
:testClasses
:test
2018-10-20 07:28:11.433  INFO 35 --- [       Thread-5] o.s.w.c.s.GenericWebApplicationContext   : Closing org.springframework.web.context.support.GenericWebApplicationContext@42d43add: startup date [Sat Oct 20 07:27:53 UTC 2018]; root of context hierarchy
2018-10-20 07:28:11.475  INFO 35 --- [       Thread-5] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
:check
:build

BUILD SUCCESSFUL

Total time: 1 mins 33.609 secs

This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.12/userguide/gradle_daemon.html 
 ---> 5d0db06c5144
Removing intermediate container c7af38bc4582
Step 12 : RUN cp -a  /opt/app-root/src/build/libs/springboots2idemo*.jar /opt/app-root/springboots2idemo.jar
 ---> Running in c5da7af4f227
 ---> 2d8a784ba5f7
Removing intermediate container c5da7af4f227
Step 13 : CMD java -Xmx64m -Xss1024k -jar /opt/app-root/springboots2idemo.jar
 ---> Running in a9b351816eb9
 ---> 05da668b853d
Removing intermediate container a9b351816eb9
Step 14 : ENV "OPENSHIFT_BUILD_NAME" "appuio-spring-boot-ex-1" "OPENSHIFT_BUILD_NAMESPACE" "example-spring-boot" "OPENSHIFT_BUILD_SOURCE" "https://github.com/appuio/example-spring-boot-helloworld.git " "OPENSHIFT_BUILD_COMMIT" "fd98ed62376ec45242523c175e92cb8d64529fa4"
 ---> Running in eb30890b2d1a
 ---> 33f3e2473f68
Removing intermediate container eb30890b2d1a
Step 15 : LABEL "io.openshift.build.commit.author" "Thomas Philipona \u003cphilipona@puzzle.ch\u003e" "io.openshift.build.commit.date" "Fri Jun 17 17:25:27 2016 +0200" "io.openshift.build.commit.id" "fd98ed62376ec45242523c175e92cb8d64529fa4" "io.openshift.build.commit.ref" "master" "io.openshift.build.commit.message" "updated Configuration" "io.openshift.build.source-location" "https://github.com/appuio/example-spring-boot-helloworld.git " "io.openshift.build.name" "appuio-spring-boot-ex-1" "io.openshift.build.namespace" "example-spring-boot"
 ---> Running in a25ff7ae1203
 ---> b5eee5b1d34d
Removing intermediate container a25ff7ae1203
Successfully built b5eee5b1d34d

Pushing image 172.30.1.1:5000/example-spring-boot/appuio-spring-boot-ex:latest ...
Pushed 0/11 layers, 1% complete
Pushed 1/11 layers, 20% complete
Pushed 2/11 layers, 26% complete
Pushed 3/11 layers, 33% complete
Pushed 4/11 layers, 43% complete
Pushed 5/11 layers, 55% complete
Pushed 6/11 layers, 65% complete
Pushed 7/11 layers, 72% complete
Pushed 8/11 layers, 73% complete
Pushed 8/11 layers, 78% complete
Pushed 8/11 layers, 83% complete
Pushed 8/11 layers, 89% complete
Pushed 9/11 layers, 93% complete
Pushed 9/11 layers, 97% complete
Pushed 10/11 layers, 100% complete
Pushed 11/11 layers, 100% complete
Push successful

Everything works just fine.Or i think so I have to stop minishift shut down and restart to see if everything will work again as i have it now.
the only problem i have is when i try to deploy mysql app. Is crushing. Sorry no logs

@giorgoch
Copy link
Author

giorgoch commented Oct 20, 2018

I have stop and restart minishift
Here is the gitbash

$ minishift start --vm-driver=virtualbox
-- Starting profile 'minishift'
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.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 local 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 ... 25% used OK
-- OpenShift cluster will be configured with ...
   Version: v3.9.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 --use-existing-config --host-volumes-dir /var/lib/minishift/openshift.local.volumes --host-pv-dir /var/lib/minishift/openshift.local.pv --public-hostname 192.168.99.100 --routing-suffix 192.168.99.100.nip.io --host-config-dir /var/lib/minishift/openshift.local.config --host-data-dir /var/lib/minishift/hostdata
err     : exit status 1
output  : Deleted existing OpenShift container
Using Docker shared volumes for OpenShift volumes
Using public hostname IP 192.168.99.100 as the host IP
Using 192.168.99.100 as the server IP
Starting OpenShift using openshift/origin:v3.9.0 ...
-- Starting OpenShift container ...
   Starting OpenShift using container 'origin'
   Waiting for API server to start listening
FAIL
   Error: cannot access master readiness URL https://192.168.99.100:8443/healthz/ready
   Details:
     Last 10 lines of "origin" container log:
     I1020 07:53:28.732708    2225 controller.go:118] kubelet config controller: validating combination of defaults and flags
     W1020 07:53:28.740960    2225 cni.go:171] Unable to update cni config: No networks found in /etc/cni/net.d
     I1020 07:53:28.745201    2225 network.go:95] Using iptables Proxier.
     I1020 07:53:28.745901    2225 server.go:236] Version: v1.9.1+a0ce1bc657
     I1020 07:53:28.745991    2225 feature_gate.go:220] feature gates: &{{} map[]}
     W1020 07:53:28.746142    2225 server.go:334] --require-kubeconfig is deprecated. Set --kubeconfig without using --require-kubeconfig.
     I1020 07:53:28.746179    2225 plugins.go:101] No cloud provider specified.
     I1020 07:53:28.777418    2225 controller_utils.go:1026] Caches are synced for crd-autoregister controller
     W1020 07:53:28.866057    2225 proxier.go:471] clusterCIDR not specified, unable to distinguish between internal and external traffic
     I1020 07:53:28.901814    2225 network.go:130] Tearing down userspace rules.


   Caused By:
     Error: Get https://192.168.99.100:8443/healthz/ready: x509: certificate is valid for 10.0.2.15, 127.0.0.1, 172.17.0.1, 172.30.0.1, 192.168.99.101, not 192.168.99.100

@praveenkumar
Copy link
Contributor

@giorgoch The only difference here is openshift version one which worked for you is using 3.9.0 and one which failed using 3.10.0, can you try the newer version of minishift using below command just to make sure it is the openshift version which might have issue?

$ minishift version
minishift-1.25.0+xxxxx

$ minishift start --openshift-version 3.9.0

@giorgoch
Copy link
Author

giorgoch commented Oct 22, 2018

@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 .

@gbraad
Copy link
Member

gbraad commented Oct 24, 2018

has problem by giving the wrong ip to openshift.

Not sure what you mean with 'giving the wrong ip'. IP addresses are handed out by the local DHCP service. What did you try to change in the config.json ? If it is the IP, you are in no luck doing it this way, as the VM needs to be configured to use an assigned Static IP. This is possible from within the VM with network config files... these are written after using the minishift ip --set-static command.

but in short, if you have issues with the IP address changing, you probably ran into a certificate issue... and if so, it is best to delete the VM first.

@giorgoch
Copy link
Author

@Graab Hi graab what i mean is giving ip 192.168.99.101 and for this ip works fine. But if i stop the VM and restart then minishift has 192.168.99.100. Then i get this certificate error.I would look more to see if i can find other way to by pass ip error.

@yayan19
Copy link

yayan19 commented Oct 26, 2018

Hi,

I'm facing similar issues..

E1026 08:01:29.335524    2394 run_self_hosted.go:571] 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

I'm using Windows 7 Professional with VirtualBox 5.2.20.

Here's the minishift version:

C:\Dev\minishift\1.26.0
λ minishift version
minishift v1.26.0+2fb32c8

Here's the log when running minishift start

C:\Dev\minishift\1.26.0
λ minishift start --profile okd311 --iso-url https://github.com/minishift/minishift-centos-iso/releases/download/v1.13.0/minishift-centos7.iso --vm-driver=virtualbox
-- Starting profile 'okd311'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.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 ... 11% used OK
-- Writing current configuration for static assignment of IP address ... OK
-- OpenShift cluster will be configured with ...
   Version: v3.11.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 --public-hostname 192.168.99.100 --routing-suffix 192.168.99.100.nip.io --base-dir /var/lib/minishift/base --image 'openshift/origin-${component}:v3.11.0'
err     : exit status 1
output  : Getting a Docker client ...
Checking if image openshift/origin-control-plane:v3.11.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.11.0 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11.0 ...
I1026 07:56:19.896189    2394 flags.go:30] Running "create-kubelet-flags"
I1026 07:56:20.675818    2394 run_kubelet.go:49] Running "start-kubelet"
I1026 07:56:21.069606    2394 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
E1026 08:01:29.335524    2394 run_self_hosted.go:571] 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

I check the IP and port mentioned in the log.

C:\Dev\minishift\1.26.0
λ ping 192.168.99.100

Pinging 192.168.99.100 with 32 bytes of data:
Reply from 192.168.99.100: bytes=32 time<1ms TTL=64
Reply from 192.168.99.100: bytes=32 time<1ms TTL=64
Reply from 192.168.99.100: bytes=32 time<1ms TTL=64
Reply from 192.168.99.100: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.99.100:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

Telnet the port 8443, failed.

C:\Dev\minishift\1.26.0
λ telnet 192.168.99.100 8443
Connecting To 192.168.99.100...Could not open connection to the host, on port 8443: Connect failed

Also tried telnet port 22, it succeed.

C:\Dev\minishift\1.26.0
λ telnet 192.168.99.100 22
SSH-2.0-OpenSSH_7.4

I tried to create a specific outbound rule on my Windows Firewall for port 8443, but still cant telnet to the port.

So, I tried to ssh into the VM:

C:\Dev\minishift\1.26.0
λ ssh root@192.168.99.100
The authenticity of host '192.168.99.100 (192.168.99.100)' can't be established.
ECDSA key fingerprint is SHA256:eH/wmrQ2awtC5CdyeTNTnKc6fatX4RzKTyhN9ExsD3M.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.99.100' (ECDSA) to the list of known hosts.
root@192.168.99.100's password:

...

[root@okd311 ~]# netstat -an | grep LISTEN                                                                                               
tcp        0      0 127.0.0.1:39087         0.0.0.0:*               LISTEN                                                               
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN                                                               
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN                                                               
tcp6       0      0 :::7001                 :::*                    LISTEN                                                               
tcp6       0      0 :::4001                 :::*                    LISTEN                                                               
tcp6       0      0 :::2376                 :::*                    LISTEN                                                               
tcp6       0      0 :::10250                :::*                    LISTEN                                                               
tcp6       0      0 :::10251                :::*                    LISTEN                                                               
tcp6       0      0 :::10252                :::*                    LISTEN                                                               
tcp6       0      0 :::111                  :::*                    LISTEN                                                               
tcp6       0      0 :::22                   :::*                    LISTEN                                                               
unix  2      [ ACC ]     STREAM     LISTENING     42746    /var/lib/kubelet/device-plugins/kubelet.sock                                  
unix  2      [ ACC ]     STREAM     LISTENING     24369    /run/docker/libnetwork/906b598b7d10aa7d20f28a45dd443002155419eb047b6b608a6fc8a
3964a7035.sock                                                                                                                           
unix  2      [ ACC ]     STREAM     LISTENING     51       /run/systemd/journal/stdout                                                   
unix  2      [ ACC ]     STREAM     LISTENING     15723    /run/gssproxy.sock                                                            
unix  2      [ ACC ]     SEQPACKET  LISTENING     12191    /run/udev/control                                                             
unix  2      [ ACC ]     STREAM     LISTENING     12199    /run/lvm/lvmetad.socket                                                       
unix  2      [ ACC ]     STREAM     LISTENING     14002    /run/dbus/system_bus_socket                                                   
unix  2      [ ACC ]     STREAM     LISTENING     14005    /var/run/rpcbind.sock                                                         
unix  2      [ ACC ]     STREAM     LISTENING     15722    /var/lib/gssproxy/default.sock                                                
unix  2      [ ACC ]     STREAM     LISTENING     12508    /run/systemd/private                                                          
unix  2      [ ACC ]     STREAM     LISTENING     24286    /var/run/docker.sock                                                          
unix  2      [ ACC ]     STREAM     LISTENING     12255    /run/lvm/lvmpolld.socket                                                      
unix  2      [ ACC ]     STREAM     LISTENING     24293    /var/run/docker/libcontainerd/docker-containerd.sock                          
unix  2      [ ACC ]     STREAM     LISTENING     41716    /var/run/dockershim.sock                                                      

Regards,
yanz

@giorgoch
Copy link
Author

I have found a solution regarding minishift. I have downgrade to version minishift-1.15.1-windows-amd64 and 3.7.2 with Virtual box 5.2.6. Everything works fine stop restarting deploy etc ...
The only problem i face is soemtimes when i create mysql and mongodb.I dont understand why , i get unhealthy messages.
I will go on researching about the errors i was getting with 3.9.0 and 3.10.0.

@gbraad
Copy link
Member

gbraad commented Nov 2, 2018

@giorgoch as mentioned: minishift ip --set-static allows you to fix the IP address for the instance. On a restart it will use the same IP address as the previous run.

@gbraad
Copy link
Member

gbraad commented Nov 2, 2018

@yayan19 how much memory did you assign to use for this instance?

@yayan19
Copy link

yayan19 commented Nov 2, 2018

@gbraad I allocated 4GB memory.

I just tried again with 8GB, but still got the same issue.

C:\Dev\minishift\1.26.0
λ minishift config view
- cpus                               : 2
- iso-url                            : file://C:/Users/yanz/.minishift/cache/iso/centos/v1.13.0/minishift-centos7.iso
- memory                             : 8192
- save-start-flags                   : false
- static-ip                          : true
- vm-driver                          : virtualbox

C:\Dev\minishift\1.26.0
λ minishift start
-- Starting profile 'okd311'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.11.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.11.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 ...
-- Minishift VM will be configured with ...
   Memory:    8 GB
   vCPUs :    2
   Disk size: 20 GB
-- 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 ... OK
   Importing 'openshift/origin-control-plane:v3.11.0' . CACHE MISS
   Importing 'openshift/origin-docker-registry:v3.11.0'  CACHE MISS
   Importing 'openshift/origin-haproxy-router:v3.11.0'  CACHE MISS
-- OpenShift cluster will be configured with ...
   Version: v3.11.0
-- Pulling the Openshift Container Image ....................................... OK
-- 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.11.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.11.0 is available ...
Pulling image openshift/origin-cli:v3.11.0
E1102 07:58:35.842809    2498 helper.go:173] Reading docker config from /home/docker/.docker/config.json failed: open /home/docker/.docker/config.json: no such file or directory, will attempt to pull image docker.io/openshift/origin-cli:v3.11.0 anonymously
Image pull complete
Pulling image openshift/origin-node:v3.11.0
E1102 07:58:41.542715    2498 helper.go:173] Reading docker config from /home/docker/.docker/config.json failed: open /home/docker/.docker/config.json: no such file or directory, will attempt to pull image docker.io/openshift/origin-node:v3.11.0 anonymously
Pulled 5/6 layers, 85% 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.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.11.0 is available ...
Starting OpenShift using openshift/origin-control-plane:v3.11.0 ...
I1102 07:59:38.741544    2498 config.go:40] Running "create-master-config"
I1102 07:59:45.373714    2498 config.go:46] Running "create-node-config"
I1102 07:59:47.244667    2498 flags.go:30] Running "create-kubelet-flags"
I1102 07:59:47.998675    2498 run_kubelet.go:49] Running "start-kubelet"
I1102 07:59:48.301631    2498 run_self_hosted.go:181] Waiting for the kube-apiserver to be ready ...
E1102 08:05:08.313342    2498 run_self_hosted.go:571] API server error: Get https://192.168.99.100:8443/healthz?timeout=32s: net/http: TLS handshake timeout ()
Error: timed out waiting for the condition

@gbraad
Copy link
Member

gbraad commented Nov 5, 2018

@LalatenduMohanty See the previous error... This has been seen several times now.

@LalatenduMohanty
Copy link
Member

LalatenduMohanty commented Nov 5, 2018

@gbraad I saw following error on Fedora 28 which is different than this issue I think.

panic: Get https://192.168.42.29:8443/apis/apiregistration.k8s.io/v1beta1/apiservices?watch=true: dial tcp 192.168.42.29:8443: connect: connection refused

goroutine 1039 [running]:
github.com/openshift/origin/pkg/oc/clusterup.watchAPIServices(0x30bbda0, 0xc420567d40)
	/tmp/openshift/build-rpms/rpm/BUILD/origin-3.11.0/_output/local/go/src/github.com/openshift/origin/pkg/oc/clusterup/run_self_hosted.go:591 +0x5f6
created by github.com/openshift/origin/pkg/oc/clusterup.(*ClusterUpConfig).StartSelfHosted
	/tmp/openshift/build-rpms/rpm/BUILD/origin-3.11.0/_output/local/go/src/github.com/openshift/origin/pkg/oc/clusterup/run_self_hosted.go:244 +0xdad

@LalatenduMohanty
Copy link
Member

@gbraad I saw following error on Fedora 28 which is different than this issue I think.

@gbraad The issue I seen is a known issue in oc cluster up+ 3.11 + proxy environment https://bugzilla.redhat.com/show_bug.cgi?id=1639137

@gbraad
Copy link
Member

gbraad commented Nov 5, 2018

@yayan19 have you been able to use v3.9 ?

@yayan19
Copy link

yayan19 commented Nov 8, 2018

@gbraad yes, just tried OKD v3.9.0 using minishift v1.25.0 and it run successfully.

Here's the config.

C:\Dev\minishift\1.25.0
λ minishift config view
- cpus                               : 2
- iso-url                            : file://C:/Users/yanz/.minishift/cache/iso/centos/v1.13.0/minishift-centos7.iso
- memory                             : 8192
- openshift-version                  : v3.9.0
- vm-driver                          : virtualbox

And here's the log..

C:\Dev\minishift\1.25.0
λ minishift start
-- Starting profile 'okd309'
-- Check if deprecated options are used ... OK
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.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
-- Downloading OpenShift binary 'oc' version 'v3.9.0'
 40.81 MiB / 40.81 MiB [==============================================================================================================================================] 100.00% 0s-- Downloading OpenShift v3.9.0 checksums ... 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 ... 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 ... 1% used OK
-- OpenShift cluster will be configured with ...
   Version: v3.9.0
-- Pulling the Openshift Container Image ............................................................. OK
-- Copying oc binary from the OpenShift container image to VM ... OK
-- Starting OpenShift cluster ........................................
Using nsenter mounter for OpenShift volumes
Using public hostname IP 192.168.99.100 as the host IP
Using 192.168.99.100 as the server IP
Starting OpenShift using openshift/origin:v3.9.0 ...
OpenShift server started.

The server is accessible via web console at:
    https://192.168.99.100:8443

You are logged in as:
    User:     developer
    Password: <any value>

To login as administrator:
    oc login -u system:admin


Could not set oc CLI context for 'okd309' profile: Error during setting 'okd309' as active profile: The specified path to the kube config 'C:\Users\yanz\.minishift\profiles\okd309\machines\okd309_kubeconfig' does not exist

Also tried using the latest minishift v1.26.1 with both OKD v3.11.0 and v3.10.0, but still having the same issue.

@gbraad
Copy link
Member

gbraad commented Nov 9, 2018

@praveenkumar @LalatenduMohanty deployment of v3.10 and v3.11 are not stable for some people. I have seen the same...

@praveenkumar
Copy link
Contributor

praveenkumar commented Nov 12, 2018

@gbraad @yayan19 what about caching all the required images before hand and then using it instead depend on internet bandwidth at beginning.

$ export MINISHIFT_ENABLE_EXPERIMENTAL=y

$ ./minishift start --no-provision
$ ./minishift image export docker.io/openshift/origin-cli:v3.11.0 \
docker.io/openshift/origin-control-plane:v3.11.0 \
docker.io/openshift/origin-deployer:v3.11.0 \
docker.io/openshift/origin-docker-registry:v3.11.0 \
docker.io/openshift/origin-haproxy-router:v3.11.0 \
docker.io/openshift/origin-hyperkube:v3.11.0 \
docker.io/openshift/origin-hypershift:v3.11.0 \
docker.io/openshift/origin-node:v3.11.0 \
docker.io/openshift/origin-pod:v3.11.0 \
docker.io/openshift/origin-service-serving-cert-signer:v3.11 \
docker.io/openshift/origin-web-console:v3.11.0

$ ./minishift delete

$ ./minishift image list
docker.io/openshift/origin-cli:v3.11.0
docker.io/openshift/origin-control-plane:v3.11.0
docker.io/openshift/origin-deployer:v3.11.0
docker.io/openshift/origin-docker-registry:v3.11.0
docker.io/openshift/origin-haproxy-router:v3.11.0
docker.io/openshift/origin-hyperkube:v3.11.0
docker.io/openshift/origin-hypershift:v3.11.0
docker.io/openshift/origin-node:v3.11.0
docker.io/openshift/origin-pod:v3.11.0
docker.io/openshift/origin-service-serving-cert-signer:v3.11
docker.io/openshift/origin-web-console:v3.11.0

$./minishift start

@stale
Copy link

stale bot commented Jan 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

1 similar comment
@stale
Copy link

stale bot commented Mar 17, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/stale label Mar 17, 2019
@agajdosi
Copy link

Probably related to openshift/origin#22194.

@stale stale bot removed the status/stale label Mar 26, 2019
@stale
Copy link

stale bot commented May 25, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/stale label May 25, 2019
@stale stale bot closed this as completed Jun 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants