Comment 11 for bug 1366166

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

Reviewed: https://review.openstack.org/137667
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=bcac1a89b991b41c34f011b7578fceac7320cf80
Submitter: Jenkins
Branch: stable/juno

commit bcac1a89b991b41c34f011b7578fceac7320cf80
Author: Julie Pichon <email address hidden>
Date: Thu Nov 20 15:24:14 2014 +0000

    Gracefully handle failures to retrieve a flavor

    In some cases, a flavor in use can become unaccessible, for instance
    after deleting a flavor with access restrictions.

     * On the Instance details page, make the try/except blocks for API
       calls more fine-grained. Some specific failures shouldn't cause the
       whole page to fail to load (and e.g. prevent Console access).

     * Fix the Resize Instance form to display even if information about
       the current flavor cannot be retrieved.

     * Gracefully handle failures to retrieve flavor information on AJAX
       calls for row update, so that the row doesn't disappear from the
       table.

    Conflicts:
     openstack_dashboard/dashboards/project/instances/tests.py

    Change-Id: I011b6e01eca3e04e5ef2528732b9bde3782b4eba
    Closes-Bug: #1366166
    (cherry picked from commit b50413ca0afa456dbbbb6ec554db0de67bb7b3ff)