vmpooler/lib/vmpooler/providers
kirby@puppetlabs.com 811fd8b60f (POOLER-158) Add capability to provision VMs on demand
This change adds a capability to vmpooler to provision instances on
demand. Without this change vmpooler only supports retrieving machines
from pre-provisioned pools.

Additionally, this change refactors redis interactions to reduce round
trips to redis. Specifically, multi and pipelined redis commands are
added where possible to reduce the number of times we are calling redis.

To support the redis refactor the redis interaction has changed to
leveraging a connection pool. In addition to offering multiple
connections for pool manager to use, the redis interactions in pool
manager are now thread safe.

Ready TTL is now a global parameter that can be set as a default for all
pools. A default of 0 has been removed, because this is an unreasonable
default behavior, which would leave a provisioned instance in the pool
indefinitely.

Pool empty messages have been removed when the pool size is set to 0.
Without this change, when a pool was set to a size of 0 the API and pool
manager would both show that a pool is empty.
2020-06-03 14:00:04 -07:00
..
base.rb (POOLER-158) Add capability to provision VMs on demand 2020-06-03 14:00:04 -07:00
dummy.rb (POOLER-158) Add capability to provision VMs on demand 2020-06-03 14:00:04 -07:00
vsphere.rb (POOLER-158) Add capability to provision VMs on demand 2020-06-03 14:00:04 -07:00