← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1511505] Re: No handlers could be found for logger "oslo_config.cfg"

 

That option has been deprecated in oslo_log:

https://github.com/openstack/oslo.log/blob/69e0ba3d75f0fa6411e9f3e8344049a625979fd8/oslo_log/_options.py#L33

** Also affects: devstack
   Importance: Undecided
       Status: New

** Changed in: devstack
       Status: New => Confirmed

** Changed in: devstack
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1511505

Title:
  No handlers could be found for logger "oslo_config.cfg"

Status in devstack:
  In Progress
Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  Whenever I run a command using 'nova-manage', I get an unrelated
  warning followed by the output of my command:

      $ nova-manage vm list
      No handlers could be found for logger "oslo_config.cfg"
      instance   node            type       state      launched ...
      ....

  Based on a quick bit of work with pdb, it seems this line is the
  culprit:

  https://github.com/openstack/oslo.config/blob/e208b500464f25930392c48c6748a48c752f1ccf/oslo_config/cfg.py#L774

  We'd likely see this issue earlier/more often were a more verbose
  logging configuration set for 'oslo_config', but this is the only
  logging message typically issues by this . This is not a 'oslo_config'
  issue but a 'nova' one: the logger just seems to be misconfigured.

  There's also the issue of why this warning is occuring. I suspect out
  of date configuration in devstack (which I'm using)

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


References