Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1260463

Summary: [DOCS] Document offline installation
Product: OpenShift Container Platform Reporter: Vikram Goyal <vigoyal>
Component: DocumentationAssignee: brice <bfallonf>
Status: CLOSED CURRENTRELEASE QA Contact: Ma xiaoqiang <xiama>
Severity: medium Docs Contact: Vikram Goyal <vigoyal>
Priority: medium    
Version: 3.0.0CC: adellape, aos-bugs, baulakh, bfallonf, degts, ejacobs, erich, jhou, jkaur, jokerman, mmccomas, nicholas_schuetz, xiama, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-19 02:01:14 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:
Bug Depends On:    
Bug Blocks: 1305675    
Deadline: 2015-11-13   

Description Vikram Goyal 2015-09-07 01:37:13 UTC
The current docs do not provide any information about how to install OSE 3.0 in an offline mode.

This could be a scenario common for some customers.

This should go in the install guide. Also see the attached customer case for information on how to do this.

Comment 8 brice 2016-02-16 06:09:08 UTC
Initial PR (which is technically a copy of Eric's PR from comment 6) here:

https://github.com/openshift/openshift-docs/pull/1595

Hou Jianwei, can I ask for a QA on this task? I wasn't able to test this out 100% myself. Please let me know if there is any issues at all with this topic and I can work to get them into the doc.

Thanks!

Comment 14 Ma xiaoqiang 2016-03-04 08:47:07 UTC
It is too slow to sync repo in BJ, QE will check it when OS1 openstack is back.

Comment 15 Ma xiaoqiang 2016-03-08 08:33:51 UTC
1. the following command does not work
docker tag registry.access.redhat.com/jboss-amq-6/amq-openshift $REGISTRY:5000/openshift/amq-openshift \
    docker tag registry.access.redhat.com/jboss-eap-6/eap-openshift $REGISTRY:5000/openshift/eap-openshift \
...
Should delete "\"

2. the following command does not work
docker push $REGISTRY:5000/openshift/amq-openshift \
    docker push $REGISTRY:5000/openshift/eap-openshift \
....
should delete "\"

3. Should add service with following command
firewall-cmd --permanent  --add-service=http

4. the synced language image does not contain all images used in the iamgestream. Maybe this is not a issue.

5. I am very sorry that I provide the wrong command
"gpg --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release" should be "rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release " 

6. the image stream does not work, it can not get tags
# oc get is
NAME            DOCKER REPO                                 TAGS      UPDATED
ruby            172.31.88.64:5000/openshift/ruby

Comment 16 brice 2016-03-09 01:01:44 UTC
(In reply to Ma xiaoqiang from comment #15)
> 1. the following command does not work
> docker tag registry.access.redhat.com/jboss-amq-6/amq-openshift
> $REGISTRY:5000/openshift/amq-openshift \
>     docker tag registry.access.redhat.com/jboss-eap-6/eap-openshift
> $REGISTRY:5000/openshift/eap-openshift \
> ...
> Should delete "\"
> 
> 2. the following command does not work
> docker push $REGISTRY:5000/openshift/amq-openshift \
>     docker push $REGISTRY:5000/openshift/eap-openshift \
> ....
> should delete "\"

These two are my fault. I provided the wrong layout of the commands. They should work now.

> 6. the image stream does not work, it can not get tags
> # oc get is
> NAME            DOCKER REPO                                 TAGS      UPDATED
> ruby            172.31.88.64:5000/openshift/ruby

This seems to be dependent on the command above. And should work now. 

The other issues have been fixed. Can I please ask for one more test? This is an important doc and I don't want it to be incorrect.

Thanks very much!

Comment 17 Ma xiaoqiang 2016-03-10 00:16:18 UTC
For the sixth issue, i mean we can not get the tag after creating the  imagestream, this issue have nothing with the command. How to fix it?

Comment 18 openshift-github-bot 2016-04-15 06:02:26 UTC
Commit pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/478f33cad2ced540959ab1a430eda48f0e2ac930
Bug 1260463 Disconnected install guide

Bug 1260463 disconnected install

Comment 22 brice 2016-05-03 22:52:16 UTC
Right. The automatic Github merge comment doesn't have the finished state, I guess.

Jaspreet, if there's any additions you'd like to make please let me know. I'm talking to a consultant who is using this in the field and trying to get as many people using it as possible.