vmpooler/lib/vmpooler
Glenn Sarti f433056734 (GH-185) Remove unnecessary checks in check_ready_vm
Previously in check_ready_vm, if the VM is powered off, the VM is moved in
redis however the function doesn't return there, and instead then checks if the
hostname is the same, and then if TCP socket 22 is open. This is unnecessary as
we already know the VM is turned off so of course the hostname is wrong and TCP
22 is unavailable. The same applies for the VM hostname.

This commit instead returns after it is found a VM is no longer ready.  This
commit also amends the spec tests for the correct behaviour.
2017-03-01 20:28:36 -08:00
..
api (POOLER-71) Add dummy authentication provider 2017-02-09 16:23:10 -08:00
public Fix JavaScript error on nil weekly_data 2016-11-21 17:05:58 -08:00
views dashboard2 2016-01-13 12:01:05 -08:00
api.rb Merge CI.next into Master (#161) 2016-07-25 10:43:32 -05:00
dashboard.rb Redirect / to /dashboard 2015-04-10 09:38:55 -07:00
dummy_statsd.rb Merge CI.next into Master (#161) 2016-07-25 10:43:32 -05:00
graphite.rb Merge CI.next into Master (#161) 2016-07-25 10:43:32 -05:00
logger.rb Rubocop --auto-correct syntax fixups 2015-02-06 11:08:54 -08:00
pool_manager.rb (GH-185) Remove unnecessary checks in check_ready_vm 2017-03-01 20:28:36 -08:00
statsd.rb Merge CI.next into Master (#161) 2016-07-25 10:43:32 -05:00
vsphere_helper.rb Add retry logic with a delay for vsphere connections 2016-11-29 03:43:18 -08:00