Description of problem: the 'oc cluster up' command fails when using the Docker for Mac Version 17.03.0-ce-mac1 (15587) $ oc cluster up --metrics --logging -- Checking OpenShift client ... OK -- Checking Docker client ... OK -- Checking Docker version ... FAIL Error: Minor number must not contain leading zeroes "03" Version-Release number of selected component (if applicable): openshift v3.4.1.7 Docker Community Edition Version 17.03.0-ce-mac1 (15587) Channel: beta 05a8abd304 How reproducible: Always Steps to Reproduce: 1. Install Docker for Mac Version 17.03.0-ce-mac1 (15587) 2. Run: oc cluster up --metrics --logging 3. Actual results: Error: Minor number must not contain leading zeroes "03" Expected results: oc cluster up does not fail. Additional info:
Paul, this was actually fixed and was merged in the Origin 3.5 branch on Friday. I'll move it to Modified. https://github.com/openshift/origin/pull/13204
This has been merged into ocp and is in OCP v3.5.0.52 or newer.
Verified ~ oc version oc v3.5.0.52 kubernetes v1.5.2+43a9be4 features: Basic-Auth docker version Version: 17.03.0-ce API version: 1.26 (minimum version 1.12) Go version: go1.7.5 Git commit: 3a232c8 Built: Tue Feb 28 07:52:04 2017 OS/Arch: linux/amd64 ~ oc cluster up --image=registry.access.redhat.com/openshift3/ose --version=v3.4 -- Checking OpenShift client ... OK -- Checking Docker client ... OK -- Checking Docker version ... WARNING: Cannot verify Docker version -- Checking for existing OpenShift container ... OK -- Checking for registry.access.redhat.com/openshift3/ose:v3.4 image ...
How can we solve this for 3.4? Our customers are still on that version.... I downloaded the latest Mac version from the customer portal and via brew, yet both don't work.
oc version oc v3.4.1.10 kubernetes v1.4.0+776c994 features: Basic-Auth oc cluster up --image=registry.access.redhat.com/openshift3/ose --version=v3.4 -- Checking OpenShift client ... OK -- Checking Docker client ... OK -- Checking Docker version ... FAIL Error: Minor number must not contain leading zeroes "03"
Roel, the easiest workaround for now is to use Docker for Mac v1.13.1 until this is fixed in the kubelet. You can download it from: https://download.docker.com/mac/stable/1.13.1.15353/Docker.dmg
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0884