Bug 1379934

Summary: oc cluster requires the image to be specified
Product: OpenShift Container Platform Reporter: Siamak Sadeghianfar <ssadeghi>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED WONTFIX QA Contact: Vikram Goyal <vigoyal>
Severity: high Docs Contact: Vikram Goyal <vigoyal>
Priority: high    
Version: 3.3.0CC: aos-bugs, jokerman, mburke, mmccomas, nschuetz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-24 15:51:32 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:

Description Siamak Sadeghianfar 2016-09-28 07:34:13 UTC
Document URL: https://access.redhat.com/documentation/en/openshift-container-platform/3.3/paged/release-notes/chapter-2-openshift-container-platform-33-release-notes#ocp-33-development-cluster-setup

Section Number and Name: 2.4.2.3. Easy and Quick Development Cluster Setup

Describe the issue: 
The instructions in the docs for brining a dev cluster up does not work:

localhost:centos7 ssadeghi$ oc cluster up
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ... OK
-- Checking for openshift/origin:v3.3.0.32 image ...
   Pulling image openshift/origin:v3.3.0.32
FAIL
   Error: error pulling Docker image openshift/origin:v3.3.0.32
   Caused By:
     Error: Tag v3.3.0.32 not found in repository docker.io/openshift/origin

It looks for origin images instead of OCP. The image needs also to be specified:
oc cluster up --image=registry.access.redhat.com/openshift3/ose

This has been communicated as one of the major features of OCP 3.3 in the announcements.

Comment 1 Siamak Sadeghianfar 2016-09-30 12:26:58 UTC
Running oc cluster on Mac needs even more steps:
1. Add RH registry to Docker on Mac
2. Add openshift insecure registry to Docker on Mac
3. Install socat e.g. brew install socat
4. After cluster is up, remove all imagestreams (they are all centos) from openshift namespaces
5. Add rhel imagestreams
6. Add jboss imagestreams

Comment 2 Nick Schuetz 2016-09-30 13:39:44 UTC
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1380555

Comment 4 Michael Burke 2018-04-24 15:51:32 UTC
bugathon Fixed in 3.3+