Skip to content

Commit

Permalink
debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasyang2022 committed Oct 16, 2024
1 parent df47b18 commit a2e32d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/run-functional-tests
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ deploy_ha_node() {

if [ "$node_name" != "qnetd-node" ];then
rm_qnetd_cmd="rpm -q corosync-qnetd && rpm -e corosync-qnetd"
podman_exec $node_name "$rm_qnetd_cmd" &> /dev/null
podman_exec $node_name "$rm_qnetd_cmd"
fi
podman_exec $node_name "rm -rf /run/nologin"
podman_exec $node_name "echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config"
Expand All @@ -199,7 +199,7 @@ deploy_ha_node() {
if [ "$node_name" != "qnetd-node" ];then
podman cp $PROJECT_PATH $node_name:/opt/crmsh
info "Building crmsh on \"$node_name\"..."
podman_exec $node_name "$make_cmd" 1> /dev/null || \
podman_exec $node_name "$make_cmd" || \
fatal "Building failed on $node_name!"
podman_exec $node_name "chown hacluster:haclient -R /var/log/crmsh"
podman_exec $node_name "chmod g+w -R /var/log/crmsh"
Expand Down Expand Up @@ -231,7 +231,7 @@ create_node() {
done

for node in $*;do
deploy_ha_node $node &
deploy_ha_node $node
done
wait
}
Expand Down

0 comments on commit a2e32d8

Please sign in to comment.