"Working System" creation freezes at "Regenerating server SSH keys"

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.

Status: 
Active

Comments

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?

hyper3xpl0iter's picture
Submitted by hyper3xpl0iter on Wed, 11/15/2017 - 07:58

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.

Is this a KVM instance, Xen, OpenVZ, or something else?

hyper3xpl0iter's picture
Submitted by hyper3xpl0iter on Wed, 11/15/2017 - 21:59

They are all KVM

Likely this is an entropy problem - random numbers cannot always be generated quickly on a VM.

Are these VMs running Debian or Ubuntu?

hyper3xpl0iter's picture
Submitted by hyper3xpl0iter on Mon, 11/20/2017 - 08:52

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.

If you SSH into the VM while it's hung at this point, do you see a find process running that is generating a lot of disk activity?