← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2021814] Related fix merged to neutron (master)

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/884711
Committed: https://opendev.org/openstack/neutron/commit/878ea0dfd5e0af358b3d0bbd3a7888b55569d7cf
Submitter: "Zuul (22348)"
Branch:    master

commit 878ea0dfd5e0af358b3d0bbd3a7888b55569d7cf
Author: Arnaud Morin <arnaud.morin@xxxxxxxxxxxx>
Date:   Tue May 30 16:48:32 2023 +0200

    Add a new option to enable signals
    
    When running behind a wsgi server like apache/mod_wsgi, neutron should
    not register on Signals, it will overlap with the Signals registered by
    the wsgi server.
    
    Related-Bug: #2021814
    
    Change-Id: I3c74846a8337d019f1ab6759ebb03f18c3f00238
    Signed-off-by: Arnaud Morin <arnaud.morin@xxxxxxxxxxxx>


** 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/2021814

Title:
  Running neutron under wsgi should not register signals

Status in neutron:
  Fix Released

Bug description:
  When running neutron behing apache mod_wsgi, neutron should not
  register any signal.

  The signals are ignored by mod_wsgi but some traceback are printed in
  logs:

  in plugins/ml2/ovo_rpc.py

  signal.signal(signal.SIGINT, _ObjectChangeHandler.clean_up)
  mod_wsgi (pid=10202): Callback registration for signal 15 ignored.

  Also, when enabling Guru Meditation Reports, neutron is not able to take oslo_reports parameters into account.
  See:
  https://github.com/openstack/neutron/blob/master/neutron/cmd/__init__.py
  https://github.com/openstack/oslo.reports/blob/master/oslo_reports/guru_meditation_report.py

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



References