Michael Schurter
0ed023c61a
deps: updated libnetwork dep
...
Adding missing vendor files as well.
2020-06-18 11:05:31 -07:00
Nick Ethier
4a44deaa5c
CNI Implementation ( #7518 )
2020-06-18 11:05:29 -07:00
Nick Ethier
0bc0403cc3
Task DNS Options ( #7661 )
...
Co-Authored-By: Tim Gross <tgross@hashicorp.com>
Co-Authored-By: Seth Hoenig <shoenig@hashicorp.com>
2020-06-18 11:01:31 -07:00
Michael Lange
34b51860eb
Merge pull request #8177 from hashicorp/f-ui/monitor
...
UI: Client and Server Monitor
2020-06-18 09:07:22 -07:00
Charlie Jones
e369e76643
Fix typo in link to Cloud Auto-join section ( #8116 )
2020-06-18 10:21:31 -04:00
Seth Hoenig
838147512f
Merge pull request #8199 from hashicorp/b-remove-tidy-from-dev
...
deps: remove tidy from dev makefile target
2020-06-18 08:56:58 -05:00
Seth Hoenig
2803ddadab
deps: remove tidy from dev makefile target
...
With Go modules, `go mod tidy` supplants `vendorfmt`. Unfortunately,
`tidy` will try to reach out to the network and download modules, and
there is no way to disable that behavior (e.g. the -mod=vendor) option
does not apply. This means we cannot use the `tidy` target in nomad
enterprise, which will be unable to reach private repositories like
consul-enterprise.
This isn't a big deal, since `vendorfmt` served the purpose of rewriting
the output of `govendor`, wheras `tidy` is a part of the `sync` target
that is required to be run when modifying dependencies anyway.
2020-06-18 08:49:12 -05:00
Tim Gross
63ae10f0d0
docs: multiregion deployment feature ( #8185 )
2020-06-18 08:41:22 -04:00
Mahmood Ali
4f1ca98db6
docs: elaborate on raft_multipler default
2020-06-18 08:04:22 -04:00
Michael Lange
da76edcabd
Code review feedback
2020-06-17 14:56:16 -07:00
Michael Lange
3c03ee5621
Guard the request animation frame with the existing requestFrame flag
2020-06-17 14:50:55 -07:00
Mahmood Ali
5c623f33d5
cli: warn on multiple prefix matches when querying all namespaces
2020-06-17 16:32:51 -04:00
Mahmood Ali
8d9ce41202
cli: query all namespaces for alloc subcommands
2020-06-17 16:31:06 -04:00
Mahmood Ali
c0aa06d9c7
rpc: allow querying allocs across namespaces
...
This implements the backend handling for querying across namespaces for
allocation list endpoints.
2020-06-17 16:31:06 -04:00
Mahmood Ali
7a33a75449
cli: jobs allow querying jobs in all namespaces
2020-06-17 16:31:01 -04:00
Mahmood Ali
e784fe331a
use '*' to indicate all namespaces
...
This reverts the introduction of AllNamespaces parameter that was merged
earlier but never got released.
2020-06-17 16:27:43 -04:00
Tim Gross
81ae581da6
test: remove flaky test from volumewatcher ( #8189 )
...
The volumewatcher restores itself on notification, but detecting this is racy
because it may reap any claim (or find there are no claims to reap) and
shutdown before we can test whether it's running. This appears to have become
flaky with a new version of golang. The other cases in this test case
sufficiently exercise the start/stop behavior of the volumewatcher, so remove
the flaky section.
2020-06-17 15:41:51 -04:00
Chris Baker
fe9d654640
Merge pull request #8187 from hashicorp/f-8143-block-scaling-during-deployment
...
modify Job.Scale RPC to return an error if there is an active deployment
2020-06-17 14:38:55 -05:00
Tim Gross
ca5161a8b7
changelog for multiregion deployments ( #8188 )
2020-06-17 14:14:04 -04:00
Chris Baker
1d40ab23b7
docs: updated website to this change
2020-06-17 17:44:58 +00:00
Chris Baker
cd903218f7
added changelog entry and satisfied make check
2020-06-17 17:43:45 +00:00
Chris Baker
ab2b15d8cb
modify Job.Scale RPC to return an error if there is an active deployment
...
resolves #8143
2020-06-17 17:03:35 +00:00
Tim Gross
6da9b2498c
Merge pull request #8184 from hashicorp/f-multiregion_oss
...
Multiregion Deployments (OSS integration)
2020-06-17 12:09:42 -04:00
Tim Gross
6b1cb61888
remove test for ent-only behavior
2020-06-17 11:27:29 -04:00
Tim Gross
c14a75bfab
multiregion: use pending instead of paused
...
The `paused` state is used as an operator safety mechanism, so that they can
debug a deployment or halt one that's causing a wider failure. By using the
`paused` state as the first state of a multiregion deployment, we risked
resuming an intentionally operator-paused deployment because of activity in a
peer region.
This changeset replaces the use of the `paused` state with a `pending` state,
and provides a `Deployment.Run` internal RPC to replace the use of the
`Deployment.Pause` (resume) RPC we were using in `deploymentwatcher`.
2020-06-17 11:06:14 -04:00
Tim Gross
fd50b12ee2
multiregion: integrate with deploymentwatcher
...
* `nextRegion` should take status parameter
* thread Deployment/Job RPCs thru `nextRegion`
* add `nextRegion` calls to `deploymentwatcher`
* use a better description for paused for peer
2020-06-17 11:06:00 -04:00
Tim Gross
7b12445f29
multiregion: change AutoRevert to OnFailure
2020-06-17 11:05:45 -04:00
Tim Gross
5c4d0a73f4
start all but first region deployment in paused state
2020-06-17 11:05:34 -04:00
Tim Gross
48e9f75c1e
multiregion: deploymentwatcher hooks
...
This changeset establishes hooks in deploymentwatcher for multiregion
deployments (for the enterprise version of Nomad).
2020-06-17 11:05:18 -04:00
Tim Gross
b09b7a2475
Multiregion job registration
...
Integration points for multiregion jobs to be registered in the enterprise
version of Nomad:
* hook in `Job.Register` for enterprise to send job to peer regions
* remove monitoring from `nomad job run` and `nomad job stop` for multiregion jobs
2020-06-17 11:04:58 -04:00
Tim Gross
161bcd9479
use constants from http package
2020-06-17 11:04:02 -04:00
Tim Gross
b93efc16d5
multiregion CLI: nomad deployment unblock
2020-06-17 11:03:44 -04:00
Drew Bailey
9263fcb0d3
Multiregion deploy status and job status CLI
2020-06-17 11:03:34 -04:00
Tim Gross
473a0f1d44
multiregion: unblock and cancel RPCs
2020-06-17 11:02:26 -04:00
Tim Gross
ede3a4f1c4
multiregion: request structs
2020-06-17 11:00:34 -04:00
Tim Gross
6851024925
Multiregion structs
...
Initial struct definitions, jobspec parsing, validation, and conversion
between Nomad structs and API structs for multi-region deployments.
2020-06-17 11:00:14 -04:00
Chris Baker
a7e0f021bc
Merge pull request #8168 from hashicorp/f-8158-add-preserve-counts
...
add `PreserveCounts` to `Job.Register`
2020-06-17 07:28:35 -05:00
James Rasell
1b94305e21
demo: Fix Vagrantfile when building staging VM for Cloud build.
...
Updates the base VM image used as well as fixes install failures
with Azure CLI and Docker.
2020-06-17 12:22:24 +02:00
Michael Lange
562a957666
Select all shortcut support for the streaming file component
2020-06-16 12:51:52 -07:00
Chris Baker
6a43aa31a5
changelog for -persist-counts, #8168
2020-06-16 18:45:29 +00:00
Chris Baker
de8a46b0f8
added -preserve-counts to job run
CLI, updated website
2020-06-16 18:45:28 +00:00
Chris Baker
9fc66bc1aa
support in API client and Job.Register RPC for PreserveCounts
2020-06-16 18:45:28 +00:00
Chris Baker
377f881fbd
removed api.RegisterJobRequest in favor of api.JobRegisterRequest
...
modified `job inspect` and `job run -output` to use anonymous struct to keep previous behavior
2020-06-16 18:45:17 +00:00
Chris Baker
1e3563e08c
wip: added PreserveCounts to struct.JobRegisterRequest, development test for Job.Register
2020-06-16 18:45:17 +00:00
Chris Baker
b22b2bf968
wip: developmental test to preserve existing task group counts during job update
2020-06-16 18:45:17 +00:00
Michael Lange
c62db754a3
Server monitor page
2020-06-16 10:23:36 -07:00
Michael Lange
f745ce4269
Test coverage for new features of the server detail page
2020-06-16 10:23:36 -07:00
Michael Lange
56e66e76e6
Redesign the server detail page to be inline with everything else
2020-06-16 10:23:36 -07:00
Michael Lange
3381c835b1
Add nested monitor route to servers/server
2020-06-16 10:23:36 -07:00
Michael Lange
e6928cb01d
Refactor the servers/server pages to match the subnav style of nested pages
2020-06-16 10:23:36 -07:00