[openstack-dev] [glance] tracebacks hidden in LOG.info

Sean Dague sean at dague.net
Wed Jul 9 11:32:13 UTC 2014


Recently looking at a gate failure, which was a 500 error from glance.
So I expected that glance would have a pretty clear trace in the logs.
Filtering at WARN level... it did not. Eventually through timestamp
mapping I found this:
http://logs.openstack.org/33/100933/3/gate/gate-tempest-dsvm-full/e21d71a/logs/screen-g-api.txt.gz#_2014-07-09_00_27_38_268

Dumping a stack trace at INFO level is definitely not cool. This was
very clearly a 500 error in Glance, which needs to be an actual ERROR.
It would be great if there was more info about why it failed (the g-reg
error really should be propagated up, as it turns out this is a deadlock
issue -
http://logs.openstack.org/33/100933/3/gate/gate-tempest-dsvm-full/e21d71a/logs/screen-g-reg.txt.gz#_2014-07-09_00_27_38_261)

Hidding real errors in the logs is something that's just as problematic
as logging things that aren't error as errors.

	-Sean

-- 
Sean Dague
http://dague.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140709/153b10aa/attachment.pgp>


More information about the OpenStack-dev mailing list