Quantum (Folsom): source bridge is not set during VM booting
Hi,
I'm trying to run Folsom with Quantum but I have a problem. I configured a multihost infrastructure with five hosts and
I configured Quantum with the Open vSwitch Plugin with tunneling and non-overlapping tenant networks.
Now I can create a network, but when I boot a Virtual Machine the instance obtains an IP address,
according to the specified network, but enter in the ERROR state.
Quantum server is running correctly and all services on the compute nodes are ok.
Looking at the log I found:
2012-11-14 13:38:17 DEBUG nova.virt.
<uuid>
<name>
<memory>
<vcpu>1</vcpu>
<os>
<type>
<boot dev="hd"/>
</os>
<features>
<acpi/>
</features>
<clock offset="utc">
<timer name="pit" tickpolicy=
<timer name="rtc" tickpolicy=
</clock>
<cpu mode="host-model" match="exact"/>
<devices>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vda"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="none"/>
<source file="/
<target bus="virtio" dev="vdb"/>
</disk>
<interface type="bridge">
<mac address=
<model type="virtio"/>
<source bridge=""/>
<filterref filter=
<parameter name="IP" value="10.1.1.3"/>
<parameter name="DHCPSERVER" value="10.1.1.2"/>
<parameter name="PROJNET" value="10.1.1.0"/>
<parameter name="PROJMASK" value="
</filterref>
</interface>
<serial type="file">
<source path="/
</serial>
<serial type="pty"/>
<input type="tablet" bus="usb"/>
<graphics type="vnc" autoport="yes" keymap="en-us" listen=
</devices>
</domain>
from (pid=22681) to_xml /usr/lib/
2012-11-14 13:38:37 ERROR nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
2012-11-14 13:38:37 TRACE nova.compute.
Notice that in the XML file the bridge field is empty.
On the physical machine the bridge br-int exists.
Here are the configuration files:
#######
1) ovs_quantum_
#######
[DATABASE]
sql_connection = mysql:/
reconnect_interval = 2
[OVS]
tenant_network_type = gre
enable_tunneling = True
tunnel_id_ranges = 1:1000
integration_bridge = br-int
tunnel_bridge = br-tun
local_ip = 10.0.0.3
[AGENT]
root_helper = sudo /usr/bin/
#######
2) nova.conf
#######
[DEFAULT]
#LOGSTATE
verbose=True
logdir=
state_path=
lock_path=
#NETWORK
dhcpbridge_
dhcpbridge=
force_dhcp_
firewall_
linuxnet_
#QUANTUM
network_api_class = nova.network.
quantum_url = http://<IP>:9696
quantum_
quantum_
quantum_
quantum_
quantum_
my_ip=<IP>
fixed_range=
#VOLUMES
volumes_
iscsi_helper=tgtadm
#COMPUTE
libvirt_
connection_
libvirt_type=kvm
compute_
root_helper=sudo nova-rootwrap /etc/nova/
allow_resize_
libvirt_
#API
ec2_private_
api_paste_
multi_host=True
enabled_
metadata_host=<IP>
metadata_port=8775
#DATABASE
sql_connection=
# GLANCE
image_service=
glance_
#MESSAGES
rabbit_host = <IP>
#AUTHENTICATION
auth_strategy=
[keystone_
auth_host = <IP>
auth_port = 35357
auth_protocol = http
auth_uri = <IP>
admin_tenant_name = service
admin_user = nova
admin_password = password
vncserver_
#######
And finally, ovs-vsctl show
#######
5c698d39-
Bridge br-tun
Port br-tun
Port patch-int
Bridge br-int
Port br-int
Port "tap707e8c7a-b0"
tag: 4095
Port patch-tun
Port "tapb797ae3a-e6"
tag: 1
Bridge br-ex
Port br-ex
Port "eth1:1"
ovs_version: "1.4.0+build0"
What am I doing wrong?
Thanks in advance! :)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mattia Peirano
- Solved:
- Last query:
- Last reply: