yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47989
[Bug 1549860] Re: neutron metadata- after adding a network port to a neutron router, static route is still sent to new VMs
*** This bug is a duplicate of bug 1554825 ***
https://bugs.launchpad.net/bugs/1554825
I am going to close this bug, because the behavior in the description
"After dhcp agent reboot the route to qdhcp is removed from
/var/lib/neutron/dhcp/XYZ/opts and router will handle metadata."
is fixed by this bug: bug 1554825.
With the patch in that bug, when router interface is added/deleted, the
dhcp agent will update the route of metadata service. So, no need to
restart the dhcp agent now, the router will take/leave metadata service.
** This bug has been marked a duplicate of bug 1554825
Cached network object in DHCP agent not updated with router interface changes
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1549860
Title:
neutron metadata- after adding a network port to a neutron router,
static route is still sent to new VMs
Status in neutron:
Confirmed
Bug description:
Metaadata isolated configured. Network and subnet created - ( no --no-gateway option but the network is not connected to a router - there is no router). VM booted - metadata is OK and we have a static route passed to the VM.
Created a router and attached a network port to it ( same network) . Created a new VM and still qdhcp will handle the metadata even though we have the network configured with DG ( /var/lib/neutron/dhcp/XYZ/opts has a static route for 169.254.169.254 and passes it to the new VMs- This is OK ONLY before we added the network to the router) . After dhcp agent reboot the route to qdhcp is removed from /var/lib/neutron/dhcp/XYZ/opts and router will handle metadata.
I strongly believe that if we made no change in the dhcp-agent.ini file, agent restart ( systemctl restart neutron-dhcp-agent) should not affect behavior in any way.
Additionally,
The static route should be removed from /var/lib/neutron/dhcp/XYZ/opts right after the network "XYZ" was added to the router.
BR
Alex
Version- Kilo
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1549860/+subscriptions
References