← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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)

** Affects: nova
     Importance: Undecided
     Assignee: Stephen Finucane (sfinucan)
         Status: Confirmed

-- 
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 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/nova/+bug/1511505/+subscriptions


Follow ups