vmpooler/lib
Brandon High 019ed021b0
(QENG-7530) Add check for unique hostnames
Prior to this commit the pooler had no awareness of the complete set of
hostnames that are currently in use. This meant that it was possible to
allocate the same hostname twice, which would result in the original
host with that hostname becoming unreachable.

This commit adds a check for the existence of the
`vmpooler__vm__<hostname>` key before attempting to  clone the vm.
This should prevent duplicate hostnames.

If the hostname is already taken, `_clone_vm` will retry with a new
random hostname multiple times before raising an exception.
2019-11-04 15:53:05 -08:00
..
vmpooler (QENG-7530) Add check for unique hostnames 2019-11-04 15:53:05 -08:00
vmpooler.rb Make it possible to disable linked clones 2019-08-06 14:29:31 -07:00