Horizon doesn't display ipaddresses of a VM when a lot of ports attached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
This comes from here:
https:/
When number of ports attached to a vm is more than 200+, so this exception is happening
https:/
I see that type of filter_values is set.
So on this line https:/
filter_values becomes a list with one set element.
After that all_filter_len, allowed_filter_len and chunk_size calculated wrong, and resources returned from that procedure is empty.
See comment on line 554 here:
https:/
You can reproduce it by attaching 200+ ports to one vm, so url length of a request to neutron-server api with list of all the ports is more than 8192, or by attaching just several ports to a vm and reducing max url length in neutron server.
Let me know if additional information needed.
summary: |
Horizon doesn't display ipaddresses of a VM when a lot of ports attached - to the vm |
Changed in horizon: | |
assignee: | nobody → Paul Karikh (pkarikh) |
Changed in horizon: | |
assignee: | Paul Karikh (pkarikh) → nobody |
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: neutron |
I checked a comment from Alexander https:/ /review. opendev. org/c/openstack /horizon/ +/110291/ 2/openstack_ dashboard/ api/neutron. py#554. aa16e14e9a410b7 10df661652 (https:/ /review. opendev. org/c/openstack /horizon/ +/653675).
The logic pointed out was originally introduced to convert a string into a list, but it was an expected behavior when a set or other sequence was passed.
I believe it was fixed as part of commit 36515b38b2ab990