← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1516200] [NEW] Horizon doesn't display ipaddresses of a VM when a lot of ports attached to the vm

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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 to the vm

Status in OpenStack Dashboard (Horizon):
  New

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


Follow ups