yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03729
[Bug 1197846] Re: xenapi: glance plugin does not always close the connection
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1197846
Title:
xenapi: glance plugin does not always close the connection
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Code inspection in the following file:
https://github.com/openstack/nova/blob/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance#L205
Show that there are some cases (on errors) where the httplib connection is not closed.
While this might not actually cause a problem, its certainly not good coding practice.
There are some suspected out of memory errors in this area, so it would be good to tidy this up.
Note: this code is python 2.4, so no try/catch/finally or with
statement is available, only try/catch and try/finally
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1197846/+subscriptions