Broken retry mechanism for 'nova image-list'
Bug #1557584 reported by
Diana Clarke
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Diana Clarke | ||
Liberty |
Fix Released
|
Medium
|
Diana Clarke | ||
Mitaka |
Fix Released
|
Medium
|
Diana Clarke |
Bug Description
You can configure a list of glance API servers in nova.conf like so:
[glance]
api_servers=http://
num_retries = 5
When a call to one of the glance api servers fails, nova typically retries the call on one of the others. This is not the case for 'nova image-list'.
The retry mechanism is here:
In the case of 'nova image-list', glanceclient returns a python generator rather than an actual list of images. Because a generator is returned, an exception will never be raised there, so the retry mechanism is never executed.
This bug was originally reported downstream: https:/
Changed in nova: | |
assignee: | nobody → Diana Clarke (diana-clarke) |
Changed in nova: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
tags: | added: mitaka-backport-potential |
Changed in nova: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/293127
Review: https:/