<div dir="ltr">Hi Cinder and Nova folks,<div><br></div><div>Working on some tests for our drivers, I stumbled upon this tempest test 'force_detach_volume'</div><div>that is calling Cinder API passing a 'None' connector. At the time this was added several CIs</div><div>went down, and people started discussing whether this (accepting/sending a None connector)</div><div>would be the proper behavior for what is expected to a driver to do[1]. So, some of CIs started</div><div>just skipping that test[2][3][4] and others implemented fixes that made the driver to disconnected</div><div>the volume from all hosts if a None connector was received[5][6][7].<br><br>While implementing this fix seems to be straightforward, I feel that just removing the volume</div><div>from all hosts is not the correct thing to do mainly considering that we can have multi-attach.</div><div><br></div><div>So, my questions are: What is the best way to fix this problem? Should Cinder API continue to</div><div>accept detachments with None connectors? If, so, what would be the effects on other Nova</div><div>attachments for the same volume? Is there any side effect if the volume is not multi-attached?</div><div><br></div><div>Additionally to this thread here, I should bring this topic to tomorrow's Cinder's meeting,</div><div>so please join if you have something to share.</div><div><br></div><div>Erlon</div><div><br></div><div>___________________</div><div>[1] <a href="https://bugs.launchpad.net/cinder/+bug/1686278">https://bugs.launchpad.net/cinder/+bug/1686278</a></div><div>[2] <a href="https://openstack-ci-logs.aws.infinidat.com/14/578114/2/check/dsvm-tempest-infinibox-fc/14fa930/console.html">https://openstack-ci-logs.aws.infinidat.com/14/578114/2/check/dsvm-tempest-infinibox-fc/14fa930/console.html</a></div><div>[3] <a href="http://54.209.116.144/14/578114/2/check/kaminario-dsvm-tempest-full-iscsi/ce750c8/console.html">http://54.209.116.144/14/578114/2/check/kaminario-dsvm-tempest-full-iscsi/ce750c8/console.html</a></div><div>[4] <a href="http://logs.openstack.netapp.com/logs/14/578114/2/upstream-check/cinder-cDOT-iSCSI/8e2c549/console.html#_2018-07-16_20_06_16_937286">http://logs.openstack.netapp.com/logs/14/578114/2/upstream-check/cinder-cDOT-iSCSI/8e2c549/console.html#_2018-07-16_20_06_16_937286</a></div><div>[5] <a href="https://review.openstack.org/#/c/551832/1/cinder/volume/drivers/dell_emc/vnx/adapter.py">https://review.openstack.org/#/c/551832/1/cinder/volume/drivers/dell_emc/vnx/adapter.py</a></div><div>[6] <a href="https://review.openstack.org/#/c/550324/2/cinder/volume/drivers/hpe/hpe_3par_common.py">https://review.openstack.org/#/c/550324/2/cinder/volume/drivers/hpe/hpe_3par_common.py</a></div><div>[7] <a href="https://review.openstack.org/#/c/536778/2/cinder/volume/drivers/infinidat.py">https://review.openstack.org/#/c/536778/2/cinder/volume/drivers/infinidat.py</a></div></div>