openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #09252
Re: problem with quantum
Hi William,
>From the looks of it, you seem to be trying to use the Quantum
LinuxBridge plugin and facing the issue. The error you mention below
suggests that you might not be pointing to the right
linuxnet_interface_driver (you should be seeing bridge names starting
with a "brq-" and then first 11 characters of the network uuid, not the
entire uuid). In the snippet of the nova.conf that you have below, I see
that the option names for the drivers are spelt incorrectly as "*_drive"
as opposed to "*_driver"; you should be having:
libvirt_vif_driver=nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver
linuxnet_interface_driver=nova.network.linux_net.QuantumLinuxBridgeInter
faceDriver
Also, in case you are using devstack for your installation, you might
want to look at the changes in this patch for getting the Quantum Linux
Bridge plugin to work:
https://review.openstack.org/#change,5667
Thanks,
~Sumit.
From: openstack-bounces+snaiksat=cisco.com@xxxxxxxxxxxxxxxxxxx
[mailto:openstack-bounces+snaiksat=cisco.com@xxxxxxxxxxxxxxxxxxx] On
Behalf Of William Herry
Sent: Tuesday, March 27, 2012 10:00 PM
To: openstack@xxxxxxxxxxxxxxxxxxx
Subject: [Openstack] problem with quantum
Hi
I am try quantum on my test environment, without quantum it works fine,
when I try to use quantum, I can't make it work, I notice that in
nova-network.log there some thing like this
2012-03-28 10:38:28 DEBUG nova.utils [-] Running cmd (subprocess): sudo
brctl addbr 332a1a19-d6da-4bee-9836-42d4228a786b from (pid=7105) execute
/opt/stack/nova/nova/utils.py:217
332a1a19-d6da-4bee-9836-42d4228a786b if my network's uuid, and it can
not success because it is too long
(nova.rpc.amqp): TRACE: Stderr: "iptables-restore v1.4.12: interface
name `332a1a19-d6da-4bee-9836-42d4228a786b' must be shorter than
IFNAMSIZ (15)\nError occurred at line: 31\nTry `iptables-restore -h' or
'iptables-restore --help' for more information.\n"
why this happen, can any one point out where is my problem
here is the line i add to nova.conf
network_manager=nova.network.quantum.manager.QuantumManager
libvirt_vif_type=ethernet
libvirt_vif_drive=nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver
linuxnet_interface_drive=nova.network.linux_net.QuantumLinuxBridgeInterf
aceDriver
quantum_use_dhcp=true
multi_host=true
quantum is already configured according to Quantum Admin Guide and
/opt/stack/quantum/quantum/plugins/linuxbridge/README
Thanks
--
Where there is a will, there is a way.
WilliamHerryChina@xxxxxxxxx
References