← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1516200] Re: Horizon doesn't display ipaddresses of a VM when a lot of ports attached

 

*** This bug is a duplicate of bug 1825961 ***
    https://bugs.launchpad.net/bugs/1825961

I checked a comment from Alexander https://review.opendev.org/c/openstack/horizon/+/110291/2/openstack_dashboard/api/neutron.py#554.
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 36515b38b2ab990aa16e14e9a410b710df661652 (https://review.opendev.org/c/openstack/horizon/+/653675).


** This bug has been marked a duplicate of bug 1825961
   Horizon displays an error message on an empty instances list page

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

Title:
  Horizon doesn't display ipaddresses of a VM when a lot of ports
  attached

Status in OpenStack Dashboard (Horizon):
  Confirmed

Bug description:
  This comes from here:
  https://bugs.launchpad.net/horizon/+bug/1349841

  When number of ports attached to a vm is more than 200+, so this exception is happening
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/neutron.py#L568
  I see that type of filter_values is set.

  So on this line https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/neutron.py#L576
  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://review.openstack.org/#/c/110291/2/openstack_dashboard/api/neutron.py

  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.

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


References