← Back to team overview

openstack team mailing list archive

Re: nova-manage network create does not create the bridges/vlans immediately

 

On May 16, 2012 9:47 PM, "Omar Lara" <omar@xxxxxxxxxxxxxxx> wrote:
>
> Hi, i am trying to deploy a VlanManager networking model in Essex, i am
not using Quantum, and my problem is when i try to do:
>
> nova-manage network create --label vlan1 --fixed_range_v4 10.0.1.0/24--num_networks 1 --network_size 256 --vlan 1 --project_id
2e744c1a2032ccb1a0cdf7c5f825d046
>
> The bridge and the vlan are not created immediately, do you have any idea
if there is another daemon that needs to run or something so or some
additional advice, my nova-network is a server different from the
nova-compute.
>
> Also i noticed that the ensure_bridge method from linux_net.py never is
called, in this script there is the brctl addbr call to posix.
>
> root@devlabnova:~# nova-manage  network list
> id       IPv4                  IPv6               start address      DNS1
              DNS2               VlanID             project            uuid
> 20       10.0.1.0/24           None               10.0.1.3           None
              None               1
 2e744c1a2032ccb1a0cdf7c5f825d046
a667af77-8ffe-42f8-a094-c2ce71d59171
>
> root@devlabnova:~# brctl show
> bridge name    bridge id        STP enabled    interfaces
>
>
> My nova.conf is as follows in terms of nova-network
>
> ##### nova-network #####
> network_manager=nova.network.manager.VlanManager
> public_interface=eth0
> vlan_interface=eth1
> network_host=devlabnova
> fixed_range=10.0.0.0/8
> network_size=1024
> dhcpbridge_flagfile=/etc/nova/nova.conf
> dhcpbridge=/usr/bin/nova-dhcpbridge
> force_dhcp_release=True
> fixed_ip_disassociate_timeout=30
> my_ip=172.16.16.10
>
> Thanks in advance!
>
> --
> -------------------------------------
> Omar Lara
> CEO
> ScaSoftware
> t: +52(55) 84.21.84.43
> Twitter: @elchito
> http://www.scasoftware.net
> -------------------------------------
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

Omar,

The vlan tagged interfaces and bridges are created on the fly as needed as
users within the relevant projects start instances that are scheduled to
the relevant compute nodes.

Nate

Follow ups

References