Ask Your Question
0

Packstack Newton configuration with VLAN interface

asked 2017-02-16 06:41:33 -0500

razvlix gravatar image

updated 2017-02-16 09:36:08 -0500

Hello,

I am trying to install a Packstack Newton in my LAB and I am having a big problem with the network because I don't understand how it should be configured the physical network.

So, I am using Packstack Newton, installed in Centos 7.3. I have 3 servers (1 controller with 2 computes) I am attaching a image to have a better understanding of the scenario.

The idea is that I can't figure out how the physical interface, that will be connected in the external bridge, should be configured.

All the interfaces for controller and computers are connected in a HP Switch that has the ports in trunk mode. I need to use VLAN 150. I have the interface em1 used for management and configured with VLAN in em1.150

The problems that I have is how to configure the physical interface em2: 1. Should I create em2.150 and add the VLAN and IP details and create the external network as a flat network? How should I have the answer file in this case? or 2.Should I let the interface unconfigured and create the external network from openstack as a VLAN network?

Schema: http://imgur.com/a/zj0u2

Thanks in advance, Razvan

edit retag flag offensive close merge delete

Comments

If tenants (say 10 ) are segregated via VLAN IDs (10 -20 ) then Switch connecting Compute and Controller Node should have ports in trunk mode accepting vlan IDs 10,..,20. Say external network has VLAN ID 150. Another ports on switch should be tuned to to provide traffic tagged 150.

dbaxps gravatar imagedbaxps ( 2017-02-16 15:08:45 -0500 )edit

Having external vlan tag among tenat's segregating interval doesn't look to me as a good idea

dbaxps gravatar imagedbaxps ( 2017-02-16 15:10:52 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2017-02-16 12:37:34 -0500

dbaxps gravatar image

updated 2017-02-16 15:18:56 -0500

This post was tested on RDO Mitaka
https://www.linux.com/blog/rdo-mitaka...
I would expect it to work same way on RDO Newton. External network provider of VLAN type
should be invoked. All details are in link referenced above. Actually , it is post packstack configuration
regarding external networks set up of VLAN type. Packstack cares only about VLAN tenant's
segregation connecting Controller to Compute Nodes at best.
See also https://bugzilla.redhat.com/show_bug....

edit flag offensive delete link more

Comments

Thank you for this. I will try to add the vlan ranges in the answer file and do a redeploy.

I will update the thread with more info.

razvlix gravatar imagerazvlix ( 2017-02-17 00:50:39 -0500 )edit
0

answered 2017-02-17 05:20:02 -0500

razvlix gravatar image

I did ITTTTT :D :D :D I am so glad I manage to solve it. Thanks for all the help

I will share my answer file, for others.

CONFIG_NEUTRON_ML2_VLAN_RANGES=physnet-external CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=physnet-external:br-ex CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:em2

CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex

And then created the external network using "physnet-external" with VLAN and 150 for Segmentation ID.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-02-16 06:41:33 -0500

Seen: 155 times

Last updated: Feb 17