← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1229083] Re: get_available_images raises a traceback when image_list for a project raises an exception

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1229083

Title:
  get_available_images raises a traceback when image_list for a project
  raises an exception

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/images_and_snapshots/utils.py#L48

  At L.48, owned_images is not defined when an exception is raised at
  L.42 (glance.image_list_detailed).

  images_by_project[project_id] should not be set since an exception in
  the API call can be raised due to a temporary error. In this case L.52
  also needs to be fixed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1229083/+subscriptions