Commit graph

2651 commits

Author SHA1 Message Date
Ryan Uber c6fd98b11b command: easier exit codes, check if eval is already finished 2015-09-22 10:45:06 -07:00
Ryan Uber e4b7aa1e3a command: add prefixed output for monitor commands 2015-09-22 10:45:06 -07:00
Ryan Uber 104cd67cff command: adding eval-monitor 2015-09-22 10:45:05 -07:00
Ryan Uber 3258f16568 command: monitor allocation client status updates 2015-09-22 10:45:05 -07:00
Ryan Uber 8db83e71e0 command: working on monitor 2015-09-22 10:45:05 -07:00
Ryan Uber bd40b1f5ad command: start implementing eval monitoring for run 2015-09-22 10:45:05 -07:00
Ryan Uber 43a33dd054 command: add primitive run command 2015-09-22 10:45:05 -07:00
Ryan Uber b15d45fa2b command: use an empty config instead of default config for cli options 2015-09-22 10:44:46 -07:00
Armon Dadgar bb58ba2705 website: document additional configuration options 2015-09-22 10:41:12 -07:00
Ryan Uber dbf60d4682 command/agent: fix help usage 2015-09-22 01:59:17 -07:00
Ryan Uber 0e54398200 command/agent: more arguments 2015-09-21 21:37:55 -07:00
Ryan Uber d734dedb54 command/agent: accept server/client/data-dir 2015-09-21 20:48:39 -07:00
Ryan Uber 3df6f52e96 agent: fix CLI help 2015-09-21 20:39:10 -07:00
Alex Dadgar 33117772b7 Merge pull request #75 from hashicorp/h-spawn-daemon-build-dep
Make spawn-daemon only defined on linux
2015-09-21 17:27:08 -07:00
Alex Dadgar 96b81124bf Make spawn-daemon only defined on linux 2015-09-21 15:24:08 -07:00
Armon Dadgar 6fb7d45acf agnet: fixing inversion of LeaveOnInt 2015-09-21 14:14:19 -07:00
Armon Dadgar 0621b2e2df agent: adding Atlas and Region to output 2015-09-21 14:14:19 -07:00
Alex Dadgar 0e3f21b34f Linux executor with cgroup isolation support 2015-09-21 09:08:57 -07:00
Armon Dadgar 0074270c45 http: validating job is provided to avoid nil pointer 2015-09-20 17:38:26 -07:00
Ryan Uber 02529aee52 command: fix tests after job validation 2015-09-16 11:42:28 -07:00
Ryan Uber e98307bd46 command: final adjustments for list output 2015-09-15 16:51:17 -07:00
Ryan Uber 1299fabf1f command: helpers for columns 2015-09-15 16:44:38 -07:00
Ryan Uber c577cd2143 command: output adjustments 2015-09-15 13:21:49 -07:00
Ryan Uber 1aac77c452 command: testing alloc/eval dump and short mode for status 2015-09-15 12:53:13 -07:00
Ryan Uber 8a25ca10a7 command: add evals/allocs to status command, add -short flag 2015-09-15 11:35:38 -07:00
Ryan Uber dd4e804d7e command: dump allocations for nodes in node-status 2015-09-15 11:20:08 -07:00
Ryan Uber 6af11360f3 command: separate k/v pairs with an '=' 2015-09-14 20:29:08 -07:00
Armon Dadgar 53834b39ba SCADA support 2015-09-14 15:33:08 -07:00
Ryan Uber 709c04dbde command: tests 2015-09-14 14:08:50 -07:00
Ryan Uber 4eddeebc9b command: guard tests from multiple parallel calls 2015-09-14 14:06:37 -07:00
Ryan Uber 7b5fd8a214 command: use meta struct for common options 2015-09-14 13:24:03 -07:00
Ryan Uber bfb60d6a06 command: kill AllAtOnce in job list mode 2015-09-14 13:24:03 -07:00
Ryan Uber 18745e6e68 command: cleanup 2015-09-14 13:24:03 -07:00
Ryan Uber c6fdb6060a command: add node-drain command 2015-09-14 13:24:03 -07:00
Ryan Uber 1183f0f270 command: more cli tests 2015-09-14 13:24:03 -07:00
Ryan Uber c363bc95f5 command: use testutil.TestServer in command tests 2015-09-14 13:24:03 -07:00
Ryan Uber b40d6715f6 command: cli tests 2015-09-14 13:24:03 -07:00
Ryan Uber 578934fb17 command: fix test agent helper 2015-09-14 13:24:03 -07:00
Ryan Uber be3e081dec command: add node-status command 2015-09-14 13:24:03 -07:00
Ryan Uber 3118043a4c command: add agent-join command 2015-09-14 13:24:03 -07:00
Ryan Uber 92c2c58a37 command: convert members so we get a descriptive status 2015-09-14 13:24:03 -07:00
Ryan Uber 8053570f18 command: adding agent-members command 2015-09-14 13:24:03 -07:00
Ryan Uber 7cdaf95f4e command: add agent-force-leave command 2015-09-14 13:24:02 -07:00
Ryan Uber fe245396d1 command: tests 2015-09-14 13:24:02 -07:00
Ryan Uber f0ee34651a command: add agent-info command 2015-09-14 13:24:02 -07:00
Ryan Uber b047700788 command: unexport helpers 2015-09-14 13:24:02 -07:00
Ryan Uber 1b026abf08 command: adjustments for status 2015-09-14 13:24:02 -07:00
Ryan Uber a307f9b688 command: basic status command 2015-09-14 13:24:02 -07:00
Ryan Uber 4d5901c1ae command: add helpers 2015-09-14 13:24:02 -07:00
Armon Dadgar 2ff133c0e6 nomad: rename region1 to global. Fixes #41 2015-09-13 18:18:40 -07:00
Ryan Uber f4499491a9 agent: remove unreachable code 2015-09-11 21:28:35 -07:00
Ryan Uber 90f18850a5 agent: add default bind addr and port numbers 2015-09-11 12:19:05 -07:00
Ryan Uber 3b5004f2a4 agent: split out server config parser, add tests 2015-09-11 12:06:42 -07:00
Ryan Uber 8d816ec883 agent: allow specifying advertise addrs in ip:port format 2015-09-11 11:27:14 -07:00
Ryan Uber 9ce9552a6b agent: test listener from config 2015-09-11 11:10:55 -07:00
Ryan Uber fa614cd3ef agent: adjust tests 2015-09-10 19:04:06 -07:00
Ryan Uber 35580ef9ec agent: use ports/addresses/advertise_addrs for network config 2015-09-10 18:37:42 -07:00
Ryan Uber 936bca5194 agent: addresses and ports are configurable 2015-09-10 17:48:02 -07:00
Ryan Uber b95ed91628 agent: merge telemetry, server, and client configs 2015-09-10 11:25:19 -07:00
Ryan Uber bc683a800e agent: config loading tests 2015-09-09 22:11:48 -07:00
Ryan Uber faf5cc0447 agent: config merge works + tests 2015-09-09 21:42:50 -07:00
Armon Dadgar 7d69aa78c1 nomad: using Raft StartAsLeader to make tests faster 2015-09-07 10:46:41 -07:00
Armon Dadgar 24e032b61f http: list results are never null 2015-09-07 10:03:10 -07:00
Armon Dadgar 1a5579384a nomad: cleanup API descrepencies 2015-09-06 20:47:42 -07:00
Armon Dadgar 0702f17989 Rename client endpoint to node endpoint 2015-09-06 20:31:32 -07:00
Armon Dadgar 628e4434cd http: adding the drain toggle endpoint 2015-09-06 20:03:59 -07:00
Armon Dadgar ffe701da87 http: parsing flags for node drain 2015-09-06 19:35:05 -07:00
Armon Dadgar 8a389414ff http: adding the agent endpoints 2015-09-06 19:08:05 -07:00
Armon Dadgar 30b34777ff http: adding status APIs 2015-09-06 18:39:03 -07:00
Armon Dadgar ce446e5e2a http: complete the eval endpoints 2015-09-06 16:18:25 -07:00
Armon Dadgar 7c162542aa http: adding the eval endpoints 2015-09-06 16:02:53 -07:00
Armon Dadgar 009fc62cc8 http: adding alloc lookup endpoint 2015-09-06 15:49:44 -07:00
Armon Dadgar 05a8ae06c7 http: adding allocs list endpoint 2015-09-06 15:37:21 -07:00
Armon Dadgar 28dc212e4a http: Adding nodes list 2015-09-06 14:31:17 -07:00
Armon Dadgar bb0ba026bc http/node: adding a few node endpoints 2015-09-06 14:18:11 -07:00
Armon Dadgar 479a9255d6 agent: fixing test names 2015-09-06 14:15:29 -07:00
Armon Dadgar f43a47fbb6 agent: set default HTTP address 2015-09-06 13:29:03 -07:00
Armon Dadgar 71d1178a70 http/job: complete the job endpoints 2015-09-06 12:32:22 -07:00
Armon Dadgar f166c7248f http/job: support force evaluation endpoint 2015-09-06 11:50:37 -07:00
Armon Dadgar 5e277579d0 http/job: handle register 2015-09-06 11:47:52 -07:00
Armon Dadgar 327368d763 http/job: adding update endpoint 2015-09-05 19:08:47 -07:00
Armon Dadgar 540c9d3496 http/job: adding job query endpoint 2015-09-05 18:43:40 -07:00
Armon Dadgar a4ac7fe177 agent: make unit tests much faster 2015-09-05 18:41:00 -07:00
Armon Dadgar a2176148f2 http/job: implement deregister 2015-09-05 18:20:47 -07:00
Armon Dadgar f858c31426 http: framework jobs endpoints 2015-09-05 18:00:30 -07:00
Armon Dadgar 1a3069ee67 agent: adding basic test 2015-09-05 17:07:36 -07:00
Armon Dadgar 4bf257e951 http: basic framework 2015-09-05 17:06:05 -07:00
Armon Dadgar 253995e377 agent: adding stats 2015-08-30 18:20:00 -07:00
Armon Dadgar 7989cb4642 agent: working on setup 2015-08-30 18:14:40 -07:00
Armon Dadgar 6e7fc1a4a3 agent: config merging 2015-08-30 18:10:23 -07:00
Armon Dadgar 0c3064bada agent: adding HTTP server 2015-08-23 17:50:33 -07:00
Armon Dadgar 19990f4657 agent: basic setup 2015-08-23 17:40:27 -07:00
Armon Dadgar adb771ed1d agent: moving functions into helpers 2015-08-23 16:57:54 -07:00
Armon Dadgar 07b832c588 agent: use the client 2015-08-23 16:53:15 -07:00
Armon Dadgar f42a37480e agent: boilerplate 2015-08-16 16:40:04 -07:00
Armon Dadgar 1e36821bfd changing default ports 2015-08-16 15:10:11 -07:00
Armon Dadgar e7505cfa69 agent: working on setup 2015-08-16 14:34:38 -07:00
Armon Dadgar 93332295db agent: start basic logging setup 2015-08-16 13:54:49 -07:00
Armon Dadgar 867571de8f agent: initial skeleton 2015-08-15 18:54:41 -07:00
Armon Dadgar 6882c9d6a1 command/agent: basic command 2015-08-15 18:34:47 -07:00
Armon Dadgar 408159d40f Adding basic version command 2015-06-01 15:25:51 +02:00