Commit Graph

18634 Commits

Author SHA1 Message Date
Mahmood Ali
5333d019b4 accomodate enterprise specific commands
`nomad operator snapshot agent` is an Enterprise specific command
2020-06-22 10:27:25 -04:00
Mahmood Ali
935816b643 testS: add all namespaces test for allocations 2020-06-22 10:26:08 -04:00
Yishan Lin
389252247d Merge pull request #8231 from hashicorp/yishan-update-nomad-resources-website-page
Updated Nomad Resources Page
2020-06-20 21:43:52 -07:00
Michael Lange
b941519352 Fix flaky task-group-row test. (#8221)
Sometimes a job would be created with a running deployment which made
the increment button disabled.

While I was finding the root cause, I also changed the waitUntil pattern
to match the StepperInput technique which is more resilient to code
changes.
2020-06-20 09:48:32 -05:00
Yishan Lin
05598faa1b Added missing HashiTalk from Dingo 2020-06-19 22:32:42 -07:00
Yishan Lin
5869a021f8 Fixed opening sentence typo 2020-06-19 22:29:27 -07:00
Yishan Lin
5d6617c2d8 Updated Nomad Resources Page
- Changed boilerplate intro copy to match messaging in approved 0.12 announcement copy launching next Monday
- Added Virtual Talks section with each of their Youtube links and year timestamps from this year
- Updated the Who Uses Nomad section in alignment with Nomad GitHub READDME in ordering
- Added new customer talks such as Cloudflare and yearly timestamps to each of them
- Removed outdated Community Tools and Integrations section
2020-06-19 20:13:00 -07:00
Chris Baker
5a6f0bf009 Merge pull request #8228 from hashicorp/make-sync
`make sync`
2020-06-19 18:47:18 -05:00
Chris Baker
324d010ad7 make sync 2020-06-19 23:27:00 +00:00
Chris Baker
47b3510291 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
b94e024fbe docs: add CNI and MIN to changelog for 0.12-beta1 2020-06-19 15:52:18 -07:00
Michael Schurter
6886edd1fc Merge pull request #8208 from hashicorp/f-multi-network
multi-interface network support
2020-06-19 15:46:48 -07:00
Michael Lange
1913c5f60f 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
0bfe89c0fa 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
5772ea210c 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
b3ba307ed8 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
c70f2a1269 Revert "client: defensive against getting stale alloc updates" 2020-06-19 15:39:44 -04:00
Michael Lange
6dfca71b3b 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
a1a140ca5d Merge pull request #8214 from hashicorp/docs-snapshot-update
Update changelog and snapshot docs
2020-06-19 14:27:12 -04:00
Kevin Pruett
36c99bbe99 Fixup additionalComponents within MDXProvider 2020-06-19 14:22:47 -04:00
Nick Ethier
12595a7cd7 nomad/mock: add NodeNetworkResources to mock Node 2020-06-19 14:22:24 -04:00
Mahmood Ali
38562c1477 add snapshot subcommands to sidenav 2020-06-19 14:11:48 -04:00
Buck Doyle
62abb11bab 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
31d512009e Add custom MDXProvider to /docs pages 2020-06-19 13:57:14 -04:00
Dave May
8ba4f72fa2 add redirects for upgrade and vault pki guides (#7863) 2020-06-19 13:54:23 -04:00
Nick Ethier
18ed6a7a85 test: fix up testing around host networks 2020-06-19 13:53:31 -04:00
Tim Gross
1916051580 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
6f20d336ce 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
fcf08db9e3 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
c70ea9765f Remove superfluous property from the StepperInput page object 2020-06-19 10:21:39 -07:00
Mahmood Ali
90071464c6 docs: snapshot agent command 2020-06-19 12:53:22 -04:00
Mahmood Ali
9f7657dc86 Update docs for snapshot CLI 2020-06-19 12:31:40 -04:00
Mahmood Ali
08746faad1 cli: use <file> for consistency 2020-06-19 12:19:38 -04:00
Nick Ethier
6a2a9560d8 vendor: sync api changes 2020-06-19 11:31:39 -04:00
Nick Ethier
b9b44062f5 lint: spelling 2020-06-19 11:29:41 -04:00
Tim Gross
5a068e6005 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
5b77a03c37 complete missed message 2020-06-19 11:02:36 -04:00
Drew Bailey
ef7b7b2a9b allow raw body instead of JSON encoded string (#8211) 2020-06-19 10:57:09 -04:00
Nick Ethier
588b0c219c taskenv: populate NOMAD_IP|PORT|ADDR env from allocated ports 2020-06-19 10:51:32 -04:00
Mahmood Ali
8363c2ca0b document snapshot api endpoints 2020-06-19 10:37:00 -04:00
Mahmood Ali
ddaccd2aef update changelog 2020-06-19 10:18:00 -04:00
Mahmood Ali
0821c0a7e3 Merge pull request #8082 from hashicorp/f-raft-multipler
Implement raft multipler flag
2020-06-19 10:04:59 -04:00
Nick Ethier
ad8ced3873 multi-interface network support 2020-06-19 09:42:10 -04:00
Tim Gross
8fc76f560d 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
8ce13f304e docs: fix for multiregion count explanation (#8202) 2020-06-19 07:52:58 -04:00
James Rasell
d77090171f 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
61042e0ecf Acceptance tests for task group scaling 2020-06-18 23:23:03 -07:00
Michael Lange
72161b06f7 Watch the latest deployment relationship to disable the stepper appropriately 2020-06-18 23:23:03 -07:00
Michael Lange
eb901b59b0 Wire up the scale action on the task group page 2020-06-18 23:23:03 -07:00
Michael Lange
2227f24474 Integrate the stepper input with the task group page 2020-06-18 22:32:56 -07:00