Commit graph

137 commits

Author SHA1 Message Date
Scott Schneider
064bc45d96 Allow an external Redis server to be specified 2014-02-12 10:46:14 -08:00
Scott Schneider
fa3486a0ca Merge branch 'configurable_vm_lifetimes' 2014-02-06 11:20:59 -08:00
Scott Schneider
c0b2a8366c New configuration parameter 'vm_lifetime'
This allows for configurable TTLs for hosts in the 'running' queue.
2014-02-06 11:20:15 -08:00
Scott Schneider
9dfc20902c Report ok = 'false' if API DELETE fails 2014-02-06 09:59:21 -08:00
Scott Schneider
08559b2d75 Revert "Report ok = 'false' if API DELETE fails"
This reverts commit 616f3eb6f1.
2014-02-06 09:57:54 -08:00
Scott Schneider
2dd4d4bb21 Merge branch 'master' of github.com:sschneid/vmware-host-pooler 2014-02-06 09:41:08 -08:00
Scott Schneider
616f3eb6f1 Report ok = 'false' if API DELETE fails 2014-02-06 09:40:57 -08:00
Scott Schneider
9d3bff5388 Merge pull request #6 from sschneid/remove_api_cruft
Removing unnecessary 'folder' and 'pool' params
2014-02-06 09:26:14 -08:00
Scott Schneider
62c12f9344 Auth for VM deletion might be nice 2014-02-06 09:25:35 -08:00
Scott Schneider
fc8956cc65 Removing unnecessary 'folder' and 'pool' params 2014-02-06 09:24:51 -08:00
Scott Schneider
d2b3ebf2a1 Lookin' good 2014-02-05 18:47:17 -08:00
Scott Schneider
79dac9f867 Merge pull request #5 from sschneid/dashboard_margins
Modify svg element margin & padding
2014-02-05 13:32:59 -08:00
Scott Schneider
92b59d649a Modify svg element margin & padding
This allows for more elements to be stuffed into the .module container.
2014-02-05 13:31:56 -08:00
Scott Schneider
3f9225a39f Merge pull request #4 from sschneid/destroy_vm_cleanup
Clean up the 'deploy_vm' method
2014-02-05 12:47:40 -08:00
Scott Schneider
47e2d8ab1e Clean up the 'deploy_vm' method
Removing duplicate lines of code better accomplished with a '||'
fallback to the 'find_vm_heavy' method.
2014-02-05 12:41:54 -08:00
Scott Schneider
f9c9c36173 'booting' metric should never be a negative number 2014-02-05 11:44:26 -08:00
Scott Schneider
693abcd2ff Past-tense log messages 2014-02-05 11:29:57 -08:00
Scott Schneider
d065367e84 Merge pull request #3 from sschneid/clone_timestamp_in_redis
Store VM 'clone' timestamp in Redis
2014-02-05 11:27:05 -08:00
Scott Schneider
5d52bc95da Adding missing 'start' variable 2014-02-04 15:13:38 -08:00
Scott Schneider
55ada2d80e Store 'clone' timestamps in Redis database
Using redis keys to store clone timestamps will allow for a global TTL
for VMs in the 'pending' pool; failed clones should be cleaned up and
retried after a set period of time (eg. 15m).
2014-02-04 15:05:24 -08:00
Scott Schneider
5f62a4eee0 Explicit #fff background 2014-02-04 11:35:15 -08:00
Scott Schneider
f8deb98820 Configurable site name in dashboard 2014-02-04 11:31:58 -08:00
Scott Schneider
1f76308f44 Remove non-inventory VMs sitting in 'completed' queue 2014-02-04 10:34:55 -08:00
Scott Schneider
66e16ac416 Dashboard wrapper div 2014-02-04 10:21:43 -08:00
Scott Schneider
1003afaf00 Rework vCenter VM retrieval method
Previous, the propertyCollector method was used to find VMs within
vCenter.  This method was ineffecient, as it would retrieve a list of
the entire vCenter inventory and then parse for the specified VM.  This
has been replaced with a fetch via searchIndex.FindByDnsName, which
returns only the requested VM object.
2014-02-04 09:42:28 -08:00
Scott Schneider
ed22ed6e08 Remove VMs not found in vCenter inventory from 'ready' queues 2014-02-03 15:57:35 -08:00
Scott Schneider
5823f099c1 Catch clonevm_task exceptions 2014-02-03 10:26:21 -08:00
Scott Schneider
282727aaa2 Adding new bug (to be fixed) 2014-01-23 14:21:02 -08:00
Scott Schneider
2894ef7944 Rate-limiting and clean-up of long-running VMs implemented 2014-01-23 14:08:09 -08:00
Scott Schneider
4ab3203d5b Syntax fix 2014-01-23 13:38:59 -08:00
Scott Schneider
a67a6a1bfa Recover from failed clones/deletes 2014-01-23 13:38:10 -08:00
Scott Schneider
3a4146a0ed Provide more numbers to the dashboard 2014-01-23 13:36:12 -08:00
Scott Schneider
175dbca9ca Implement clone rate-limiting 2014-01-21 16:28:41 -08:00
Scott Schneider
71d0cf2772 Don't fail if graphite stats found for unconfigured pools 2013-12-20 11:41:44 -08:00
Scott Schneider
502ebcf8b0 Merge branch 'dashboard' 2013-12-18 11:14:13 -08:00
Scott Schneider
33d268a513 Align text 2013-12-18 11:05:28 -08:00
Scott Schneider
e8861cb3dc Fix graph's y range 2013-12-17 10:44:50 -08:00
Scott Schneider
795a8c99f0 Fixups for Firefox 2013-12-13 16:31:35 -08:00
Scott Schneider
5ac118fd75 Merge branch 'master' into dashboard 2013-12-13 11:30:08 -08:00
Scott Schneider
977478b207 Check 2013-12-13 11:22:06 -08:00
Scott Schneider
3c42155c18 Fixup for long-running destruction 2013-12-13 11:19:37 -08:00
Scott Schneider
a4526ef341 Merge branch 'master' into dashboard 2013-12-13 10:13:38 -08:00
Scott Schneider
9675981927 Delete long-running VMs after 12 hours 2013-12-13 10:13:28 -08:00
Scott Schneider
9f3bff279a Added the dashboard 2013-12-12 11:48:26 -08:00
Scott Schneider
41efc97492 Merge branch 'master' into dashboard 2013-12-12 11:48:03 -08:00
Scott Schneider
f6e3722350 No more untimely deaths 2013-12-12 11:47:50 -08:00
Scott Schneider
45ab2455cf Pool stats should still work without graphite 2013-12-12 11:22:52 -08:00
Scott Schneider
c795880535 Add dashboard (initial) 2013-12-12 11:12:13 -08:00
Scott Schneider
116ef1d31f Add dashboard API paths 2013-12-12 10:52:45 -08:00
Scott Schneider
e3017beba1 Start keeping track of how long hosts are running 2013-12-12 10:04:49 -08:00