Commit graph

18969 commits

Author SHA1 Message Date
James Rasell 95db43eaf0
Merge pull request #8491 from hashicorp/b-gh-8481
api: task groups in system jobs do not support scaling stanzas.
2020-07-24 14:20:26 +02:00
Tim Gross 43d2052c99
csi: avoid panic in CLI for failed node attachment cleanup (#8525)
If the node API returns an attached volume that doesn't belong to an
alloc (because it's failed to clean up properly), `nomad node status`
will panic when rendering the response.

Also, avoid empty volumes output in node status
2020-07-24 08:17:27 -04:00
Michael Schurter 1400e0480d
Merge pull request #8521 from hashicorp/docs-hearbeat
docs: s/hearbeat/heartbeat and fix link
2020-07-23 14:07:24 -07:00
Tim Gross 56c6dacd38
csi: NodePublish should not create target_path, only its parent dir (#8505)
The NodePublish workflow currently creates the target path and its parent
directory. However, the CSI specification says that the CO shall ensure the
parent directory of the target path exists, and that the SP shall place the
block device or mounted directory at the target path. Much of our testing has
been with CSI plugins that are more forgiving, but our behavior breaks
spec-compliant CSI plugins.

This changeset ensures we only create the parent directory.
2020-07-23 15:52:22 -04:00
Drew Bailey fb21e592cd
Merge pull request #8523 from hashicorp/update-website-version
update version for 0.12.1
2020-07-23 15:37:38 -04:00
Drew Bailey f04a1d73bc
update version for 0.12.1 2020-07-23 15:36:33 -04:00
Mahmood Ali 5068dcb6fc
update changelog for GH-7785 (#8522) 2020-07-23 14:45:21 -04:00
Michael Schurter 8340ad4da8 docs: s/hearbeat/heartbeat and fix link
Also fixed the same typo in a test. Fixing the typo fixes the link, but
the link was still broken when running the website locally due to the
trailing slash. It would have worked in prod thanks to redirects, but
using the canonical URL seems ideal.
2020-07-23 11:33:34 -07:00
Drew Bailey 93f8561386
Merge pull request #8518 from hashicorp/release-0.12.1
update changelog for 0.12.1 release
2020-07-23 14:26:23 -04:00
Drew Bailey 2070ed2c62
Update CHANGELOG.md
Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
2020-07-23 14:24:31 -04:00
Drew Bailey 96f4d7a6c7
0.12.2 version and changelog placeholder 2020-07-23 14:21:55 -04:00
Brandon Romano 4fb044e0c7
Merge pull request #8520 from hashicorp/br.revert-banner
Revert "updating banner for webinar"
2020-07-23 11:12:25 -07:00
Brandon Romano 412fee5c24 Revert "updating banner for webinar"
This reverts commit 2c4a801b7de8857a1cd58c40f1d7ff8be951102c.
2020-07-23 10:55:00 -07:00
Michael Schurter 0ad90ed9ed
Merge pull request #8515 from hashicorp/b-vagrant-docker
vagrant: fix docker install script
2020-07-23 10:14:24 -07:00
Michael Schurter d5f0a94260 vagrant: fix docker install script
The key fingerprint doesn't seem to have changed, but something about
the old key installation command failed for me and broke vagrant up.
2020-07-23 10:09:46 -07:00
Nomad Release Bot a9d1d680b4
Release v0.12.1 2020-07-23 13:41:05 +00:00
Nick Ethier 5167bae0d5
website: remove usage of task network stanza (#8498)
* website: remove usage of task network stanza and add documentation for group network and service stanzas

* docs: fix broken link in client config

* Update website/pages/docs/job-specification/group.mdx

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>

* Update website/pages/docs/job-specification/group.mdx

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>

Co-authored-by: Seth Hoenig <shoenig@hashicorp.com>
2020-07-23 09:18:59 -04:00
Nomad Release bot f2f50bf48e Generate files for 0.12.1 release 2020-07-23 13:17:59 +00:00
Drew Bailey 82a3c6cc98
update changelog for 0.12.1 release 2020-07-23 08:50:03 -04:00
Mahmood Ali 6a97453e0e
Merge pull request #8508 from hashicorp/b-mrd-purging-spacing
mrd: only output evalID if found
2020-07-22 17:59:50 -04:00
Michael Lange 4a1184b418
Merge pull request #8509 from hashicorp/b-ui/view-raw-include-region
UI: Include the region query param on the View Raw File link in the task fs explorer
2020-07-22 14:20:59 -07:00
Michael Lange 5a2dc526cf Add changelog entry for view raw file region bug fix 2020-07-22 14:05:58 -07:00
Michael Lange e7d414d9c2 Include the region query param on the View Raw File link in the task fs explorer 2020-07-22 13:46:38 -07:00
Mahmood Ali fc38cd21c4 mrd: only output evalID if found
If the multi-region job is a periodic/dispatch job, stopping them
returns an empty EvalID. This removes some unexpected empty lines.
2020-07-22 16:43:03 -04:00
Brandon Romano 4c7c68a8b0
Merge pull request #8507 from hashicorp/pcmccarron-nomad-webinar-7-23
updating banner for webinar
2020-07-22 13:34:10 -07:00
Peter M e66b224d78
updating banner for webinar
webinar scheduled for July 23rd, can roll back to the previous banner afterwards
2020-07-22 13:31:02 -07:00
Lars Lehtonen e26ea30b7e
command/agent: fix dropped test error (#8504) 2020-07-22 15:06:35 -04:00
Drew Bailey f7c2ecb205
move podman out of external task drivers (#8502)
* move podman out of external task drivers

* document driver capabilities

* add redirect from old podman url to new one

* fix syntax
2020-07-22 14:55:40 -04:00
Mahmood Ali 8cb7dd9820
Merge pull request #8501 from hashicorp/docs-snapshot-docs-tweaks
Docs snapshot docs tweaks
2020-07-22 14:11:40 -04:00
Mahmood Ali 9a24960898 changelog node networks change 2020-07-22 13:56:52 -04:00
Mahmood Ali 898d8d849d docs: snapshot uses consul 2020-07-22 13:53:54 -04:00
Buck Doyle 9e3ae523d6
Fix layout of title component elements (#8495)
The spacing has been broken for job types that use this yield
(parameterised and periodic) since I added the exec button
to this template. This could be further refined to allow a more
logical grouping of elements where buttons and tags are
separate.
2020-07-22 11:30:58 -05:00
Tim Gross 77f4189cd2
docs: expand explanation of task driver capabilities (#8485) 2020-07-22 12:14:20 -04:00
Michael Schurter e5b43b2323
Merge pull request #8500 from hashicorp/docs-no-custom-schedulers
docs: remove mention of custom schedulers
2020-07-22 09:09:32 -07:00
Michael Lange dbd029aee7
Merge pull request #8489 from hashicorp/d/add-ui-bugfix-to-changelog
Add orphaned job detail page hanging bugfix to changelog
2020-07-22 09:07:26 -07:00
Michael Schurter be43ae77f0 docs: remove mention of custom schedulers
Not sure if this was meant to imply adding more schedulers to Nomad is
easy, or that we plan on adding pluggable schedulers. Either way,
neither of those statements is really true unless you really stretch the
definitions of "easy" and "plan".

So remove this sentence as I can't imagine it does anything other than
confuse people.
2020-07-22 08:57:43 -07:00
Michael Schurter 91e55d4bc3 docs: create a shortcut for stop_after_client_...
Some code names are too good not to mention.
2020-07-22 08:56:50 -07:00
Mahmood Ali a1e31c78fe
Merge pull request #8486 from hashicorp/b-node-network-devices-1
honor config.NetworkInterface in NodeNetworks
2020-07-22 10:44:28 -04:00
Drew Bailey 744cf9b2e8
remove duplicate license info (#8496) 2020-07-22 10:21:56 -04:00
James Rasell b391ec2a06
Merge pull request #8494 from hashicorp/b-fix-snapshot-agent-example-config-file
docs: fix snapshot agent example config file syntax and values.
2020-07-22 14:09:11 +02:00
Mahmood Ali 1233a346bc
Merge pull request #8493 from lhaig/master
Update snapshot-save.mdx
2020-07-22 07:41:05 -04:00
James Rasell ba25492fc4
docs: fix snapshot agent example config file syntax and values. 2020-07-22 13:30:18 +02:00
Lance Haig 014175de45
Update snapshot-save.mdx
Fix the nomad operator snapshot command examples.
They were missing the "operator" option
2020-07-22 13:04:47 +02:00
James Rasell 2da8bd8f58
agent: task groups in system jobs do not support scaling stanzas. 2020-07-22 11:10:59 +02:00
Michael Lange e398497a99 Add orphaned job detail page hanging bugfix to changelog 2020-07-21 21:57:15 -07:00
Mahmood Ali 91ba9ccefe honor config.NetworkInterface in NodeNetworks 2020-07-21 15:43:45 -04:00
kobayashi e095a70bd6
Add capabilities to task drivers' pages (#8476) 2020-07-21 14:54:31 -04:00
Michael Lange ec4b96b5e6
Merge pull request #8477 from hashicorp/b-ui/cross-region-alloc-lifecycle-buttons
UI: Always add the active region as a query param to API requests
2020-07-21 09:21:54 -07:00
Michael Lange 588c1217cf Changelog entry for the region qp bug fix 2020-07-21 09:02:39 -07:00
Michael Lange 6b984548ab Test coverage for the deployment adapter action 2020-07-21 09:02:39 -07:00