← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1552119] [NEW] NSxv LBaaS stats error

 

Public bug reported:

- OpenStack Kilo (2015.1.1-1)
- NSXv 6.2.1

I see following errors in neutron.log after enabling LBaaS


2016-03-02 07:36:19.145 27350 INFO neutron.wsgi [req-28324239-c925-4602-91c3-24378466d8ae ] 192.168.0.2 - - [02/Mar/2016 07:36:19] "GET /v2.0/lb/pools/ba3c7e8a-81bf-4459-ad85-224b9f92594f/stats.json HTTP/1.1" 500 378 2.441363
2016-03-02 07:36:19.176 27349 INFO neutron.wsgi [-] (27349) accepted ('192.168.0.2', 54704)
2016-03-02 07:36:21.740 27349 ERROR neutron.api.v2.resource [req-94a3960b-b01f-4665-a733-1621d7f7cbfa ] stats failed
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource Traceback (most recent call last):
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 83, in resource
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 131, in wrapper
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     return f(*args, **kwargs)
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 209, in _handle_action
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     return getattr(self._plugin, name)(*arg_list, **kwargs)
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 336, in stats
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     stats_data = driver.stats(context, pool_id)
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron_lbaas/services/loadbalancer/drivers/vmware/edge_driver.py", line 199, in stats
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     return self._nsxv_driver.stats(context, pool_id, pool_mapping)
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/vmware_nsx/neutron/plugins/vmware/vshield/edge_loadbalancer_driver.py", line 786, in stats
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     pools_stats = lb_stats.get('pool', [])
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource AttributeError: 'tuple' object has no attribute 'get'
2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: lbaas nsx vmware

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

Title:
  NSxv LBaaS stats error

Status in neutron:
  New

Bug description:
  - OpenStack Kilo (2015.1.1-1)
  - NSXv 6.2.1

  I see following errors in neutron.log after enabling LBaaS

  
  2016-03-02 07:36:19.145 27350 INFO neutron.wsgi [req-28324239-c925-4602-91c3-24378466d8ae ] 192.168.0.2 - - [02/Mar/2016 07:36:19] "GET /v2.0/lb/pools/ba3c7e8a-81bf-4459-ad85-224b9f92594f/stats.json HTTP/1.1" 500 378 2.441363
  2016-03-02 07:36:19.176 27349 INFO neutron.wsgi [-] (27349) accepted ('192.168.0.2', 54704)
  2016-03-02 07:36:21.740 27349 ERROR neutron.api.v2.resource [req-94a3960b-b01f-4665-a733-1621d7f7cbfa ] stats failed
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 83, in resource
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 131, in wrapper
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     return f(*args, **kwargs)
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 209, in _handle_action
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     return getattr(self._plugin, name)(*arg_list, **kwargs)
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron_lbaas/services/loadbalancer/plugin.py", line 336, in stats
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     stats_data = driver.stats(context, pool_id)
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/neutron_lbaas/services/loadbalancer/drivers/vmware/edge_driver.py", line 199, in stats
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     return self._nsxv_driver.stats(context, pool_id, pool_mapping)
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource   File "/usr/lib/python2.7/dist-packages/vmware_nsx/neutron/plugins/vmware/vshield/edge_loadbalancer_driver.py", line 786, in stats
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource     pools_stats = lb_stats.get('pool', [])
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource AttributeError: 'tuple' object has no attribute 'get'
  2016-03-02 07:36:21.740 27349 TRACE neutron.api.v2.resource

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


Follow ups