5bf7a040a5
Unsurprisingly, rebooting machines that are running in OpenStack is not as reliable or as fast as a local VM, which is what vmcheck was originally written for and tested against. Replace the: sleep 2 # give time for port to go down which is rife with raciness, with a stronger boot_id-based check to ensure we're in a new boot. Run "sync" before rebooting which sometimes helps (though I didn't fully investigate why or whether it always helps, there's probably something more subtle going on underneath). Increase the timeout to 120s. Closes: #543 Approved by: cgwalters