Bug 1712488
Summary: | Variable openshift_set_node_ip is deprecated in v3.10+ but this is not mentioned in inventory examples | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Patrick Dillon <padillon> |
Component: | Installer | Assignee: | Patrick Dillon <padillon> |
Installer sub component: | openshift-ansible | QA Contact: | Gaoyun Pei <gpei> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | gpei, jialiu, rludva |
Version: | 3.11.0 | ||
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: openshift_set_node_ip was deprecated but still included in inventory example and some dead code.
Consequence: users might expect openshift_set_node_ip to set the ip address for an individual node but setting the inventory var would do nothing.
Fix: remove openshift_set_node_ip from example inventory and remove all related dead code. Also provide deprecated variable warning.
Result: users now understand this variable has been deprecated.
|
Story Points: | --- |
Clone Of: | 1694814 | Environment: | |
Last Closed: | 2019-06-26 09:08:11 UTC | Type: | --- |
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: | 1694814 | ||
Bug Blocks: |
Description
Patrick Dillon
2019-05-21 15:27:06 UTC
Verify this bug with openshift-ansible-3.11.117-1.git.0.add13ff.el7.noarch.rpm # grep -r openshift_set_node_ip /usr/share/ansible/openshift-ansible/ /usr/share/ansible/openshift-ansible/roles/lib_utils/action_plugins/sanity_checks.py: ('openshift_set_node_ip', 'Deprecated: see documentation.'), # grep -r openshift_set_node_ip /usr/share/doc/openshift-ansible-docs-3.11.117/ Once openshift_set_node_ip=true set in ansible inventory file, the install will fail as below: TASK [Run variable sanity checks] ********************************************** Thursday 13 June 2019 10:21:59 +0800 (0:00:00.906) 0:01:06.921 ********* fatal: [ec2-18-212-141-90.compute-1.amazonaws.com]: FAILED! => {"msg": "last_checked_host: ec2-18-212-141-90.compute-1.amazonaws.com, last_checked_var: openshift_master_identity_providers;Found removed variables: openshift_set_node_ip is replaced by Deprecated: see documentation.; "} 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-2019:1605 |