Re: [Openstack] nova-manage network create does not create the bridges/vlans immediately
Hi Eric, Actually i am following your guide/pdf based on page 17 and after the vlans were created as example you type the ip addr and brctl show to make sure the bridges and vlans have been created, i guess it just applies to the admin tenant, is it right? because i noticed that if i add in --project_id the id of the Admin Tenant the bridge and vlan is created immediately but if I add another project id it is not created. Thanks in advance, Omar L. On 05/17/2012 07:07 AM, Eric Dodemont wrote: Omar, After you have configured all your networks/vlans with nova-manage network create, no vlan interfaces and no bridges will be created on the nova-network node and the nova-compute nodes. The first vlan interface and bridge will only be created the first time you boot an instance for a given tenant. If you boot for the first time an instance for a given tenant: - a free network/vlan will be attributed to that tenant and this for ever; - a vlan interface with a bridge and a dhcp connected on it will be created on the nova-network node; - a vlan interface with a bridge connected on it will be created on the nova-compute node which has been chosen to run the instance. Eric On 05/17/2012 06:06 AM, Omar Lara wrote: Thanks Nathanael, so the bridges and vlans are created until the instance is created?, because my understanding was that the interfaces were created once the network create is applied, and the interface appears in nova-network node and nova-compute node, is it right? Omar L. On 05/16/2012 10:13 PM, Nathanael Burton wrote: On May 16, 2012 9:47 PM, Omar Lara o...@scasoftware.net mailto:o...@scasoftware.net 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 http://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 http://10.0.1.0/24 None 10.0.1.3 None None 1 2e744c1a2032ccb1a0cdf7c5f825d046 a667af77-8ffe-42f8-a094-c2ce71d59171 root@devlabnova:~# brctl show bridge namebridge idSTP enabledinterfaces 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 http://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 https://launchpad.net/%7Eopenstack Post to : openstack@lists.launchpad.net mailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack 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 -- - 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@lists.launchpad.net Unsubscribe :https://launchpad.net/~openstack More help :https://help.launchpad.net/ListHelp -- - 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] nova-manage network create does not create the bridges/vlans immediately
On May 16, 2012 9:47 PM, Omar Lara o...@scasoftware.net 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 projectuuid 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 namebridge idSTP enabledinterfaces 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@lists.launchpad.net 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 ___ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
Re: [Openstack] nova-manage network create does not create the bridges/vlans immediately
Thanks Nathanael, so the bridges and vlans are created until the instance is created?, because my understanding was that the interfaces were created once the network create is applied, and the interface appears in nova-network node and nova-compute node, is it right? Omar L. On 05/16/2012 10:13 PM, Nathanael Burton wrote: On May 16, 2012 9:47 PM, Omar Lara o...@scasoftware.net mailto:o...@scasoftware.net 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 http://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 http://10.0.1.0/24 None 10.0.1.3 None None 1 2e744c1a2032ccb1a0cdf7c5f825d046 a667af77-8ffe-42f8-a094-c2ce71d59171 root@devlabnova:~# brctl show bridge namebridge idSTP enabledinterfaces 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 http://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 https://launchpad.net/%7Eopenstack Post to : openstack@lists.launchpad.net mailto:openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack https://launchpad.net/%7Eopenstack 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 -- - 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp