Host route to metadata server is not propagated to VM with Big Switch/Floodlight plugin

Bug #1134043 reported by Sumit Naiksatam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Sumit Naiksatam

Bug Description

The reason seems to be that the update to the subnet (with the host route information) is not being picked up by the dhcp agent.

Changed in quantum:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Sumit Naiksatam (snaiksat)
milestone: none → grizzly-rc1
Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

Sumit, are you trying to inject a metadata host route via the Quantum API?

Something like:
dest 169.254.169.254/32
nexthop <ip of dhcp agent>

In that case the dhcp agent now has 'native' support for this via the 'enable_isolated_metadata' option.
Also the dhcp agent also allows for routed access to the metadata server even without the l3 agent.

Would that solve your problem?

Revision history for this message
Sumit Naiksatam (snaiksat) wrote :

Thanks Salvatore, yes I wanted to inject that route. I did try setting 'enable_isolated_metadata' to True, however the opts file does not get this route. Let me know if you have any other suggestions on the configuration.

Revision history for this message
Sumit Naiksatam (snaiksat) wrote :

It seems that the 'enable_isolated_metadata' is effective only when the gateway IP for the subnet is not set. In this case I want the host route to point to <ip of dhcp agent> regardless. I am pushing a patch to do this.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/23248

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/23248
Committed: http://github.com/openstack/quantum/commit/f1efd89131f4773514089ab48424c91b795eac83
Submitter: Jenkins
Branch: master

commit f1efd89131f4773514089ab48424c91b795eac83
Author: Sumit Naiksatam <email address hidden>
Date: Thu Feb 28 22:00:32 2013 -0800

    Host route to metadata server with Bigswitch/Floodlight Plugin

    Host route to metadata server was not getting propagated
    to VM when using the Big Switch/Floodlight plugin. The
    reason being the update to the subnet (with the host
    route information) was not being picked up by the dhcp
    agent. This is being fixed here by sending a notification
    to the dhcp agent when the host route is added to the subnet.

    Fixes: Bug #1134043

    Change-Id: If040f51946bcb734da319249df17d03e68aa5588

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.