commit f15031f406b61f12e809e15d1b83bb24cdafd494
Author: Kevin Benton <email address hidden>
Date: Mon Mar 13 15:06:22 2017 -0700
Check for None in _get_agent_fdb for agent
get_agent_by_host can return None in the l2pop
driver so we need to check for that case before
we blindly try to decode configuration values on
the result.
There are a couple of cases that can lead to this.
* The deployment can be misconfigured and is missing
either a tunneling_ip option for the agent on a
host or is missing an L2 agent with that host_id
entirely.
* Multiple mech drivers are in use and a port is being
deleted from an agentless host.
Reviewed: https:/ /review. openstack. org/460867 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f15031f406b 61f12e809e15d1b 83bb24cdafd494
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit f15031f406b61f1 2e809e15d1b83bb 24cdafd494
Author: Kevin Benton <email address hidden>
Date: Mon Mar 13 15:06:22 2017 -0700
Check for None in _get_agent_fdb for agent
get_ agent_by_ host can return None in the l2pop
driver so we need to check for that case before
we blindly try to decode configuration values on
the result.
There are a couple of cases that can lead to this.
* The deployment can be misconfigured and is missing
either a tunneling_ip option for the agent on a
host or is missing an L2 agent with that host_id
entirely.
* Multiple mech drivers are in use and a port is being
deleted from an agentless host.
Related-Bug: #1533013 d1e31e8231a0a6a 2c55f46804c cc78e834a0153d2 19995ce97f)
Closes-Bug: #1672564
Change-Id: I1e79f600172eda
(cherry picked from commit c7fb24b3cb9cda1