← Back to team overview

openstack team mailing list archive

Re: Network configuration on compute node

 

Hello Ajiva,

You are right, I was missing the option flat_interface in my nova.conf, now when OpenStack creates the bridge, it is attached to eth2:

> brctl show

bridge name     bridge id               STP enabled     interfaces
br100           8000.68b599c23b0e       no              eth2
                                                       vnet0

However it is still not working... Also, br100 is created without IP address, but is not working either even if I assign it a random one. Here is my nova.conf in the compute node:

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
root_helper=sudo nova-rootwrap
auth_strategy=keystone
iscsi_helper=tgtadm
sql_connection=mysql://nova-common:secret@172.16.8.1/nova
connection_type=libvirt
libvirt_type=kvm
my_ip=172.16.8.21
rabbit_host=172.16.8.1
glance_host=172.16.8.1
image_service=nova.image.glance.GlanceImageService
network_manager=nova.network.manager.FlatDHCPManager
network_host=172.16.8.1
fixed_range=192.168.100.0/24
flat_interface=eth2
flat_network_bridge=br100

Thank you,

Javi

On 28/02/13 02:57, Ajiva Fan wrote:
the output of `#brclt show` shows that your br100 is not bridged on any nic
and the output of `ifconfig` shows that your br100 get no ipv4 addr

br100 plays roles of:
1) gateway
2) dhcp server
3) dns server

so since your br100 is not created correctly, i think the vm will not
get an ip trough dhcp

please paste your nova.conf file, especially the network part. hope
someone will find the problem


--
Javier Álvarez Cid-Fuentes
Grid Computing and Clusters Group
Barcelona Supercomputing Center (BSC-CNS)
Tel. (+34) 93 413 72 46


WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer


References