Bug 1523335 - openshift_env facts overwrite top level keys
Summary: openshift_env facts overwrite top level keys
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.7.z
Assignee: Andrew Butcher
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-07 18:14 UTC by Chad Scribner
Modified: 2017-12-18 13:24 UTC (History)
5 users (show)

Fixed In Version: openshift-ansible-3.7.14-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-18 13:24:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:3464 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.7 bug fix and enhancement update 2017-12-18 18:22:05 UTC

Description Chad Scribner 2017-12-07 18:14:22 UTC
openshift_env facts overwrite top level keys; a fix is present here: https://github.com/openshift/openshift-ansible/pull/6272

We need an rpm created that includes this fix as it's currently being patched manually.

Comment 1 Scott Dodson 2017-12-07 18:44:41 UTC
https://github.com/openshift/openshift-ansible/pull/6293 fix already backported

Comment 5 Gaoyun Pei 2017-12-11 10:06:41 UTC
The patch was merged into openshift-ansible-3.7.14-1.git.0.4b35b2d.el7.noarch. And no such error when trying ocp-3.7 installation with metrics enabled with external nfs.

With the following options added in ansible inventory file, start running playbooks/byo/config.yml
openshift_metrics_install_metrics=true
openshift_metrics_storage_kind=nfs
openshift_metrics_storage_host=10.x.x.x
openshift_metrics_storage_nfs_directory=/nfs/share/
openshift_metrics_storage_volume_name=metrics
openshift_metrics_image_prefix=registry.access.redhat.com/openshift3/
openshift_metrics_storage_labels={"storage": "metrics"}

Installation is successful and pv for metrics is created correctly.

Comment 8 errata-xmlrpc 2017-12-18 13:24:28 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:3464


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