Hey guys, I'm having an issue where everytime I create a working system it freezes at "Regenerating server SSH keys" and won't continue any further. However after waiting for more than an hour I manually rebooted the VM and once it's up it does allow me to SSH into the machine where I can manually regenerate the SSH keys.
Submitted by JamieCameron on Wed, 11/15/2017 - 00:33 Comment #1
This could be an entropy issue ... what kind of VM is this?
Also, when you say it freezes, do you mean the creation process hangs, or the VM is completely inaccessible?
Oh sorry, Yes, it's hanging not freezing. it gets to the part where it says that it's regenerating the keys, and they just hangs there indeffinatly.
Submitted by JamieCameron on Wed, 11/15/2017 - 21:52 Comment #3
Is this a KVM instance, Xen, OpenVZ, or something else?
They are all KVM
Submitted by JamieCameron on Thu, 11/16/2017 - 23:47 Comment #5
Likely this is an entropy problem - random numbers cannot always be generated quickly on a VM.
Are these VMs running Debian or Ubuntu?
They are all Ubuntu 16.04.3 LTS, and even if I leave it go for an hour or more it still hangs the whole time.
Submitted by JamieCameron on Tue, 11/21/2017 - 03:18 Comment #7
If you SSH into the VM while it's hung at this point, do you see a
findprocess running that is generating a lot of disk activity?