Bug 1406057

Summary: Node Selector for Metrics Install
Product: OpenShift Container Platform Reporter: Matthew Robson <mrobson>
Component: InstallerAssignee: Jeff Cantrill <jcantril>
Status: CLOSED ERRATA QA Contact: Peng Li <penli>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: aos-bugs, bleanhar, ekuric, gpei, jkaur, jokerman, juzhao, mmccomas, myllynen, pdwyer, penli, sdodson, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-12 18:48:42 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:
Embargoed:
Bug Depends On: 1421580    
Bug Blocks:    

Description Matthew Robson 2016-12-19 15:31:01 UTC
Description of problem:

Currently no way to set a node selector for the metrics install.  Attempting to set openshift_additional_projects to override the default node selector also does not appear to work.

openshift_additional_projects={'default':{'default_node_selector':'region=infra'},'openshift-infra':{'default_node_selector':'region=infra'}}


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

3.1.latest

How reproducible:

Metrics advanced install

Steps to Reproduce:
1. Preform the standard with metrics enabled

Actual results:

Deploys to any node

Expected results:

Able to define a node selector

Additional info:

Comment 4 Jeff Cantrill 2017-02-06 19:03:21 UTC
fix for 3.5 https://github.com/openshift/openshift-ansible/pull/3271

Comment 8 Jeff Cantrill 2017-02-08 14:13:49 UTC
In 3.4,  the work around for this is to edit the metrics template for deployment and add the node selector.  The ansible role relies on the deployer which utilizes template

Comment 11 Marko Myllynen 2017-02-20 11:42:11 UTC
Are we not adding any documentation for these new options? That might be helpful as the patch seems to add openshift_metrics_* selectors but in the byo.example for metrics and everything else we use openshift_*_hosted_*. Thanks.

Comment 13 errata-xmlrpc 2017-04-12 18:48:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0903