nova gives up on glance connection failures too easily
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Johannes Erdfelt |
Bug Description
nova doesn't retry when connections to glance fail because it is being restarted.
Services can restart at any time and we should be more tolerant of that and retry for a configurable period of time.
2012-02-10 12:25:05,849 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: rval = node_func(
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return f(*args, **kw)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: self.add_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: self.gen.next()
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: image_meta = _get_image_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return image_service.
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: image_meta = self._get_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: res = self.do_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return func(self, *args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: headers=headers)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return func(self, method, url, body, headers)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: raise exception.
(nova.rpc): TRACE: ClientConnectio
(nova.rpc): TRACE: Details: [Errno 111] ECONNREFUSED
(nova.rpc): TRACE:
summary: |
- nova gives up glance connection failures too easily + nova gives up on glance connection failures too easily |
Changed in nova: | |
assignee: | nobody → Johannes Erdfelt (johannes.erdfelt) |
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/4013
Review: https:/