[cinder] consistency group not working

Francois Scheurer francois.scheurer at everyware.ch
Thu Jan 16 12:56:49 UTC 2020


Dear Gorka


Many thanks for your answer.


Cheers

Francois

On 11/11/19 3:00 PM, Gorka Eguileor wrote:
> On 27/09, Francois Scheurer wrote:
>> Dear Cinder Experts
>>
>>
>> We are running the rocky release.
>>
>> |We can create a consistency group: openstack consistency group create
>> --volume-type b9f67298-cf68-4cb2-bed2-c806c5f83487 fsc-consgroup Bug 1: but
>> adding volumes is not working: openstack consistency group add volume
>> c3f49ef0-601e-4558-a75a-9b758304ce3b b48752e3-641f-4a49-a892-6cb54ab6b74d
>> c0022411-59a4-4c7c-9474-c7ea8ccc7691 0f4c6493-dbe2-4f75-8e37-5541a267e3f2 =>
>> Invalid volume: Volume is not local to this node. (HTTP 400) (Request-ID:
>> req-7f67934a-5835-40ef-b25c-12591fd79f85) Bug 2: deleting consistency group
>> is also not working (silently failing): openstack consistency group delete
>> c3f49ef0-601e-4558-a75a-9b758304ce3b |||=> AttributeError: 'RBDDriver'
>> object has no attribute 'delete_consistencygroup'| See details below. Using
>> the --force option makes no difference and the consistency group is not
>> deleted. Do you think this is a bug or a configuration issue? Thank you in
>> advance. |
>>
>> Cheers
>>
>> Francois
> Hi,
>
> It seems you are trying to use consistency groups with the RBD driver,
> which doesn't currently support consistency groups.
>
> Cheers,
> Gorka.
>
>> |Details: ==>
>> /var/lib/docker/volumes/kolla_logs/_data/cinder/cinder-api-access.log <==
>> 10.0.129.17 - - [27/Sep/2019:12:16:24 +0200] "POST /v3/f099965b37ac41489e9cac8c9d208711/consistencygroups/3706bbab-e2df-4507-9168-08ef811e452c/delete
>> HTTP/1.1" 202 - 109720 "-" "python-cinderclient" ==>
>> /var/lib/docker/volumes/kolla_logs/_data/cinder/cinder-volume.log <==
>> 2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server
>> [req-9010336e-d569-47ad-84e2-8dd8b729939c b141574ee71f49a0b53a05ae968576c5
>> f099965b37ac41489e9cac8c9d208711 - default default] Exception during message
>> handling: AttributeError: 'RBDDriver' object has no attribute
>> 'delete_consistencygroup' 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server Traceback (most recent call last): 2019-09-27
>> 12:16:24.491 30 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_messaging/rpc/server.py",
>> line 163, in _process_incoming 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server res = self.dispatcher.dispatch(message) 2019-09-27
>> 12:16:24.491 30 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py",
>> line 265, in dispatch 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt,
>> args) 2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py",
>> line 194, in _do_dispatch 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server result = func(ctxt, **new_args) 2019-09-27
>> 12:16:24.491 30 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/osprofiler/profiler.py",
>> line 159, in wrapper 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server result = f(*args, **kwargs) 2019-09-27
>> 12:16:24.491 30 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/volume/manager.py",
>> line 3397, in delete_group 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server vol_obj.save() 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py",
>> line 220, in __exit__ 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server self.force_reraise() 2019-09-27 12:16:24.491 30
>> ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py",
>> line 196, in force_reraise 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
>> 2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/volume/manager.py",
>> line 3362, in delete_group 2019-09-27 12:16:24.491 30 ERROR
>> oslo_messaging.rpc.server self.driver.delete_consistencygroup(context, cg,
>> 2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server AttributeError:
>> 'RBDDriver' object has no attribute 'delete_consistencygroup' 2019-09-27
>> 12:16:24.491 30 ERROR oslo_messaging.rpc.server|
>>
>>
>>
>>
>> --
>>
>>
>> EveryWare AG
>> François Scheurer
>> Senior Systems Engineer
>> Zurlindenstrasse 52a
>> CH-8003 Zürich
>>
>> tel: +41 44 466 60 00
>> fax: +41 44 466 60 10
>> mail: francois.scheurer at everyware.ch
>> web: http://www.everyware.ch
>>
>
-- 


EveryWare AG
François Scheurer
Senior Systems Engineer
Zurlindenstrasse 52a
CH-8003 Zürich

tel: +41 44 466 60 00
fax: +41 44 466 60 10
mail: francois.scheurer at everyware.ch
web: http://www.everyware.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5978 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200116/51f333b2/attachment.bin>


More information about the openstack-discuss mailing list