Comment 3 for bug 1464991

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

Reviewed: https://review.openstack.org/194614
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=1e84c93dc8e611ddebebff24bd782a802f000e6f
Submitter: Jenkins
Branch: stable/kilo

commit 1e84c93dc8e611ddebebff24bd782a802f000e6f
Author: Kirill Zaitsev <email address hidden>
Date: Sun Jun 14 14:02:27 2015 +0300

    Handle errors during glance image updates correctly

    Before an UnboundLocalError would occur in case an error would happen
    during image updates, because of incorrect referencing of a variable.
    Moreover the error was muted by exceptions.handle with ignore=True,
    and could result in an incorrect success message.
    This change removes references to unused image variable and allows
    exceptions to be handled by the function, that calls image_update.

    Change-Id: I35ea98a146690565582dd9beea62941f97d32474
    Closes-Bug: #1464991
    (cherry picked from commit 7eb4e3595c5a30f95d976ea84493453730f3c806)