Bug 1303691

Summary: Project 'openshift-infra' should ignore default nodeSelector setting.
Product: OpenShift Container Platform Reporter: Eric Sauer <esauer>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Xiaoli Tian <xtian>
Severity: low Docs Contact:
Priority: medium    
Version: 3.1.0CC: aos-bugs, bleanhar, esauer, jokerman, mmccomas
Target Milestone: ---Flags: bleanhar: needinfo? (esauer)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-24 18:58:06 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:

Description Eric Sauer 2016-02-01 16:47:25 UTC
Description of problem:
It appears as if the "default" and "openshift" projects are set up by design to ignore the "osm_default_node_selector" variable in the installer. The openshift_infra project however, does not, but should be treated in the same manner as the other two.


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


How reproducible:
Install OpenShift with osm_default_node_selector set, and create a service in the openshift-infra project. 


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Brenton Leanhardt 2016-02-01 18:54:24 UTC
Hi Eric,

Can you provide the annotations in your environment for the default, openshift and openshift-infra projects? eg,

# oc get project default -o yaml | grep -A4 annotations
  annotations:
    openshift.io/sa.initialized-roles: "true"
    openshift.io/sa.scc.mcs: s0:c3,c2
    openshift.io/sa.scc.supplemental-groups: 1000010000/10000
    openshift.io/sa.scc.uid-range: 1000010000/10000

I'm curious what you expect them to be in your environment.  I as understand it there isn't anything special about those 3 projects.

I'm also curious what you are trying to do in the openshift-infra project.  Looking through the code it makes me think you wouldn't normally create anything in that project manually:

https://github.com/openshift/origin/blob/master/pkg/cmd/server/api/types.go#L313