← Back to team overview

openstack team mailing list archive

Quantum bridge mapping dhcp default route (optsfile tag:tag0 setting?)

 

Hi,

I'm having some trouble with getting a specified default route to the clients with Quantum, DHCP, dnsmasq and bridge mappings.
The DHCP config is created, the opts file has the following content:
tag:tag0,option:router,10.0.0.1

However, the tag option seems to prevent this from working.
The client get the IP of the dhcp server as the default route in stead of the config from the opts file.
(the quantum bridge mapping and dhcp itself work fine)
When I manually remove the "tag:tag0" from the opts file it starts working correctly.

Any clue what could be going on?
Does the tag setting belong in the opt file and if so, what could be preventing the gateway address from propagating to the client?

The setup is as follows:
* Quantum, bridge_mapping, Namespaces disabled
* Runs on Folsom, Scientific Linux 6.3 with openvswitch 1.7.1 kernel module

* quantum net-show
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | 3921b212-4c67-4dd7-ae5f-dd2709e183ab |
| name                      | Physical_Nova_Segment                |
| provider:network_type     | vlan                                 |
| provider:physical_network | default                              |
| provider:segmentation_id  | 20                                   |
| router:external           | False                                |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | eb98af42-27d4-4709-b0fd-1695d65e4a26 |
| tenant_id                 | d4b773abd5204531819a29f909f5c653     |
+---------------------------+--------------------------------------+

* quantum subnet-show
+------------------+----------------------------------------------------+
| Field            | Value                                              |
+------------------+----------------------------------------------------+
| allocation_pools | {"start": "10.0.1.100", "end": "10.0.1.200"} |
| cidr             | 10.0.1.0/24                                     |
| dns_nameservers  |                                                    |
| enable_dhcp      | True                                              |
| gateway_ip       | 10.0.1.1                                      |
| host_routes      |                                                    |
| id               | eb98af42-27d4-4709-b0fd-1695d65e4a26               |
| ip_version       | 4                                                  |
| name             | Nova network                                       |
| network_id       | 3921b212-4c67-4dd7-ae5f-dd2709e183ab               |
| tenant_id        | d4b773abd5204531819a29f909f5c653                   |
+------------------+----------------------------------------------------+

* quantum.conf:
[DEFAULT]
verbose = True
debug = False
use_syslog= True
syslog_log_facility= LOG_LOCAL1

bind_host = 0.0.0.0
bind_port = 9696
core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
api_paste_config = api-paste.ini
auth_strategy = keystone
allow_overlapping_ips = False
rpc_backend = quantum.openstack.common.rpc.impl_kombu
control_exchange = quantum
rabbit_host = rabbit.local
notification_driver = quantum.openstack.common.notifier.list_notifier
list_notifier_drivers = quantum.openstack.common.notifier.rabbit_notifier
[QUOTAS]

* dhcp_agent.ini:
[DEFAULT]
debug = False
state_path = /var/lib/quantum
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
use_namespaces = False
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf


Thanks,
Robert van Leeuwen

Follow ups