← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1811126] Re: DHCPAgentOVSTestCase.test_stale_metadata_proxy_killed fails with RuntimeError: Stale metadata proxy didn't get killed

 

Reviewed:  https://review.openstack.org/634390
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=d471a85931d6f6495efdb8ff43bf903e3e1d639d
Submitter: Zuul
Branch:    master

commit d471a85931d6f6495efdb8ff43bf903e3e1d639d
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date:   Fri Feb 1 11:04:56 2019 +0100

    Ensure dnsmasq is down before enabling it in restart method
    
    Dnsmasq driver used by dhcp agent has restart() method which is
    calling disable() and then enable() dnsmasq process again.
    What can be observed in functional tests from time to time it may
    happen that start dnsmasq process will be called before old process
    is really down. That leads to error that IP address to which
    dnsmasq wants to bind is already in use and it fails to start.
    
    This patch adds possibility to call disable() method with block flag
    set to True. In such case driver will ensure in disable() method that
    process is really not active.
    This blocking disable() is used in restart() method now.
    
    Change-Id: I419a451633badbc3d32edcee1945fca3e3d9f6be
    Closes-Bug: #1811126


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  DHCPAgentOVSTestCase.test_stale_metadata_proxy_killed fails with
  RuntimeError: Stale metadata proxy didn't get killed

Status in neutron:
  Fix Released

Bug description:
  Functional gate test(s) have been failing intermittently with the
  following exception:

    RuntimeError: Stale metadata proxy didn't get killed

  The logstash query in [1] shows the frequency of the error.
  The log in [2] shows a sample neutron-functional failure with the error.

  
  [1] http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Stale%20metadata%20proxy%20didn't%20get%20killed%5C%22
  [2] http://logs.openstack.org/57/628057/2/gate/neutron-functional/a8cf0a4/job-output.txt.gz#_2019-01-09_15_55_25_562145

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


References