Bug 1627897 - The controller.yaml in the multiple-nics templates are missing the external default route upon generation
Summary: The controller.yaml in the multiple-nics templates are missing the external d...
Keywords:
Status: CLOSED DUPLICATE of bug 1594025
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Emilien Macchi
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-11 19:32 UTC by Darin Sorrentino
Modified: 2018-09-19 16:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-19 16:45:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Darin Sorrentino 2018-09-11 19:32:05 UTC
Description of problem:

When the controller.yaml file gets generated for the multiple-nics templates, it is missing ExternalInterfaceDefaultRoute

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. mkdir /tmp/gen_templates
2. cp -pR /usr/share/openstack-tripleo-heat-templates/* /tmp/gen_templates/
3. cd /tmp/gen_templates
4. tools/process-templates.py
5. cd network/config
6. grep -r 'get_param: ExternalInterfaceDefaultRoute'


Actual results:

(undercloud) [stack@ds-osp13-uc config]$ grep -r 'get_param: ExternalInterfaceDefaultRoute'
bond-with-vlans/controller-v6.j2.yaml:                      get_param: ExternalInterfaceDefaultRoute
bond-with-vlans/controller-v6.yaml:                      get_param: ExternalInterfaceDefaultRoute
bond-with-vlans/controller.yaml:                      get_param: ExternalInterfaceDefaultRoute
multiple-nics/controller-v6.j2.yaml:                    get_param: ExternalInterfaceDefaultRoute
multiple-nics/controller-v6.yaml:                    get_param: ExternalInterfaceDefaultRoute
single-nic-linux-bridge-vlans/controller-v6.j2.yaml:                    get_param: ExternalInterfaceDefaultRoute
single-nic-linux-bridge-vlans/controller-v6.yaml:                    get_param: ExternalInterfaceDefaultRoute
single-nic-linux-bridge-vlans/controller.yaml:                    get_param: ExternalInterfaceDefaultRoute
single-nic-vlans/controller-v6.j2.yaml:                      get_param: ExternalInterfaceDefaultRoute
single-nic-vlans/controller-v6.yaml:                      get_param: ExternalInterfaceDefaultRoute
single-nic-vlans/controller.yaml:                      get_param: ExternalInterfaceDefaultRoute
(undercloud) [stack@ds-osp13-uc config]$ 



Expected results:

All of the files in controller.yaml should have a line where it's setting the external gateway.  As you can see it sets it for controller.yaml in bond-with-vlans, single-nic-linux-bridge-vlans and single-nic-vlans.   It even sets it for the controller-v6.yaml in multiple-nics, but it doesn't set it for controller.yaml in multiple-nics.

Additional info:

Comment 1 Bob Fournier 2018-09-19 16:45:06 UTC
Darin - thanks for the detailed reproduction steps.  This was fixed here -https://review.openstack.org/#/c/566403/ for bug https://bugzilla.redhat.com/show_bug.cgi?id=1594025.

The fix is available in 13z2.

Marking this as a duplicate.

*** This bug has been marked as a duplicate of bug 1594025 ***


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