Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1181131

Summary: [RFE] packstack should address network types listed both in type_drivers and tenant_network_types
Product: Red Hat OpenStack Reporter: Nir Magnezi <nmagnezi>
Component: openstack-packstackAssignee: Lukas Bezdicka <lbezdick>
Status: CLOSED ERRATA QA Contact: Itzik Brown <itbrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0 (Juno)CC: aortega, derekh, ichavero, jschluet, mburns, mmagr, tfreger, yeylon
Target Milestone: gaKeywords: FutureFeature, Triaged
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-packstack-7.0.0-0.8.dev1661.gaf13b7e.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 21:00:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nir Magnezi 2015-01-12 13:21:30 UTC
Description of problem:
=======================
context: See Bug #1168242

Tenant networks represent the network types allowed for a user to use when he create networks while he's not an admin.

In this example: 

CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan,gre,vlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan,gre

I refrained from using 'vlan' for tenant network types since I use the 'vlan' type for external networks (and didn't want users to be able to use the vlan segmentation ids).

As a result: packstack didn't tap the provider ovs-bridge to a NIC, which broke every external connectivity (and usage of floating ips) for instances.


Version-Release number of selected component (if applicable):
=============================================================
RHEL-OSP6: openstack-packstack-2014.2-0.13.dev1395.gaabe0a2.el7ost.noarch


How reproducible:
=================
100%


Steps to Reproduce:
===================
In packstack answer file, configure the following attributes:

CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan,gre,vlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan,gre


Actual results:
===============
In compute nodes:
    Bridge br-nodes
        Port phy-br-nodes
            Interface phy-br-nodes
                type: patch
                options: {peer=int-br-nodes}
        Port br-nodes
            Interface br-nodes
                type: internal


Expected results:
=================
In compute nodes:
    Bridge br-nodes
        Port "enp5s0f1"
            Interface "enp5s0f1"
        Port phy-br-nodes
            Interface phy-br-nodes
                type: patch
                options: {peer=int-br-nodes}
        Port br-nodes
            Interface br-nodes
                type: internal
        Port "enp5s0f1\nbr-nodes"
            Interface "enp5s0f1\nbr-nodes"


Additional info:
================
See Bug #1168242

Comment 6 Itzik Brown 2015-12-27 11:22:06 UTC
Checked with:
RHOS8
openstack-packstack-puppet-7.0.0-0.8.dev1661.gaf13b7e.el7ost.noarch
openstack-packstack-7.0.0-0.8.dev1661.gaf13b7e.el7ost.noarch

Comment 8 errata-xmlrpc 2016-04-07 21:00:18 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://rhn.redhat.com/errata/RHEA-2016-0603.html