Bug 892934

Summary: keystone quickly fills system logs
Product: [Fedora] Fedora Reporter: Matthias Runge <mrunge>
Component: python-webobAssignee: Ricky Zhou <ricky>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: apevec, bfilippov, breu, Jan.van.Eldik, jonathansteffan, jose.castro.leon, markmc, pbrady, p, rbryant, ricky
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 11:48:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Runge 2013-01-08 09:57:32 UTC
Description of problem:
from /var/log/messages
Jan  8 10:52:08 turing keystone-all[804]: /usr/lib/python2.7/site-packages/webob/dec.py:142: DeprecationWarning: Response.request and Response.environ are deprecated
Jan  8 10:52:08 turing keystone-all[804]: req.response.request = req

This message is repeated and repeated and repeated...., in my case currently 
527755 times.

Version-Release number of selected component (if applicable):
openstack-keystone-2012.2.1-1.fc18.noarch

How reproducible:
100%


This system is on f18, I can't remember this issue earlier, so I guess, it's something in Fedora 18.

Comment 1 Pádraig Brady 2013-01-08 10:47:36 UTC
What version of webob is this?
From upstream webob news, this will start happening from Version 1.2 on.

$ for rel in 17 18; do repoquery --releasever=$rel python-webob; done
python-webob-0:1.1.1-2.fc17.noarch
python-webob-0:1.1.1-3.fc18.noarch

So it seems you may have installed a python-webob1.2 rpm ?

Comment 2 Matthias Runge 2013-01-08 10:49:32 UTC
No, I don't have a later version installed:
[root@turing pam.d]# rpm -q python-webob
python-webob-1.1.1-3.fc18.noarch

Comment 3 Matthias Runge 2013-01-08 11:45:16 UTC
[root@turing webob]# diff -u dec.py.bak dec.py
--- dec.py.bak	2013-01-08 12:43:24.945513816 +0100
+++ dec.py	2013-01-08 12:43:38.826463501 +0100
@@ -139,7 +139,6 @@
             start_response = args[0]
             req = self.RequestClass(environ)
             req.response = req.ResponseClass()
-            req.response.request = req
             try:
                 args = self.args
                 if self.middleware_wraps:

seems to fix this issue, particularly, I've taken that from webob-1.2.3

Comment 4 Matthias Runge 2013-01-08 11:48:31 UTC

*** This bug has been marked as a duplicate of bug 801312 ***