[Openstack] Linux-bridge problems

Kevin Tibi kodokuu at gmail.com
Wed Aug 7 13:04:04 UTC 2013


root at openstack:/home/openstack# cat
/etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini
[VLANS]
tenant_network_type = vlan
network_vlan_ranges = physnet1:1000:2999

[DATABASE]
sql_connection = mysql://quantumUser:quantumPass@10.10.100.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

----------------------------------------------------------------------
root at openstack:/home/openstack# cat /etc/nova/nova.conf
[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
compute_scheduler_driver=nova.scheduler.simple.SimpleScheduler
rabbit_host=10.10.100.51
nova_url=http://10.10.100.51:8774/v1.1/
sql_connection=mysql://novaUser:novaPass@10.10.100.51/nova
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf

# Auth
use_deprecated_auth=false
auth_strategy=keystone

# Imaging service
glance_api_servers=10.10.100.51:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.255.254.220:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=10.10.100.51
vncserver_listen=0.0.0.0

# Metadata
service_quantum_metadata_proxy = True
quantum_metadata_proxy_shared_secret = helloOpenStack

# Network settings
network_api_class=nova.network.quantumv2.api.API
quantum_url=http://10.10.100.51:9696
quantum_auth_strategy=keystone
quantum_admin_tenant_name=service
quantum_admin_username=quantum
quantum_admin_password=service_pass
quantum_admin_auth_url=http://10.10.100.51:35357/v2.0
libvirt_vif_driver=nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver
linuxnet_interface_driver=nova.network.linux_net.LinuxBridgeInterfaceDriver
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver

# Compute #
compute_driver=libvirt.LibvirtDriver

# Cinder #
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900



2013/8/7 Ritesh Nanda <riteshnanda09 at gmail.com>

> logs shows it is not able to identify the driver you are trying to use ,
> can you share linuxbridge ini file and nova.conf .
>
>
> On Wed, Aug 7, 2013 at 6:22 PM, Kevin Tibi <kodokuu at gmail.com> wrote:
>
>> New warning :
>>
>> /var/log/quantum/server.log:2013-08-07 14:44:26  WARNING
>> [quantum.api.extensions] Extension service-type not supported by any of
>> loaded plugins
>> /var/log/quantum/server.log:2013-08-07 14:44:26  WARNING
>> [quantum.api.extensions] Extension flavor not supported by any of loaded
>> plugins
>> /var/log/quantum/server.log:2013-08-07 14:44:26  WARNING
>> [quantum.api.extensions] Extension router-service-type not supported by any
>> of loaded plugins
>> /var/log/quantum/server.log:2013-08-07 14:44:26  WARNING
>> [quantum.api.extensions] Extension routed-service-insertion not supported
>> by any of loaded plugins
>> /var/log/quantum/server.log:2013-08-07 14:44:26  WARNING
>> [quantum.api.extensions] Extension security-group not supported by any of
>> loaded plugins
>> /var/log/quantum/server.log:2013-08-07 14:44:26  WARNING
>> [quantum.api.extensions] Extension lbaas not supported by any of loaded
>> plugins
>> /var/log/quantum/server.log:2013-08-07 14:44:26  WARNING
>> [quantum.api.extensions] Extension port-security not supported by any of
>> loaded plugins
>> /var/log/quantum/server.log:2013-08-07 14:44:26  WARNING
>> [quantum.scheduler.dhcp_agent_scheduler] DHCP agent
>> 3db077ae-8109-4e2d-9de2-e980376d2d33 is not active
>> /var/log/quantum/server.log:2013-08-07 14:49:16  WARNING
>> [quantum.db.agentschedulers_db] Fail scheduling network {'status':
>> u'ACTIVE', 'subnets': [u'e2c5ff38-3533-4472-812d-7fed7c2a123c'], 'name':
>> u'net_one', 'provider:physical_network': None, 'admin_state_up': True,
>> 'tenant_id': u'22548e607c4848bb9dc589244a3b67e8', 'provider:network_type':
>> 'local', 'router:external': False, 'shared': False, 'id':
>> u'486fec60-0b16-4e57-8b20-2ba20082578c', 'provider:segmentation_id': None}
>>
>>
>>
>> 2013/8/7 Kevin Tibi <kodokuu at gmail.com>
>>
>>> It's my l3-agent.ini
>>>
>>> [DEFAULT]
>>> interface_driver = quantum.agent.linux.interface.BridgeInterfaceDriver
>>> external_network_bridge =
>>>
>>> I use quantum because im on grizzly
>>>
>>>
>>> 2013/8/7 Ritesh Nanda <riteshnanda09 at gmail.com>
>>>
>>>> hi,
>>>>
>>>> I did'nt knew your were trying linux-bridge , i just saw the error in
>>>> l3-agent.ini.
>>>> In case of linux bridge have you specified these two parameters in
>>>> l3-agent.ini
>>>>
>>>> *Linux Bridge*
>>>> interface_driver ($NEUTRON_CONF_DIR/l3_agent.ini)
>>>> neutron.agent.linux.interface.BridgeInterfaceDriver external_network_bridge
>>>> ($NEUTRON_CONF_DIR/l3_agent.ini) This field must be empty (or the
>>>> bridge name for the external network).
>>>>
>>>> Can you paste your conf files of quantum.
>>>>
>>>>
>>>> On Wed, Aug 7, 2013 at 5:19 PM, Kevin Tibi <kodokuu at gmail.com> wrote:
>>>>
>>>>> Hi, thank you for the answer,
>>>>>
>>>>> So, for br-ex the tutorial never mentions it so I do not understand
>>>>> why I have this error. I dont use ovs, just linux bridge.
>>>>>
>>>>>
>>>>> 2013/8/7 Ritesh Nanda <riteshnanda09 at gmail.com>
>>>>>
>>>>>> hello kevin ,
>>>>>>
>>>>>> Log shows it is not able to  get br-ex interface , did you created
>>>>>> this interface , as we need to create this interface manually by runnig
>>>>>> this command
>>>>>>
>>>>>> sudo ovs-vsctl add-br br-ex
>>>>>> $ sudo ovs-vsctl add-port br-ex <external interface>
>>>>>>
>>>>>> Please verify this interface using ovs-vsctl show , it would show like this
>>>>>>
>>>>>> Bridge br-ex
>>>>>>         Port "eth2"(in my case this is the external interface)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             Interface "eth2"
>>>>>>         Port "qg-e2df07f2-81"
>>>>>>             Interface "qg-e2df07f2-81"
>>>>>>                 type: internal
>>>>>>         Port "qg-0ed547e2-8f"
>>>>>>             Interface "qg-0ed547e2-8f"
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>                 type: internal
>>>>>>         Port br-ex
>>>>>>             Interface br-ex
>>>>>>                 type: internal
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Aug 7, 2013 at 2:35 PM, Kevin Tibi <kodokuu at gmail.com> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I have problems with a single node platform.
>>>>>>> I followed this tutorial:
>>>>>>> https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/master/OpenStack_Grizzly_Install_Guide.rst
>>>>>>>
>>>>>>> I can not ping my VMs. I can ping the router and dhcp. As against
>>>>>>> the dhcp can not ping the router and VMS. but Vm can ping DHCP serveur in
>>>>>>> logs.
>>>>>>>
>>>>>>> I think i have a probleme with linux bridge.
>>>>>>>
>>>>>>> Thx,
>>>>>>>
>>>>>>> Kevin.
>>>>>>>
>>>>>>> ----------------------------------
>>>>>>> /var/log/quantum/l3-agent.log:2013-08-06 17:17:49    ERROR
>>>>>>> [quantum.agent.l3_agent] The external network bridge 'br-ex' does not exist
>>>>>>>
>>>>>>> -------------------------------------
>>>>>>> root at openstack:/home/openstack# brctl show
>>>>>>> bridge name     bridge id               STP enabled     interfaces
>>>>>>> brq486fec60-0b          8000.3a6f4e3444d2       no
>>>>>>>  tap483bab99-5a
>>>>>>>
>>>>>>> tap9dab335c-ba
>>>>>>>
>>>>>>> ----------------------------
>>>>>>> root at openstack:/home/openstack# ip netns
>>>>>>> qdhcp-486fec60-0b16-4e57-8b20-2ba20082578c
>>>>>>>
>>>>>>> ----------------------------
>>>>>>> log VM :
>>>>>>>
>>>>>>> ### route n
>>>>>>> Kernel IP routing table
>>>>>>> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
>>>>>>> 0.0.0.0         50.50.1.1       0.0.0.0         UG    0      0        0 eth0
>>>>>>> 50.50.1.0       0.0.0.0         255.255.255.0   U     0      0        0 eth0
>>>>>>> ### cat /etc/resolv.conf
>>>>>>> search openstacklocal
>>>>>>> nameserver 50.50.1.2
>>>>>>> ### ping c 5 50.50.1.1
>>>>>>> PING 50.50.1.1 (50.50.1.1): 56 data bytes
>>>>>>>
>>>>>>>  50.50.1.1 ping statistics
>>>>>>> 5 packets transmitted, 0 packets received, 100% packet loss
>>>>>>> ### pinging nameservers
>>>>>>> #### ping c 5 50.50.1.2
>>>>>>> PING 50.50.1.2 (50.50.1.2): 56 data bytes
>>>>>>> 64 bytes from 50.50.1.2: seq=0 ttl=64 time=0.358 ms
>>>>>>>
>>>>>>> ===== cloudfinal: system completely up in 126.94 seconds ====
>>>>>>> wget: can't connect to remote host (169.254.169.254): No route to host
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Mailing list:
>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>> Post to     : openstack at lists.openstack.org
>>>>>>> Unsubscribe :
>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> * With Regards
>>>>>> *
>>>>>>
>>>>>> * Ritesh Nanda
>>>>>> *
>>>>>>
>>>>>> ***
>>>>>> *
>>>>>> <http://www.ericsson.com/>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> * With Regards
>>>> *
>>>>
>>>> * Ritesh Nanda
>>>> *
>>>>
>>>> ***
>>>> *
>>>> <http://www.ericsson.com/>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>
>
> --
>
> * With Regards
> *
>
> * Ritesh Nanda
> *
>
> ***
> *
> <http://www.ericsson.com/>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130807/e5193c01/attachment.html>


More information about the Openstack mailing list