Commit Graph

8905 Commits

Author SHA1 Message Date
Chelsea Holland Komlo
815b23fe06 add endpoint for prometheus 2017-09-13 19:21:21 +00:00
Alex Dadgar
bcb1cde6ad Merge pull request #3192 from hashicorp/f-acl-cli
Add ACL Bootstrap CLI
2017-09-13 11:46:15 -07:00
Alex Dadgar
ad73dbb70d Deployment.GetDeployment ACL enforcement 2017-09-13 11:44:23 -07:00
Alex Dadgar
efc5cd5b4c vendor go-plugin file 2017-09-13 11:44:09 -07:00
Alex Dadgar
288f5330a9 changelog 2017-09-13 11:43:13 -07:00
Alex Dadgar
84c187f35c Merge pull request #3201 from hashicorp/b-periodic-restore
Fix restoration of stopped periodic jobs
2017-09-13 11:42:29 -07:00
Alex Dadgar
dc9f3f173b Merge pull request #3204 from hashicorp/f-sync-acl
sync acls
2017-09-13 11:39:22 -07:00
Alex Dadgar
de870afdd5 sync acls 2017-09-13 11:38:29 -07:00
Alex Dadgar
6bb30befd9 remove f-acl 2017-09-13 11:13:04 -07:00
Alex Dadgar
c8f793a569 Fix UUID search with hyphens
This PR fixes:
* UUID lookup with hyphens and odd length. The math was wrong. There is
now a test that ranges over all possible values.
* Fixes an unreported issue that could be hit when a job has more than 4
hyphens in it as UUID lookup doesn't allow that.

Fixes https://github.com/hashicorp/nomad/issues/3141
2017-09-13 10:28:42 -07:00
Alex Dadgar
71fdfe2081 bump version 2017-09-13 09:54:55 -07:00
Simone Sciarrati
ec1842be60 Adding missing <
Missing < for the TaskGroup
2017-09-13 11:40:37 +02:00
Alex Dadgar
0a078d3dbd 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
ae4a996e0d Moved '.' into paragraph 2017-09-12 17:20:54 -04:00
Michael Lange
81e1fa3a45 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
7b2bbbc3eb Update the ACL guide description
Now it's about ACLs instead of outage recovery.
2017-09-12 10:33:17 -07:00
Michael Schurter
8e5d7aa948 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
cd8912bfe4 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
7e3d975b71 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
693cd7c1e5 bump getting started vagrant 2017-09-11 16:46:54 -07:00
Alex Dadgar
3fd588cead changelog 2017-09-11 16:10:12 -07:00
Alex Dadgar
5bab493748 pass in uid to codecgen 2017-09-11 15:40:27 -07:00
Chelsea Komlo
0fff99488f 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
23a2b19154 vendor blake2b to allow for building on 386 architecture 2017-09-11 18:10:34 +00:00
Armon Dadgar
7882c45927 website: update the bootstrap reset guide 2017-09-11 10:53:01 -07:00
Armon Dadgar
e77ecc14e2 website: document bootstrap CLI and update ACL guide 2017-09-11 10:47:39 -07:00
Armon Dadgar
ee7e619877 command: Add ACL bootstrap command 2017-09-11 10:47:39 -07:00
Armon Dadgar
c038c410b3 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
3fc9dce13b Address @dadgar feedback 2017-09-11 10:30:59 -07:00
Alex Dadgar
5cb5b9d23e 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
cbaaecc972 changelog 2017-09-11 09:57:47 -07:00
Alex Dadgar
1bed4b41d9 Merge pull request #3187 from hashicorp/b-windows-docker
Fix MemorySwappiness on Windows Docker
2017-09-11 09:56:49 -07:00
Alex Dadgar
49c4189758 Merge pull request #3184 from hashicorp/b-docker-logging
Fix docker user specified syslogging
2017-09-11 09:31:33 -07:00
Alex Dadgar
14179045ca 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
1ecfb687bf fix panic in emitting tagged metrics 2017-09-11 15:32:37 +00:00
James Rasell
a351742b15 Add elsevier-core-engineering/replicator to community page. 2017-09-11 10:52:11 +01:00
Alex Dadgar
7148b65306 Fix MemorySwappiness on Windows Docker
Fixes https://github.com/hashicorp/nomad/issues/3181
2017-09-10 17:46:45 -07:00
Armon Dadgar
d6faa383d7 website: document ACL bootstrap reset process 2017-09-10 16:18:39 -07:00
Armon Dadgar
03402ac69f nomad: support ACL bootstrap reset 2017-09-10 16:03:30 -07:00
Alex Dadgar
03e63d0516 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
db261cd0c7 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
9206105e69 Fix docker user specified syslogging 2017-09-10 14:57:48 -07:00
Michael Schurter
1e0b9cbf35 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
0d9606668d Merge pull request #3174 from hashicorp/doc-tls-upgrade
Expand TLS upgrade guide
2017-09-10 09:59:49 -07:00
James Nugent
e8c17e2aba build: Lint shell scripts, and make all shell scripts lint cleanly 2017-09-08 19:50:39 -05:00
James Nugent
9ec82bc545 build: Install Go in Vagrant from official release 2017-09-08 19:46:07 -05:00
James Nugent
ea50afc4a5 build: Fix Travis following Vagrant changes 2017-09-08 19:45:41 -05:00
James Nugent
f8ff0463b0 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
67dc1a8fab 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
60f323e764 Fix typos and reword future direction
Current plan for the future still requires two server restarts.
2017-09-08 16:56:25 -07:00