Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
krnowak committed Sep 12, 2024
1 parent d2762d2 commit 10fd375
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kola/tests/packages/openiscsi.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ var (
getInitiatorClientScript = util.TrimLeftSpace(`
#!/bin/bash
set -x
set -euo pipefail
sudo systemctl start iscsid
Expand All @@ -36,6 +37,7 @@ exit 1
setupServerScript = util.TrimLeftSpace(`
#!/bin/bash
set -x
set -euo pipefail
initiator=${1}
Expand All @@ -52,6 +54,9 @@ set attribute generate_node_acls=1
acls/ create ${initiator}
EOF
echo '/shared/init.script:' >&2
cat /shared/init.script >&2
docker_args=(
--privileged
--network host
Expand All @@ -68,6 +73,7 @@ docker run "${docker_args[@]}" ghcr.io/krnowak/targetcli-fb bash -c 'targetcli <
discoverClientScript = util.TrimLeftSpace(`
#!/bin/bash
set -x
set -euo pipefail
host_ip=${1}
Expand Down Expand Up @@ -100,6 +106,7 @@ systemctl enable iscsi
checkClientScript = util.TrimLeftSpace(`
#!/bin/bash
set -x
set -euo pipefail
if [[ ! -e /dev/sda ]]; then
Expand Down

0 comments on commit 10fd375

Please sign in to comment.