Bug 1428978 - 'oc cluster up' Error: Minor number must not contain leading zeroes "03"
Summary: 'oc cluster up' Error: Minor number must not contain leading zeroes "03"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Cesar Wong
QA Contact: Dongbo Yan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-03 18:21 UTC by Nick Schuetz
Modified: 2017-07-24 14:11 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-12 19:14:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0884 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.5 RPM Release Advisory 2017-04-12 22:50:07 UTC

Description Nick Schuetz 2017-03-03 18:21:15 UTC
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:

Comment 2 Cesar Wong 2017-03-06 18:46:59 UTC
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

Comment 3 Troy Dawson 2017-03-14 14:34:02 UTC
This has been merged into ocp and is in OCP v3.5.0.52 or newer.

Comment 5 Dongbo Yan 2017-03-15 11:09:42 UTC
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 ...

Comment 6 Roel Hodzelmans 2017-03-30 11:55:48 UTC
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.

Comment 7 Roel Hodzelmans 2017-03-30 11:57:11 UTC
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"

Comment 8 Cesar Wong 2017-03-30 12:24:17 UTC
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

Comment 10 errata-xmlrpc 2017-04-12 19:14:29 UTC
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


Note You need to log in before you can comment on or make changes to this bug.