Commit graph

192 commits

Author SHA1 Message Date
Armon Dadgar c57012105c command/init: tweak constraint 2015-09-22 21:48:44 -07:00
Armon Dadgar 692e10603f command/run: update synopsis 2015-09-22 21:48:44 -07:00
Armon Dadgar b7f1447d4b command/run: update help output 2015-09-22 21:48:43 -07:00
Armon Dadgar 461df354e1 command/init: fixing inconsistencies 2015-09-22 21:48:43 -07:00
Armon Dadgar cf62f158fc command/node-status: removing extra formating input 2015-09-22 21:48:43 -07:00
Armon Dadgar 8257c243b1 command/init: reworking behavior and default file 2015-09-22 21:48:43 -07:00
Armon Dadgar 683985c872 agent: Do not override default log levels 2015-09-22 21:48:42 -07:00
Ryan Uber dd95f4033d Merge pull request #79 from hashicorp/f-bootstrap
Add flags for bootstrap modes to CLI
2015-09-22 20:28:30 -07:00
Ryan Uber f0c21b79f1 agent: json decode directly to structs in api 2015-09-22 20:02:10 -07:00
Chris Bednarski 0da7a2c83b Switch to named port config syntax 2015-09-22 16:14:28 -07:00
Chris Bednarski 48a875a702 Added init command 2015-09-22 16:11:01 -07:00
Ryan Uber e5f644b02c agent: remove explicit Bootstrap option in favor of BootstrapExpect 2015-09-22 14:41:49 -07:00
Ryan Uber e1a6c02004 agent: test agent command args 2015-09-22 14:04:40 -07:00
Ryan Uber 16f4e1c8c2 command/agent: add bootstrap flags 2015-09-22 13:28:06 -07:00
Armon Dadgar 38f9508764 agent: test config parsing 2015-09-22 11:29:58 -07:00
Ryan Uber 0958c731a9 command: rename some agent commands to use a server- prefix 2015-09-22 11:01:41 -07:00
Ryan Uber 5fdc10befc command/monitor: set initial status to 'pending' 2015-09-22 10:45:08 -07:00
Ryan Uber 306a6dc81f command: print a warning if we get 0 evaluated nodes 2015-09-22 10:45:08 -07:00
Ryan Uber 75c79b705e command: monitor output updates 2015-09-22 10:45:08 -07:00
Ryan Uber 0e36424c6e command/run: validate job before submission 2015-09-22 10:45:08 -07:00
Ryan Uber d7f3697e5d command: adjustments to monitor logs 2015-09-22 10:45:07 -07:00
Ryan Uber cf8fe7e8d7 command: remove unnecessary alloc-status command 2015-09-22 10:45:07 -07:00
Ryan Uber 6f8d0040f9 command: return 2 for scheduling failures when using monitor 2015-09-22 10:45:07 -07:00
Ryan Uber f1020c8a0b command: fix alloc-status tests 2015-09-22 10:45:07 -07:00
Ryan Uber aa8bee0cfa command: allocation monitor adjustments 2015-09-22 10:45:07 -07:00
Ryan Uber 277e5ae8d6 command: simplify alloc status, dump during job run 2015-09-22 10:45:07 -07:00
Ryan Uber c796157278 command/status: don't display node ID in evaluations 2015-09-22 10:45:07 -07:00
Ryan Uber fd61e29d01 command/monitor: dump info regardless of initial status 2015-09-22 10:45:07 -07:00
Ryan Uber ac70a19ea5 command: spelling 2015-09-22 10:45:07 -07:00
Ryan Uber 84a5de4e02 command: start alloc-status command 2015-09-22 10:45:07 -07:00
Ryan Uber c5ab58761b command/status: cleanup 2015-09-22 10:45:07 -07:00
Ryan Uber b4c9f2ea7c command/monitor: cleanup 2015-09-22 10:45:07 -07:00
Ryan Uber 0908337ac8 command/monitor: display scheduling errors 2015-09-22 10:45:06 -07:00
Ryan Uber 646612175d command: enter monitor mode by default 2015-09-22 10:45:06 -07:00
Ryan Uber 435fd7038b command/monitor: handle more alloc state changes 2015-09-22 10:45:06 -07:00
Ryan Uber e3611a1694 command/monitor: account for updated allocations 2015-09-22 10:45:06 -07:00
Ryan Uber a532acaa79 command/monitor: more tests 2015-09-22 10:45:06 -07:00
Ryan Uber 3384fb5769 command/monitor: tests 2015-09-22 10:45:06 -07:00
Ryan Uber 5df780ccc5 command: only use prefixed UI during monitoring 2015-09-22 10:45:06 -07:00
Ryan Uber 099fd00760 command/stop: inital stop command 2015-09-22 10:45:06 -07:00
Ryan Uber bb2a11d004 command/monitor: cleanup 2015-09-22 10:45:06 -07:00
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