UnhashableKeyWarning in logs

Bug #1606020 reported by Rob Cresswell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Daniel Castellanos

Bug Description

UnhashableKeyWarning: The key ((({'client': <module 'cinderclient.v2.client' from '/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/cinderclient/v2/client.py'>, 'version': 2}, u'admin', 'b6240f0c5a36459cb14062b31293cf52', u'837aed8e414a4867951d63378cdb0b81', u'http://192.168.56.101:8776/v2/837aed8e414a4867951d63378cdb0b81', u'http://192.168.56.101/identity'),), ()) is not hashable and cannot be memoized.
WARNING:py.warnings:UnhashableKeyWarning: The key ((({'client': <module 'cinderclient.v2.client' from '/Users/robcresswell/horizon/.venv/lib/python2.7/site-packages/cinderclient/v2/client.py'>, 'version': 2}, u'admin', 'b6240f0c5a36459cb14062b31293cf52', u'837aed8e414a4867951d63378cdb0b81', u'http://192.168.56.101:8776/v2/837aed8e414a4867951d63378cdb0b81', u'http://192.168.56.101/identity'),), ()) is not hashable and cannot be memoized.

This might be related to https://review.openstack.org/#/c/314750/

Changed in horizon:
assignee: nobody → Daniel Castellanos (luis-daniel-castellanos)
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/346910

Changed in horizon:
status: New → In Progress
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → High
milestone: none → newton-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit 14f7b015eaf888458833aee0c77fc70fb4749818
Author: Luis Daniel Castellanos <email address hidden>
Date: Mon Jul 25 10:57:30 2016 -0500

    Fix for cinder api memoize issue

    cinder api (api/cinder.py) cinderclient returns an
    UnashableKeyWarning for client api_version param.

    This patch fixes the bug by removing the api_version param from the
    memoized with request function.

    Change-Id: I11f3ca8642fb746bd725f059f089f9b3900c6f66
    Closes-Bug: #1606020

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

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

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

Other bug subscribers

Remote bug watches

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