Chris Baker
b79e25efb9
make sync
2020-06-19 23:27:00 +00:00
Chris Baker
d3f4d5b91a
Merge pull request #8226 from hashicorp/docs-changelog-net012
...
docs: add CNI and MIN to changelog for 0.12-beta1
2020-06-19 18:01:54 -05:00
Michael Schurter
d9a946dae2
docs: add CNI and MIN to changelog for 0.12-beta1
2020-06-19 15:52:18 -07:00
Michael Schurter
562704124d
Merge pull request #8208 from hashicorp/f-multi-network
...
multi-interface network support
2020-06-19 15:46:48 -07:00
Michael Lange
ac056b14db
Merge pull request #8218 from hashicorp/b-ui/plugin-allocation-healthy-flakiness
...
UI: Add cycling to factory healthy flags
2020-06-19 14:39:47 -07:00
Mahmood Ali
d0c3275132
Merge pull request #8217 from hashicorp/revert-5906-b-alloc-stale-updates
...
Revert "client: defensive against getting stale alloc updates"
2020-06-19 17:02:01 -04:00
Buck Doyle
0dd9ffdab3
Add cycling to factory healthy flags
...
This is meant to address the plugin test failure seen here:
https://app.circleci.com/pipelines/github/hashicorp/nomad/10015/workflows/ace5d615-db03-4cfc-86b2-31e9e00473ec/jobs/77014/tests
I believe the problem was that on rare occasions, the set
of mock storage controllers and nodes were all unhealthy,
so the facet test had no rows to iterate through. Since
there are always three of each, this guarantees some
healthy ones will be present.
2020-06-19 15:43:32 -05:00
Michael Lange
98be6b0274
Merge pull request #8216 from hashicorp/b-ui/stats-request-thrashing
...
UI: Add a key to the alloc table on the task group detail page
2020-06-19 13:37:05 -07:00
Mahmood Ali
3824e0362c
Revert "client: defensive against getting stale alloc updates"
2020-06-19 15:39:44 -04:00
Michael Lange
a9bf04675f
Add a key to the alloc table on the task group detail page
...
Adding keys tells Ember to rerender matching entries instead of
destroying and recreating.
Without this key, every time the allocation collection changes, every
allocation row gets destroyed and recreated.
This happens a lot, since each allocation needs to be reloaded which
dirties the collection.
Since allocation rows fetch stats on init, each of these many many
renders results in a stats request.
By using key and rerendering matching records, this all goes away. Since
the rows aren't being destroyed and recreated, the init stats request
isn't being made overnumerously.
2020-06-19 11:27:57 -07:00
Mahmood Ali
bf08b7a890
Merge pull request #8214 from hashicorp/docs-snapshot-update
...
Update changelog and snapshot docs
2020-06-19 14:27:12 -04:00
Kevin Pruett
aaa9151151
Fixup additionalComponents within MDXProvider
2020-06-19 14:22:47 -04:00
Nick Ethier
fb9c458df1
nomad/mock: add NodeNetworkResources to mock Node
2020-06-19 14:22:24 -04:00
Mahmood Ali
06df97b3cd
add snapshot subcommands to sidenav
2020-06-19 14:11:48 -04:00
Buck Doyle
ee7141a59a
Add phase 1 of global search ( #8175 )
...
This introduces a DataCaches service so recently-updated collections don’t need
to be requeried within a minute, or based on the current route. It only searches
jobs and nodes. There are known bugs that will be addressed in upcoming PRs.
2020-06-19 13:05:28 -05:00
Kevin Pruett
86e8a2044b
Add custom MDXProvider to /docs pages
2020-06-19 13:57:14 -04:00
Dave May
b2348a34ae
add redirects for upgrade and vault pki guides ( #7863 )
2020-06-19 13:54:23 -04:00
Nick Ethier
a87e91e971
test: fix up testing around host networks
2020-06-19 13:53:31 -04:00
Tim Gross
d3ecb87984
multiregion: initial deploymentPaused must match start condition ( #8215 )
...
In #8209 we fixed the `max_parallel` stanza for multiregion by introducing the
`IsMultiregionStarter` check, but didn't apply it to the earlier place its
required. The result is that deployments start but don't place allocations.
2020-06-19 13:42:38 -04:00
Mahmood Ali
d04ab67045
Apply suggestions from code review
...
Co-authored-by: Drew Bailey <2614075+drewbailey@users.noreply.github.com>
2020-06-19 13:36:22 -04:00
Michael Lange
29bab8840c
Merge pull request #8207 from hashicorp/f-ui/manual-scaling-controls
...
UI: Task Group Scaling Controls
2020-06-19 10:29:01 -07:00
Michael Lange
3be9d338cb
Remove superfluous property from the StepperInput page object
2020-06-19 10:21:39 -07:00
Mahmood Ali
fe8f5d2f95
docs: snapshot agent command
2020-06-19 12:53:22 -04:00
Mahmood Ali
2c89280fa9
Update docs for snapshot CLI
2020-06-19 12:31:40 -04:00
Mahmood Ali
ef6507d6ee
cli: use <file> for consistency
2020-06-19 12:19:38 -04:00
Nick Ethier
6e3313c672
vendor: sync api changes
2020-06-19 11:31:39 -04:00
Nick Ethier
f0ac1f027a
lint: spelling
2020-06-19 11:29:41 -04:00
Tim Gross
b654e1b8a4
multiregion: all regions start in running if no max_parallel ( #8209 )
...
If `max_parallel` is not set, all regions should begin in a `running` state
rather than a `pending` state. Otherwise the first region is set to `running`
and then all the remaining regions once it enters `blocked. That behavior is
technically correct in that we have at most `max_parallel` regions running,
but definitely not what a user expects.
2020-06-19 11:17:09 -04:00
Mahmood Ali
ce0eee6a78
complete missed message
2020-06-19 11:02:36 -04:00
Drew Bailey
c2d7b61939
allow raw body instead of JSON encoded string ( #8211 )
2020-06-19 10:57:09 -04:00
Nick Ethier
0374ad3e6c
taskenv: populate NOMAD_IP|PORT|ADDR env from allocated ports
2020-06-19 10:51:32 -04:00
Mahmood Ali
c469afde93
document snapshot api endpoints
2020-06-19 10:37:00 -04:00
Mahmood Ali
a5c19d43ab
update changelog
2020-06-19 10:18:00 -04:00
Mahmood Ali
963b1251ff
Merge pull request #8082 from hashicorp/f-raft-multipler
...
Implement raft multipler flag
2020-06-19 10:04:59 -04:00
Nick Ethier
f0559a8162
multi-interface network support
2020-06-19 09:42:10 -04:00
Tim Gross
8a354f828f
store ACL Accessor ID from Job.Register with Job ( #8204 )
...
In multiregion deployments when ACLs are enabled, the deploymentwatcher needs
an appropriately scoped ACL token with the same `submit-job` rights as the
user who submitted it. The token will already be replicated, so store the
accessor ID so that it can be retrieved by the leader.
2020-06-19 07:53:29 -04:00
Tim Gross
2e2d9ad5ae
docs: fix for multiregion count explanation ( #8202 )
2020-06-19 07:52:58 -04:00
James Rasell
81afc5bc6f
Merge pull request #8180 from hashicorp/b-gh-8179
...
demo: Fix Vagrantfile when building staging VM for Cloud build.
2020-06-19 08:29:09 +02:00
Michael Lange
02fd45f02b
Acceptance tests for task group scaling
2020-06-18 23:23:03 -07:00
Michael Lange
1cadcf90b8
Watch the latest deployment relationship to disable the stepper appropriately
2020-06-18 23:23:03 -07:00
Michael Lange
d3cce73747
Wire up the scale action on the task group page
2020-06-18 23:23:03 -07:00
Michael Lange
6259e3ae5d
Integrate the stepper input with the task group page
2020-06-18 22:32:56 -07:00
Michael Lange
ddd5a7e342
Test coverage for the StepperInput
2020-06-18 22:08:29 -07:00
Michael Lange
ff3653ddf6
Style the StepperInput component
2020-06-18 22:08:28 -07:00
Michael Lange
28916c22cf
Add count StepperInput to the task group page
2020-06-18 22:08:28 -07:00
Michael Lange
26760c440d
StepperInput story
2020-06-18 22:08:28 -07:00
Michael Lange
ba91a4ffe5
Barebones StepperInput component
2020-06-18 22:08:28 -07:00
Michael Lange
2e04719fbc
Slow the debounce time.
2020-06-18 22:08:28 -07:00
Michael Lange
f1fec7430f
Test coverage for the task group row scale actions
2020-06-18 22:08:28 -07:00
Michael Lange
c664f57361
Disable scale buttons when a deployment is running or ACL forbids it
2020-06-18 22:08:28 -07:00