]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits/nvmeof/setup_subsystem.sh: use --no-group-append
authorVallari Agrawal <val.agl002@gmail.com>
Wed, 9 Oct 2024 07:27:32 +0000 (12:57 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Thu, 10 Oct 2024 10:08:51 +0000 (15:38 +0530)
In newer version of nvmeof cli, "subsystem add" needs
this tag to ensure subsystem name is value of --subsystem.
Otherwise, in newer cli version, the gateway group is appended
at the end of the subsystem name.

This fixes the teuthology nvmeof suite (currently all jobs fails
because of this).

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
qa/workunits/nvmeof/setup_subsystem.sh

index fb72e1d6402dddd7591d24ba38f7b465212eacdb..cc4024323eb874cf0560a005cd2f72888209653a 100755 (executable)
@@ -29,7 +29,7 @@ list_subsystems () {
 # add all subsystems
 for i in $(seq 1 $NVMEOF_SUBSYSTEMS_COUNT); do
     subsystem_nqn="${NVMEOF_SUBSYSTEMS_PREFIX}${i}"
-    sudo podman run -it $NVMEOF_CLI_IMAGE --server-address $NVMEOF_DEFAULT_GATEWAY_IP_ADDRESS --server-port $NVMEOF_SRPORT subsystem add --subsystem $subsystem_nqn
+    sudo podman run -it $NVMEOF_CLI_IMAGE --server-address $NVMEOF_DEFAULT_GATEWAY_IP_ADDRESS --server-port $NVMEOF_SRPORT subsystem add --subsystem $subsystem_nqn --no-group-append
 done
 
 list_subsystems