Commit graph

  • 2f98b1bd7a
    Merge pull request #271 from mattkirby/less_delta_disks mchllweeks 2018-07-09 12:49:08 -07:00
  • 69f8b21ca8
    Merge pull request #270 from mattkirby/no_duplicate_vms_in_pool mchllweeks 2018-07-09 12:48:41 -07:00
  • a72012b754
    Merge pull request #268 from mattkirby/reduce_object_lookups mchllweeks 2018-07-09 12:46:17 -07:00
  • 596af14918
    Merge pull request #275 from mattkirby/jruby_92 Samuel 2018-07-06 17:45:08 -05:00
  • 27c9ee7591 (POOLER-34) Ship clone request to ready time to metrics Spencer McElmurry 2018-07-06 14:06:31 -07:00
  • b6e592caf3 (POOLER-81) Add time_remaining information Spencer McElmurry 2018-07-05 15:46:55 -07:00
  • bc4bf32638 Add jruby 9.2 to travis testing kirby@puppetlabs.com 2018-07-05 17:17:24 -07:00
  • faaec4f9bc (POOLER-124) Fix evaluation of max_tries kirby@puppetlabs.com 2018-07-03 11:24:05 -07:00
  • bd0ae2e192 (POOLER-40) Do not return folders with get_pool_vms kirby@puppetlabs.com 2018-07-03 11:09:07 -07:00
  • 170d2090f8 Add some documentation to get_vm_hash kirby@puppetlabs.com 2018-07-03 09:12:05 -07:00
  • 70156ba7f7 Do not prepare template when config_template is set kirby@puppetlabs.com 2018-07-02 14:12:17 -07:00
  • 1b17cceb01 Ensure template deltas are created once kirby@puppetlabs.com 2018-07-02 09:53:41 -07:00
  • 0ce66eb763
    Merge pull request #266 from mattkirby/pooler_31 mchllweeks 2018-06-29 16:43:04 -07:00
  • 481d5b215f (MOB) Running tests pass kirby@puppetlabs.com 2018-06-29 15:50:06 -07:00
  • b9d86c85ec Fixed spec testing for check_running_pool_vm Spencer McElmurry 2018-06-29 15:13:44 -07:00
  • cd8a87560f (MOB) "Good luck" Dakota Schneider 2018-06-29 14:49:04 -07:00
  • 5cfc4ed3bb
    (MOB) refactored check_running_pool_vms method kevpl 2018-06-29 13:58:26 -07:00
  • 37e137962a Resolve merge conflicts from upstream rebase Dakota Schneider 2018-06-29 13:24:23 -07:00
  • fa988470a7 Pass pool_check_response to create_inventory kirby@puppetlabs.com 2018-06-19 11:27:47 -07:00
  • ec07f04d95 (MOB) refactor create_inventory into own method kevpl 2018-06-19 11:00:16 -07:00
  • 678290f779 Adding a docker compose for local dev Changed the dummy example file to match the expected LOG location Samuel Beaulieu 2018-06-19 11:51:29 -05:00
  • df89617fdc Do not run duplicate instances of inventory check for a pool kirby@puppetlabs.com 2018-06-28 20:32:44 -07:00
  • a6c2ef7bf3 Rename find_folder to find_vm_folder kirby@puppetlabs.com 2018-06-28 09:47:19 -07:00
  • 5c857f50f1 Replace find_folder with searchindex inventorypath kirby@puppetlabs.com 2018-06-28 09:44:28 -07:00
  • 8840ef4a5c Reduce object lookups for get_vm kirby@puppetlabs.com 2018-06-27 17:03:37 -07:00
  • 8be578493a
    Merge pull request #267 from mattkirby/multiple_ldap_search mchllweeks 2018-06-27 15:26:49 -07:00
  • 4fa54c8008 Move net/ldap require into vmpooler.rb kirby@puppetlabs.com 2018-06-27 15:21:15 -07:00
  • cbd4567454 Provide valid configuration for auth kirby@puppetlabs.com 2018-06-27 14:41:27 -07:00
  • 9fa27af8e5 (POOLER-113) Add support for multiple LDAP search bases kirby@puppetlabs.com 2018-06-25 13:56:55 -07:00
  • 3a6e2a5cac (POOLER-31) Expire redis vm key when clone fails kirby@puppetlabs.com 2018-06-20 17:27:31 -07:00
  • de813943e9
    Merge pull request #265 from mattkirby/destroy_once mchllweeks 2018-06-20 13:51:43 -07:00
  • 3a0f0880e7 (POOLER-112) Ensure a VM is only destroyed once kirby@puppetlabs.com 2018-05-25 11:54:46 -07:00
  • 89e1f17738
    Merge pull request #261 from mattkirby/fix_ignore_cert Samuel 2018-06-20 15:27:40 -05:00
  • d736b1e978
    Merge pull request #260 from mattkirby/fix_check_disk Samuel 2018-06-20 15:25:38 -05:00
  • 63fb23154c
    Merge pull request #256 from mattkirby/config_changes_squash Samuel 2018-06-20 15:23:44 -05:00
  • 8c79acd02d Fixup spec for pool_check_response Dakota Schneider 2018-06-19 11:52:40 -07:00
  • a78d65137d Pass pool_check_response to create_inventory kirby@puppetlabs.com 2018-06-19 11:27:47 -07:00
  • 03a16a1a4d
    (MOB) refactor create_inventory into own method kevpl 2018-06-19 11:00:16 -07:00
  • 987cdcdee3 Adding a docker compose for local dev Changed the dummy example file to match the expected LOG location Samuel Beaulieu 2018-06-19 11:51:29 -05:00
  • 9bb4df7d8e (POOLER-107) Add configuration API endpoint kirby@puppetlabs.com 2018-05-11 13:42:21 -07:00
  • e781ed258b Update ruby versions for travis (#259) mattkirby 2018-06-14 13:21:35 -07:00
  • 9cf6c1a6d1 Update ruby versions for travis kirby@puppetlabs.com 2018-06-01 11:51:58 -07:00
  • c77e0c4c65
    Merge pull request #257 from mattkirby/redis_port_password Spencer McElmurry 2018-06-13 09:08:04 -07:00
  • 148f92591e Adds a gemspec file Corey Osman 2018-06-12 11:44:23 -07:00
  • af8b73b6c9 Change default vsphere connection behavior kirby@puppetlabs.com 2018-06-08 12:40:03 -07:00
  • 65fb4c9919 Update to generic launcher FrozenFOXX 2018-05-31 16:12:45 -05:00
  • d1ae85c8af Remove propertyCollector from add_disk kirby@puppetlabs.com 2018-05-29 14:53:09 -07:00
  • 7a2b7a4f1c
    Update to generic launcher FrozenFOXX 2018-05-31 16:12:45 -05:00
  • d95e486c8c Fixing method remove_excess_vms Before this fix, if the pool had an excessive number of 'pending' vms, but was not full of 'ready' vms, we would end up clearing all the 'pending' vms regardless, which could bring us back under the max pool size. This fix makes sure we only remove the excess, see unit test for an example fix-remove-excess-vms Samuel Beaulieu 2018-05-30 16:54:43 -05:00
  • 9b8b35395d Add dockerfile without redis kirby@puppetlabs.com 2018-04-19 14:21:02 -07:00
  • 67d5ef73c2 Adjusted with jruby FrozenFOXX 2018-05-24 17:31:18 -05:00
  • f69e9398c1 Create vmpooler.service FrozenFOXX 2018-05-09 11:22:01 -05:00
  • a9ca914832 Add support for setting redis port and password kirby@puppetlabs.com 2018-05-25 11:54:46 -07:00
  • 3e8f5eb031
    Merge pull request #251 from mattkirby/fix_heavy Spencer McElmurry 2018-05-29 11:31:09 -07:00
  • 045a85183f Add support for setting redis port and password kirby@puppetlabs.com 2018-05-25 11:54:46 -07:00
  • c64bd97310 Remove redis locks kirby@puppetlabs.com 2018-05-24 16:45:51 -07:00
  • edac3aaadf
    Adjusted with jruby FrozenFOXX 2018-05-24 17:31:18 -05:00
  • 17956294ca Ensure pool sizes and templates are synced kirby@puppetlabs.com 2018-05-24 14:12:44 -07:00
  • 3b97afe076 Fix tests for invalid templates kirby@puppetlabs.com 2018-05-24 11:35:16 -07:00
  • 6cf12a157e Add invalid templates to result when invalid templates are provided to config endpoint kirby@puppetlabs.com 2018-05-23 17:45:48 -07:00
  • ab0c5b53a0 Add get endpoint for config kirby@puppetlabs.com 2018-05-23 17:19:45 -07:00
  • c8426b0076 Fix up tests to pass with additions kirby@puppetlabs.com 2018-05-23 13:56:22 -07:00
  • ddecb8b8d0 Add mutex object for managing pool configuration updates kirby@puppetlabs.com 2018-05-23 13:37:17 -07:00
  • 2d679168d7 Add table of contents to API.md kirby@puppetlabs.com 2018-05-22 15:22:19 -07:00
  • 9758adccfe (POOLER-107) Add configuration API endpoint kirby@puppetlabs.com 2018-05-11 13:42:21 -07:00
  • 4700ad2bb8 (POOLER-68) Replace find_vm search mechanism kirby@puppetlabs.com 2018-04-17 10:45:11 -07:00
  • 00970ffc9e (POOLER-103) Fix configuration file loading kirby@puppetlabs.com 2018-04-17 15:22:17 -07:00
  • 356c541fdc (POOLER-101) Update nokogiri and net-ldap kirby@puppetlabs.com 2018-04-19 15:30:45 -07:00
  • 7487ce4a33
    Create vmpooler.service FrozenFOXX 2018-05-09 11:22:01 -05:00
  • baa0e3d082 (POOLER-101) Update nokogiri and net-ldap kirby@puppetlabs.com 2018-04-19 15:30:45 -07:00
  • 68ddd1c77b Add dockerfile without redis kirby@puppetlabs.com 2018-04-19 14:21:02 -07:00
  • 44627524c6 (POOLER-103) Fix configuration file loading kirby@puppetlabs.com 2018-04-17 15:22:17 -07:00
  • 10245321bf (maint) Add the last boot time for each pool This commit add a redis hash where there is one key per pool, and the stored value is the last time a VM was booted e.g. the last time a VM went from 'pending' to 'ready'. This is also displayed in the API as lastBoot:'2018-03-23 17:43:39 +0000'. The data can then be used by any external system, in this case our alarming system. Samuel Beaulieu 2018-03-23 12:48:33 -05:00
  • 3f17bd2449 (maint) Add the last boot time for each pool This commit add a redis hash where there is one key per pool, and the stored value is the last time a VM was booted e.g. the last time a VM went from 'pending' to 'ready'. This is also displayed in the API as lastBoot:'2018-03-23 17:43:39 +0000'. The data can then be used by any external system, in this case our alarming system. Samuel Beaulieu 2018-03-23 12:48:33 -05:00
  • d57fc72fdb Fix typo in error message David Bishop 2018-01-24 16:32:51 -07:00
  • b3e168f860
    Fix typo in error message David Bishop 2018-01-24 16:32:51 -07:00
  • 878c93f646 Allow user to specify a configuration file in VMPOOLER_CONFIG_FILE variable adamdav 2017-10-06 17:09:31 -07:00
  • de26c863f5 Allow user to specify a configuration file in VMPOOLER_CONFIG_FILE variable adamdav 2017-10-06 17:09:31 -07:00
  • 28922df28e Remove references to jruby 1.7 kirby@puppetlabs.com 2018-01-03 17:05:35 -08:00
  • 82f141793b Update jruby version for travis to 9.1.13.0 kirby@puppetlabs.com 2018-01-03 16:49:53 -08:00
  • ea9deddd2d Identify when ESXi host quickstats do not return kirby@puppetlabs.com 2018-01-08 09:46:34 -08:00
  • 46b7484876 Identify when ESXi host quickstats do not return kirby@puppetlabs.com 2018-01-08 09:46:34 -08:00
  • 6ab2e2ff8c Add tests for new vsphere functionality kirby@puppetlabs.com 2018-01-03 14:42:18 -08:00
  • ecae6a1a58 reduce loop delay when waiting for host selection kirby@puppetlabs.com 2017-12-01 00:29:52 -08:00
  • fedb3632f2 Simplify run_select_hosts kirby@puppetlabs.com 2017-11-28 13:14:04 -08:00
  • 021633cd49 Ensure vm is removed from migrations kirby@puppetlabs.com 2017-11-12 11:41:29 -08:00
  • 048ab4433a Remove unnecessary rescue kirby@puppetlabs.com 2017-11-06 11:24:35 -08:00
  • 82b9033e83 Document parameters added in vmpooler.yaml.example kirby@puppetlabs.com 2017-11-06 11:12:15 -08:00
  • 67798ab892 Write check_time_finished whether host retrieval was successful or not kirby@puppetlabs.com 2017-11-06 08:58:19 -08:00
  • a3516d4913 Specify that migration_limit is vsphere only kirby@puppetlabs.com 2017-11-03 15:54:06 -07:00
  • 6175fd591f Remove attr_reader for provider_hosts kirby@puppetlabs.com 2017-11-03 15:49:45 -07:00
  • e92ae559f5 Remove references to redis in migrate_vm kirby@puppetlabs.com 2017-11-03 15:47:31 -07:00
  • 0efb79a133 Move provider_hosts to vsphere provider kirby@puppetlabs.com 2017-11-03 15:43:39 -07:00
  • cd979fc24d Move migrate_vm logic to vsphere provider kirby@puppetlabs.com 2017-11-03 12:50:05 -07:00
  • 23242a7b1c Update pool_manager and vsphere tests to support changes in host selection kirby@puppetlabs.com 2017-10-13 18:06:21 -07:00
  • 3050a22d62 Return the least used set of hosts kirby@puppetlabs.com 2017-10-13 18:05:40 -07:00
  • cd46eea13e Only specify cluster for clone operations kirby@puppetlabs.com 2017-10-13 18:02:26 -07:00
  • 2ffada72b6 Add capability to create folders kirby@puppetlabs.com 2017-10-13 18:00:16 -07:00
  • ada79e81f4 (QENG-5305) Check cluster utilization once at a time kirby@puppetlabs.com 2017-10-13 17:56:22 -07:00
  • 4aeb06ae84 Remove references to jruby 1.7 kirby@puppetlabs.com 2018-01-03 17:05:35 -08:00