Generating mounts on loop device is useful, but it would be useful to allow also real remote storage like NFS or Gluster, or real LUN using targetcli or local storage server.
In this case the userstorage configuration is a convinient way to locate the storage in the tests, and it avoids the root access needed to mount real storage or login to iSCSI server.
It is not be possible to use the same storage server when running the tests in CI environment and when running the tests on developer machine (e.g. working from favorite cafe). But a developer can use local configuration providing the same storage types using local servers.
Generating mounts on loop device is useful, but it would be useful to allow also real remote storage like NFS or Gluster, or real LUN using targetcli or local storage server.
In this case the userstorage configuration is a convinient way to locate the storage in the tests, and it avoids the root access needed to mount real storage or login to iSCSI server.
It is not be possible to use the same storage server when running the tests in CI environment and when running the tests on developer machine (e.g. working from favorite cafe). But a developer can use local configuration providing the same storage types using local servers.