Bug 1469482

Summary: Container build pods are linked to build configurations from wrong namespaces
Product: Red Hat CloudForms Management Engine Reporter: Erez Freiberger <efreiber>
Component: ProvidersAssignee: Erez Freiberger <efreiber>
Status: CLOSED CURRENTRELEASE QA Contact: brahmani
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: fsimonce, gblomqui, jfrey, jhardy, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1478558 (view as bug list) Environment:
Last Closed: 2018-03-06 14:49:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1478558    
Attachments:
Description Flags
container builds none

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