Bug 1403659

Summary: Sometimes build info is not shown on Overview page
Product: OKD Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED NOTABUG QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
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: 2016-12-12 13:52:21 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:
Attachments:
Description Flags
BuildInfoNotShownOnOverview none

Description Yadan Pei 2016-12-12 06:20:36 UTC
Description of problem:
When define a build to push image to private docker registry, the build info is not shown on Overview page

Version-Release number of selected component (if applicable):
openshift v1.5.0-alpha.0+cb5c7e5-336
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0


How reproducible:
Always

Steps to Reproduce:
1.Change BC to output image to DockerImage and push to private registry,but didn't specify a secret used for pushing
$ wget https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/build/ruby22rhel7-template-sti.json
$ vi ruby22rhel7-template-sti.json
.....

        "output": {
          "to": {
            "kind": "DockerImage",
            "name": "docker.io/yapei/origin-ruby22-sample:latest"
          }
.......
$ oc new-app -f ruby22rhel7-template-sti.json
2.After build is started
$ oc get builds
NAME                    TYPE      FROM      STATUS    STARTED         DURATION
ruby22-sample-build-1   Source    Git       Running   1 seconds ago   1s
3.Login to web console and check build info on Overview page

Actual results:
3.Build info: BC name, Build No. and links to Log are not shown on Overview

Expected results:
3.Should show build info on Overview page

Additional info:

Comment 1 Yadan Pei 2016-12-12 06:25:02 UTC
Created attachment 1230715 [details]
BuildInfoNotShownOnOverview

Comment 2 Jessica Forrester 2016-12-12 13:52:21 UTC
This is expected, a build is only associated with a Deployment Config if the build is pushing to an image stream and the Deployment Config is triggering from that image stream.