Commit Graph

8843 Commits

Author SHA1 Message Date
Alex Dadgar e3dbcdcb44 Fix restoration of stopped periodic jobs
This PR fixes an issue in which we would add a stopped periodic job to
the periodic launcher.
2017-09-12 14:25:40 -07:00
Charlie Voiselle 4e47589c2d Moved '.' into paragraph 2017-09-12 17:20:54 -04:00
Michael Lange 88c6decce3 Merge pull request #3199 from hashicorp/d-acls-guide-description
Update the ACL guide description
2017-09-12 13:33:20 -07:00
Michael Lange 8898a3799a Update the ACL guide description
Now it's about ACLs instead of outage recovery.
2017-09-12 10:33:17 -07:00
Michael Schurter 42cdb6a9e4 Merge pull request #3196 from hashicorp/b-fix-vagrant-perms
Fix permissions of $GOPATH in Vagrantfile
2017-09-12 10:02:19 -07:00
Chelsea Komlo 4150721cc9 Merge pull request #3193 from hashicorp/b-blake2b-386-arch
Vendor blake2b to allow for building on x386 architecture
2017-09-12 11:16:56 -04:00
Michael Schurter 566f2ee061 Fix permissions of $GOPATH in Vagrantfile
Technically just the true->false is needed. The `chown -R` was a first
attempt that didn't fix the bug, but it's a nice simplification.
2017-09-11 22:38:10 -07:00
Alex Dadgar d4be9b22d4 bump getting started vagrant 2017-09-11 16:46:54 -07:00
Alex Dadgar f0847f3642 changelog 2017-09-11 16:10:12 -07:00
Alex Dadgar 5aa8f1a82e pass in uid to codecgen 2017-09-11 15:40:27 -07:00
Chelsea Komlo 536d38454b Merge pull request #3191 from hashicorp/b-tagged-metrics-panic
Fix panic in emitting tagged allocation metrics
2017-09-11 14:28:50 -04:00
Chelsea Holland Komlo efa61e80f2 vendor blake2b to allow for building on 386 architecture 2017-09-11 18:10:34 +00:00
Armon Dadgar fa6579098b website: update the bootstrap reset guide 2017-09-11 10:53:01 -07:00
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