Commit Graph

18802 Commits

Author SHA1 Message Date
Nomad Release Bot
a9946b7fb8 Release v0.12.0-rc1 2020-07-07 03:40:40 +00:00
Nomad Release bot
0060a5306a Generate files for 0.12.0-rc1 release 2020-07-07 03:17:05 +00:00
Chris Baker
438fec972a Merge pull request #8372 from hashicorp/b-make-lint-happy
fix spelling error to make linter happy
2020-07-06 21:18:49 -05:00
Chris Baker
94d4a49250 fix spelling error to make linter happy 2020-07-07 02:02:19 +00:00
Nick Ethier
e94690decb ar: support opting into binding host ports to default network IP (#8321)
* ar: support opting into binding host ports to default network IP

* fix config plumbing

* plumb node address into network resource

* struct: only handle network resource upgrade path once
2020-07-06 18:51:46 -04:00
Jeff Escalante
31978394ed learn -> tutorials in subnav 2020-07-06 18:43:54 -04:00
Mahmood Ali
1dfbb1a5f5 Merge pull request #8369 from hashicorp/docs-security-model
Add security model document
2020-07-06 17:37:05 -04:00
Tim Gross
f87d278d01 docs: note MRD is beta and removing regions doesn't work (#8370) 2020-07-06 16:02:10 -04:00
Tim Gross
144f8b88ff fix region flag vs job region handling in plan/submit (#8347) 2020-07-06 15:46:09 -04:00
Mahmood Ali
344e1319cb Add security model document 2020-07-06 14:54:49 -04:00
Chris Baker
1fbe58fcd8 Merge pull request #8360 from hashicorp/b-8355-better-scaling-validation
better error handling around Scaling->Max
2020-07-06 11:32:02 -05:00
Tim Gross
114881c2aa reconcile should not overwrite unblocking state (#8349)
Pre-0.12.0 beta, a deployment was considered "complete" if it was
successful. But with MRD we have "blocked" and "unblocking" states as well. We
did not consider the case where a concurrent alloc health status update
triggers a `Compute` call on a deployment that's moved from "blocked" to
"unblocking" (it's a small window), which caused an extra pass thru the
`nextRegion` logic in `deploymentwatcher` and triggered an error when later
transitioning to "successful".

This changeset makes sure we don't overwrite that status.
2020-07-06 11:31:33 -04:00
Chris Baker
e2831c5ecd Merge pull request #8364 from hashicorp/b-326-multiregion-version-sync
allow version skipping in Job.Register to support version syncing for MRD
2020-07-06 10:06:32 -05:00
Chris Baker
6d3ea38aa4 modified state store to allow version skipping, to support multiregion version syncing also, passing existing version into multiregionRegister to support this 2020-07-06 14:16:55 +00:00
Lars Lehtonen
ea905fa4a7 nomad: fix dropped test error (#8356) 2020-07-06 08:46:54 -04:00
Chris Baker
7836dfa6e0 Merge pull request #8363 from hashicorp/cgbaker-patch-1
Update plugins.mdx
2020-07-06 07:35:31 -05:00
Chris Baker
c231267fa8 Update plugins.mdx
bad example JSON response
2020-07-05 16:46:44 -05:00
Chris Baker
b5f595a054 better testing of scaling parsing, fixed some broken tests by api
changes
2020-07-04 19:32:37 +00:00
Chris Baker
15a66e60a8 fixed api tests for changes 2020-07-04 19:23:58 +00:00
Chris Baker
a05f3af419 added changelog entry for #8360 2020-07-04 19:10:24 +00:00
Chris Baker
7f8176a188 changes to make sure that Max is present and valid, to improve error messages
* made api.Scaling.Max a pointer, so we can detect (and complain) when it is neglected
* added checks to HCL parsing that it is present
* when Scaling.Max is absent/invalid, don't return extraneous error messages during validation
* tweak to multiregion handling to ensure that the count is valid on the interpolated regional jobs

resolves #8355
2020-07-04 19:05:50 +00:00
Chris Baker
f015e02002 added scaling->min default discussion to group->count documentation 2020-07-04 18:33:19 +00:00
Mahmood Ali
9d2b5e6607 Merge pull request #8352 from hashicorp/tests-deflake-freeport
deflake some commands package tests
2020-07-03 10:20:40 -04:00
Mahmood Ali
49a2c65d6a tests: make testagent shutdown idempotent
Avoid double freeing ports if an agent.Shutdown() is called multiple
times.
2020-07-03 09:16:01 -04:00
Jonathan Neal
39eb9412b1 Patch bump internal hashicorp dependencies (#8300)
* Bump internal hashicorp dependencies

* Trigger CI

* Add pointless changes to trigger CI

* Use next@canary

* Fixer upper

* Update package-lock.json

* Bump dependencies to resolve issues with mdx permalink styles
2020-07-02 17:56:09 -04:00
Lang Martin
44c6727c61 CHANGELOG agent host (#8346) 2020-07-02 14:09:33 -04:00
Seth Hoenig
e4950e243e Merge pull request #8342 from hashicorp/rm-externalised-demos
demos: remove externalized demo files
2020-07-02 12:21:27 -05:00
Seth Hoenig
70a07c41af demos: remove externalized demo files
These have been moved into github.com/hashicorp/nomad-connect-demos
2020-07-02 11:30:59 -05:00
Mahmood Ali
1959214ec4 Merge pull request #8341 from hashicorp/docs-changelog-GH-8311
changelog for sidecar bug
2020-07-02 12:22:18 -04:00
Mahmood Ali
babbf5dbad changelog for sidecar bug 2020-07-02 12:10:26 -04:00
Lang Martin
0980539582 doc: add api docs to agent page (#8339)
* doc: add api docs to agent page

* docs: add a sentence about redaction
2020-07-02 11:04:55 -04:00
Lang Martin
3a1cdac25e command/debug: use the correct env vars for Consul token (#8332) 2020-07-02 10:04:22 -04:00
Lang Martin
bde973e366 api: nomad debug new /agent/host (#8325)
* command/agent/host: collect host data, multi platform

* nomad/structs/structs: new HostDataRequest/Response

* client/agent_endpoint: add RPC endpoint

* command/agent/agent_endpoint: add Host

* api/agent: add the Host endpoint

* nomad/client_agent_endpoint: add Agent Host with forwarding

* nomad/client_agent_endpoint: use findClientConn

This changes forwardMonitorClient and forwardProfileClient to use
findClientConn, which was cribbed from the common parts of those
funcs.

* command/debug: call agent hosts

* command/agent/host: eliminate calling external programs
2020-07-02 09:51:25 -04:00
Drew Bailey
0fb0b7192e podman documentation (#8331)
* podman documentation

* capitalizations
2020-07-01 16:41:39 -04:00
Mahmood Ali
926d038f4c Merge pull request #8334 from hashicorp/docs-all-namespaces-queries
Document namespace flag and API parameter
2020-07-01 16:34:26 -04:00
Mahmood Ali
42c1839a7b document namespace option in CLI docs 2020-07-01 15:31:41 -04:00
Mahmood Ali
7286f8ef84 document namespace=* in relevant APIs 2020-07-01 15:20:57 -04:00
Michael Lange
d74b661214 Merge pull request #8314 from hashicorp/f-ui/scaling-ux
UI: Scaling UI UX Improvements
2020-07-01 09:21:08 -07:00
Tim Gross
95799663b8 csi: add -force flag to volume deregister (#8295)
The `nomad volume deregister` command currently returns an error if the volume
has any claims, but in cases where the claims can't be dropped because of
plugin errors, providing a `-force` flag gives the operator an escape hatch.

If the volume has no allocations or if they are all terminal, this flag
deletes the volume from the state store, immediately and implicitly dropping
all claims without further CSI RPCs. Note that this will not also
unmount/detach the volume, which we'll make the responsibility of a separate
`nomad volume detach` command.
2020-07-01 12:17:51 -04:00
Drew Bailey
2b634f7630 use specific sha (#8329)
* use specific sha

* use submodule version
2020-07-01 10:32:45 -04:00
Drew Bailey
b56f2c52ae add hclog vet to check step (#8328)
* add hclog vet to check step

* ...
2020-07-01 10:08:37 -04:00
Michael Lange
12b619754f Merge pull request #8324 from hashicorp/f-ui/persist-log-stream
UI: Persist the log stream/mode setting to localStorage
2020-06-30 17:54:40 -07:00
Michael Lange
2a78133330 Persist the log stream/mode setting to localStorage 2020-06-30 17:09:52 -07:00
Chris Baker
5fda3c9c67 Merge pull request #8322 from hashicorp/website-list-beta2-on-downloads
updated website to reference beta2 on the downloads page
2020-06-30 16:35:58 -05:00
Chris Baker
5e8f079efc updated website to reference beta2 on the downloads page 2020-06-30 21:19:08 +00:00
Buck Doyle
e183ae2465 Change back to released Ember Power Select (#8317)
Thanks to @cibernox’s isActive clarification in
cibernox/ember-power-select#1374, this replaces the use
of a hacked Power Select API with a deliberate blurring
of the trigger element, which is equivalent to setting
the element to inactive.
2020-06-30 15:23:02 -05:00
Buck Doyle
a64cb104b8 Fix layering so logo is clickable (#8320)
The CSS I added in #8249 to make the search be properly
centred also made the logo unclickable as it was hidden
behind the centred element! This makes the logo stay
above the search container.
2020-06-30 15:22:31 -05:00
Michael Lange
26a7267a0d StepperInput UX improvements
- Click label to focus input
- Focusing input selects value
- Entering an invalid value reverts selection
- Entering a fractional number floors the value
2020-06-30 11:54:11 -07:00
Michael Lange
ef8594060c Label buttons that only have icons for markup 2020-06-30 11:54:11 -07:00
Michael Lange
b1b5344dc1 Reset font weight for tooltips 2020-06-30 11:54:11 -07:00