[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 11:08:56 UTC 2014
Hi All,
If I set *max_attempts = 1* in /etc/cinder/cinder.conf, then the volume
creation via 3rd party driver is success.
However, this setting does not work for volume deletion.
The volume gets deleted at openstack but never executes the driver code.
I did above changes based on the error stack trace.
*/opt/stack/cinder/cinder/scheduler/filter_scheduler.py
-> _populate_retry*
However, i am not sure if this is a bug or an issue of missing
configuration.
Regards,
Amit
*CloudByte Inc.* <http://www.cloudbyte.com/>
On Tue, Sep 16, 2014 at 1:34 PM, Amit Das <amit.das at cloudbyte.com> wrote:
> 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/8de48d4c/attachment.html>
More information about the OpenStack-dev
mailing list