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 ae641c8 commit 2f191dc
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 @@ -69,6 +74,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 @@ -101,6 +107,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 2f191dc

Please sign in to comment.