<p dir="ltr">There doesn't seem to be an existing tempest test for this.</p>
<p dir="ltr">I suggest writing the test so that it looks if there are two volume types defined, and if so uses them. Ideally you should test migration to and from lvm. There is offline migration (volume is available) and online migration (volume is attached), which are two completely separate code paths.</p>
<p dir="ltr">Great to hear somebody I'd writing tests for this!</p>
<div class="gmail_quote">On 25 May 2015 10:24, "Sheng Bo Hou" <<a href="mailto:sbhou@cn.ibm.com">sbhou@cn.ibm.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">Hi everyone,</font>
<br>
<br><font size="2" face="sans-serif">I am planning to add test cases for
volume migration for cinder into tempest. I am wondering how to enable
multiple back-ends for cinder in tempest, and connect to different back-ends.
For example, I configure one back-end for LVM and the other is for IBM
Storwize V7000 driver. Then run the test named like test_volume_migration_LVM_Storwize
to test</font>
<br><font size="2" face="sans-serif">if the migration really works fine.</font>
<br>
<br><font size="2" face="sans-serif">About the configuration, is this something
tempest can do so far? Or is this something new we need to add?</font>
<br><font size="2" face="sans-serif">Thank you very much.</font>
<br>
<br><font size="2" face="sans-serif">Best wishes,<br>
Vincent Hou (侯胜博)<br>
<br>
Staff Software Engineer, Open Standards and Open Source Team, Emerging
Technology Institute, IBM China Software Development Lab<br>
<br>
Tel: 86-10-82450778 Fax: 86-10-82453660<br>
Notes ID: Sheng Bo Hou/China/IBM@IBMCN E-mail: <a href="mailto:sbhou@cn.ibm.com" target="_blank">sbhou@cn.ibm.com</a>
<br>
Address:3F Ring, Building 28 Zhongguancun Software Park, 8 Dongbeiwang
West Road, Haidian District, Beijing, P.R.C.100193<br>
地址:北京市海淀区东北旺西路8号中关村软件园28号楼环宇大厦3层
邮编:100193</font>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div>