Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1047849 - openstack-nova: remove qpid logs from the compute logs
openstack-nova: remove qpid logs from the compute logs
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova (Show other bugs)
4.0
Unspecified Unspecified
medium Severity low
: z2
: 4.0
Assigned To: Solly Ross
Gabriel Szasz
: ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-02 06:23 EST by Yogev Rabl
Modified: 2016-04-27 01:35 EDT (History)
9 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-03-04 14:04:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
sross: internal‑review+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0231 normal SHIPPED_LIVE Moderate: openstack-nova security and bug fix update 2014-03-04 19:00:29 EST

  None (edit)
Description Yogev Rabl 2014-01-02 06:23:31 EST
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 11:19:52 EST
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 15:23:09 EST
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 13:06:07 EST
reviewed and merged
Comment 10 errata-xmlrpc 2014-03-04 14:04:40 EST
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.