← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1098146] Re: catch another cinder call, when cinder unavailable

 

** 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/1098146

Title:
  catch another cinder call, when cinder unavailable

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  During review of backport of fix for bug https://code.launchpad.net/bugs/1084137 it has been discovered, that there is another call to cinderclient, which will fail, when cinder is unavailable.
  volume_list from horizon/openstack_dashboard/api/cinder.py should become:
  def volume_list(request, search_opts=None):
      """
      To see all volumes in the cloud as an admin you can pass in a special
      search option: {'all_tenants': 1}
      """
      c_client = cinderclient(request)
      if c_client is None:
          return []
      return c_client.volumes.list(search_opts=search_opts)

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