Bug 1384790

Summary: [online] There's no sampleRepo for imagestream jboss-eap64-openshift:latest and jboss-webserver30-tomcat8-openshift:latest
Product: OpenShift Online Reporter: Bing Li <bingli>
Component: ImageAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED CURRENTRELEASE QA Contact: Bing Li <bingli>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, dakini, jokerman, mmccomas, pweil
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: 2017-02-16 22:12:47 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 Bing Li 2016-10-14 07:41:16 UTC
Description of problem:
Try to start a new STI build in web console with imagestream "jboss-eap64-openshift:latest" or "jboss-webserver30-tomcat8-openshift:latest", it turns out that no sampleRepo is available.

Version-Release number of selected component (if applicable):
Online INT/STG/PROD 3.3

How reproducible:
Always

Steps to Reproduce:
1. In web console, start a new build with imagestream "jboss-eap64-openshift:latest" or "jboss-webserver30-tomcat8-openshift:latest", and check if there is a sampleRepo we can use directly.

Actual results:
1. No available sampleRepo was shown under "Git Repository URL".

$ oc get is jboss-eap64-openshift -n openshift -o json
......
            {
                "name": "latest",
                "annotations": {
                    "description": "JBoss EAP 6.4 S2I images.",
                    "iconClass": "icon-jboss",
                    "tags": "builder,eap,javaee,java,jboss,xpaas"
                },
                "from": {
                    "kind": "DockerImage",
                    "name": "registry.ops.openshift.com/jboss-eap-6/eap64-openshift:latest"
                },
                "generation": 2,
                "importPolicy": {}
            }
$ oc get is jboss-webserver30-tomcat8-openshift -n openshift -o json
......
            {
                "name": "latest",
                "annotations": {
                    "description": "JBoss Web Server 3.0 Tomcat 8 S2I images.",
                    "iconClass": "icon-jboss",
                    "tags": "builder,tomcat,tomcat8,java,jboss,xpaas"
                },
                "from": {
                    "kind": "DockerImage",
                    "name": "registry.ops.openshift.com/jboss-webserver-3/webserver30-tomcat8-openshift:latest"
                },
                "generation": 2,
                "importPolicy": {}
            }

Expected results:
1. There should be a sampleRepo we can directly use.

Comment 1 Stefanie Forrester 2016-10-20 15:12:01 UTC
This might be an online-specific configuration issue. Our image streams are defined here:

https://github.com/openshift/online/blob/master/templates/image-streams.json

Comment 4 Abhishek Gupta 2016-11-02 20:03:13 UTC
This is part of the current 3.4 upgrade to INT. Removing the UpcomingRelease keyword as we would like to track this fix and move it to ON_QA once ready for testing.

Comment 5 Bing Li 2016-11-10 11:03:02 UTC
"sampleRepo" has been added to these 2 imagestream. Move this bug to verified.

$ oc get is jboss-eap64-openshift -n openshift -o json

            {
                "name": "latest",
                "annotations": {
                    "description": "JBoss EAP 6.4 S2I images.",
                    "iconClass": "icon-jboss",
                    "sampleContextDir": "kitchensink",
                    "sampleRef": "6.4.x",
                    "sampleRepo": "https://github.com/jboss-developer/jboss-eap-quickstarts.git",


$ oc get is jboss-webserver30-tomcat8-openshift -n openshift -o json

            {
                "name": "latest",
                "annotations": {
                    "description": "JBoss Web Server 3.0 Tomcat 8 S2I images.",
                    "iconClass": "icon-jboss",
                    "sampleContextDir": "tomcat-websocket-chat",
                    "sampleRepo": "https://github.com/jboss-openshift/openshift-quickstarts.git",