L2GatewayAgentScheduler references is_agent_down from deprecated location (it was move to neutron.agent.common.utils)

Bug #1719298 reported by Lajos Katona
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-l2gw
Fix Released
Undecided
Unassigned

Bug Description

networking_l2gw.services.l2gateway.agent_scheduler.L2GatewayAgentScheduler.monitor_agent_state uses is_agent_down method, and this method was deprecated in Ocata, and now (Queens) it is finally removed:
https://review.openstack.org/504338

networking-l2gw should change to use the new path for the method:
neutron.agent.common.utils.is_agent_down

Revision history for this message
Ricardo Noriega (rnoriega-b) wrote :

There is already a patch ongoing:

https://review.openstack.org/#/c/507062/

Changing the status to "In progress"

Changed in networking-l2gw:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-l2gw (master)

Reviewed: https://review.openstack.org/507062
Committed: https://git.openstack.org/cgit/openstack/networking-l2gw/commit/?id=4b454b59d00e2083d83a848015939f9596bf835b
Submitter: Jenkins
Branch: master

commit 4b454b59d00e2083d83a848015939f9596bf835b
Author: Lajos Katona <email address hidden>
Date: Mon Sep 25 13:22:08 2017 +0200

    Replace deprecated self.is_agent_down

    Since Ocata neutron.db.agents_db.AgentDbMixin.is_agent_down is
    deprecated and in Queenst is replaced with
    neutron.agent.common.utils.is_agent_down, see:
    https://review.openstack.org/504338

    Change-Id: I6f797b8a1940579a62284b21dcad06d42cdd1c81
    Closes-Bug: 1719298

Changed in networking-l2gw:
status: In Progress → Fix Released
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.