Bug 1469482 - Container build pods are linked to build configurations from wrong namespaces
Summary: Container build pods are linked to build configurations from wrong namespaces
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Erez Freiberger
QA Contact: brahmani
URL:
Whiteboard: container
Depends On:
Blocks: 1478558
TreeView+ depends on / blocked
 
Reported: 2017-07-11 11:14 UTC by Erez Freiberger
Modified: 2018-04-09 12:27 UTC (History)
5 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1478558 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:49:14 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
container builds (125.93 KB, application/x-gzip)
2017-11-26 13:40 UTC, brahmani
no flags Details

Description Erez Freiberger 2017-07-11 11:14:46 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create two build configurations with the same name from two different namespaces (For example use: https://github.com/openshift/origin/tree/master/examples/sample-app)
2. Initiate a builds from both of them
3. 

Actual results:
One of the builds will be connected to both build pods

Expected results:
Each one of the two builds should be connected to one build pod for its own namespace.

Additional info:

Comment 2 Erez Freiberger 2017-07-11 11:16:38 UTC
Fix PR in: https://github.com/ManageIQ/manageiq-providers-openshift/pull/33

Comment 4 brahmani 2017-11-26 13:39:48 UTC
Verified on 5.9.0.10.20171121225911_a2209d2.
On OpenShift:
download the application-template-stibuild.json from https://github.com/openshift/origin/tree/master/examples/sample-app to /tmp

oc new-project test --display-name="OpenShift 3 Sample" --description="This is an example project to demonstrate OpenShift v3"

oc new-app /tmp/application-template-stibuild.json 

perform the above on second build with namespace test1.

Each one of the two builds should be connected to one build pod for its own namespace.

See attach.

Comment 5 brahmani 2017-11-26 13:40:36 UTC
Created attachment 1359153 [details]
container builds


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