← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1401042] Re: Race condition in Process Monitor / disable proccess

 

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

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

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

Title:
  Race condition in Process Monitor / disable proccess

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

Bug description:
  When we disable a monitored process via ProcessMonitor, and the
  monitoring loop is running a

  RuntimeError: dictionary changed size during iteration

  will happen here:

  https://github.com/openstack/neutron/blob/master/neutron/agent/linux/external_process.py#L223

  This can be prevented by either, getting the full list of .keys() for
  the loop, or adding extra locking.

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


References