Commit graph

663 commits

Author SHA1 Message Date
Scott Schneider
e7559c515e check_ready_vm fixups
- Correct key name ('check', not 'clone')
- Correct timestamp math (minutes, not seconds)
- Only search for the host in vSphere if we're actually doing a check
2014-02-19 09:38:05 -08:00
Scott Schneider
62cbc5a6ff 'vm_checktime' sets interval for check_ready_vm 2014-02-18 22:48:22 -08:00
Scott Schneider
1e6ca05d14 Add additional checks to VMs in 'ready' queues 2014-02-18 14:05:29 -08:00
Scott Schneider
4414227fd4 Fixup for undefined redis[server] config param 2014-02-18 11:30:08 -08:00
Scott Schneider
36e06cb731 Fixup for undefined redis[server] config param 2014-02-18 11:28:25 -08:00
Scott Schneider
a4d15b703b Allow optional trailing slash 2014-02-14 14:17:12 -08:00
Scott Schneider
c88961a76f Merge branch 'api_improvements' 2014-02-14 13:01:58 -08:00
Scott Schneider
019bdccdc1 GET /vm returns a list of available pools 2014-02-14 12:54:54 -08:00
Scott Schneider
5d3c5d245a Merge pull request #8 from sschneid/external_redis
Allow an external Redis server to be specified
2014-02-14 11:26:17 -08:00
Scott Schneider
b2d25ebb12 Missed one $config object 2014-02-14 11:23:43 -08:00
Scott Schneider
7fecd8b400 Global $config object 2014-02-14 11:19:28 -08:00
Scott Schneider
b9c7ef265b Merge branch 'master' into external_redis 2014-02-14 11:18:47 -08:00
Scott Schneider
f5f68148d6 Apache license boilerplate 2014-02-13 17:00:55 -08:00
Scott Schneider
93fcf319b0 Revert "Add Apache 2.0 license"
This reverts commit 192e9685c2.
2014-02-13 16:56:44 -08:00
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