Skip to content

Commit 303f18b

Browse files
committed
qa/workunits/nvmeof/setup_subsystem.sh: use --no-group-append
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 <[email protected]>
1 parent 0bab553 commit 303f18b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/workunits/nvmeof/setup_subsystem.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ list_subsystems () {
2929
# add all subsystems
3030
for i in $(seq 1 $NVMEOF_SUBSYSTEMS_COUNT); do
3131
subsystem_nqn="${NVMEOF_SUBSYSTEMS_PREFIX}${i}"
32-
sudo podman run -it $NVMEOF_CLI_IMAGE --server-address $NVMEOF_DEFAULT_GATEWAY_IP_ADDRESS --server-port $NVMEOF_SRPORT subsystem add --subsystem $subsystem_nqn
32+
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
3333
done
3434

3535
list_subsystems

0 commit comments

Comments
 (0)