Project

General

Profile

action #48329

Updated by mloviska about 5 years ago

As a follow up for [YaST2 iSCSI LIO Target does not accept lvm volumes as /dev/vg/lvol for LUN](https://bugzilla.suse.com/show_bug.cgi?id=1123316), I would like to extend our current iscsi test coverage. 
 Currently, we are testing iSCSI with a backstore created as a file [fileio -> /root/iscsi-disk](https://openqa.suse.de/tests/2488316#step/iscsi_server/41) however, we are lacking test suite for block devices backstores.  
 [fileio](https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/iscsi/iscsi_server.pm#L36) 

 ## Acceptance Criteria 

 * **AC1:** See motivation in [YaST2 iSCSI LIO Target does not accept lvm volumes as /dev/vg/lvol for LUN](https://bugzilla.suse.com/show_bug.cgi?id=1123316) 
 * **AC2:** Create a new test suite using already existing modules iscsi/iscsi_client and iscsi/iscsi_server 
 * **AC3:** **AC2:** Update iscsi/iscsi_server code that it is able to create backstore based on lvm ( So we can fully test iscsi with fileio & lvm backtore ) 
 * **AC4:** **AC3:** Create a follow-up tickets to extend this test module to work with lvm thin provisioning and normal partition as backstores

Back