[Rdo-list] HA Overcloud deployment with network isolation in VLAN mode

Charles Short cems at ebi.ac.uk
Fri Feb 12 10:32:41 UTC 2016


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 <http://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 <http://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,
>> -- 
>> Nuno Loureiro
>> Research & Development
>> Phone: +351 256 370 980
>> Email: nuno.loureiro at itcenter.com.pt 
>> <mailto:nuno.loureiro at itcenter.com.pt>
>> <http://www.itcenter.com.pt/> 	<http://www.itcenter.com.pt/> 
>> <http://www.itcenter.com.pt/>
>>
>> www.itcenter.com.pt 	ITCENTER Store <http://store.itcenter.com.pt/> 
>> ITCENTER Helpdesk 
>> <http://www.itcenter.com.pt/email/assinatura-email-itcenter.html#>
>>
>> 	
>> 	
>> ITCENTER Facebook <https://www.facebook.com/itcenterpt> 	ITCENTER 
>> Linkedin <https://www.linkedin.com/company/itcenter> 	ITCENTER 
>> Twitter <https://twitter.com/ITCenter_PT>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Rdo-list mailing list
>> Rdo-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/rdo-list
>>
>> To unsubscribe:rdo-list-unsubscribe at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe at redhat.com

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160212/8b7a8ff4/attachment.html>


More information about the dev mailing list