<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear Cinder Experts<br>
</p>
<p><br>
</p>
<p>We are running the rocky release.<br>
</p>
<div class="md">
<pre class="code highlight js-syntax-highlight plaintext white" lang="plaintext"><code><span id="LC1" class="line" lang="plaintext">
We can create a consistency group:</span>
<span id="LC2" class="line" lang="plaintext"> openstack consistency group create --volume-type b9f67298-cf68-4cb2-bed2-c806c5f83487 fsc-consgroup</span>
<span id="LC3" class="line" lang="plaintext"></span>
<span id="LC4" class="line" lang="plaintext"></span>
<span id="LC5" class="line" lang="plaintext">Bug 1: but adding volumes is not working:</span>
<span id="LC6" class="line" lang="plaintext"> 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 </span>
<span id="LC7" class="line" lang="plaintext"> => Invalid volume: Volume is not local to this node. (HTTP 400) (Request-ID: req-7f67934a-5835-40ef-b25c-12591fd79f85)</span>
<span id="LC8" class="line" lang="plaintext"></span>
<span id="LC9" class="line" lang="plaintext"></span>
<span id="LC10" class="line" lang="plaintext">Bug 2: deleting consistency group is also not working (silently failing):</span>
<span id="LC11" class="line" lang="plaintext"> openstack consistency group delete c3f49ef0-601e-4558-a75a-9b758304ce3b</span>
<span id="LC12" class="line" lang="plaintext"></span></code><code><code><span id="LC36" class="line" lang="plaintext"> => AttributeError: 'RBDDriver' object has no attribute 'delete_consistencygroup'</span></code>
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.
</code></pre>
<p>Cheers</p>
<p>Francois</p>
<pre class="code highlight js-syntax-highlight plaintext white" lang="plaintext"><code>
Details: <span id="LC13" class="line" lang="plaintext"></span>
<span id="LC14" class="line" lang="plaintext">==> /var/lib/docker/volumes/kolla_logs/_data/cinder/cinder-api-access.log <==</span>
<span id="LC15" class="line" lang="plaintext">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"</span>
<span id="LC16" class="line" lang="plaintext"></span>
<span id="LC17" class="line" lang="plaintext">==> /var/lib/docker/volumes/kolla_logs/_data/cinder/cinder-volume.log <==</span>
<span id="LC18" class="line" lang="plaintext">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'</span>
<span id="LC19" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server Traceback (most recent call last):</span>
<span id="LC20" class="line" lang="plaintext">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</span>
<span id="LC21" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)</span>
<span id="LC22" class="line" lang="plaintext">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</span>
<span id="LC23" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)</span>
<span id="LC24" class="line" lang="plaintext">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</span>
<span id="LC25" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)</span>
<span id="LC26" class="line" lang="plaintext">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</span>
<span id="LC27" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server result = f(*args, **kwargs)</span>
<span id="LC28" class="line" lang="plaintext">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</span>
<span id="LC29" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server vol_obj.save()</span>
<span id="LC30" class="line" lang="plaintext">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__</span>
<span id="LC31" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server self.force_reraise()</span>
<span id="LC32" class="line" lang="plaintext">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</span>
<span id="LC33" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)</span>
<span id="LC34" class="line" lang="plaintext">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</span>
<span id="LC35" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server self.driver.delete_consistencygroup(context, cg,</span>
<span id="LC36" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server AttributeError: 'RBDDriver' object has no attribute 'delete_consistencygroup'</span>
<span id="LC37" class="line" lang="plaintext">2019-09-27 12:16:24.491 30 ERROR oslo_messaging.rpc.server</span></code></pre>
</div>
<p><br>
</p>
<br>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-abbreviated" href="mailto:francois.scheurer@everyware.ch">francois.scheurer@everyware.ch</a>
web: <a class="moz-txt-link-freetext" href="http://www.everyware.ch">http://www.everyware.ch</a> </pre>
</body>
</html>