Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1428978 - 'oc cluster up' Error: Minor number must not contain leading zeroes "03"
'oc cluster up' Error: Minor number must not contain leading zeroes "03"
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
3.4.1
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Cesar Wong
Dongbo Yan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-03 13:21 EST by Nick Schuetz
Modified: 2017-07-24 10 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-04-12 15:14:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0884 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.5 RPM Release Advisory 2017-04-12 18:50:07 EDT

  None (edit)
Description Nick Schuetz 2017-03-03 13:21:15 EST
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 13:46:59 EST
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 10:34:02 EDT
This has been merged into ocp and is in OCP v3.5.0.52 or newer.
Comment 5 Dongbo Yan 2017-03-15 07:09:42 EDT
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 07:55:48 EDT
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 07:57:11 EDT
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 08:24:17 EDT
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 15:14:29 EDT
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.