Commit graph

19368 commits

Author SHA1 Message Date
Luiz Aoqui 0ecf4183cd
docs: fix type for local_service_port 2020-09-01 18:38:01 -04:00
Mahmood Ali 7b99eea0e4
Changelog catchup (#8808) 2020-09-01 15:24:24 -04:00
Jasmine Dahilig 0203dc9983
Merge pull request #8797 from hashicorp/poststart-changelog
changelog: task lifecycle poststart hook
2020-09-01 10:34:36 -07:00
Michael Lange d4c741f391
Merge pull request #8805 from hashicorp/f-ui/remove-poststop
UI: Temporarily remove poststop from the lifecycle chart
2020-09-01 09:44:57 -07:00
Seth Hoenig 4f2d84267a
Merge pull request #8803 from hashicorp/docs-cigs-cl
add consul ingress gateways to changelog
2020-09-01 11:33:10 -05:00
Mahmood Ali d6bfcb6a28
Merge pull request #8804 from hashicorp/b-cronexpr-zero-padding
Fix cron handling with zero-padding months
2020-09-01 12:22:01 -04:00
Mahmood Ali 79326dcfe9 update changelog 2020-09-01 12:18:04 -04:00
Michael Lange f1316cf6bb
Merge pull request #8742 from hashicorp/f-ui/poststart-poststop
UI: Add poststart and poststop lifecycle phases
2020-09-01 08:58:54 -07:00
Mahmood Ali b45d6c30a7 run make vendor 2020-09-01 11:48:47 -04:00
Mahmood Ali 39e2c64a39 Update cronexpr to pick up month zero padding fix 2020-09-01 11:48:28 -04:00
Seth Hoenig 2919341848 add consul ingress gateways to changelog 2020-09-01 10:14:05 -05:00
Mahmood Ali 8e3fc429b2
Merge pull request #8798 from hashicorp/b-esccaping-newline
Fix escapingio handling of `\n~\n`
2020-09-01 10:00:08 -04:00
Mahmood Ali fe65ad60c7 add changelog
[ci skip]
2020-09-01 09:57:41 -04:00
Tim Gross 003ab59b4b
changelog: panic in operator debug command (#8802) 2020-09-01 08:40:04 -04:00
Michael Lange fc31f80880 Temporarily remove poststop from the UI
Since poststart and poststop are shipping separately, we can't ship them
both in the UI at the same time.
2020-08-31 19:32:38 -07:00
Mahmood Ali 55e7b94f62 Handle when a new line follows an escaping char 2020-08-31 20:31:44 -04:00
Mahmood Ali 79279b37cb Add a failing \n~\n~. case! 2020-08-31 20:29:04 -04:00
Jasmine Dahilig 42fd2b7aa6 changelog: task lifecycle poststart hook 2020-08-31 14:47:14 -07:00
Tim Gross 8ad90b4253
fix params for Agent.Host client RPC (#8795)
The parameters for the receiving side of the Agent.Host client RPC did not
take the arguments serialized at the server side. This results in a panic.
2020-08-31 17:14:26 -04:00
Jasmine Dahilig 71a694f39c
Merge pull request #8390 from hashicorp/lifecycle-poststart-hook
task lifecycle poststart hook
2020-08-31 13:53:24 -07:00
Jasmine Dahilig fbe0c89ab1 task lifecycle poststart: code review fixes 2020-08-31 13:22:41 -07:00
Drew Bailey 33dc50dca0
Merge pull request #8793 from hashicorp/debug-cli/run-intervals
run commands for duration and interval without needing to specify server or node
2020-08-31 16:07:26 -04:00
Drew Bailey 6d7a6ebb38
run commands for duration and interval without needing to specify servers or nodes 2020-08-31 14:13:03 -04:00
Lang Martin b4d364f030 command/plugin_status_csi: plugin status :id keeps expected count 2020-08-31 13:56:54 -04:00
Drew Bailey 5d5101bf2d
Merge pull request #8792 from hashicorp/debug-cli/add-license
add license info to operator debug command
2020-08-31 13:39:40 -04:00
Drew Bailey 1f7ea53876
add license info to operator debug command 2020-08-31 13:22:23 -04:00
Mahmood Ali 86178a3d3c
Merge pull request #8719 from hashicorp/f-nomad-raft-util
add helper commands for debugging state
2020-08-31 09:10:34 -04:00
Mahmood Ali fdeafaa9c2 Add a linter for raftutil message type mapping 2020-08-31 08:46:28 -04:00
Mahmood Ali 66df214792 raft debug commands are low-level internal commands 2020-08-31 08:45:59 -04:00
Mahmood Ali 12dbf699fa Apply suggestions from code review
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-08-31 08:45:59 -04:00
Mahmood Ali d588f91575 add helper commands for debugging state 2020-08-31 08:45:59 -04:00
Mahmood Ali cebd38f1c7
Merge pull request #8749 from hashicorp/b-old-non-deployment
Handle migration of non-deployment jobs
2020-08-30 20:54:27 -04:00
Mahmood Ali 2bed2edc9e
Merge pull request #8787 from Clivern/patch-1
Docs: update acl guide broken link
2020-08-29 17:59:32 -04:00
Mahmood Ali 412a37d45e
Merge pull request #8778 from hashicorp/b-non-effective-copy
Fix accidental broken Copy
2020-08-29 17:57:18 -04:00
Mahmood Ali 2f8efd3885
Merge pull request #8784 from jf/fix_cmd_name
Fix cmd.Name() for NodeEligibilityCommand
2020-08-29 17:57:10 -04:00
Ahmed e13f60b84c
update acl guide link 2020-08-29 21:29:49 +02:00
Jeffrey 'jf' Lim 25071c525a Fix cmd.Name() for NodeEligibilityCommand 2020-08-29 22:45:42 +08:00
Kevin Pruett e14ed6cb7c
Merge pull request #8756 from hashicorp/pruett.search-component
Replace local search with @hashicorp/react-search
2020-08-28 15:29:24 -04:00
Mahmood Ali 117aec0036 Fix accidental broken clones
Fix CSIMountOptions.Copy() and VolumeRequest.Copy() where they
accidentally returned a reference to self rather than a deep copy.

`&(*ref)` in Golang apparently equivalent to plain `&ref`.
2020-08-28 15:29:22 -04:00
Kevin Pruett 016d18434d
Replace local search with @hashicorp/react-search 2020-08-28 15:15:35 -04:00
Tim Gross b77fe023b5
MRD: move 'job stop -global' handling into RPC (#8776)
The initial implementation of global job stop for MRD looped over all the
regions in the CLI for expedience. This changeset includes the OSS parts of
moving this into the RPC layer so that API consumers don't have to implement
this logic themselves.
2020-08-28 14:28:13 -04:00
Tim Gross a20e3f6a74
changelog: global stop, misc bug fix (#8777) 2020-08-28 14:06:36 -04:00
Tim Gross 35b1b3bed7
structs: filter NomadTokenID from job diff (#8773)
Multiregion deployments use the `NomadTokenID` to allow the deploymentwatcher
to send RPCs between regions with the original submitter's ACL token. This ID
should be filtered from diffs so that it doesn't cause a difference for
purposes of job plans.
2020-08-28 13:40:51 -04:00
Lang Martin 97c7f2acea
command/operator_debug: mkdir before storing agent-host (#8707)
The api calls were reordered, the new order omits the
`agent-host.json` result by fetching it before the directory is
created.
2020-08-28 11:58:06 -04:00
Buck Doyle 90e0374926 Merge branch 'f-ui/poststart-poststop' of github.com:hashicorp/nomad into f-ui/poststart-poststop 2020-08-28 10:18:45 -05:00
Buck Doyle 7ed43b0332
Merge branch 'master' into f-ui/poststart-poststop 2020-08-28 10:15:18 -05:00
Buck Doyle eadb91e734
Add exec heartbeat keepalive (#8759)
This closes #8727, thanks to @jfcantu for the suggestion.
The CLI implementation of exec already has a 10-second
heartbeat so this mirrors that:
https://github.com/hashicorp/nomad/blob/v0.12.3/api/allocations.go#L161-L173
2020-08-28 10:13:33 -05:00
Michael Lange 3787978ab1
Merge pull request #8771 from hashicorp/f-ui/mirage-consistency
UI: Clean up erroneous and redundant mirage things
2020-08-28 08:12:07 -07:00
Tim Gross 67a875af15
docs: alphabetize community task driver listing (#8774)
Everything else in the docs sidebars is alphabetized, so do it here too.
2020-08-28 11:05:20 -04:00
Michael Lange 25bb975749 Clean up erroneous and redundant mirage things 2020-08-27 17:58:24 -07:00