Commit graph

  • 71d0cf2772 Don't fail if graphite stats found for unconfigured pools Scott Schneider 2013-12-20 11:41:44 -08:00
  • e3080a432d Merge branch 'dashboard' Scott Schneider 2013-12-18 11:14:13 -08:00
  • 502ebcf8b0 Merge branch 'dashboard' Scott Schneider 2013-12-18 11:14:13 -08:00
  • 0720c8bb91 Align text Scott Schneider 2013-12-18 11:05:28 -08:00
  • 33d268a513 Align text Scott Schneider 2013-12-18 11:05:28 -08:00
  • ac3e9f9602 Fix graph's y range Scott Schneider 2013-12-17 10:44:50 -08:00
  • e8861cb3dc Fix graph's y range Scott Schneider 2013-12-17 10:44:50 -08:00
  • 607fa53a27 Fixups for Firefox Scott Schneider 2013-12-13 16:31:35 -08:00
  • 795a8c99f0 Fixups for Firefox Scott Schneider 2013-12-13 16:31:35 -08:00
  • b7a9457ef1 Merge branch 'master' into dashboard Scott Schneider 2013-12-13 11:30:08 -08:00
  • 5ac118fd75 Merge branch 'master' into dashboard Scott Schneider 2013-12-13 11:30:08 -08:00
  • 67ed2c8a2e Check Scott Schneider 2013-12-13 11:22:06 -08:00
  • 977478b207 Check Scott Schneider 2013-12-13 11:22:06 -08:00
  • 6611c210a5 Fixup for long-running destruction Scott Schneider 2013-12-13 11:19:37 -08:00
  • 3c42155c18 Fixup for long-running destruction Scott Schneider 2013-12-13 11:19:37 -08:00
  • f0651ae235 Merge branch 'master' into dashboard Scott Schneider 2013-12-13 10:13:38 -08:00
  • a4526ef341 Merge branch 'master' into dashboard Scott Schneider 2013-12-13 10:13:38 -08:00
  • 43047fbf80 Delete long-running VMs after 12 hours Scott Schneider 2013-12-13 10:13:28 -08:00
  • 9675981927 Delete long-running VMs after 12 hours Scott Schneider 2013-12-13 10:13:28 -08:00
  • 9f3bff279a Added the dashboard Scott Schneider 2013-12-12 11:48:26 -08:00
  • 5062fb5b9f Merge branch 'master' into dashboard Scott Schneider 2013-12-12 11:48:03 -08:00
  • 41efc97492 Merge branch 'master' into dashboard Scott Schneider 2013-12-12 11:48:03 -08:00
  • f6e3722350 No more untimely deaths Scott Schneider 2013-12-12 11:47:50 -08:00
  • b264104643 Pool stats should still work without graphite Scott Schneider 2013-12-12 11:22:52 -08:00
  • 45ab2455cf Pool stats should still work without graphite Scott Schneider 2013-12-12 11:22:52 -08:00
  • 7e3169bc70 Add dashboard (initial) Scott Schneider 2013-12-12 11:12:13 -08:00
  • c795880535 Add dashboard (initial) Scott Schneider 2013-12-12 11:12:13 -08:00
  • 37c55bcbf8 Add dashboard API paths Scott Schneider 2013-12-12 10:52:45 -08:00
  • 116ef1d31f Add dashboard API paths Scott Schneider 2013-12-12 10:52:45 -08:00
  • d13a9fcf3a Start keeping track of how long hosts are running Scott Schneider 2013-12-12 10:04:49 -08:00
  • e3017beba1 Start keeping track of how long hosts are running Scott Schneider 2013-12-12 10:04:49 -08:00
  • 52861f4682 A little bit o' cleanup Scott Schneider 2013-12-12 10:03:36 -08:00
  • 31ea12dc07 A little bit o' cleanup Scott Schneider 2013-12-12 10:03:36 -08:00
  • bcd90bde75 Catch ALL THE EXCEPTIONS Scott Schneider 2013-12-12 10:02:29 -08:00
  • bcfca89730 Catch ALL THE EXCEPTIONS Scott Schneider 2013-12-12 10:02:29 -08:00
  • bac80108b2 Each pool gets it's own vSphere object Scott Schneider 2013-12-06 14:16:56 -08:00
  • 31df80aa7c Each pool gets it's own vSphere object Scott Schneider 2013-12-06 14:16:56 -08:00
  • e67d8a5d54 Additional object-existance checks Scott Schneider 2013-12-06 12:05:47 -08:00
  • 5ea20c71b9 Additional object-existance checks Scott Schneider 2013-12-06 12:05:47 -08:00
  • 77ffd7f829 Missing an 'and' Scott Schneider 2013-12-05 11:46:58 -08:00
  • 4f3c2aedd5 Missing an 'and' Scott Schneider 2013-12-05 11:46:58 -08:00
  • 2f1a83eeb6 Avoid racing, only hand over VMs after a successful smove Scott Schneider 2013-12-05 11:44:11 -08:00
  • c261baeb3b Avoid racing, only hand over VMs after a successful smove Scott Schneider 2013-12-05 11:44:11 -08:00
  • 72b1cd485e Replace srem/sadd with smove, check power state of 'ready' and 'running' VMs Scott Schneider 2013-12-05 11:38:11 -08:00
  • 674a3eaf6f Replace srem/sadd with smove, check power state of 'ready' and 'running' VMs Scott Schneider 2013-12-05 11:38:11 -08:00
  • 2912056b45 Only check VMs found in inventory Scott Schneider 2013-12-04 11:37:51 -08:00
  • 5de7a8b244 Only check VMs found in inventory Scott Schneider 2013-12-04 11:37:51 -08:00
  • d581524b81 Separate ready_ttl and running_ttl config params Scott Schneider 2013-12-04 11:31:23 -08:00
  • f687641c98 Separate ready_ttl and running_ttl config params Scott Schneider 2013-12-04 11:31:23 -08:00
  • 4f23d8bb31 Use pool['running_ttl'], or a default Scott Schneider 2013-12-04 11:25:46 -08:00
  • 14bd3e0084 Use pool['running_ttl'], or a default Scott Schneider 2013-12-04 11:25:46 -08:00
  • 754c27020c Quick hack to auto-destroy long-running VMs Scott Schneider 2013-12-04 11:15:03 -08:00
  • 009cf789ab Quick hack to auto-destroy long-running VMs Scott Schneider 2013-12-04 11:15:03 -08:00
  • c4b85d0306 Initial Scott Schneider 2013-12-04 11:03:55 -08:00
  • 7b866f788e Clear pending queue on init Scott Schneider 2013-11-25 22:31:08 -08:00
  • 7ac06dc4d6 Why so sleepy? Scott Schneider 2013-11-25 22:29:59 -08:00
  • 9228abb5d1 Remove (commented-out) race condition Scott Schneider 2013-11-25 13:46:47 -08:00
  • dc906164c1 Reinitialize if connection is reset Scott Schneider 2013-11-25 11:33:59 -08:00
  • 73c61ec26b Spacing Scott Schneider 2013-11-21 15:33:41 -08:00
  • f9e2c30e29 Remove unused find_customization method Scott Schneider 2013-11-21 14:44:15 -08:00
  • 4f64355241 Only one pools.each required... Scott Schneider 2013-11-21 10:47:25 -08:00
  • e8881d601c Check for dead threads and restart them Scott Schneider 2013-11-18 10:27:35 -08:00
  • 8aab996666 Move pool-checks into a function Scott Schneider 2013-11-18 09:59:01 -08:00
  • 29ad2b9e09 Expire hosts in 'ready' pool with uptimes exceeding TTL Scott Schneider 2013-11-13 13:55:51 -08:00
  • 0a0177e226 Rename 'check_vm' function to 'check_pending_vm' Scott Schneider 2013-11-13 13:45:50 -08:00
  • 3239ea29bd Send graphite data from within a thread Scott Schneider 2013-11-13 13:31:17 -08:00
  • c80cac8def Send pool availability to graphite Scott Schneider 2013-11-13 11:58:44 -08:00
  • ea0a6786a4 Fixing variable Scott Schneider 2013-11-12 15:16:02 -08:00
  • 8423084be3 Not using this library Scott Schneider 2013-11-12 15:14:18 -08:00
  • 44637cef86 Send destroy times to graphite Scott Schneider 2013-11-12 15:11:48 -08:00
  • 77fe40b59b Send metrics to graphite (if configured) Scott Schneider 2013-11-12 15:03:34 -08:00
  • 57975a489f Log to a (configurable) file Scott Schneider 2013-11-08 10:48:51 -08:00
  • 2f4bdaf67a Per-pool timeout settings Scott Schneider 2013-11-06 17:28:41 -08:00
  • c3b6215961 Fewer vSphere queries = better Scott Schneider 2013-11-06 15:56:32 -08:00
  • bc20975fba Revert "Consolidate scripts" Scott Schneider 2013-11-06 09:47:24 -08:00
  • 485e6a0e4b Consolidate scripts Scott Schneider 2013-11-06 09:36:41 -08:00
  • dfc36a519e Don't re-add hosts in 'running' pool Scott Schneider 2013-11-05 15:25:55 -08:00
  • d957ddd089 Fail and redeploy if VM not 'ready' after 10 minutes Scott Schneider 2013-11-05 14:31:35 -08:00
  • 71a9150631 Revert "Only correlate Redis inventory with vCenter on startup" Scott Schneider 2013-11-05 14:13:09 -08:00
  • b7f922fb11 Only correlate Redis inventory with vCenter on startup Scott Schneider 2013-11-05 13:32:10 -08:00
  • 4558828a20 Remove legacy (refactored) code Scott Schneider 2013-11-05 13:16:52 -08:00
  • deea66b0da Refactor #1 Scott Schneider 2013-11-05 12:54:30 -08:00
  • a7d6b27847 Refactoring this mess of code Scott Schneider 2013-11-05 12:54:08 -08:00
  • aea6e32e3d destroy_vm should clear out Redis queue Scott Schneider 2013-11-05 10:25:43 -08:00
  • e1cf8d16a6 Everyday I'm shuffling Scott Schneider 2013-11-05 10:13:33 -08:00
  • 4891b0deb3 Show pool size in status Scott Schneider 2013-11-05 09:39:37 -08:00
  • 90b7e6585d Each Redis queue gets its own thread Scott Schneider 2013-11-05 09:28:12 -08:00
  • d29552eaa6 Thread thread thread Scott Schneider 2013-11-04 15:33:40 -08:00
  • f78c8352d5 Parallelize VM checks in threads Scott Schneider 2013-11-04 15:08:58 -08:00
  • 699bf83803 Thread ALL THE THINGS Scott Schneider 2013-11-04 14:22:22 -08:00
  • ac7b2f1216 Use threaded destroy_vm function Scott Schneider 2013-11-04 13:28:24 -08:00
  • f97977fdcf Whitespace Scott Schneider 2013-11-04 13:23:41 -08:00
  • 47ac1ed0ff Parallelize VM cleanup in threads Scott Schneider 2013-11-04 13:20:52 -08:00
  • 3859eb85c2 Fixing queue name Scott Schneider 2013-11-04 12:30:04 -08:00
  • fabea30dbb Fixing typo Scott Schneider 2013-11-04 12:15:22 -08:00
  • 1ebf772d70 Parallelize VM clones in threads Scott Schneider 2013-11-04 12:09:08 -08:00
  • 6c74a89e11 Use boolean instead of string for 'ok' response Scott Schneider 2013-11-04 10:53:59 -08:00
  • e051e625c8 Return ok=false if pool is empty Scott Schneider 2013-11-04 10:46:46 -08:00
  • b808b9c6c1 vSphere functions should use connection object in vsphere_helper lib Scott Schneider 2013-11-04 10:10:15 -08:00
  • 30ebe4249e Make all JSON output pretty Scott Schneider 2013-11-01 13:41:54 -07:00