[openstack-dev] [devstack] [cinder] [driver] Not able to create volume on a 3rd party driver backend

Amit Das amit.das at cloudbyte.com
Tue Sep 16 08:04:11 UTC 2014


Hi All,

While trying to create a volume using my cinder driver (on devstack), i get
below issue w.r.t num_attempts.

Am i missing any configuration here ?

^[[01;31m2014-09-16 13:20:37.837 TRACE oslo.messaging.rpc.dispatcher
^[[01;35m^[[00m  File
"/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 271, in
_get_weighted_candidates
^[[01;31m2014-09-16 13:20:37.837 TRACE oslo.messaging.rpc.dispatcher
^[[01;35m^[[00m    self._populate_retry(filter_properties,
resource_properties)
^[[01;31m2014-09-16 13:20:37.837 TRACE oslo.messaging.rpc.dispatcher
^[[01;35m^[[00m  File
"/opt/stack/cinder/cinder/scheduler/filter_scheduler.py", line 232, in
_populate_retry
^[[01;31m2014-09-16 13:20:37.837 TRACE oslo.messaging.rpc.dispatcher
^[[01;35m^[[00m    retry['num_attempts'] += 1
^[[01;31m2014-09-16 13:20:37.837 TRACE oslo.messaging.rpc.dispatcher
^[[01;35m^[[00mKeyError: 'num_attempts'
^[[01;31m2014-09-16 13:20:37.837 TRACE oslo.messaging.rpc.dispatcher
^[[01;35m^[[00m
2014-09-16 13:20:37.841 ^[[01;31mERROR oslo.messaging._drivers.common
[^[[01;36mreq-86b97f06-3f32-4107-8f41-e22b9538e73f
^[[00;36m41b264d0e8064e51a8e2e5ab78813c1a
db2eb368b9ab4c8b93bb8f765ca55244^[[01;31m] ^[[01;35m^[[01;31mReturning
exception 'num_attempts' to caller^[[00m

stack trace  - http://paste.openstack.org/show/112074/
cinder.conf - http://paste.openstack.org/show/112075/


Regards,
Amit
*CloudByte Inc.* <http://www.cloudbyte.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140916/af70c9e3/attachment.html>


More information about the OpenStack-dev mailing list