if L3 agent is down, it should not schedule router on it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
shihanzhang |
Bug Description
when neutron server schedule routers, if l3 agent is down, it should not schedule router on it,
def auto_schedule_
l3_agent = plugin.
if not l3_agent:
return False
if l3 agent is down, the 'plugin.
def get_enabled_
"""Return agent of agent_type for the specified host."""
query = context.
query = query.filter(
try:
agent = query.one()
except exc.NoResultFound:
return
if self.is_
return agent
so, ' if self.is_
Changed in neutron: | |
assignee: | nobody → shihanzhang (shihanzhang) |
tags: | added: l3-ipam-dhcp |
auto_schedule_ routers method is called from RPC handler which is invoked by remote L3 agent.
That implies that L3 agent is active and tries to get routers to be scheduled on it.
So I'm not sure if there is a real issue here.