oVirt / ovirt-node-ng-image

The source for oVirt Node NG installer ISO and RPM image
GNU General Public License v2.0
19 stars 13 forks source link

automation: failing to detect IP address while testing the built ISO #17

Closed sandrobonazzola closed 2 years ago

sandrobonazzola commented 2 years ago

Describe the bug check_iso step is failing to detect the local IP address while running on GitHub actions :

ISO_INSTALL_TIMEOUT=40
+ ./scripts/node-setup/setup-node-appliance.sh -i ovirt-node-ng-installer-4.5.0-2022022318.el8.iso -p ovirt
+ setup_rc=1
++ grep available setup-iso.log
++ cut -d: -f1
+ local name=
++ grep -Po '(?<=at ).*' setup-iso.log
+ local addr=
++ grep -Po '(?<=WORKDIR: ).*' setup-iso.log
+ local wrkdir=/github/home/ovirt-node
+ local sshkey=/github/home/ovirt-node/sshkey-
+ fetch_remote /github/home/ovirt-node/sshkey- '' /tmp init_tmp 1
+ local sshkey=/github/home/ovirt-node/sshkey-
+ local addr=
+ local path=/tmp
+ local dest=init_tmp
+ local compress=1
+ scp -o 'UserKnownHostsFile /dev/null' -o 'StrictHostKeyChecking no' -i /github/home/ovirt-node/sshkey- -r root@:/tmp init_tmp
Warning: Identity file /github/home/ovirt-node/sshkey- not accessible: No such file or directory.
ssh: Could not resolve hostname : Name or service not known
michalskrivanek commented 2 years ago

when i played with it i wasn't sure it even starts he env properly in container env. unless it's something trivial i missed i don't think it's worth too much effort really, the resulting iso is automatically pushed into OST and tested there...