Ask Your Question
0

How do I create nova networks for Folsom on Ubuntu 12.04?

asked 2012-11-01 10:43:58 -0600

david-butler gravatar image

I have followed the instructions for the install and deploys of Openstack Folsom on Ubuntu 12.04 at: http://docs.openstack.org/trunk/openstack-compute/install/apt/content/ (http://docs.openstack.org/trunk/opens...)

All my services show as OK, but I cannot create a useable vm network.

I have tried the method in the main text with briding and the method in Appendix B (single node install, with vlan), but either get an error woth the create command or create a network that cannot be used when creating instances in the dashbaord, e.g.

For vlan network with briding, set in /etc/nova/nova.conf

Network settings

dhcpbridge_flagfile=/etc/nova/nova.conf dhcpbridge=/usr/bin/nova-dhcpbridge network_manager=nova.network.manager.VlanManager public_interface=eth0 vlan_interface=eth1 fixed_range=192.168.30.0/24 routing_source_ip=192.168.30.205 floating_range=192.168.40.224/27 network_size=32 force_dhcp_release=True iscsi_helper=ietadm iscsi_ip_address=192.168.40.205 rootwrap_config=/etc/nova/rootwrap.conf

The primary network interface

auto eth0 iface eth0 inet static address 192.168.40.205 netmask 255.255.255.0 network 192.168.40.0 broadcast 192.168.40.255 gateway 192.168.40.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.1.1 dns-search mnil.bc.co.uk

auto eth1 iface eth1 inet static address 192.168.30.205 netmask 255.255.255.0 network 192.168.30.0 broadcast 192.168.30.255 gateway 192.168.30.254 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.1.1 dns-search mnil.bc.co.uk

$ sudo nova-manage db sync

$ nova-manage network create private --fixed_range_v4=192.168.30.0/24 --num_networks=1 --bridge=br100 --bridge_interface=eth1 --network_size=256 Command failed, please check log for more info 2012-10-25 10:54:06 CRITICAL nova [req-d30f31cc-0c73-4ec5-85df-52963d4f6c5c None None] 'vlan_start'

$ nova-manage network create --fixed_range_v4=192.168.20.0/24 --num_networks=1 --network_size=256 --label=private1 --vlan=100 Command failed, please check log for more info 2012-10-26 11:53:11 CRITICAL nova [req-1c993005-6db7-471e-b957-2535acfb21ea None None] bridge_interface is required to create a network.

For a flat network with briding, set in /etc/nova/nova.conf

NETWORK

network_manager=nova.network.manager.FlatDHCPManager force_dhcp_release=True dhcpbridge_flagfile=/etc/nova/nova.conf firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver

Change my_ip to match each host

my_ip=192.168.40.205 public_interface=br100 vlan_interface=eth0 flat_network_bridge=br100 flat_interface=eth0 fixed_range=192.168.30.0/24 iscsi_helper=ietadm iscsi_ip_address=192.168.40.205 rootwrap_config=/etc/nova/rootwrap.conf

network interfaces in /etc/network/interfaces configured as

The primary network interface

auto eth0 iface eth0 inet static address 192.168.40.205 netmask 255.255.255.0 network 192.168.40.0 broadcast 192.168.40.255 gateway 192.168.40.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 192.168.1.1 dns-search mnil.bc.co.uk

Bridge network interface for VM networks

auto br100 iface br100 inet static address 192.168.30.1 netmask 255.255.255.0 bridge_stp off ... (more)

edit retag flag offensive close merge delete

11 answers

Sort by ยป oldest newest most voted
0

answered 2012-12-04 09:57:16 -0600

rajeshkannan007 gravatar image

Hi David,

Its seems like nothing is wrong with your nova.conf

try the following command

$ sudo nova-manage network create private --fixed_range_v4=192.168.30.0/24 --num_networks=1 --bridge=br100 --bridge_interface=eth0 --network_size=256

i changed the value of this command as per your configuration file, try this...

DON'T FORGET TO INCLUDE SUDO IN THE BEGINNING OF THE COMMAND

let me know its working or not..

Regards, Rajesh kannan

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: 2012-11-01 10:43:58 -0600

Seen: 263 times

Last updated: Dec 04 '12