Grizzly+Quantum+Linuxbridge does not create bridge interface

Asked by novelkumar

Hi,

I am trying to setup grizzly in a single host VM [Ubuntu 12] with quantum + linuxbridge. I have setup two seperate network [one static and one dhcp], done with keystone and glance but is stuck at Quantum.. After configuring the api, L3 agent, dhcp , linuxbridge plugin etc.. i restart all quentum and dnsmasq services. The service starts fine but there is no bridge created in ifconfig o/p. I can only see eth0 and eth1 along with lo. My quantum config files are:

<snip>

m# cat api-paste.ini | grep -v ^#
[composite:quantum]
use = egg:Paste#urlmap
/: quantumversions
/v2.0: quantumapi_v2_0

[composite:quantumapi_v2_0]
use = call:quantum.auth:pipeline_factory
noauth = extensions quantumapiapp_v2_0
keystone = authtoken keystonecontext extensions quantumapiapp_v2_0

[filter:keystonecontext]
paste.filter_factory = quantum.auth:QuantumKeystoneContext.factory

[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
auth_host = 100.10.10.51
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = quantum
admin_password = secretw0rd

[filter:extensions]
paste.filter_factory = quantum.api.extensions:plugin_aware_extension_middleware_factory

[app:quantumversions]
paste.app_factory = quantum.api.versions:Versions.factory

[app:quantumapiapp_v2_0]
paste.app_factory = quantum.api.v2.router:APIRouter.factory

</snip>

<snip>

#cat dhcp_agent.ini | grep -v ^#
[DEFAULT]
interface_driver = quantum.agent.linux.interface.BridgeInterfaceDriver

dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq

use_namespaces = False

</snip>

<snip>
# cat l3_agent.ini | grep -v ^#

[DEFAULT]

interface_driver = quantum.agent.linux.interface.BridgeInterfaceDriver

use_namespaces = False

auth_url = http://100.10.10.51:35357/v2.0
auth_region = RegionOne
admin_tenant_name = service
admin_user = quantum
admin_password = secret0ne

</snip>

<snip>

# cat quantum.conf | grep -v ^#
[DEFAULT]
verbose = True

lock_path = /var/lock/quantum

log_dir = /var/log/quantum

bind_host = 0.0.0.0

bind_port = 9696

core_plugin = quantum.plugins.linuxbridge.lb_quantum_plugin.LinuxBridgePluginV2

api_paste_config = /etc/quantum/api-paste.ini

auth_strategy = keystone

allow_overlapping_ips = False

control_exchange = quantum

rabbit_host = 100.10.10.51
rabbit_port = 5672
rabbit_retry_interval = 1

notification_driver = quantum.openstack.common.notifier.rpc_notifier

default_notification_level = INFO

notification_topics = notifications

[QUOTAS]

[DEFAULT_SERVICETYPE]

[AGENT]
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf

</snip>

<snip>
# cat linuxbridge_conf.ini | grep -v ^#
[VLANS]
tenant_network_type = vlan

network_vlan_ranges = physnet1:1000:2999

[DATABASE]
sql_connection = mysql://quantumUser:quantumPass@100.10.10.51/quantum
reconnect_interval = 2

[LINUX_BRIDGE]
physical_interface_mappings = physnet1:eth1

[AGENT]
polling_interval = 2

[SECURITYGROUP]
firewall_driver = quantum.agent.linux.iptables_firewall.IptablesFirewallDriver

</snip>

# cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 100.10.10.51
netmask 255.255.255.0
gateway 10.1.192.40

# The primary network interface
auto eth1
iface eth1 inet dhcp

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.1.192.40 0.0.0.0 UG 100 0 0 eth1
10.1.192.0 0.0.0.0 255.255.192.0 U 0 0 0 eth1
100.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

At the point of configuring quantum , it should create a bridge and tap interfaces.. right?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
novelkumar
Solved:
Last query:
Last reply:
Revision history for this message
novelkumar (novel-kumar) said :
#2

# python /usr/bin/quantum-l3-agent --config-file /etc/quantum/quantum.conf --config-file=/etc/quantum/l3_agent.ini 2013-04-15 20:50:10 INFO [quantum.common.config] Logging enabled!
2013-04-15 20:50:10 INFO [quantum.openstack.common.rpc.common] Connected to AMQP server on 100.10.10.51:5672
2013-04-15 20:50:10 INFO [quantum.openstack.common.rpc.common] Connected to AMQP server on 100.10.10.51:5672
2013-04-15 20:50:11 INFO [quantum.agent.l3_agent] L3 agent started
2013-04-15 20:50:16 ERROR [quantum.agent.l3_agent] The external network bridge 'br-ex' does not exist
^C2013-04-15 20:50:36 INFO [quantum.openstack.common.service] Caught SIGINT, exiting

Revision history for this message
novelkumar (novel-kumar) said :
#3

Please delete this question.. I have fixed it..

Revision history for this message
damonhao (haolinknight) said :
#4

please can you say how to fix it?

Revision history for this message
ToneD (x-t-t) said :
#5

I too am having this issue. Any hints on what you did to fix this would be much appreciated.