Bug 2080869 - [16.2][regression] When using ManageNetworks: false stack create fail with `Invalid condition "is_ipv6"`
Summary: [16.2][regression] When using ManageNetworks: false stack create fail with `I...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: OSP Team
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-02 08:29 UTC by Martin Schuppert
Modified: 2022-06-22 16:07 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.6.1-2.20220409014851.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-22 16:07:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 839195 0 None MERGED [train-only] Add is_ipv6 condition and CloudDomain in network.j2 2022-05-02 08:29:12 UTC
Red Hat Issue Tracker OSP-14969 0 None None None 2022-05-02 08:51:34 UTC
Red Hat Product Errata RHBA-2022:4793 0 None None None 2022-06-22 16:07:54 UTC

Description Martin Schuppert 2022-05-02 08:29:12 UTC
Description of problem:

With osp-director-operator ManageNetworks: false is used as there is no full undercloud and neutron. 

Backports for BZ1875962 missed the `is_ipv6` condition and `CloudDomain` parameter in network.j2. As a result rendering the ansible playbooks fail with [1]:
~~~
2022-05-02T06:55:47.087417616Z ERROR: resources.Networks<file:///home/cloud-admin/tripleo-deploy-scratch/tripleo-heat-installer-templates/network/networks.yaml>.resources.TenantNetwork<file:///home/cloud-admin/tripleo-deploy-scratch/tripleo-heat-installer-templates/network/tenant.yaml>.outputs.subnet_attrs.value.if.tenant_subnet.ip_version.if: : Invalid condition "is_ipv6"
~~~

A fix got merged upstream via [2], but is missing in the downstream z3 compose.

[1] https://rhos-ci-staging-jenkins.lab.eng.tlv2.redhat.com/view/DFG/view/k8s/view/osp-director-operator/view/rhos/job/osp-director-dev-tools-16.2_subnet/114/artifact/logs/must-gather-20220502T070707008767/quay-io-openstack-k8s-operators-must-gather-sha256-dc694a23be27f9011e5f86dcdd664c6501b2f33648341e430ac93c3aee474daf/namespaces/openstack/pods/generate-config-default-qsmwg/generateplaybooks/generateplaybooks/logs/current.log
[2] https://review.opendev.org/c/openstack/tripleo-heat-templates/+/839195/

Version-Release number of selected component (if applicable):
16.2.3 - container tag: 16.2_20220418.1

How reproducible:
always

Steps to Reproduce:
1. use ManageNetworks: false
2.
3.

Actual results:
fail with above error

Expected results:
Heat stack create to render playbooks should render fine.

Additional info:

Comment 4 Martin Schuppert 2022-05-02 13:03:56 UTC
Also affects DCN deployments with traditional undercloud which also use ManageNetworks: false.

Comment 6 Martin Schuppert 2022-05-03 06:56:09 UTC
Also affects multi cell deployments with traditional undercloud when ManageNetworks: false is used.

Comment 15 errata-xmlrpc 2022-06-22 16:07:20 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 (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), 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-2022:4793


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