Reviewed: https://review.opendev.org/653675 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=36515b38b2ab990aa16e14e9a410b710df661652 Submitter: Zuul Branch: master
commit 36515b38b2ab990aa16e14e9a410b710df661652 Author: Pavlo Shchelokovskyy <[email protected]> Date: Thu Apr 18 10:08:44 2019 +0300 Do not try to access sets by index code in neutron api in some circumstances tries to access a set or a frozenset by index, which does not work. In particular it may manifest as Unable to connect to Neutron: 'frozenset' object has no attribute '__getitem__' error in the horizon.log when opening an empty instances list page. Convert to list instead, and skip conversion for `collections.Sequence` objects only that support all the methods used for this object further in this method. Closes-bug: #1825961 Change-Id: I141a28d96f71c06a1ebe44d7067ccf4609e22db6 ** 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/1825961 Title: Horizon displays an error message on an empty instances list page Status in OpenStack Dashboard (Horizon): Fix Released Bug description: The following error is observed in the Horizon log: Unable to connect to Neutron: 'frozenset' object has no attribute '_getitem_' The error happens on the network_list requests when the parameter list is too long. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1825961/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

