Bug 2189491 - [RHOSP16.2] [tripleo] PingTestGatewayIPsMap will never have ctlplane gateways
Summary: [RHOSP16.2] [tripleo] PingTestGatewayIPsMap will never have ctlplane gateways
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.2 (Train)
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: z6
: 16.2 (Train on RHEL 8.4)
Assignee: Harald Jensås
QA Contact: Joe H. Rahme
URL: https://bugs.launchpad.net/tripleo/+b...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-25 12:49 UTC by Walter Reiner
Modified: 2023-07-27 16:10 UTC (History)
4 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.6.1-2.20230717085025.1608f56.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 881452 0 None MERGED Add ctlplane network attrs to Networks resource output 2023-04-27 14:45:17 UTC
Red Hat Issue Tracker OSP-24549 0 None None None 2023-04-25 12:49:49 UTC

Description Walter Reiner 2023-04-25 12:49:22 UTC
Description of problem:

When setting up their new RHOSP 16.2.4 cluster one of my partners got the warning:
"WARNING: Following parameter(s) are defined but not currently used in the deployment plan. These parameters may be valid but not in use due to the service or deployment configuration. CinderEnableNetappBackend, CtlplaneNetworkAttributes, ..."

The parameter seems to be set in the file builddir/tripleo-config-generated-env-files/undercloud_parameters.yaml.                                                                              

They also do have a second, but older cluster running 16.2 where this parameter is not present in the created files.

I've already checked the source of the triple-o client and the heat templates, also I have compared the two installation templates regarding the undercloud conf (please see case 03450021) but I'm not sure which config directive would set/not-set this parameter.

An upstream bug was already created to track upstream:

We never set [Networks, net_attributes_map, ctlplane] in Train. The PingTestGatewayIPsMap tries to use that information but it will always result in 'null' since the data is never set in net_attributes_map.

There is a missing backport: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/753282

The PingTestGatewayIPsMap[1] which is the fix for RHBZ#1875962 tries to get the ctlplane gateways.

overcloud.j2.yaml#L1111
 {get_attr: [Networks, net_attributes_map, ctlplane, subnets, {get_param: {{role.name}}ControlPlaneSubnet}, gateway_ip]}

However, we never set anything for the ctlplane in Train so that would return "null" which does not create an error since null is filtered in the YAQL on overcloud.j2.yaml#L1109.

[1] https://opendev.org/openstack/tripleo-heat-templates/src/branch/stable/train/overcloud.j2.yaml#L1105-L1111


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