Commit Graph

19402 Commits

Author SHA1 Message Date
davemay99
ad6fa9aa4d Verify iter to avoid panic 2020-09-08 14:10:38 -04:00
Kevin Pruett
420b1d46aa Merge pull request #8818 from hashicorp/pruett.search-fixes
Fix several search-related issues
2020-09-08 13:42:05 -04:00
Tim Gross
d24a80223a e2e: move setup jobs for metrics test into that suite (#8842)
The fabio and prometheus workloads are specific to the metrics test and aren't
used by any other test suite.
2020-09-08 13:21:44 -04:00
Kevin Pruett
c5a1649b01 Fix several search-related issues
* CSS on mobile
* Remove stale partial indices
* Fix broken hit links
* Leverage @hashicorp/react-search/tools
2020-09-08 11:02:57 -04:00
Lens0021
e0f038c8c7 Fix Vagrant link in README (#8839) 2020-09-08 08:45:46 -05:00
James Rasell
f187ad1ff6 docs: add Nomad Autoscaler Datadog APM plugin details. (#8755) 2020-09-08 09:40:45 +02:00
James Rasell
eba2edf376 Merge pull request #8837 from hashicorp/docs-autoscaler-gh-257
docs: update Autoscaler AWS target with new purge config option.
2020-09-08 09:15:27 +02:00
James Rasell
f284b0a153 docs: add Autoscaler telemetry documentation to website. (#8733)
Co-authored-by: Chris Baker <1675087+cgbaker@users.noreply.github.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2020-09-08 09:13:53 +02:00
James Rasell
286b26561c docs: update Autoscaler AWS target with new purge config option. 2020-09-07 10:45:41 +02:00
Michael Lange
cfe4f8314f Merge pull request #8726 from hashicorp/ui/mirage-job-resources
UI: Allow for setting job resource requirements in via the Mirage job factory
2020-09-04 14:03:42 -07:00
Michael Lange
d55c3ca809 Derive allocation Resources property from TaskResources 2020-09-04 13:46:50 -07:00
Michael Lange
b46955f9e1 Allow for custom resource requirements for jobs that are recognized by allocations
The job factory will now accept an array of resourceSpecs that is a shorthand
notation for memory, cpu, disk, and iops requirements.

These specs get passed down to task groups. The task group factory will
split the resource requirements near evenly (there is variance
threshold) across all expected tasks.

Allocations then construct task-resource objects based on the resources
from the matching task.
2020-09-04 13:46:49 -07:00
Michael Lange
9bcf8c8d3d Parameterize generateResources to enable property overrides 2020-09-04 13:46:35 -07:00
Drew Bailey
e0ca508f64 Merge pull request #8772 from hashicorp/state/track-changes
track transaction changes
2020-09-04 14:12:27 -04:00
Tim Gross
35433c700f e2e: move configurations into profile-specific directories (#8828)
This changeset stages upcoming E2E provisioning improvements work. It splits
the existing shared configuration directory into 3 profiles:

* "full-cluster": the set of configurations currently in use
* "dev-cluster": a simplified set of mostly existing configurations that
  weren't in use.
* "custom": an empty profile for developers to keep non-standard
  configurations during complex feature development.

The tooling to switch between profiles will be in a later changeset.

Also drops some unused configuration knobs from the provisioning scripts to
make the next stage of work easier.
2020-09-04 11:23:32 -04:00
Tim Gross
da423cce7f changelog item for CSI socket connect (#8829) 2020-09-04 11:22:49 -04:00
Tim Gross
19756576b1 e2e: remove unused EBS volumes and depends_on (#8827)
Our provisioning process for E2E doesn't require the `depends_on` fields to be
set for client instances, so dropping that field allows all instances to be
started in parallel.

We don't use the extra EBS volumes (they aren't even mounted), so remove them
to reduce costs.
2020-09-04 10:25:59 -04:00
Drew Bailey
93897b12e9 remove node events for state track changing pr
remove Txn and update calls with ReadTxn()

constructor for changetrackerdb
2020-09-04 10:23:35 -04:00
Tim Gross
75a913eb0a e2e: minor rename and cleanup (#8824) 2020-09-04 08:51:22 -04:00
Tim Gross
a47a2843d2 e2e: consolidate cloud-specific Consul configs (#8823)
The `-recursor` flag in the Consul service unit files is specific to a given
cloud, but we already have cloud-specific configuration files. Consolidate all
the cloud-specific items into the config.
2020-09-04 08:51:15 -04:00
Lars Lehtonen
79d983f982 client/allocrunner/taskrunner: client.Close after err check (#8825) 2020-09-04 08:12:08 -04:00
Tim Gross
2c73d2ebca e2e: Linux AMI setup cleanup (#8821)
As we add new Linux targets for E2E, the existing setup.sh script will be used
only for Ubuntu. Rather than have the service and config files echo'd from the
script, move them into files we upload so they can be reused.

Includes some general noise reduction in the setup.sh script and removal of
unused bits.
2020-09-03 16:30:58 -04:00
Shishir
4ba3afa44b nomad-driver-containerd: Update networking section (#8762) 2020-09-03 10:31:58 -04:00
Mahmood Ali
9fe74c90f7 Isolate the jobspec package from the rest of Nomad (#8815)
This eases adoption of the jobspec package by other projects (e.g. terraform nomad provider, Lavant). Either by consuming directy as a library (hopefully without having go mod import rest of nomad) or by copying the package without modification.

Ideally, this package will be published as an independent module. We aren't ready for that considering we'll be switching to HCLv2 "soon", but eitherway, this seems like a reasonable intermediate step if we choose to.
2020-09-03 06:34:04 -05:00
Michael Schurter
884fe5c032 Merge pull request #8819 from hashicorp/docs-0.12.4-rc1
docs: add download link to 0.12.4-rc1
2020-09-02 21:31:15 -07:00
Michael Schurter
759dab4608 docs: add download link to 0.12.4-rc1 2020-09-02 21:25:56 -07:00
Gale Fagan
10fa09943c Updating versions and removing deprecated items (#8750)
* Removed deprecated Spark pieces.

* Bumped HashiCorp stack versions to current as of commit date

* Bumped versions of HashiCorp stack tools

* Bumped versions, added VAULT_ADDR in GCP, removed refs to Spark in shared README
2020-09-02 10:14:47 -07:00
Luiz Aoqui
9d7d9d8b4d Merge pull request #8812 from hashicorp/docs/add-volume-mount-to-task
docs: add entry for volume_mount in task
2020-09-02 10:21:46 -04:00
James Rasell
96823b9e51 Merge pull request #8813 from hashicorp/b-fix-autoscaler-aws-target-policy-params
docs: fix incorrect aws-asg autoscaler target plugin policy params
2020-09-02 16:20:08 +02:00
James Rasell
6c45ef1f39 docs: fix incorrect aws-asg autoscaler target plugin policy params 2020-09-02 14:03:35 +02:00
Luiz Aoqui
09709e84ce docs: add entry for volume_mount in task 2020-09-01 18:59:05 -04:00
Mahmood Ali
0fd0de97f6 Changelog catchup (#8808) 2020-09-01 15:24:24 -04:00
Jasmine Dahilig
0d01ad5ba3 Merge pull request #8797 from hashicorp/poststart-changelog
changelog: task lifecycle poststart hook
2020-09-01 10:34:36 -07:00
Michael Lange
63506d7208 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
a15945d35c 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
fd4735f553 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
3d0c579030 update changelog 2020-09-01 12:18:04 -04:00
Michael Lange
8e5671cc3e 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
2794c9a74d run make vendor 2020-09-01 11:48:47 -04:00
Mahmood Ali
0d4fce93f1 Update cronexpr to pick up month zero padding fix 2020-09-01 11:48:28 -04:00
Seth Hoenig
f4c1d7ee53 add consul ingress gateways to changelog 2020-09-01 10:14:05 -05:00
Drew Bailey
5afe7fd767 fix a few missed txn changes 2020-09-01 10:27:21 -04:00
Drew Bailey
d0b1de13cf fix bad merge from scalingpoliciesbynamespace 2020-09-01 10:27:20 -04:00
Drew Bailey
5c31005c53 noop changetracker for snapshots 2020-09-01 10:27:20 -04:00
Drew Bailey
455c26b2bd Transaction change tracking
This commit wraps memdb.DB with a changeTrackerDB, which is a thin
wrapper around memdb.DB which enables go-memdb's TrackChanges on all write
transactions. When the transaction is comitted the changes are sent to
an eventPublisher which will be used to create and emit change events.

debugging TestFSM_ReconcileSummaries

wip

revert back rebase

revert back rebase

fix snapshot to actually use a snapshot
2020-09-01 10:27:20 -04:00
Mahmood Ali
81f9c0dbf5 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
4820159cd2 add changelog
[ci skip]
2020-09-01 09:57:41 -04:00
Tim Gross
150e0e284a changelog: panic in operator debug command (#8802) 2020-09-01 08:40:04 -04:00
Michael Lange
f8a505ea2f 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
5cda74915c Handle when a new line follows an escaping char 2020-08-31 20:31:44 -04:00