commit 92ae5ac0df07a68b9c7c8f58740e2d7b2e2959d0
Author: Zhi Kun Liu <email address hidden>
Date: Fri Sep 5 16:51:30 2014 +0800
remove object in wsgi LOG.info
Method __init__ in Server class records log for wsgi server name, host
and port using its __dict__ which includes a socket object. i18n message
will deep copy each item's value in __dict__. In python2.6, deep copy
the socket object will raise "Exception RuntimeError" and can not be
caught. This makes cinder-api run into a hang loop. This patch uses the
related properties instead of __dict__ object to fix the problem.
Reviewed: https:/ /review. openstack. org/119328 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=92ae5ac0df0 7a68b9c7c8f5874 0e2d7b2e2959d0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 92ae5ac0df07a68 b9c7c8f58740e2d 7b2e2959d0
Author: Zhi Kun Liu <email address hidden>
Date: Fri Sep 5 16:51:30 2014 +0800
remove object in wsgi LOG.info
Method __init__ in Server class records log for wsgi server name, host
and port using its __dict__ which includes a socket object. i18n message
will deep copy each item's value in __dict__. In python2.6, deep copy
the socket object will raise "Exception RuntimeError" and can not be
caught. This makes cinder-api run into a hang loop. This patch uses the
related properties instead of __dict__ object to fix the problem.
Closes-Bug: #1365901 9c54ac88b158774 1a2d2beb40b
Change-Id: Ia6ac51f4849d36