not enough logging

Bug #1290759 reported by Robert Collins on 2014-03-11
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gregory Haynes

Bug Description

Our CI is very hard to debug - not enough logging data; HPCloud reports they run with more logging, so we probably want to say 'the default is broken' and fix locally while discussing in the -dev forum.

Robert Collins (lifeless) wrote : seeking more information. For now I'm going to propose a change to make verbose the default in TripleO.

Haneef Ali (haneef) wrote :

We are planning to use logging.conf to customize logging. This option is there in keystone, but default setup doesn't use that. We plan to configure this for overcloud and undercloud . Is this acceptable or do we have any other solution?

Steven Hardy (shardy) wrote :

AFAICS, none of the services log anything at all by default in the seed/undercloud:

# ps ax | grep heat
 3687 ? Ss 0:01 /opt/stack/venvs/openstack/bin/python /opt/stack/venvs/openstack/bin/heat-api
 3699 ? Ss 0:01 /opt/stack/venvs/openstack/bin/python /opt/stack/venvs/openstack/bin/heat-api-cfn
 3709 ? Ss 0:01 /opt/stack/venvs/openstack/bin/python /opt/stack/venvs/openstack/bin/heat-api-cloudwatch
 3745 ? Ss 0:01 /opt/stack/venvs/openstack/bin/python /opt/stack/venvs/openstack/bin/heat-engine

# grep log_ /etc/heat/heat.conf
#log_date_format=%Y-%m-%d %H:%M:%S

Because we don't set log_file, everything gets logged only to the console, which presumably means we don't log anything anywhere?

Steven Hardy (shardy) wrote :

Pls ignore that last comment - I'd missed that the console output ends up in /var/log/messages, despite use_syslog being false in the service configuration files.

Fix proposed to branch: master

Changed in tripleo:
assignee: nobody → Gregory Haynes (greghaynes)
status: Triaged → In Progress
Brent Eagles (beagles) wrote :

The associated patch is a year old with no updates. Marking as incomplete.

Changed in tripleo:
status: In Progress → Incomplete

Change abandoned by greghaynes (<email address hidden>) on branch: master
Reason: This is over a year stale

Ben Nemec (bnemec) wrote :

I'm going to call this fixed from a tripleo perspective. Logging is an ongoing discussion in OpenStack, but to my knowledge there aren't any TripleO-specific issues with it at the moment.

Changed in tripleo:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers