← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1606020] Re: UnhashableKeyWarning in logs

 

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 <luis.daniel.castellanos@xxxxxxxxx>
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

-- 
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/1606020

Title:
  UnhashableKeyWarning in logs

Status in OpenStack Dashboard (Horizon):
  Fix Released

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/

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


References