nova/plugins/xenserver
John Garbutt 89b0d540d5 xenapi: stop hang during glance download
It seems there are cases when the server gets stuck in a building state
because the download from glance fails, but the nova-compute doesn't
find out.

After some code inspect, a likely cause seems to related to having no
socket timeout inside urllib2 when we download the image from glance. A
workaround for this issue is to configure the default socket timeout as
described here:
http://docs.python.org/3.1/howto/urllib2.html#sockets-and-layers

Fixes bug 1251650
Change-Id: I8b34d95d3524f3825b28e61cbbb59290653d3711
2013-12-03 18:42:24 +00:00
..
doc Improve grammar throughout nova. 2012-04-10 11:15:07 -07:00
networking/etc Fix several flake8 issues in the plugins/xenserver code 2013-09-24 09:04:21 -07:00
xenapi xenapi: stop hang during glance download 2013-12-03 18:42:24 +00:00