← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1535215] Re: AttributeError: 'module' object has no attribute 'ClientException'

 

Reviewed:  https://review.openstack.org/272077
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=fb8bedc3754ec5b10f3026b0f0f7afefd94e6a3a
Submitter: Jenkins
Branch:    master

commit fb8bedc3754ec5b10f3026b0f0f7afefd94e6a3a
Author: Itxaka <iserrano@xxxxxxxxxx>
Date:   Mon Jan 25 13:50:01 2016 +0100

    fix ClientException call
    
    We were calling cinder.ClientException even when the import
    had changed to be cinder.cinder_exception.ClientException
    Adds 3 tests for the methods calling that exception so
    failures will be tested as well.
    
    Co-Authored-By: zhurong <aaronzhu1121@xxxxxxxxx>
    Change-Id: I8c415eb8ef847f6dc34fa56fca3181560ead366b
    Closes-Bug: #1537713
    Closes-Bug: #1535215


** Changed in: horizon
       Status: In Progress => 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/1535215

Title:
  AttributeError: 'module' object has no attribute 'ClientException'

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Launch instance give the error:
    File "/home/openstack/horizon-murano/horizon/utils/memoized.py", line 90, in wrapped
      value = cache[key] = func(*args, **kwargs)
    File "/home/openstack/horizon-murano/openstack_dashboard/usage/quotas.py", line 371, in tenant_quota_usages
      tenant_id=tenant_id):
    File "/home/openstack/horizon-murano/openstack_dashboard/usage/quotas.py", line 171, in get_tenant_quota_data
      tenant_id=tenant_id)
    File "/home/openstack/horizon-murano/openstack_dashboard/usage/quotas.py", line 150, in _get_quota_data
      except cinder.ClientException:
  AttributeError: 'module' object has no attribute 'ClientException'

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


References