Commit graph

17040 commits

Author SHA1 Message Date
Jeff Escalante edf8907eae
Merge pull request #7092 - New Website 2020-02-12 16:11:49 -05:00
Seth Hoenig 2829b4cd23
Merge pull request #7129 from hashicorp/b-consistent-ct-name
command: use consistent CONSUL_HTTP_TOKEN name
2020-02-12 12:27:46 -06:00
Seth Hoenig ab112e576f
Merge pull request #7127 from hashicorp/b-unset-ct
nomad: unset consul token on job register
2020-02-12 12:25:58 -06:00
Seth Hoenig f17bbb8cc4 docs: update changelog mentioning consul token passthrough 2020-02-12 12:24:04 -06:00
Seth Hoenig 7f33b92e0b command: use consistent CONSUL_HTTP_TOKEN name
Consul CLI uses CONSUL_HTTP_TOKEN, so Nomad should use the same.
Note that consul-template uses CONSUL_TOKEN, which Nomad also uses,
so be careful to preserve any reference to that in the consul-template
context.
2020-02-12 10:42:33 -06:00
Seth Hoenig ce50345b7a nomad: assert consul token is unset on job register in tests 2020-02-12 10:17:42 -06:00
Seth Hoenig 02151dee45 nomad: unset consul token on job register 2020-02-12 09:58:51 -06:00
Jeff Escalante 93c64890fb
add changes from #7078 2020-02-11 16:31:14 -05:00
Jeff Escalante 3d865efef9
add release candidate from #7120 2020-02-11 16:31:14 -05:00
Jeff Escalante 0bef886c2b
add changes from #7121 2020-02-11 15:39:03 -05:00
Drew Bailey bf397c411e
Merge pull request #7122 from hashicorp/pprof/changelog
change log for remote pprof endpoints
2020-02-11 14:32:54 -05:00
Drew Bailey 5e3f0d0e03
change log for remote pprof endpoints 2020-02-11 14:30:55 -05:00
Mahmood Ali 8a217e1102
Merge pull request #7108 from hashicorp/ch-windows-binaries
changelog windows binaries being signed
2020-02-10 16:57:16 -05:00
Jeff Escalante 569bead286
fix a couple more links 2020-02-10 14:20:59 -05:00
Jeff Escalante ba72fc57c2
css fix 2020-02-10 14:00:38 -05:00
Jeff Escalante 59ac380af4
add link checker, fix a redirect, remove unused component 2020-02-10 13:56:55 -05:00
Jeff Escalante db2fba3a82
update deps to add minor style fixes 2020-02-10 12:46:31 -05:00
Jeff Escalante a3fa93cea7
remove extra redirect file 2020-02-10 12:44:34 -05:00
Mahmood Ali 0e1baf0c22 changelog windows binaries being signed
Note that 0.10.4, nomad windows binaries will be signed.

[ci skip]
2020-02-10 09:11:00 -05:00
Jeff Escalante 0689f30384
update dependencies 2020-02-07 17:45:35 -05:00
Michael Lange ccefc46912
Merge pull request #7099 from hashicorp/b-ui/mobile-styles-not-full-width
UI: Override the max-width on mobile to avoid losing space due to non-existent gutter menu
2020-02-07 14:27:50 -08:00
Michael Lange 1f05e6dff3
Merge pull request #7098 from hashicorp/b-ui/consistent-popover-buttons
UI: Explicit transparent bg on popover actions
2020-02-07 14:27:08 -08:00
Michael Lange 1431343d18 Override the max-width on mobile to avoid losing space due to non-existent gutter menu 2020-02-07 14:22:00 -08:00
Michael Lange c7543ee020 Explicit transparent bg on popover actions 2020-02-07 14:17:13 -08:00
Jeff Escalante fdd0a59ec9
add netlify.toml 2020-02-07 11:41:37 -05:00
Jeff Escalante b34c5aa187
circle config adjustments 2020-02-06 18:58:07 -05:00
Jeff Escalante 6c8f079d24
new website 2020-02-06 18:45:31 -05:00
Tim Gross 0c6e164e8f
e2e: add --quiet flag to s3 copy to reduce log spam (#7085) 2020-02-06 09:24:20 -05:00
Seth Hoenig 351d32cd81
Merge pull request #7071 from hashicorp/b-e2e-cacls-wait-longer
e2e: wait 2m rather than 10s after disabling consul acls
2020-02-04 14:05:10 -06:00
Michael Schurter 491e13bcbe
Merge pull request #7074 from hashicorp/docs-changelog-6065
docs: #6065 shipped in v0.10.0, not v0.9.6
2020-02-04 11:57:46 -08:00
Michael Schurter a83f0a4463 docs: #6065 shipped in v0.10.0, not v0.9.6
PR #6065 was intended to be backported to v0.9.6 to fix issue #6223.
However it appears to have not been backported:

 * https://github.com/hashicorp/nomad/blob/v0.9.6/client/allocrunner/taskrunner/task_runner.go#L1349-L1351
 * https://github.com/hashicorp/nomad/blob/v0.9.7/client/allocrunner/taskrunner/task_runner.go#L1349-L1351

The fix was included in v0.10.0:

 * https://github.com/hashicorp/nomad/blob/v0.10.0/client/allocrunner/taskrunner/task_runner.go#L1363-L1370
2020-02-04 11:19:47 -08:00
Drew Bailey 9beab1ac37
Merge pull request #7072 from hashicorp/system-sched-e2e
System sched e2e
2020-02-04 14:16:21 -05:00
Drew Bailey 7bee040e61
simplify job, better error 2020-02-04 13:59:39 -05:00
Drew Bailey 8b6de8f3d2
fix check 2020-02-04 12:16:20 -05:00
Drew Bailey b10c7cc94e
rm unused field 2020-02-04 12:02:01 -05:00
Drew Bailey a716d57ad7
clean up 2020-02-04 11:59:28 -05:00
Drew Bailey 75053a0d10
get test passing, new util func to wait for not pending 2020-02-04 11:56:37 -05:00
Drew Bailey 5117a22c30
add e2e test for system sched ineligible nodes 2020-02-04 11:56:33 -05:00
Seth Hoenig f4a66ebd28 e2e: wait 2m rather than 10s after disabling consul acls
Pretty sure Consul / Nomad clients are often not ready yet after
the ConsulACLs test disables ACLs, by the time the next test starts
running.

Running locally things tend to work, but in TeamCity this seems to
be a recurring problem. However, when running locally sometimes I do
see that the "show status" step after disabling ACLs, some nodes are
still initializing, suggesting we're right on the border of not waiting
long enough

    nomad node status
    ID        DC   Name              Class   Drain  Eligibility  Status
    0e4dfce2  dc1  EC2AMAZ-JB3NF9P   <none>  false  eligible     ready
    6b90aa06  dc2  ip-172-31-16-225  <none>  false  eligible     ready
    7068558a  dc2  ip-172-31-20-143  <none>  false  eligible     ready
    e0ae3c5c  dc1  ip-172-31-25-165  <none>  false  eligible     ready
    15b59ed6  dc1  ip-172-31-23-199  <none>  false  eligible     initializing

Going to try waiting a full 2 minutes after disabling ACLs, hopefully that
will help things Just Work. In the future, we should probably be parsing the
output of the status checks and actually confirming all nodes are ready.

Even better, maybe that's something shipyard will have built-in.
2020-02-04 10:51:03 -06:00
Tim Gross 0b48baf0ba
e2e: rename linux runner to avoid implicit build tag (#7070)
Go implicitly treats files ending with `_linux.go` as build tagged for
Linux only. This broke the e2e provisioning framework on macOS once we
tried importing it into the `e2e/consulacls` module.
2020-02-04 10:55:38 -05:00
Tim Gross 940110b2de
e2e: improve provisioning defaults and documentation (#7062)
This changeset improves the ergonomics of running the Nomad e2e test
provisioning process by defaulting to a blank `nomad_sha` in the
Terraform configuration. By default, a user will now need to pass in
one of the Nomad version flags. But they won't have to manually edit
the `provisioning.json` file for the common case of deploying a
released version of Nomad, and won't need to put dummy values for
`nomad_sha`.

Includes general documentation improvements.
2020-02-04 10:37:00 -05:00
Seth Hoenig 15b5a73660
Merge pull request #7060 from hashicorp/f-e2e-more-missed-debug
e2e: turn no-ACLs connect tests back on
2020-02-04 08:47:10 -06:00
Seth Hoenig 653c8fe9a5 e2e: turn no-ACLs connect tests back on
Also cleanup more missed debugging things >.>
2020-02-03 20:46:36 -06:00
Michael Schurter 7febd6beb8
docs: fix typo, ordering, & style in changelog 2020-02-03 13:59:57 -08:00
Mahmood Ali 2424870937
Merge pull request #7055 from hashicorp/r-dev-tweaks-20200203
Grab bag of dev tweaks
2020-02-03 14:25:06 -05:00
Drew Bailey 00637fe317
Merge pull request #6975 from hashicorp/b-update-placed-canaries
keep placed canaries aligned in raft store
2020-02-03 14:24:32 -05:00
Michael Schurter 0ecc943cf5
docs: add link & reorg #6690 in changelog 2020-02-03 11:03:45 -08:00
Drew Bailey 9a65556211
add state store test to ensure PlacedCanaries is updated 2020-02-03 13:58:01 -05:00
Drew Bailey f51a3d1f37
nomad state store must be modified through raft, rm local state change 2020-02-03 13:57:34 -05:00
Drew Bailey 74779f23e6
keep placed canaries aligned with alloc status 2020-02-03 13:57:33 -05:00