Bug 1406057 - Node Selector for Metrics Install
Summary: Node Selector for Metrics Install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.3.0
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Jeff Cantrill
QA Contact: Peng Li
URL:
Whiteboard:
Depends On: 1421580
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-19 15:31 UTC by Matthew Robson
Modified: 2018-07-19 03:09 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-04-12 18:48:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0903 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-04-12 22:45:42 UTC

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


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