Horizon displays an error message on an empty instances list page
Bug #1825961 reported by
Vadym Markov
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Vadym Markov |
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.
Changed in horizon: | |
assignee: | nobody → Vadym Markov (vmarkov) |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/653675 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=36515b38b2a b990aa16e14e9a4 10b710df661652
Committed: https:/
Submitter: Zuul
Branch: master
commit 36515b38b2ab990 aa16e14e9a410b7 10df661652
Author: Pavlo Shchelokovskyy <email address hidden>
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 6a1ebe44d7067cc f4609e22db6
Change-Id: I141a28d96f71c0