Alex Dadgar
5d65af523d
Check for errors initializing client for autocomplete
2017-08-29 14:29:32 -07:00
Alex Dadgar
f5fb62c7cc
Node Client doesn't share HTTP client
2017-08-29 14:22:11 -07:00
Alex Dadgar
4d3b75d867
Fix TLSServerName for Node API Client
...
This PR fixes the construction of the TLSServerName when connecting to a
node that has TLS enabled and adds tests for all possible permutations.
Fixes https://github.com/hashicorp/nomad/issues/3013
2017-08-29 11:11:19 -07:00
Alex Dadgar
6fb08b844b
bump version
2017-08-28 22:50:00 -07:00
Alex Dadgar
a2c40c2114
Release v0.6.2
2017-08-28 22:36:59 -07:00
Alex Dadgar
f45c26768e
bump version
2017-08-28 22:30:22 -07:00
Alex Dadgar
48f7dfbaff
fix zip structure
2017-08-28 22:29:49 -07:00
Alex Dadgar
f3a694f319
Merge pull request #3116 from hashicorp/b-fix-fs
...
Fix logs/fs commands
2017-08-28 22:26:25 -07:00
Alex Dadgar
7da50ff28d
changelog
2017-08-28 22:24:53 -07:00
Alex Dadgar
26643fc141
Fix logs/fs commands
...
This PR fixes an assignment to a nil map in the api pkg related to
accessing logs and the filesystem of allocations.
Fixes https://github.com/hashicorp/nomad/issues/3115
2017-08-28 22:21:54 -07:00
Michael Schurter
e036b9b494
Merge pull request #3114 from hashicorp/f-release-0.6.1
...
Nomad 0.6.1
2017-08-28 16:29:03 -07:00
Michael Schurter
5a12311354
Nomad 0.6.1
2017-08-28 16:26:27 -07:00
Michael Schurter
237360a90e
Merge pull request #3110 from hashicorp/f-commit-generated
...
Welcome to the brave new world
2017-08-28 16:23:29 -07:00
Michael Schurter
728419c7f0
Merge pull request #3113 from hashicorp/f-have-appveyor-run-install
...
Just run go install until we fix tests on Windows
2017-08-28 16:18:25 -07:00
Michael Schurter
23c3c06b71
Merge pull request #3112 from hashicorp/b-vendor-windows-dep
...
Vendor missing windows dep
2017-08-28 16:17:02 -07:00
Michael Schurter
2d355f21e7
Just run go install until we fix tests on Windows
2017-08-28 16:16:37 -07:00
Michael Schurter
18e4b96d9f
Vendor missing windows dep
2017-08-28 16:13:48 -07:00
Michael Schurter
3fc0365c89
Add #3108 to changelog
2017-08-28 16:13:20 -07:00
Alex Dadgar
aaaf2dfc1c
Merge pull request #3111 from hashicorp/d-status
...
Document new status command
2017-08-28 16:11:01 -07:00
Alex Dadgar
88372e6b72
Document new status command
...
This PR documents the new status and job status command.
2017-08-28 16:05:58 -07:00
Michael Schurter
591ea2f71a
Welcome to the brave new world
...
Committing generated code to help ensure reproducible builds.
2017-08-28 15:51:18 -07:00
Alex Dadgar
9383ef63a9
Merge branch 'master' of github.com:hashicorp/nomad
2017-08-28 15:45:55 -07:00
Alex Dadgar
01f584a9d8
Remove tests checking autocomplete only does 1 arg
2017-08-28 15:42:32 -07:00
Michael Schurter
63b715f19e
Merge pull request #3108 from hashicorp/b-3013-stats-tls
...
Fix TLS support in api pkg / cli
2017-08-28 15:37:31 -07:00
Michael Schurter
52857a6a9d
Simplify region handling
2017-08-28 14:58:15 -07:00
Michael Schurter
2f30827205
Refactor GetNodeClient weirdness
...
- No need to for a pointer to a pointer
- Properly set and use QueryOptions.Region
2017-08-28 14:41:21 -07:00
Alex Dadgar
9512709982
cleanup changelog
2017-08-28 13:46:31 -07:00
Alex Dadgar
ce3c316592
don't limit on one arg
2017-08-28 13:40:04 -07:00
Alex Dadgar
7c378894b4
changelog
2017-08-28 12:46:46 -07:00
Alex Dadgar
659d0999e8
Merge pull request #3081 from clinta/maxparallel0
...
If MaxParallel == 0 default limit to count
2017-08-28 12:42:50 -07:00
Alex Dadgar
472a1f7943
Merge pull request #3107 from hashicorp/b-migrate-context-all
...
All context should use string context "all"
2017-08-28 12:38:54 -07:00
Michael Schurter
4ed87263c4
Merge pull request #3109 from hashicorp/f-squelch-usage-logspam
...
Squelch logspam when unable to get disk usage stats
2017-08-28 12:28:31 -07:00
Alex Dadgar
c250d00cc4
Merge pull request #3103 from hashicorp/vagrant-install-autocomplete
...
Automatically install autocomplete for Nomad getting started guide
2017-08-28 12:25:35 -07:00
Alex Dadgar
d40037e138
Merge pull request #3096 from hashicorp/d-all-allocs
...
Describe the all parameter when listing job allocs
2017-08-28 12:25:24 -07:00
Michael Schurter
7a84cbe02a
Squelch logspam when unable to get disk usage stats
...
To reproduce logspam:
```
$ docker plugin install --grant-all-permissions vieux/sshfs
$ nomad agent -dev
...
2017/08/25 17:09:03.282868 [WARN] client: error fetching host disk usage stats for /var/lib/docker/plugins/a8b4a69b07e5180f828d19e1e9e102ccc0e26f9c9939eaef85357260c30b20a7/rootfs/mnt/volumes: permission denied
... repeats every collection period ...
```
2017-08-28 12:04:32 -07:00
Michael Schurter
1bb8a54ffb
Fix TLS support in api pkg / cli
...
Fixes #3013
It's a little weird that Client now has a method for returning a
NewClient, but it's a convenient way to dedupe the logic to
connect-directly-to-a-node which is nontrivial and had sutble
differences between locations.
2017-08-28 11:46:28 -07:00
Alex Dadgar
85a1899dfa
Reduce startup time on Mac
...
This PR moves creating the API client into the returned predict
function. The creation of the client causes a lookup of all the system
certificates and doing that for each command on mac was extremely slow.
2017-08-28 11:29:27 -07:00
Chelsea Holland Komlo
7ed974c57e
migrate all context
2017-08-28 05:29:38 +00:00
Alex Dadgar
4d97b302a0
Search respects QueryOptions and returns QueryMeta
...
@chelseakomlo heads up on this change
2017-08-27 22:17:51 -07:00
Alex Dadgar
5bb3c80113
Add QueryOptions to SearchRequest
2017-08-26 15:56:13 -07:00
Chelsea Holland Komlo
d5210ba765
automatically install autocomplete
2017-08-25 23:38:24 +00:00
Chelsea Komlo
3d462d71d2
Merge pull request #3102 from hashicorp/b-status-deployment-id
...
Get status of deployment via status cli command
2017-08-25 18:07:29 -04:00
Chelsea Holland Komlo
1fdabecad3
get status of deployment via status cli command
2017-08-25 21:06:33 +00:00
Chelsea Komlo
732328e6ae
Merge pull request #3047 from hashicorp/f-status-autocomplete
...
Status autocomplete
2017-08-25 16:27:53 -04:00
Chelsea Holland Komlo
039c2070cc
add global flags to status; re-order functions
2017-08-25 19:47:21 +00:00
Chelsea Holland Komlo
f6ca06ce43
refactor and fixups from code review
2017-08-25 17:34:05 +00:00
Chelsea Komlo
0993dea9bd
Merge pull request #3097 from hashicorp/d-search-http-documentation
...
Add HTTP documentation for search api
2017-08-25 13:27:26 -04:00
Chelsea Holland Komlo
e7f6174761
add changelog
2017-08-25 16:44:26 +00:00
Chelsea Holland Komlo
cf432b6528
vendor updated cli and autocomplete dependencies
2017-08-25 16:43:49 +00:00
Chelsea Holland Komlo
497432bc71
cli help and logging formatting
2017-08-25 16:42:11 +00:00