Project

General

Profile

action #48329

Updated by riafarov almost 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) 

 ## Suggestions 
 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) 
 We could reuse iscsi/iscsi_client and iscsi/iscsi_server and e.g. parametrize with backstore ( So we can fully test iscsi with fileio & lvm backtore ) 
 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 ) 

 Use openQA documentation to configure MM, and/or https://w3.suse.de/~mgriessmeier/hpc/openvswitch_step_by_step 
 Also we could use production workers feature. 

 ## Acceptance Criteria 
 * **AC1:** New test suite which tests iscsi with lvm backstore is scheduled in YaST job group 
 * **AC2:** Follow-up tickets are created to extend this test module to work with lvm thin provisioning and normal partition as backstores 
 * **AC3:** Test coverage is updated accordingly in the https://gitlab.suse.de/riafarov/qa-sle-functional-y/blob/master/SLES_Integration_Level_Testplan.md

Back