copr-be: the wait-for-ssh script moved to resalloc-helpers

This commit is contained in:
Pavel Raiskup 2024-02-28 10:39:11 +01:00
parent f88c3a9dc5
commit d538edeca4
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ class LibvirtSpawner:
Knowing the IP address of recently started VM, wait for the SSH server
responding on that IP.
"""
script = "resalloc-aws-wait-for-ssh"
script = "resalloc-wait-for-ssh"
if self.call([script, '--timeout', '180', host, '--log', 'debug']):
raise Exception("waiting not successful")

View file

@ -16,7 +16,7 @@ resalloc-openstack-new \
--image "{{ copr_builder_images.osuosl.ppc64le }}" \
--flavor "$flavor" \
--name "$RESALLOC_NAME" \
--post-command "set -x ; resalloc-aws-wait-for-ssh --timeout 250 --log debug \"\$RESALLOC_OS_IP\" >&2 && ansible-playbook $playbook -i \"\$RESALLOC_OS_IP,\" >&2 " \
--post-command "set -x ; resalloc-wait-for-ssh --timeout 250 --log debug \"\$RESALLOC_OS_IP\" >&2 && ansible-playbook $playbook -i \"\$RESALLOC_OS_IP,\" >&2 " \
--key-pair-id copr-builder \
--nic net-id="$network" \
--print-ip