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

Bug #1535215 reported by zhurong
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Itxaka Serrano

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'

zhurong (zhu-rong)
Changed in horizon:
assignee: nobody → zhurong (zhu-rong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/268917

Changed in horizon:
status: New → In Progress
Changed in horizon:
importance: Undecided → Medium
Changed in horizon:
assignee: zhurong (zhu-rong) → Itxaka Serrano (itxakaserrano)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by zhurong (<email address hidden>) on branch: master
Review: https://review.openstack.org/268917
Reason: duplicate with https://review.openstack.org/#/c/272077/6:05 PM

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

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 <email address hidden>
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 <email address hidden>
    Change-Id: I8c415eb8ef847f6dc34fa56fca3181560ead366b
    Closes-Bug: #1537713
    Closes-Bug: #1535215

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b3

This issue was fixed in the openstack/horizon 9.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.