Comment 6 for bug 1557584

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/mitaka)

Reviewed: https://review.openstack.org/295319
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3771c37bac826a35cf17312ef136ba50d239f262
Submitter: Jenkins
Branch: stable/mitaka

commit 3771c37bac826a35cf17312ef136ba50d239f262
Author: Diana Clarke <email address hidden>
Date: Tue Mar 15 16:17:28 2016 -0400

    Fix retry mechanism for generator results

    Both v1 and v2 of the glance client return python generators in some
    cases (rather than fully fleshed out lists) which thwarts our retry
    mechanism. Convert generator results to a list, so that any potential
    exceptions get raised earlier rather than later, allowing for retries.

    Change-Id: Ibc84f1596d4eaabdef0a48f6cf4da2d1323843a8
    Closes-Bug: #1557584
    (cherry picked from commit ae6d868e2f13f90d9f97c982fdbbccdc6fb8b9c9)