Commit Graph

793 Commits

Author SHA1 Message Date
Diptanu Choudhury
6811e084f4 Merge pull request #1518 from pubnub/feature/chroot-map-rebase
Add config field to specify chroot mapping for exec driver
2016-08-10 17:00:03 -07:00
Diptanu Choudhury
d8dd52c720 Merge pull request #1538 from nak3/output-host-disk-utilization2
node-status outputs volumename instead of 0B utilization when non-physical volume is used
2016-08-10 15:09:23 -07:00
Alex Dadgar
08628fea90 consul syncer uses multi-error 2016-08-09 12:24:50 -07:00
Kenjiro Nakayama
5aceb8eacf Update after another review 2016-08-09 22:50:18 +09:00
Kenjiro Nakayama
7d804a41c7 Add test to check both -json and -t are not specified 2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
4edc906be4 Support JSON and template data output list when no args specified 2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
4a3f63f641 Update help and error message 2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
02613e170b Stop using format option and support json and t option 2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
5bd39f8e65 fix go panic 2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
6c694014b4 Support JSON and template format with nomad CLI 2016-08-09 21:06:20 +09:00
Jay Oster
95c1d76544 Fix ConfigMerge test with chroot config 2016-08-08 18:59:18 -07:00
Kenjiro Nakayama
5cbe16bb43 node-status outputs volumename instead of 0B utilization with non-physical volume 2016-08-09 08:51:19 +09:00
Kenjiro Nakayama
cc61998d57 tiny: Add MHz to node-status output 2016-08-08 13:12:01 +09:00
Jay Oster
593669ada2 Address review comments
- Simplify map length check in Linux Executor
- Added a `chroot_env` test for config parser
- Moved `ChrootEnv` field from ExecutorCommand to ExecutorContext
- Added a test for `chroot_env` functionality
2016-08-04 15:33:06 -07:00
Diptanu Choudhury
ece625166f Merge pull request #1501 from hashicorp/f-stats-opt-in
Allow operators to opt into publishing node and alloc metrics
2016-08-04 13:33:56 -07:00
Diptanu Choudhury
b140b03947 Merge pull request #1520 from hashicorp/f-sort-tg-names-summaries
Sorting the job summaries while displaying
2016-08-04 13:32:29 -07:00
Diptanu Choudhury
4cc24c0354 Removing the custom sorting logic 2016-08-04 13:17:21 -07:00
Diptanu Choudhury
6550a53b39 Sorting the task group names and not the output of the format list 2016-08-04 11:54:18 -07:00
Diptanu Choudhury
ca857d95a5 Merge pull request #1517 from hashicorp/f-reconcile-summaries
Endpoint for reconciling job summaries
2016-08-04 11:31:33 -07:00
Diptanu Choudhury
3bdaf91dd1 Updated tests and comments 2016-08-04 11:29:36 -07:00
Diptanu Choudhury
b8ffd9709f Sorting the job summaries while displaying 2016-08-04 10:42:53 -07:00
Jay Oster
1876fc2b10 Add config field to specify chroot mapping for exec driver
- Same format as used by the internal chroot mapping
- Map: source_path -> dest_path
- Example HCL:

client {
  chroot_env {
    "/etc" = "/etc"
    "/lib" = "/lib"
    "/opt/projects/foo/bin" = "/usr/bin"
  }
}
2016-08-03 17:17:17 -07:00
Diptanu Choudhury
72cd53d6e5 Added an endpoint for users to reconcile job summaries 2016-08-03 16:12:47 -07:00
Alex Dadgar
2c48b7b42c Merge pull request #1502 from hashicorp/f-plan-exit-code
Plan exit code map to whether allocations would change + bug fix
2016-08-03 11:10:21 -07:00
Alex Dadgar
7ee48809de Fix tests 2016-08-03 11:09:50 -07:00
Alex Dadgar
ded46507e9 plan returns appropriate exit code 2016-08-01 20:07:49 -07:00
Diptanu Choudhury
3593649e18 Allow operators to opt into publishing node and alloc metrics 2016-08-01 19:52:20 -07:00
Kenjiro Nakayama
2247ca45f9 Add validation of -n and -c options 2016-08-01 21:51:13 +09:00
Alex Dadgar
fdaf530813 api.fs uses the api.Client rather than making raw requests 2016-07-28 14:27:17 -07:00
Kenjiro Nakayama
9449a34385 Add LevelFilter test 2016-07-27 13:42:24 +09:00
Diptanu Choudhury
5081b940e9 Merge pull request #1455 from hashicorp/f-job-summary
Job Summary - Part 2
2016-07-26 16:08:37 -07:00
Alex Dadgar
6349cd3ff9 Merge pull request #1466 from hashicorp/d-logs
Document logs command and API
2016-07-26 09:41:58 -07:00
Kenjiro Nakayama
f31a53dfcf Add TestFSCommand_Fails to fs command 2016-07-26 22:45:09 +09:00
Diptanu Choudhury
c91f477d6f Renamed Job.GetJobSummary to Job.Summary 2016-07-25 17:31:40 -07:00
Diptanu Choudhury
c18e431298 Fixed more tests 2016-07-25 17:31:40 -07:00
Diptanu Choudhury
03c6692f98 Fixed some bugs 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
4095e33fa0 Displaying the job summary in nomad status command 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
7628283c78 Moved the job endpoint around 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
38b1ba7e4e Added the job summary related endpoints 2016-07-25 17:26:38 -07:00
Alex Dadgar
449ba5a531 remove unused file 2016-07-25 16:24:28 -07:00
Alex Dadgar
d322eb5297 Merge pull request #1465 from 42wim/ipv6-1318
Fix IPv6 advertise addresses
2016-07-25 16:14:15 -07:00
Wim
c576c2339b Use net.JoinHostPort 2016-07-25 23:34:08 +02:00
Diptanu Choudhury
00d2ed6daf Removing un-wanted dependencies 2016-07-25 14:17:52 -07:00
Wim
b3df64c976 Fix IPv6 advertise addresses 2016-07-25 22:52:18 +02:00
Alex Dadgar
5ae28927aa logs command docs 2016-07-25 13:08:39 -07:00
Alex Dadgar
0b9449fe7e better flush and connection closed handling 2016-07-25 11:16:54 -07:00
Alex Dadgar
67fe934342 control-c works 2016-07-25 11:16:54 -07:00
Alex Dadgar
cbcb32096f small fixes 2016-07-25 11:16:54 -07:00
Alex Dadgar
2a32e839ac Add logs command test 2016-07-25 11:16:54 -07:00
Alex Dadgar
f3a71e0143 Handle skipping indexes 2016-07-25 11:16:54 -07:00