Undercloud ssh check timeout might be too short
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo-quickstart |
Fix Released
|
Low
|
Jiří Stránský |
Bug Description
I just encountered an error during a quickstart run -- timing out on ssh wait. I'm not sure what went wrong as in general i don't think i have a particularly slow virt host, and when i checked, ssh was available and i managed to log in just fine via `ssh -i /var/tmp/
TASK [setup/undercloud : Wait until ssh is available on undercloud node] *******
task path: /root/quickstar
Monday 12 December 2016 13:44:08 +0100 (0:00:00.048) 0:31:03.003 *******
fatal: [hostname.
NO MORE HOSTS LEFT *******
PLAY RECAP *******
hostname.
localhost : ok=10 changed=5 unreachable=0 failed=0
Monday 12 December 2016 13:49:09 +0100 (0:05:00.997) 0:36:04.001 *******
=======
setup/undercloud : convert image -------
/root/quickstar
setup/undercloud : run update -------
/root/quickstar
setup/undercloud : Wait until ssh is available on undercloud node ----- 301.00s
/root/quickstar
setup/undercloud : Get image -------
/root/quickstar
parts/libvirt : Install packages for libvirt -------
/root/quickstar
setup/undercloud : Perform selinux relabel on undercloud image --------- 41.49s
/root/quickstar
setup/undercloud : Inject additional images -------
/root/quickstar
setup/undercloud : Upload undercloud volume to storage pool ------------ 35.54s
/root/quickstar
setup/undercloud : Get image -------
/root/quickstar
setup/undercloud : Get undercloud vm ip address -------
/root/quickstar
setup/undercloud : upload repos on the images -------
/root/quickstar
setup/undercloud : Inject undercloud ssh public key to appliance -------- 4.75s
/root/quickstar
setup/undercloud : download delorean repos for master ------------------- 4.45s
/root/quickstar
setup/undercloud : Resize the undercloud image using qemu-image resize --- 3.72s
/root/quickstar
setup/overcloud : Define overcloud vms -------
/root/quickstar
setup/undercloud : generate image specific update script ---------------- 2.88s
/root/quickstar
setup/undercloud : Get actual md5 checksum of image -------
/root/quickstar
setup/user : Generate ssh keys -------
/root/quickstar
parts/libvirt : If ipxe-roms-qemu is not installed, install a known good version --- 2.50s
/root/quickstar
setup/undercloud : Copy instackenv.json to appliance -------
/root/quickstar
This happened to me twice in successsion, then bumping the timeout from 5 to 10 minutes seemed to fix it, i'll post a patch.