Bug 1379934 - oc cluster requires the image to be specified
Summary: oc cluster requires the image to be specified
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-28 07:34 UTC by Siamak Sadeghianfar
Modified: 2018-04-24 15:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-24 15:51:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

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+


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