The log level for Neutron services is WARNING

Bug #1412895 reported by Simon Pasquier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Bartłomiej Piotrowski
6.0.x
Won't Fix
High
MOS Maintenance

Bug Description

I've just noticed that with Fuel 6.0, Neutron services are configured with "Verbose=False" meaning that only WARNING and higher messages are logged. It used to be Verbose=True in previous Fuel versions and this is usually the log level you expect.

I spotted the line that introduces this change in the Puppet manifests [1]. Uncommenting the line fixes the "issue".

[1] https://github.com/stackforge/fuel-library/blob/stable/6.0/deployment/puppet/openstack/manifests/network.pp#L134

Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
tags: added: neutron
Changed in fuel:
milestone: none → 6.1
importance: Undecided → High
status: New → Triaged
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Bartlomiej Piotrowski (bpiotrowski)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/148858

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/148858
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=04b3f05834029064995f30dd465a2ebe184cd957
Submitter: Jenkins
Branch: master

commit 04b3f05834029064995f30dd465a2ebe184cd957
Author: Bartłomiej Piotrowski <email address hidden>
Date: Wed Jan 21 10:46:12 2015 +0100

    Re-enable verbose logging for Neutron

    Otherwise only WARNING and higher messages are logged.

    Change-Id: I4a0b19f57956c9e558fe8ebf9a526d16eb7bec67
    Closes-Bug: 1412895

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Bartłomiej Piotrowski (bpiotrowski) wrote :

I have some concerns whether this change makes any sense. The only change introduced to server.log is additional lines related to neutron.wsgi, ergo Neutron API layer. When only one controller and one compute nodes are used, the log grows by 3-5 lines every 15 seconds.

Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

I don't think that is a problem if logrotate is properly configured. Like I said in the original description, I think that not having INFO level by default is a usability issue. When you ask OpenStack operators, everybody agrees that it is ok and desirable to go with INFO level in production. Also all other services are running at INFO so why not Neutron?

In my particular use case, I expect this to monitor the Neutron API response time and returned codes.

tags: added: system-test-not-required
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/156517

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/6.0)

Change abandoned by Bart?omiej Piotrowski (<email address hidden>) on branch: stable/6.0
Review: https://review.openstack.org/156517

Revision history for this message
Ryan Moe (rmoe) wrote :

Marking as confirmed for 6.0.1. I don't see how a high-priority bug can be invalid for 6.0 but valid for 6.0-updates

Revision history for this message
Alexander Nevenchannyy (anevenchannyy) wrote :

Verified on MOS 6.1 ISO #429
Steps to Verify:

root@node-1:/# cat /etc/neutron/neutron.conf | grep verbose
# Print more verbose output (set logging level to INFO instead of default WARNING level).
# verbose = False
verbose = True

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.