Bug 1495460 - Build is not triggered after the create from image page due to no openshift namespace
Summary: Build is not triggered after the create from image page due to no openshift n...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.7.0
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-26 06:25 UTC by Xingxing Xia
Modified: 2017-09-27 13:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-27 13:02:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xingxing Xia 2017-09-26 06:25:43 UTC
Description of problem:
Build is not triggered after the create from image page due to no openshift namespace.
Build has no the issue if "Create" is clicked in ordering panel directly

Version-Release number of selected component (if applicable):
v3.7.0-0.127.0

How reproducible:
Always

Steps to Reproduce:
1. Create project
2. On web console, the home page is service catalog UI. Search ruby buider image, click it. It pops up the ordering panel. Fill required fields like "Git Repository" etc.
3. Click "advanced options" to the create from image page, fill required fields, then click "Create" and check the build
4. Repeat step 2, then do not click "advanced options". Instead, click "Create" directly and check the build

Actual results:
3. No build is triggered. Check BC, found:
$ oc describe bc ruby
error instantiating Build from BuildConfig ... (0): Error resolving ImageStreamTag ruby:2.3 in namespace xxia-proj: unable to find latest tagged image

$ oc get bc ruby -o yaml # no "namespace: openshift" as it had before
    sourceStrategy:
      from:
        kind: ImageStreamTag
        name: ruby:2.3

4. This operation does not have step 3's issue.

Expected results:
3. BC should have "namespace: openshift" under "from" like step 4

Additional info:

Comment 3 openshift-github-bot 2017-09-26 14:11:15 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/e7f6d906f52adb08bafc2261e2ef1c3aea0ae865
Bug 1495460 - Fix build config source namespace

Correctly set the build config source image namespace when adding a
builder using advanced options.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1495460

Comment 5 Xingxing Xia 2017-09-27 09:09:34 UTC
Installed v3.7.0-0.131.0 env, checked the bug is fixed on it. Original steps in comment 0 now don't have issue, builds are triggered and thus app are deployed


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