← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1630350] [NEW] getting list of service providers broken with pagination

 

Public bug reported:

Bug at Neutron Head as of (10/4)

While implementing service-provider-list into OpenStack Client ran into this issue with pagination. 
https://review.openstack.org/#/c/381298/4/openstack/network/v2/_proxy.py

With pagination set to True.
The client returns incorrect data and breaks OpenStack Client.

Neutron Server Trace:
2016-10-04 13:35:21.217 ERROR oslo_messaging.rpc.server [req-60a4325d-a161-4a0a-
b3bf-646561a4c0fa None None] Exception during message handling
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server Traceback (most recent c
all last):
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/usr/local/lib/p
ython2.7/dist-packages/oslo_messaging/rpc/server.py", line 133, in _process_inco
ming
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     res = self.dispatche
r.dispatch(message)
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/opt/stack/neutron/neutron/api/rpc/handlers/l3_rpc.py", line 206, in get_external_network_id
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     net_id = self.plugin.get_external_network_id(context)
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/opt/stack/neutron/neutron/db/external_net_db.py", line 199, in get_external_network_id
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     raise n_exc.TooManyExternalNetworks()
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server TooManyExternalNetworks: More than one external network exists.
2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server 

When pulled Neutron back to commit: commit c7610950f75352be6693ce7da1c52e87eeaf8bc0
Client returns correct data when Pagination set to true.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1630350

Title:
  getting list of service providers broken with pagination

Status in neutron:
  New

Bug description:
  Bug at Neutron Head as of (10/4)

  While implementing service-provider-list into OpenStack Client ran into this issue with pagination. 
  https://review.openstack.org/#/c/381298/4/openstack/network/v2/_proxy.py

  With pagination set to True.
  The client returns incorrect data and breaks OpenStack Client.

  Neutron Server Trace:
  2016-10-04 13:35:21.217 ERROR oslo_messaging.rpc.server [req-60a4325d-a161-4a0a-
  b3bf-646561a4c0fa None None] Exception during message handling
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server Traceback (most recent c
  all last):
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/usr/local/lib/p
  ython2.7/dist-packages/oslo_messaging/rpc/server.py", line 133, in _process_inco
  ming
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     res = self.dispatche
  r.dispatch(message)
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     result = func(ctxt, **new_args)
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/opt/stack/neutron/neutron/api/rpc/handlers/l3_rpc.py", line 206, in get_external_network_id
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     net_id = self.plugin.get_external_network_id(context)
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server   File "/opt/stack/neutron/neutron/db/external_net_db.py", line 199, in get_external_network_id
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server     raise n_exc.TooManyExternalNetworks()
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server TooManyExternalNetworks: More than one external network exists.
  2016-10-04 13:35:21.217 TRACE oslo_messaging.rpc.server 

  When pulled Neutron back to commit: commit c7610950f75352be6693ce7da1c52e87eeaf8bc0
  Client returns correct data when Pagination set to true.

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


Follow ups