Ask Your Question
0

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

asked 2011-02-09 18:00:33 -0500

everett-toews gravatar image

On a 100% fresh install of Ubuntu 10.10 I do the following: sudo apt-get -y update sudo apt-get -y upgrade

Follow the instructions at http://wiki.openstack.org/NovaInstall/Bexar (http://wiki.openstack.org/NovaInstall...) with one exception. Instead of wget http://launchpad.net/nova/bexar/2011.1/+download/nova-2011.1.tar.gz (http://launchpad.net/nova/bexar/2011....)

I grab the tarball from https://bugs.launchpad.net/nova/+bug/714678 (https://bugs.launchpad.net/nova/+bug/...) and do wget https://bugs.launchpad.net/nova/+bug/714678/+attachment/1838224/+files/nova-2011.1.tar.gz (https://bugs.launchpad.net/nova/+bug/...)

When I get to the step to sync the db sudo nova-manage db sync

I get the following error message, No handlers could be found for logger "nova.root"

This is just masking the real error. The workaround to see the real error is to add the lines, from nova import log as logging logging.basicConfig()

into /usr/local/bin/nova-manage. At which point you see the error No module named boto

This question isn't about the boto error but the logging workaround. You shouldn't have to throw in workaround code every time you want to see the cause of an error. What can be done here or should I simply submit this as a bug?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-03-15 17:18:51 -0500

everett-toews gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more
0

answered 2011-02-09 18:24:39 -0500

vishvananda gravatar image

logging.basicConfig() is in nova-manage in trunk.

I guess it didn't make it into bexar.

Vish

On Feb 9, 2011, at 10:00 AM, Everett Toews wrote:

New question #144763 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

On a 100% fresh install of Ubuntu 10.10 I do the following: sudo apt-get -y update sudo apt-get -y upgrade

Follow the instructions at http://wiki.openstack.org/NovaInstall... with one exception. Instead of wget http://launchpad.net/nova/bexar/2011....

I grab the tarball from https://bugs.launchpad.net/nova/+bug/... and do wget https://bugs.launchpad.net/nova/+bug/...

When I get to the step to sync the db sudo nova-manage db sync

I get the following error message, No handlers could be found for logger "nova.root"

This is just masking the real error. The workaround to see the real error is to add the lines, from nova import log as logging logging.basicConfig()

into /usr/local/bin/nova-manage. At which point you see the error No module named boto

This question isn't about the boto error but the logging workaround. You shouldn't have to throw in workaround code every time you want to see the cause of an error. What can be done here or should I simply submit this as a bug?


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-02-09 18:00:33 -0500

Seen: 88 times

Last updated: Mar 15 '11