Bug 1613455 - Missing example to configure vlan interfaces, i.e. nic with one vlan
Summary: Missing example to configure vlan interfaces, i.e. nic with one vlan
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 16.0 (Train on RHEL 8.1)
Assignee: Dan Sneddon
QA Contact: mlammon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-07 15:11 UTC by Alexander Chuzhoy
Modified: 2020-02-06 14:39 UTC (History)
2 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-0.20200109050651.8f93d27.el8ost.noarch
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 14:37:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 696288 0 'None' 'NEW' 'Add a version of the multiple-nics templates with tagged VLANs' 2019-11-27 11:34:43 UTC
Red Hat Product Errata RHEA-2020:0283 0 None None None 2020-02-06 14:39:39 UTC

Description Alexander Chuzhoy 2018-08-07 15:11:36 UTC
Missing example to configure vlan interfaces, i.e. nic with one vlan

Environment:
openstack-tripleo-heat-templates-8.0.4-4.el7ost.noarch

We have no examples for cases where a nic has one vlan network.

Below is an example:
              - type: vlan
                device: nic4
                vlan_id:
                  get_param: StorageNetworkVlanID
                addresses:
                - ip_netmask:
                    get_param: StorageIpSubnet

Comment 5 Dan Sneddon 2018-08-07 19:12:14 UTC
In order for you to assign a VLAN to a NIC, the NIC has to have a basic configuration.


              - type: interface
                name: nic4
                use_dhcp: false
              - type: vlan
                device: nic4
                vlan_id:
                  get_param: StorageNetworkVlanID
                addresses:
                - ip_netmask:
                    get_param: StorageIpSubnet

Comment 9 Dan Sneddon 2019-11-14 16:09:12 UTC
Sorry, ignore comment #8, that was intended for a different bug

Comment 10 Dan Sneddon 2019-11-14 16:11:21 UTC
Submitted https://review.opendev.org/#/c/694340/ upstream.

Comment 11 Bob Fournier 2020-01-21 19:36:53 UTC
I't verified that this support was added to RHOS_TRUNK-16.0-RHEL-8-20200113.n.0

$ ls /usr/share/openstack-tripleo-heat-templates/network/config/multiple-nics-vlans/
compute-dvr.j2.yaml  README.md  role.role.j2.yaml

$ cat /usr/share/openstack-tripleo-heat-templates/network/config/multiple-nics-vlans/README.md 
This directory contains Heat templates to help configure
multiple NICs for each Overcloud role, where it is
assumed that each NIC is running a specific network
traffic type with tagged VLANs.
...

Comment 14 errata-xmlrpc 2020-02-06 14:37:23 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/RHEA-2020:0283


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