Bug 1047849 - openstack-nova: remove qpid logs from the compute logs
Summary: openstack-nova: remove qpid logs from the compute logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: z2
: 4.0
Assignee: Solly Ross
QA Contact: Gabriel Szasz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-02 11:23 UTC by Yogev Rabl
Modified: 2022-07-09 06:28 UTC (History)
8 users (show)

Fixed In Version: openstack-nova-2013.2.1-4.el6ost
Doc Type: Deprecated Functionality
Doc Text:
In OpenStack Compute, low-level QPID debug log messages are no longer shown by default. These previously appeared due to the 'level=debug' parameter set in the nova.conf file. These messages can be re-enabled by setting 'qpid=INFO' under the default_log_levels option in the nova.conf file.
Clone Of:
Environment:
Last Closed: 2014-03-04 19:04:40 UTC
Target Upstream Version:
Embargoed:
sross: internal-review+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-16400 0 None None None 2022-07-09 06:28:15 UTC
Red Hat Product Errata RHSA-2014:0231 0 normal SHIPPED_LIVE Moderate: openstack-nova security and bug fix update 2014-03-05 00:00:29 UTC

Description Yogev Rabl 2014-01-02 11:23:31 UTC
Description of problem:
The compute logs are been filled with qpid messages, they're format is causing the log to be unfriendly to the user. 
A different log for these kind of messages or a different logging level will be very helpful. 


for an example: 
2014-01-02 03:36:08.650 14873 DEBUG qpid.messaging.io.ops [-] SENT[2f687e8]: MessageFlow(destination='0', unit=0, value=1L, id=serial(84390)) write_op /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:686
2014-01-02 03:36:08.651 14873 DEBUG qpid.messaging.io.ops [-] SENT[2f687e8]: SessionCompleted(commands=[0-84384]) write_op /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:686
2014-01-02 03:36:08.652 14873 DEBUG qpid.messaging.io.raw [-] SENT[2f687e8]: '\x0f\x01\x00\x19\x00\x01\x00\x00\x00\x00\x00\x00\x04\n\x01\x00\x07\x00\x010\x00\x00\x00\x00\x01\x0f\x00\x00\x1a\x00\x00\x00\x00\x00\x00\x00\x00\x02\n\x01\x00\x00\x08\x00\x00\x00\x00\x00\x01I\xa0' writeable /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:480
2014-01-02 03:36:08.656 14873 DEBUG qpid.messaging.io.raw [-] READ[2f687e8]: '\x0b\x01\x00\x16\x00\x01\x00\x00\x00\x00\x00\x00\x04\x01\x01\x00\x07\x00\x010\x01\x00\x03\x02\x00\x95\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00K\x04\x03\x10\x01\x08amqp/map\x00\x00\x00:\x00\x00\x00\x01\x0cqpid.subject\x95\x00&reply_a6461ac39e7942ad8a9231306e494b1d\x00\x00\x006\x04\x01\x00\x03\namq.direct&reply_a6461ac39e7942ad8a9231306e494b1d\x07\x03\x00\xc9\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb9\x00\x00\x00\x02\x0coslo.message\x95\x00\x92{"_unique_id": "6838fe3242bc40218c3c7bb1bf0df94e", "failure": null, "_msg_id": "6d50d4d8b60a49a3800f2a803af4529c", "result": null, "ending": true}\x0coslo.version\x95\x00\x032.0' readable /usr/lib/python2.6/site-packages/qpid/messaging/driver.py:416



Version-Release number of selected component (if applicable):
python-nova-2013.2-10.el6ost.noarch
openstack-nova-conductor-2013.2-10.el6ost.noarch
openstack-nova-api-2013.2-10.el6ost.noarch
openstack-nova-novncproxy-2013.2-10.el6ost.noarch
openstack-nova-console-2013.2-10.el6ost.noarch
openstack-nova-compute-2013.2-10.el6ost.noarch
openstack-nova-scheduler-2013.2-10.el6ost.noarch
openstack-nova-cert-2013.2-10.el6ost.noarch
python-novaclient-2.15.0-1.el6ost.noarch
openstack-nova-common-2013.2-10.el6ost.noarch

Comment 1 Russell Bryant 2014-01-09 16:19:52 UTC
At some point, Icehouse I think, we updated the default config to not include these messages when you turn debug on.

To do this you just need to update the default_log_levels config option to include "qpid=INFO"

Comment 2 Solly Ross 2014-01-13 20:23:09 UTC
The current Icehouse level is 'qpid=WARN', introduced into nova by commit 'bcc1f16c', which (among other things) synced the change 'fb8075a19d Add amqp=WARN,qpid=WARN to default_log_levels'.

Comment 6 Solly Ross 2014-02-10 18:06:07 UTC
reviewed and merged

Comment 10 errata-xmlrpc 2014-03-04 19:04:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0231.html


Note You need to log in before you can comment on or make changes to this bug.