vmpooler/spec
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
..
fixtures (POOLER-133) Identify when a ready VM has failed 2018-12-03 12:21:08 -08:00
integration (POOLER-150) Synchronize checkout operations for API 2019-10-21 14:24:34 -07:00
unit (QENG-7530) Add check for unique hostnames 2019-11-04 15:53:05 -08:00
helpers.rb (POOLER-142) Add running host to vm API data 2019-08-21 12:43:06 -07:00
rbvmomi_helper.rb (POOLER-89) Identify when config issue is present 2017-08-15 10:58:37 -07:00
spec_helper.rb Allow user to specify a configuration file in VMPOOLER_CONFIG_FILE 2018-01-23 15:51:10 -08:00