Comment 3 for bug 1548956

Revision history for this message
sleter (sleterrier-us) wrote : Re: unable to use benchamark metric show API.

We are running in the same issue with gnocchi benchmark metric create.

gnocchi benchmark --verbose metric create -w 2 -n 100
Creating metrics
Traceback (most recent call last):
  File "/usr/lib64/python2.7/multiprocessing/queues.py", line 266, in _feed
    send(obj)
PicklingError: Can't pickle <type 'thread.lock'>: attribute lookup thread.lock failed
0/100, total: 0.02 seconds, rate: 0.00 create/second
0/100, total: 1.02 seconds, rate: 0.00 create/second
0/100, total: 2.02 seconds, rate: 0.00 create/second
0/100, total: 3.02 seconds, rate: 0.00 create/second

CentOS 7.1
Python 2.7.5

Babel==2.3.2
cliff==2.0.0
futurist==0.13.0
gnocchi==2.0.2
gnocchiclient==2.2.0
keystoneauth1==2.5.0
oslo.i18n==3.5.0
oslo.serialization==2.4.0
oslo.utils==3.8.0
six==1.10.0