Description of problem: label 'test=123' is not added to build-pod 'ruby-sample-build-1-build' when I new app with below command: oc new-app application-template-stibuild.json -l test=123 How reproducible: always Steps to Reproduce: 1.oc new-app application-template-stibuild.json -l test=123 2.after build is completed, check if build-pods have been added labels: oc get pods -l test=123 Actual results: no pod is listed Expected results: ruby-sample-build-1-build should be listed
Fabiano, looks like you fixed this one with https://github.com/openshift/origin/pull/4543
Hi, This issue can still reproduce on devenv-fedora_2417 [root@dhcp-128-16 sample-app]# oc get pods NAME READY STATUS RESTARTS AGE database-1-2mvzt 1/1 Running 0 33m frontend-1-fnivq 1/1 Running 0 31m frontend-1-ophw7 1/1 Running 0 31m ruby-sample-build-1-build 0/1 ExitCode:0 0 33m [root@dhcp-128-16 sample-app]# oc describe pods ruby-sample-build-1-build Name: ruby-sample-build-1-build Namespace: test Image(s): openshift/origin-sti-builder:v1.0.6 Node: ip-172-18-7-120/172.18.7.120 Labels: openshift.io/build.name=ruby-sample-build-1 Status: Succeeded Reason: Message: IP: Replication Controllers: <none> Containers:
I've created PR to fix this issue: https://github.com/openshift/origin/pull/4983
It turned out that it works as expected and this behavior was added intentionally. See the following links for more details: https://github.com/openshift/origin/issues/3502 and https://github.com/openshift/origin/pull/3508