← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1424578] Re: DetachedInstanceError when binding network to agent

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => kilo-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1424578

Title:
  DetachedInstanceError when binding network to agent

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  TRACE neutron.db.agentschedulers_db Traceback (most recent call last):
  TRACE neutron.db.agentschedulers_db   File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedulers_db.py", line 192, in _schedule_network
  TRACE neutron.db.agentschedulers_db     agents = self.schedule_network(context, network)
  TRACE neutron.db.agentschedulers_db   File "/usr/lib/python2.7/dist-packages/neutron/db/agentschedulers_db.py", line 400, in schedule_network
  TRACE neutron.db.agentschedulers_db     self, context, created_network)
  TRACE neutron.db.agentschedulers_db   File "/usr/lib/python2.7/dist-packages/neutron/scheduler/dhcp_agent_scheduler.py", line 91, in schedule
  TRACE neutron.db.agentschedulers_db     self._schedule_bind_network(context, chosen_agents, network['id'])
  TRACE neutron.db.agentschedulers_db   File "/usr/lib/python2.7/dist-packages/neutron/scheduler/dhcp_agent_scheduler.py", line 51, in _schedule_bind_network
  TRACE neutron.db.agentschedulers_db     LOG.info(_('Agent %s already present'), agent)
  ...
  TRACE neutron.db.agentschedulers_db DetachedInstanceError: Instance <Agent at 0x5ff1710> is not bound to a Session; attribute refresh operation cannot proceed
  2015-02-21 14:45:15.927 1417 TRACE neutron.db.agentschedulers_db

  Need to print saved agent_id instead of using db object.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1424578/+subscriptions


References