<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<meta content="text/html; charset=UTF-8">
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>The cinder team would welcome submission of any missing Tempest test cases. I'm not certain of the history of the os-force_detach API, but you could write tests for them and they would be reviewed.</p>
<p><br>
</p>
<p>Scott D'Angelo<br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> joehuang <joehuang@huawei.com><br>
<b>Sent:</b> Saturday, September 17, 2016 8:47:48 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions); shinobu.kj; Shinobu KINJO<br>
<b>Subject:</b> Re: [openstack-dev] [cinder]tempest test case for force detach volume</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hello, Ken,<br>
<br>
Thank you for your information, for APIs without tempest test cases, <br>
it's due to hard to build the test environment, or it's just for the API<br>
is not mature enough? I want to know why the tempest test cases<br>
were not added at the same time when the features were implemented.<br>
<br>
Best Regards<br>
Chaoyi Huang(joehuang)<br>
________________________________________<br>
From: Ken'ichi Ohmichi [ken1ohmichi@gmail.com]<br>
Sent: 15 September 2016 2:02<br>
To: OpenStack Development Mailing List (not for usage questions)<br>
Subject: Re: [openstack-dev] [cinder]tempest test case for force detach volume<br>
<br>
Hi Chaoyi,<br>
<br>
That is a nice point.<br>
Now Tempest have tests for some volume v2 action APIs which doesn't<br>
contain os-force_detach.<br>
The available APIs of tempest are two: os-set_image_metadata and<br>
os-unset_image_metadata like<br>
<a id="LPlnk475086" href="https://github.com/openstack/tempest/blob/master/tempest/services/volume/v2/json/volumes_client.py#L27">https://github.com/openstack/tempest/blob/master/tempest/services/volume/v2/json/volumes_client.py#L27</a><br>
That is less than I expected by comparing the API reference.<br>
<br>
The corresponding API tests' patches are welcome if interested in :-)<br>
<br>
Thanks<br>
Ken Ohmichi<br>
<br>
---<br>
<br>
<br>
2016-09-13 17:58 GMT-07:00 joehuang <joehuang@huawei.com>:<br>
> Hello,<br>
><br>
> Is there ant tempest test case for "os-force_detach" action to force detach<br>
> a volume? I didn't find such a test case both in the repository<br>
> <a href="https://github.com/openstack/cinder/tree/master/cinder/tests/tempest">
https://github.com/openstack/cinder/tree/master/cinder/tests/tempest</a><br>
> and <a href="https://github.com/openstack/tempest">https://github.com/openstack/tempest</a><br>
><br>
> The API link is:<br>
> <a href="http://developer.openstack.org/api-ref-blockstorage-v2.html#forcedetachVolume">
http://developer.openstack.org/api-ref-blockstorage-v2.html#forcedetachVolume</a><br>
><br>
> Best Regards<br>
> Chaoyi Huang(joehuang)<br>
><br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div>
</span></font></div>
</body>
</html>