This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 12 Sep, 2022 4 commits
-
-
Phil Renaud authored
-
Phil Renaud authored
* Test for aggregate service health and consul agg service health * If a consul UI link is present, show a nice little link * Also add to job services page * Reallocate consul url in mock
-
James Rasell authored
-
Derek Strickland authored
* job_endpoint: check spec for all regions
-
- 09 Sep, 2022 11 commits
-
-
Charlie Voiselle authored
* Includes updates to `var init`
-
Tim Gross authored
Running `make check` on macOS identifies some dead code because the code is used only with the Linux build tag. Move this code into appropriately-tagged code files.
-
James Rasell authored
-
Seth Hoenig authored
Removing reference to non existant test-website task in makefile
-
Seth Hoenig authored
cleanup: consolidate interfaces for workload restarting
-
Seth Hoenig authored
build: make ec2info command usable from GNUMakefile
-
Seth Hoenig authored
This PR combines two of the same interface definitions around workload restarting
-
Seth Hoenig authored
The ec2info was never intuitive to run - needing to set the AWS envinronment variables, cd'ing into tools/ec2info, and knowing to invoke the command. This PR makes it so we can run ec2info just by running make ec2info The command now also checks for the AWS environment variables being set, and provides a useful error if they are not.
-
Tim Gross authored
* keyring rotate API should require put/post method * remove keyring install API
-
James Rasell authored
The NSD checks tests were racey, whereby the check may not have been triggered by the time it was queried. This change wraps the check so it can account for this. This removes the current ACL expiration GC section in order to get the tests passing and allow more time to investigate the test. I have full confidence the feature is working as expected and have tested extensively locally.
-
James Rasell authored
-
- 08 Sep, 2022 13 commits
-
-
Phil Renaud authored
[ui] Service health checks unique by allocation
-
Phil Renaud authored
-
Charlie Voiselle authored
-
Phil Renaud authored
-
Tim Gross authored
A Nomad user reported problems with CSI volumes associated with failed allocations, where the Nomad server did not send a controller unpublish RPC. The controller unpublish is skipped if other non-terminal allocations on the same node claim the volume. The check has a bug where the allocation belonging to the claim being freed was included in the check incorrectly. During a normal allocation stop for job stop or a new version of the job, the allocation is terminal. But allocations that fail are not yet marked terminal at the point in time when the client sends the unpublish RPC to the server. For CSI plugins that support controller attach/detach, this means that the controller will not be able to detach the volume from the allocation's host and the replacement claim will fail until a GC is run. This changeset fixes the conditional so that the claim's own allocation is not included, and makes the logic easier to r...
-
Phil Renaud authored
-
Phil Renaud authored
-
James Rasell authored
When querying the checks for an allocation, the request must be forwarded to the agent that is running the allocation. If the initial request is made to a server agent, the request can be made directly to the client agent running the allocation. If the request is made to a client agent not running the alloc, the request needs to be forwarded to a server and then the correct client.
-
Seth Hoenig authored
helper: guard against negative inputs into random stagger
-
Tim Gross authored
The map of in-flight RPCs gets cleared by a goroutine in the test without first locking it to make sure that it's not being accessed concurrently by the stats fetcher itself. This can cause a panic in tests.
-
Seth Hoenig authored
This PR modifies RandomStagger to protect against negative input values. If the given interval is negative, the value returned will be somewhere in the stratosphere. Instead, treat negative inputs like zero, returning zero.
-
James Rasell authored
-
Michael Schurter authored
See https://github.com/hashicorp/nomad-enterprise/pull/839 for original (Enterprise only)
-
- 07 Sep, 2022 12 commits
-
-
Phil Renaud authored
-
Phil Renaud authored
Service discovery in the Nomad UI
-
Phil Renaud authored
-
Phil Renaud authored
-
Phil Renaud authored
-
Phil Renaud authored
* Bones of a new flyout section * Basic sidebar behaviour and style edits * Concept of a refID for service fragments to disambiguate task and group * A11y audit etc * Moves health check aggregation to serviceFragment model and retains history * Has to be a getter * flyout populated * Sidebar styling * Sidebar table and details added * Mirage fixture * Active status and table styles * Unit test mock updated * Acceptance tests for alloc services table and flyout * Chart styles closer to mock * Without a paused test * Consul and Nomad icons in services table * Alloc services test updates in light of new column changes * without using an inherited scenario
-
Jai authored
-
Phil Renaud authored
* Sortable job service table * sorting removed from specific service page
-
Phil Renaud authored
* Added to subnav and basic table implemented * Existing services become service fragments, and services tab aggregated beneath job route * Index page within jobs/job/services * Watchable services * Lintfixes * Links to clients and individual services set up * Child service route * Keyboard shortcuts on service page * Model that shows consul services as well, plus level and provider cols * lintfix * Level as query param * Watch job for service name changes too * Group level service fixtures established * Progress at task level and job-linked services * Task and group services on update * Fixture side-effect cleanup * Basic acceptance tests for job services * Testmodel cleanup * Disabled mirage logging * New cluster type specifically for services * Without explicit job-model binding * Trying to isolate a tostring error * Account for new tab in keyboardnav * More test isolation attempts * Remove skipped tests and link task to paren...
-
Jai authored
* chore: add lodash isEqual package * ui: fetch non ember-data records * ui: create watcher to poll non ember-data records
-
Phil Renaud authored
* Added to subnav and basic table implemented * Existing services become service fragments, and services tab aggregated beneath job route * Index page within jobs/job/services * Watchable services * Lintfixes * Links to clients and individual services set up * Child service route * Keyboard shortcuts on service page * Model that shows consul services as well, plus level and provider cols * lintfix * Level as query param * Watch job for service name changes too * Lintfix * Testfixes * Placeholder mirage route
-
Tim Gross authored
Includes: * Remove leader upgrade raft version test, as older versions of raft are now incompatible with our autopilot library. * Remove attempt to assert initial non-voter status on the `PromoteNonVoter` test, as this happens too quickly to reliably detect. * Unskip some previously-skipped tests which we should make stable. * Remove the `consul/sdk` retry helper for these tests; this uses panic recovery in a kind of a clever/gross way to reduce LoC but it seems to introduce some timing issues in the process. * Add more test step logging and reduce logging noise from the scheduler goroutines to make it easier to debug failing tests. * Be more consistent about using the `waitForStableLeadership` helper so that we can assert the cluster is fully stable and not just that we've added peers.
-