Hi Charles,

Thanks for sharing this!

In fact you should be able to pass the vlan ranges parameters in the network-environment.yaml as well so  you don't need to do manual changes post deployment:

NeutronBridgeMappings: 'datacentre:br-ex'
NeutronNetworkVLANRanges: 'datacentre:3510:3600'

Marius


On Fri, Feb 12, 2016 at 11:32 AM, Charles Short <cems@ebi.ac.uk> wrote:
Forgot to mention you also need this line in your network-environment.yaml

NeutronNetworkType: 'vlan'


https://bugzilla.redhat.com/show_bug.cgi?id=1282835


Charles

On 12/02/2016 10:25, Charles Short wrote:
Hi,

This works for me and correctly deploys tenant  VLANs with HA enabled  and no tunnels-

openstack overcloud deploy --templates \
--control-scale 3 \
--compute-scale 12 \
--ntp-server ntp.server \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/nic-configs/network-environment.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml \
--neutron-bridge-mappings datacentre:br-ex \
--neutron-flat-networks datacentre \
--neutron-network-vlan-ranges datacentre:3510:3600 \
--neutron-disable-tunneling

Then once deployed make sure you update /etc/neutron/plugins.ini with the vlan range specified for tenant networks on each controller as there is a bug where this does not get populated -

https://bugzilla.redhat.com/show_bug.cgi?id=1282963

# network_vlan_ranges =
network_vlan_ranges =datacentre:3510:3600


HTH

Charles




On 27/10/2015 17:10, Nuno Loureiro wrote:

Hi all!

I'm deploying an HA overcloud with 3 controller nodes and 3 compute nodes.

I'm able to successfully deploy the overcloud in GRE-tunnel mode by issuing the following command:

openstack overcloud deploy --control-scale 3 --compute-scale 3 --libvirt-type kvm --ntp-server pool.ntp.org --templates ~/the-cloud/ -e ~/the-cloud/environments/puppet-pacemaker.yaml -e ~/the-cloud/environments/network-isolation.yaml -e ~/the-cloud/environments/net-single-nic-with-vlans.yaml -e ~/the-cloud/environments/network-environment.yaml --control-flavor controller --compute-flavor compute


Now I want to use VLAN in tenant networks, disabling the GRE-tunnels.

I ran the following command to deploy the overcloud in VLAN mode:

 openstack overcloud deploy --control-scale 3 --compute-scale 3 --libvirt-type kvm --ntp-server pool.ntp.org --templates ~/the-cloud/ -e ~/the-cloud/environments/puppet-pacemaker.yaml -e ~/the-cloud/environments/network-isolation.yaml -e ~/the-cloud/environments/net-single-nic-with-vlans.yaml -e ~/the-cloud/environments/network-environment.yaml --control-flavor controller --compute-flavor compute --neutron-network-type vlan --neutron-bridge-mappings datacentre:br-ex --neutron-network-vlan-ranges datacentre:1000:10009

However I always get the following error:
ERROR: openstack Neutron tunnel types must be specified when Neutron network type is specified 

I think this problem might be related to this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1244893


Do you have any suggestions on how to solve this problem?

Thank you very much!
Regards,
--


_______________________________________________
Rdo-list mailing list
Rdo-list@redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe@redhat.com

-- 
Charles Short
Cloud Engineer
Virtualization and Cloud Team
European Bioinformatics Institute (EMBL-EBI)
Tel: +44 (0)1223 494205 


_______________________________________________
Rdo-list mailing list
Rdo-list@redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe@redhat.com

-- 
Charles Short
Cloud Engineer
Virtualization and Cloud Team
European Bioinformatics Institute (EMBL-EBI)
Tel: +44 (0)1223 494205 

_______________________________________________
Rdo-list mailing list
Rdo-list@redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe@redhat.com