[Bug 1847981] Re: Traceback in _create_loadbalancer_stats for python3-neutron-lbaas

Corey Bryant corey.bryant at canonical.com
Wed Nov 20 17:28:05 UTC 2019


This will be fixed via LP: #1853319 and LP: #1853320

** Changed in: neutron-lbaas (Ubuntu)
       Status: New => Triaged

** Changed in: neutron-lbaas (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron-lbaas in Ubuntu.
https://bugs.launchpad.net/bugs/1847981

Title:
  Traceback in _create_loadbalancer_stats for python3-neutron-lbaas

Status in neutron-lbaas package in Ubuntu:
  Triaged

Bug description:
  See also https://storyboard.openstack.org/#!/story/2006714, this issue
  is seen in neutron-lbaas (v2) on Rocky UCA:

  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/server.py", line 163, in _process_incoming
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/dispatcher.py", line 265, in dispatch
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/neutron_lbaas/drivers/common/agent_callbacks.py", line 214, in update_loadbalancer_stats
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     stats)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 864, in update_loadbalancer_stats
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     data=stats_data)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/neutron_lbaas/db/loadbalancer/loadbalancer_dbv2.py", line 176, in _create_loadbalancer_stats
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     total_connections=data.get(lb_const.STATS_TOTAL_CONNECTIONS, 0)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "<string>", line 4, in __init__
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/orm/state.py", line 417, in _initialize_instance
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     manager.dispatch.init_failure(self, args, kwargs)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/util/langhelpers.py", line 66, in __exit__
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     compat.reraise(exc_type, exc_value, exc_tb)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/util/compat.py", line 187, in reraise
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     raise value
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/orm/state.py", line 414, in _initialize_instance
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     return manager.original_init(*mixed[1:], **kwargs)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/ext/declarative/base.py", line 700, in _declarative_constructor
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     setattr(self, k, kwargs[k])
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py", line 229, in __set__
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     instance_dict(instance), value, None)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py", line 708, in set
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     value, old, initiator)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/orm/attributes.py", line 715, in fire_replace_event
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     state, value, previous, initiator or self._replace_token)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/sqlalchemy/orm/util.py", line 136, in set_
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     return validator(state.obj(), key, value)
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3/dist-packages/neutron_lbaas/db/loadbalancer/models.py", line 65, in validate_non_negative_int
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server     if value < 0:
  2019-10-14 08:02:16.802 18834 ERROR oslo_messaging.rpc.server TypeError: '<' not supported between instances of 'str' and 'int'

  python3-neutron-lbaas 2:13.0.0-0ubuntu1~cloud0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron-lbaas/+bug/1847981/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list