Commit graph

1299 commits

Author SHA1 Message Date
Scott Schneider
6216d89aeb Add Apache 2.0 license 2014-02-13 16:55:05 -08:00
Scott Schneider
d4e8e5db28 Merge pull request #9 from sschneid/running_vm_graph
Display a 'running VMs' graph on the dashboard
2014-02-13 15:47:32 -08:00
Scott Schneider
82c2afa619 Grow/shrink graph based on max stacked value 2014-02-13 15:43:44 -08:00
Scott Schneider
393c4a3121 Slightly squash logo 2014-02-13 12:27:41 -08:00
Scott Schneider
97912d71d5 width: 100% for Firefox 2014-02-13 11:58:38 -08:00
Scott Schneider
0b07ff91f1 Add a graph legend 2014-02-13 11:46:01 -08:00
Scott Schneider
52cd9bc128 Right-margin 2014-02-13 09:58:49 -08:00
Scott Schneider
978a9b80a0 Expand history array 2014-02-13 09:53:21 -08:00
Scott Schneider
cdffded5ab Squashing SVG heights to fit everything in a 1920x1080 display 2014-02-13 09:24:57 -08:00
Scott Schneider
709dc97d04 Clean up 'running' history-pulling code 2014-02-12 16:27:14 -08:00
Scott Schneider
443c9728ab Merge pull request #7 from sschneid/json_annotation
Store annotation in JSON format
2014-02-12 12:36:34 -08:00
Scott Schneider
efda9dfe42 'created_by' annotation 2014-02-12 11:13:43 -08:00
Scott Schneider
df9c8b5647 Store creation_timestamp as UTC 2014-02-12 10:48:09 -08:00
Scott Schneider
c4642d834d Store VM hostname as 'name' annotation 2014-02-12 10:47:35 -08:00
Scott Schneider
b6f4b735e8 Allow an external Redis server to be specified 2014-02-12 10:46:14 -08:00
Scott Schneider
2226f7ca05 Store annotation in JSON format 2014-02-12 10:29:45 -08:00
Scott Schneider
362d080578 Pull 'running' history from graphite on dashboard init 2014-02-11 15:11:43 -08:00
Scott Schneider
0fccb48455 Standardize 'running' dashboard API output 2014-02-11 14:05:31 -08:00
Scott Schneider
c8988c3dbf Send 'running' stats to graphite 2014-02-11 12:51:36 -08:00
Scott Schneider
b775579c6a First-pass at a 'running VMs' graph 2014-02-11 11:40:26 -08:00
Scott Schneider
ac52d0df3e Merge branch 'configurable_vm_lifetimes' 2014-02-06 11:20:59 -08:00
Scott Schneider
cc90d6618e 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
080e4d9828 Report ok = 'false' if API DELETE fails 2014-02-06 09:59:21 -08:00
Scott Schneider
1f6777b16e Revert "Report ok = 'false' if API DELETE fails"
This reverts commit 616f3eb6f1.
2014-02-06 09:57:54 -08:00
Scott Schneider
e5b8d882e1 Merge branch 'master' of github.com:sschneid/vmware-host-pooler 2014-02-06 09:41:08 -08:00
Scott Schneider
c93ab9075d Report ok = 'false' if API DELETE fails 2014-02-06 09:40:57 -08:00
Scott Schneider
db134c4899 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
314a2cb659 Removing unnecessary 'folder' and 'pool' params 2014-02-06 09:24:51 -08:00
Scott Schneider
b05311193f Merge pull request #5 from sschneid/dashboard_margins
Modify svg element margin & padding
2014-02-05 13:32:59 -08:00
Scott Schneider
90bf557396 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
d93eee034a 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
dc2cbbe712 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
c286b44553 'booting' metric should never be a negative number 2014-02-05 11:44:26 -08:00
Scott Schneider
261fdb5007 Past-tense log messages 2014-02-05 11:29:57 -08:00
Scott Schneider
a258b0eb95 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
b6e15080de Adding missing 'start' variable 2014-02-04 15:13:38 -08:00
Scott Schneider
087be6014d 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
e8aa7237e7 Explicit #fff background 2014-02-04 11:35:15 -08:00
Scott Schneider
7c4c65ebf1 Configurable site name in dashboard 2014-02-04 11:31:58 -08:00
Scott Schneider
ab450662cc Remove non-inventory VMs sitting in 'completed' queue 2014-02-04 10:34:55 -08:00
Scott Schneider
2e50082661 Dashboard wrapper div 2014-02-04 10:21:43 -08:00
Scott Schneider
bbe67ab8a3 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
ba3831bffb Remove VMs not found in vCenter inventory from 'ready' queues 2014-02-03 15:57:35 -08:00
Scott Schneider
b0105a1509 Catch clonevm_task exceptions 2014-02-03 10:26:21 -08:00
Scott Schneider
601a500100 Syntax fix 2014-01-23 13:38:59 -08:00
Scott Schneider
6f59436047 Recover from failed clones/deletes 2014-01-23 13:38:10 -08:00
Scott Schneider
4be2c0ef3e Provide more numbers to the dashboard 2014-01-23 13:36:12 -08:00
Scott Schneider
f4caa5a3ad Implement clone rate-limiting 2014-01-21 16:28:41 -08:00
Scott Schneider
36cc7ea3fe Don't fail if graphite stats found for unconfigured pools 2013-12-20 11:41:44 -08:00
Scott Schneider
e3080a432d Merge branch 'dashboard' 2013-12-18 11:14:13 -08:00