Ask Your Question
0

su -s /bin/sh -c 'heat-manage db_sync' heat No handlers could be found for logger "heat.common.config" [closed]

asked 2014-06-10 16:04:38 -0500

danoreilly gravatar image

updated 2014-06-10 16:04:56 -0500

rhel 6.5. When installed openstack-heat, I get the following:

su -s /bin/sh -c 'heat-manage db_sync' heat
No handlers could be found for logger "heat.common.config"

I can't find anything that relates to that error.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by danoreilly
close date 2014-06-23 15:21:57.098811

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-06-10 19:44:31 -0500

larsks gravatar image

The error...

 No handlers could be found for logger "heat.common.config"

...is a generic error from Python's logging module that indicates that the heat-manage command is trying to log something but Python doesn't know what to do with it. This is arguably a bug in the heat-manage cli, which should set up appropriate logging channels before anything attempts to generate a log message.

It's possible that running it with --debug would provide more information.

edit flag offensive delete link more

Comments

This is inarguably a bug in the heat-manage CLI :)

Please file a bug in Launchpad: https://bugs.launchpad.net/heat

zaneb gravatar imagezaneb ( 2014-06-16 14:20:40 -0500 )edit
0

answered 2014-06-11 05:00:09 -0500

manish gravatar image

I also faced the same error, i have changed the connection variable as mentioed below:

originally it was under [database] name space with connection as config variable name:

[database]

connection = mysql://heat:<password>@<controller>/heat

I changed it to [DEFAULT] space and variable to sql_connection.

[DEFAULT]

sql_connection=mysql://heat:<password>@<controller>/heat.

not sure it is the root cause but it solved my problem.

my env was centos6.4 and openstack Havana release.

let me know if it helps you as well

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-06-10 16:04:38 -0500

Seen: 984 times

Last updated: Jun 11 '14