Bug 1459354

Summary: Metrics and Logging Broken When Using Docker for Mac Community Edition
Product: OpenShift Container Platform Reporter: Nick Schuetz <nschuetz>
Component: ocAssignee: Cesar Wong <cewong>
Status: CLOSED NOTABUG QA Contact: Xingxing Xia <xxia>
Severity: low Docs Contact:
Priority: low    
Version: 3.5.0CC: aos-bugs, bleanhar, jokerman, mmccomas, nschuetz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-09 14:56:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nick Schuetz 2017-06-06 22:20:37 UTC
Description of problem:
When trying to deploy OpenShift using 'oc cluster up --metrics --logging' on a Mac using Docker Community Edition 17.03.1-ce-mac12 metrics and logging fail to deploy because of an error parsing the docker version number.

Version-Release number of selected component (if applicable):
oc v3.5.5.15
Docker for Mac Community Edition Version 17.03.1-ce-mac12 (17661)

How reproducible:
Always

Steps to Reproduce:
1. Download OCP version of oc
2. Run: oc cluster up --metrics --logging
3. Go into both the logging and openshift-infra projects and do a describe on the deployer pods.

Actual results:

 7m		14s		36	{kubelet 192.168.65.2}			Warning		FailedSync	Error syncing pod, skipping: failed to "StartContainer" for "POD" with RunContainerError: "runContainer: docker: failed to parse docker version \"17.03.1-ce\": illegal zero-prefixed version component \"03\" in \"17.03.1-ce\""

Expected results:

Logging and Metrics should both deploy successfully without problems parsing the docker version.

Additional info:

Comment 1 Cesar Wong 2017-08-25 15:47:29 UTC
The issue with parsing the CE version number should have been fixed in the v3.6 OCP client.

The CE version of Docker is not supported with OCP <= 3.5. If you want/need to use the v3.5.x client, you can downgrade Docker to v1.13.1:
https://download.docker.com/mac/stable/1.13.1.15353/Docker.dmg

Comment 2 Cesar Wong 2017-10-09 14:56:23 UTC
Closing this issue due to age. Current oc client works with Docker CE.