No handlers could be found for logger "nova.root"

Asked by Philippe Berthault

The "nova-manage" command do nothing and systematically returns the following message:
No handlers could be found for logger "nova.root"

Nothing is written in the Nova database when I try to execute nova-manage db sync,
nova-manage user ..., nova-manage project create ... commands.

My configuration:
 - OpenStack Nova 2011.1 on a Fedora-14 x86_64 system.
 - Nova uses a MySQL database.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thierry Carrez (ttx) said :
#1

This is, I think, symptomatic of nova-manage not finding a configuration file. Could you try running nova-manage with the --flagfile option pointing to a nova.conf with a --sql_connection pointing to your MySQL setup...

If that doesn't work, could you give precisions on your setup ? How did you deploy nova on that Fedora box ?

Revision history for this message
Jesse Andrews (anotherjesse) said :
#2

This is a bug (vish is working on it) -- when an exception occurs before logging is setup, logging prints:

  No handlers could be found for logger "nova.root"

Hopefully his patch will help determine what the real issue is.

Revision history for this message
shihangwei (shihangwei) said :
#3

Can you help with this problem?

Provide an answer of your own, or ask Philippe Berthault for more information if necessary.

To post a message you must log in.