I use kolla with pike version. I use three controllers. I patch the first (ctrl01) with your patch but I have always the error log on each controller.
"Hostname": "ctrl01","Payload": "Failed to update device cb5f787c-8cd9-4995-a423-80dd6ea5838c down: AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=compute02 could not be found"
"Hostname": "ctrl02","Payload": "Failed to update device cb5f787c-8cd9-4995-a423-80dd6ea5838c down: AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=compute02 could not be found"
"Hostname": "ctrl03","Payload": "Failed to update device cb5f787c-8cd9-4995-a423-80dd6ea5838c down: AgentNotFoundByTypeHost: Agent with agent_type=L3 agent and host=compute02 could not be found"
patch apply on ctrl01 on "/usr/lib/python2.7/site-packages/neutron/db/l3_agentschedulers_db.py" :
from neutron_lib.exceptions import agent as agent_exc
......
def list_router_ids_on_host(self, context, host, router_ids=None):
try:
agent = self._get_agent_by_type_and_host( context, constants.AGENT_TYPE_L3, host)
except agent_exc.AgentNotFoundByTypeHost: LOG.debug("L3 Agent not found on host %s", host)
return []
if not agentschedulers_db.services_available(agent.admin_state_up):
return []
return self._get_router_ids_for_agent(context, agent, router_ids)
Hi Slawek,
I use kolla with pike version. I use three controllers. I patch the first (ctrl01) with your patch but I have always the error log on each controller.
"Hostname": "ctrl01","Payload": "Failed to update device cb5f787c- 8cd9-4995- a423-80dd6ea583 8c down: AgentNotFoundBy TypeHost: Agent with agent_type=L3 agent and host=compute02 could not be found"
"Hostname": "ctrl02","Payload": "Failed to update device cb5f787c- 8cd9-4995- a423-80dd6ea583 8c down: AgentNotFoundBy TypeHost: Agent with agent_type=L3 agent and host=compute02 could not be found"
"Hostname": "ctrl03","Payload": "Failed to update device cb5f787c- 8cd9-4995- a423-80dd6ea583 8c down: AgentNotFoundBy TypeHost: Agent with agent_type=L3 agent and host=compute02 could not be found"
patch apply on ctrl01 on "/usr/lib/ python2. 7/site- packages/ neutron/ db/l3_agentsche dulers_ db.py" :
from neutron_ lib.exceptions import agent as agent_exc ids_on_ host(self, context, host, router_ids=None): agent_by_ type_and_ host(
context, constants. AGENT_TYPE_ L3, host) AgentNotFoundBy TypeHost:
LOG. debug(" L3 Agent not found on host %s", host) _db.services_ available( agent.admin_ state_up) : router_ ids_for_ agent(context, agent, router_ids)
......
def list_router_
try:
agent = self._get_
except agent_exc.
return []
if not agentschedulers
return []
return self._get_
Th for your time ;)