Commit graph

8980 commits

Author SHA1 Message Date
Armon Dadgar 9344f58b27 website: document bootstrap CLI and update ACL guide 2017-09-11 10:47:39 -07:00
Armon Dadgar 2cacddeff5 command: Add ACL bootstrap command 2017-09-11 10:47:39 -07:00
Armon Dadgar d4aed839d2 Merge pull request #3185 from hashicorp/f-acl-reset
Add ability to reset ACL bootstrap process
2017-09-11 10:47:17 -07:00
Armon Dadgar 3d5ecaafff Address @dadgar feedback 2017-09-11 10:30:59 -07:00
Alex Dadgar 19a11f15d5 Merge pull request #3177 from hashicorp/f-cli-hidden
Hide non-user commands from autocomplete output
2017-09-11 10:02:08 -07:00
Alex Dadgar 565f2adbda changelog 2017-09-11 09:57:47 -07:00
Alex Dadgar b3958faa14 Merge pull request #3187 from hashicorp/b-windows-docker
Fix MemorySwappiness on Windows Docker
2017-09-11 09:56:49 -07:00
Alex Dadgar 1cd8f7523f Merge pull request #3184 from hashicorp/b-docker-logging
Fix docker user specified syslogging
2017-09-11 09:31:33 -07:00
Alex Dadgar 364d8af4c3 Merge pull request #3190 from jrasell/els_replicator
Add elsevier-core-engineering/replicator to community page.
2017-09-11 09:30:12 -07:00
Chelsea Holland Komlo 848af92183 fix panic in emitting tagged metrics 2017-09-11 15:32:37 +00:00
James Rasell 317201367f
Add elsevier-core-engineering/replicator to community page. 2017-09-11 10:52:11 +01:00
Alex Dadgar d3a9463358 Fix MemorySwappiness on Windows Docker
Fixes https://github.com/hashicorp/nomad/issues/3181
2017-09-10 17:46:45 -07:00
Armon Dadgar c234e09d9e website: document ACL bootstrap reset process 2017-09-10 16:18:39 -07:00
Armon Dadgar 20a8e590a0 nomad: support ACL bootstrap reset 2017-09-10 16:03:30 -07:00
Alex Dadgar cf274cad3c Merge pull request #3167 from hashicorp/b-windows-stats
Fix invalid CPU stats on Windows
2017-09-10 15:33:04 -07:00
Alex Dadgar 3ec7946b3e Fix invalid CPU stats on Windows
This PR fixes an issue introduced in Nomad 0.6.0 due to
https://github.com/shirou/gopsutil/issues/420. The issue arised from the
fact that the Windows stats from gopsutil reports CPUs in
percentages where we expected ticks.
2017-09-10 15:30:48 -07:00
Alex Dadgar 637ae9580a Fix docker user specified syslogging 2017-09-10 14:57:48 -07:00
Michael Schurter 96f5c78830 Merge pull request #3175 from jen20/multi-vagrant
build: Rework Vagrant for multiple operating systems; add FreeBSD support
2017-09-10 10:02:24 -07:00
Michael Schurter 6a61525581 Merge pull request #3174 from hashicorp/doc-tls-upgrade
Expand TLS upgrade guide
2017-09-10 09:59:49 -07:00
James Nugent 12d41dbfe0 build: Lint shell scripts, and make all shell scripts lint cleanly 2017-09-08 19:50:39 -05:00
James Nugent 72028fd5b3 build: Install Go in Vagrant from official release 2017-09-08 19:46:07 -05:00
James Nugent dc40420b51 build: Fix Travis following Vagrant changes 2017-09-08 19:45:41 -05:00
James Nugent 094fa23df6 build: Rework Vagrant to support multiple OS boxes
This commit reworks the Vagrantfile for Nomad in order to support
straightforward testing on more than one operating system, whilst
retaining the ability to stand up a test cluster running Ubuntu.

The following changes are made:

- Scripts have been extracted from the Vagrantfile into their own shell
  script files, in order that editors lint them.

- All scripts have been edited to lint with no warnings or errors for
  their respective shells.

- Scripts are named according to the operating system and privilege
  level which they run. We prefer to run a whole shell script as root
  versus prefixing (essentially) every command with `sudo` or an
  equivalent.

- The Linux development box has been separated from the test cluster,
  removing some of the more gnarly (and less portable) logic. The Linux
  development box is still primary and autostarts.

- A FreeBSD target has been added. The base box works for both
  Virtualbox and VMWare Fusion.

- A target is added to the GNUmakefile to stand up a test cluster, using
  the default provider, or overriding the provider by setting the PROVIDER
  variable in make:
	- `make testcluster`
	- `make testcluster PROVIDER=vmware_fusion`

- Machines in the test cluster have Avahi configured for zeroconf
  discovery. Each machine can ping each other machine at `hostname.local`
  - for example `nomad-server02.local`, `nomad-client03.local`.
2017-09-08 19:45:38 -05:00
Michael Schurter a1a1020e19 Add links and improve verify_https_client callout
The old wording made it sound like verify_https_client=true broke *all*
https health checks.
2017-09-08 17:36:46 -07:00
Michael Schurter 84ae35011e Fix typos and reword future direction
Current plan for the future still requires two server restarts.
2017-09-08 16:56:25 -07:00
James Nugent 85002aa8c1 build: Add build targets for FreeBSD/amd64 2017-09-08 18:40:26 -05:00
Michael Schurter 19a5fd30fa Merge pull request #3179 from jen20/nan-floats
client: Guard against "NaN" values from floats
2017-09-08 14:38:55 -07:00
James Nugent 448145872f client: Guard against "NaN" values from floats
This commit protects against finding `0.NaN` tokens in JSON streams
because of infinity representation on serialization.
2017-09-08 16:21:07 -05:00
Michael Schurter 541e5c4850 Merge pull request #3178 from jen20/update-x-sys-unix
deps: Update golang.org/x/sys/{unix,windows}
2017-09-08 13:39:22 -07:00
James Nugent 6d805dfad0 deps: Update golang.org/x/sys/{unix,windows} 2017-09-08 13:33:25 -05:00
Alex Dadgar 41b22ba9eb Hide non-user commands from autocomplete output
This PR hides non-user CLI commands from the list of autocomplete
suggestions.
2017-09-08 11:24:21 -07:00
Alex Dadgar e98496ef49 Merge pull request #3173 from hashicorp/f-namespace-sync
Sync namespace changes
2017-09-08 10:45:55 -07:00
Michael Schurter 88f58bf65d Expand tls upgrade guide
- Non-trivial clusters risk rescheduling many if not all of their jobs
  if they don't adjust their heartbeat configs.
- Still needs links
2017-09-07 17:21:18 -07:00
Alex Dadgar ee145264f4 vendor filter iterator 2017-09-07 17:15:56 -07:00
Alex Dadgar d329fbe54d Fix search contexts 2017-09-07 17:13:18 -07:00
Alex Dadgar 84d06f6abe Sync namespace changes 2017-09-07 17:04:21 -07:00
Chelsea Komlo 187c1568aa Merge pull request #3162 from hashicorp/f-tagged-metrics-api
Tagged metrics API
2017-09-07 18:03:15 -04:00
Chelsea Holland Komlo e56da12857 match table names to logged values
docs fixup
2017-09-07 21:57:01 +00:00
Alex Dadgar dbab588d60 Merge pull request #3169 from hashicorp/v-cli
Vendor cli to get exit code 127 on unknown command
2017-09-07 12:35:43 -07:00
Alex Dadgar cd28f3479f Merge pull request #3168 from hashicorp/t-job-deployment
Add testing around nomad job deployments command
2017-09-07 12:35:25 -07:00
Alex Dadgar 0d532c9c68 Merge pull request #3150 from hashicorp/f-watchctx
WatchCtx propogates context error
2017-09-07 12:34:03 -07:00
Chelsea Holland Komlo 658172935e update telemetry client metrics for new values 2017-09-07 19:02:38 +00:00
Alex Dadgar abfc56a871 WatchCtx propogates context error 2017-09-06 17:37:40 -07:00
Alex Dadgar ffbafb0618 changelog 2017-09-06 17:20:31 -07:00
Alex Dadgar cc13d4db7d Vendor cli to get exit code 127 on unknown command 2017-09-06 17:19:07 -07:00
Alex Dadgar 9dc8264f32 Add testing around nomad job deployments command 2017-09-06 17:16:46 -07:00
Alex Dadgar 1e8d0bfabb Merge pull request #3166 from pkrolikowski/fix-panic-deployment-latest
[cli] Fix panic while running latest deployment command witch -latest flag
2017-09-06 16:55:16 -07:00
Chelsea Holland Komlo 1238efc2a8 improve documentation
move metrics to telemetry; copy to client config
2017-09-06 21:38:06 +00:00
piotr.krolikowski 4f575830ec Fix panic while running latest deployment command 2017-09-06 20:26:22 +02:00
Chelsea Holland Komlo 66fa05405a tagged metrics config options should be on telemetry config
better api example, add telemetry documentation
2017-09-06 15:25:36 +00:00