No handlers could be found for logger "nova.root"
Bug #720850 reported by
Philippe Berthault
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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.
Changed in nova: | |
status: | New → Invalid |
Changed in nova: | |
status: | Incomplete → Invalid |
To post a comment you must log in.
I've installed OpenStack Nova from the nova-2011.1.tar.gz file as following:
[root]# cd /data Nova/{instances ,networks} Nova/CA
[root]# tar -xzvf nova-2011.1.tar.gz
[root]# mv nova-2011.1 OpenStackNova
[root]# chown -R root:root /data/OpenStackNova
[root]# mkdir /data/OpenStack
[root]# mkdir /var/log/nova
[root]# cd /data/OpenStack
[root]# ./genrootca.sh
[root]# mysql -uroot -pxxxx
mysql> create database nova;
mysql> grant all privileges on *.* to 'root'@'%' with grant option;
mysql> set password for 'root'@'%' = password('xxxx');
mysql> quit;
[root]# cat /data/OpenStack Nova/bin/ nova.conf 172.31. 70.21 source_ ip=172. 31.70.21 driver= nova.auth. dbdriver. DbDriver n=mysql: //root: xxxx@localhost/ nova manager= nova.network. manager. VlanManager /var/log/ nova
--verbose
--nodeamon
--cc_host=
--routing_
--auth_
--sql_connectio
--libvirt_type=qemu
--network_
--logdir=
[root]# cd /data/OpenStack Nova/bin/
[root]# ./nova-manage db sync
No handlers could be found for logger "nova.root"
[root]# ./nova-manage user admin admin
No handlers could be found for logger "nova.root"
[root]# ./nova-manage project create admin admin
No handlers could be found for logger "nova.root"
[root]# mysqlshow -t -u root -prootard nova --+---- ------- -+ --+---- ------- -+ --+---- ------- -+
Database: nova
+------
| Tables | table_type |
+------
+------
With all parameters of the nova.conf file given on the nova-manage
command line, there is no difference and nothing is written in the Nova
database.
There is no log files in the /var/log/nova directory.
I've tried with SLQlite and the problem is identical.
[root]# rpm -qa | grep ^python | sort 2.7-8.fc14. 1.x86_64 amqplib- 0.6.1-2. fc14.noarch anyjson- 0.2.4-2. fc14.noarch boto-1. 9b-5.fc14. noarch bugzilla- 0.6.1-3. fc14.noarch carrot- 0.10.7- 2.fc14. noarch crypto- 2.3-2.fc14. 1.x86_64 daemon- 1.5.2-2. fc14.noarch decorator- 3.2.1-1. fc14.noarch devel-2. 7-8.fc14. 1.x86_64 ethtool- 0.6-1.fc14. x86_64 eventlet- 0.9.12- 1.fc14. noarch fpconst- 0.7.3-7. fc14.noarch gflags- 1.4-2.fc14. noarch GnuPGInterface- 0.3.2-7. fc14.noarch greenlet- 0.3.1-3. fc14.x86_ 64 iniparse- 0.4-2.fc14. noarch IPy-0.70- 2.fc14. noarch iwlib-0. 1-3.fc14. x86_64 ldap-2. 3.10-2. fc14.x86_ 64 libs-2. 7-8.fc14. 1.x86_64 lockfile- 0.8-1.fc14. noarch meh-0.10- 2.fc14. noarch mox-0.5. 3-2.fc14. noarch netaddr- 0.7.5-1. fc14.noarch paramiko- 1.7.6-3. fc14.noarch paste-1. 7.4-7.fc14. noarch pycurl- 7.19.0- 7.fc14. x86_64 routes- 1.12.1- 2.fc14. noarch setuptools- 0.6.14- 3.fc14. noarch simplejson- 2.1.3-1. fc14.x86_ 64 slip-0. 2.13-1. fc14.noarch slip-dbus- 0.2.13- 1.fc14. noarch slip-gtk- 0.2.13- 1.fc14. noarch sqlalchemy- 0.6.6-1. fc14.x86_ 64 telepathy- 0.15.18- 1.fc14. noarch tempita- 0.4-5.fc14. noarch twisted- 10.1.0- 3.fc14. noarch twisted- conch-10. 1.0-1.fc14. x86_64 twisted- core-10. 1.0-3.fc14. x86_64 twisted- lore-10. 1.0-1.fc14. x86_64 twisted- mail-10. 1.0-1.fc14. x86_64 twisted- names-10. 1.0-1.fc14. x86_64 twisted- news-10. 1.0-1.fc14. x86_64
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
python-
p...