← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1532053] [NEW] No handlers could be found for logger "oslo_reports.guru_meditation_report"

 

Public bug reported:

Support for Guru Meditation Report was merged on December 9th by [1].
Since then running anything found in neutron/cmd produces the error:

No handlers could be found for logger
"oslo_reports.guru_meditation_report"

This is causing the neutron-pd-notify command to fail when called by the
dibbler-client process, and could be causing other as-yet undiscovered
issues.

The issue is solved by importing config from neutron .common before
calling gmr.TextGuruMeditation.setup_autorun(version=_version_string) on
line 20 of neutron/cmd/__init__.py

Importing config in this manner causes other issues however, so at the
moment the solution seems to be to remove the contents of __init__.py
altogether, and move the necessary lines into the individual python
files of neutron/cmd

[1] https://review.openstack.org/#/c/250487

** Affects: neutron
     Importance: Undecided
     Assignee: John Davidge (john-davidge)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => John Davidge (john-davidge)

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

Title:
  No handlers could be found for logger
  "oslo_reports.guru_meditation_report"

Status in neutron:
  New

Bug description:
  Support for Guru Meditation Report was merged on December 9th by [1].
  Since then running anything found in neutron/cmd produces the error:

  No handlers could be found for logger
  "oslo_reports.guru_meditation_report"

  This is causing the neutron-pd-notify command to fail when called by
  the dibbler-client process, and could be causing other as-yet
  undiscovered issues.

  The issue is solved by importing config from neutron .common before
  calling gmr.TextGuruMeditation.setup_autorun(version=_version_string)
  on line 20 of neutron/cmd/__init__.py

  Importing config in this manner causes other issues however, so at the
  moment the solution seems to be to remove the contents of __init__.py
  altogether, and move the necessary lines into the individual python
  files of neutron/cmd

  [1] https://review.openstack.org/#/c/250487

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


Follow ups