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.
- 25 Aug, 2019 1 commit
-
-
Mahmood Ali authored
This fixes a bug where allocs that have been GCed get re-run again after client is restarted. A heavily-used client may launch thousands of allocs on startup and get killed. The bug is that an alloc runner that gets destroyed due to GC remains in client alloc runner set. Periodically, they get persisted until alloc is gced by server. During that time, the client db will contain the alloc but not its individual tasks status nor completed state. On client restart, client assumes that alloc is pending state and re-runs it. Here, we fix it by ensuring that destroyed alloc runners don't persist any alloc to the state DB. This is a short-term fix, as we should consider revamping client state management. Storing alloc and task information in non-transaction non-atomic concurrently while alloc runner is running and potentially changing state is a recipe for bugs. Fixes https://github.com/hashicorp/nomad/issues/5984 Related to https://github.com/hashicorp/nomad/pull/5890
-
- 24 Aug, 2019 2 commits
-
-
Mahmood Ali authored
initialize device manager stats interval
-
Mahmood Ali authored
Fixes `test-devices` job
-
- 23 Aug, 2019 13 commits
-
-
Mahmood Ali authored
clientConfig.Copy() to copy template config too
-
Mahmood Ali authored
-
Mahmood Ali authored
Update ugorji/go to latest
-
Lang Martin authored
exec driver setuid go-getter update
-
Lang Martin authored
-
Lang Martin authored
-
Mahmood Ali authored
Fixes a bug where we cpu is pigged at 100% due to collecting devices statistics. The passed stats interval was ignored, and the default zero value causes a very tight loop of stats collection. FWIW, in my testing, it took 2.5-3ms to collect nvidia GPU stats, on a `g2.2xlarge` ec2 instance. The stats interval defaults to 1 second and is user configurable. I believe this is too frequent as a default, and I may advocate for reducing it to a value closer to 5s or 10s, but keeping it as is for now. Fixes https://github.com/hashicorp/nomad/issues/6057 .
-
Mahmood Ali authored
Update golang to 1.12.9
-
Tim Gross authored
The dev mode flag for connect was binding to the default interface's IP, but this makes for a bad user experience for the CLI which will default to 127.0.0.1. If we bind to 0.0.0.0 instead the CLI will work without further configuration by the user.
-
Jerome Gravel-Niquet authored
* adds meta object to service in job spec, sends it to consul * adds tests for service meta * fix tests * adds docs * better hashing for service meta, use helper for copying meta when registering service * tried to be DRY, but looks like it would be more work to use the helper function
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Nick Ethier authored
-
- 22 Aug, 2019 9 commits
-
-
Preetha authored
-
Buck Doyle authored
This removes the in-repository Netlify configuration. There are now two sites backed by the repository, so we must use the web UI to control the build settings, as having the configuration in-repository overrides the web UI settings. The build settings for the two sites are below, as of this commit. See the extra step in nomad-ui site’s build step that copies the _redirects file to the correct destination so things are properly forwarded when you visit the deployment. nomad-ui: base directory: ui build command: ember build && mkdir -p ui-dist/ui && mv dist/* ui-dist/ui/ && cp ../.netlify/ui-redirects ui-dist/_redirects publish directory: ui/ui-dist nomad-website: base directory: website build command: bundle exec middleman build publish directory: website/build
-
Michael Schurter authored
connect: task hook for bootstrapping envoy sidecar
-
Michael Schurter authored
Fixes #6041 Unlike all other Consul operations, boostrapping requires Consul be available. This PR tries Consul 3 times with a backoff to account for the group services being asynchronously registered with Consul.
-
Mahmood Ali authored
ci: Use more recent base machine executor image for test-rkt
-
Mahmood Ali authored
This fixes a frequent failure in `test-rkt` jobs where dpkg installation fails. The image used currently, circleci/classic:201808-01, has unattended upgrades enabled accidentally, which runs on every build. This means that tools get modified unexpectedly during builds, and apt-get commands may fail as the unattended upgrade is holding package database lock. This updates `test-rkt` job only because the new image breaks `test-docker` job (e.g. https://circleci.com/gh/hashicorp/nomad/2641 ), and I punted on investigating test-docker for another day.
-
Buck Doyle authored
-
Danielle authored
remove hidden field from host volumes
-
Danielle Lancashire authored
We're not shipping support for "hidden" volumes in 0.10 any more, I'll convert this to an issue+mini RFC for future enhancement.
-
- 21 Aug, 2019 8 commits
-
-
Danielle authored
api: Fix definition of HostVolumeInfo
-
Danielle authored
clientconfig: Fix parsing multiple host volumes
-
Danielle Lancashire authored
-
Danielle authored
Fine grained ACLs for Host Volumes
-
Danielle Lancashire authored
-
Danielle Lancashire authored
-
Nick Ethier authored
-
Buck Doyle authored
This adds a job to test the UI on CircleCI, including the sort of branch pattern-matching from #5839, so .-ui/ branches only have that job and not the non-UI ones. I considered having an entire workflow for UI, which could have separate jobs for linting vs Ember tests, but the lint commands take so little time that it didn’t seem worth it. There’s no use of nvm to change the Node version as the Docker image is what controls that. It’s annoying to have to update the version in multiple places, but probably infrequent.
-
- 20 Aug, 2019 7 commits
-
-
Michael Schurter authored
Register connect enabled group services with Consul
-
Michael Schurter authored
-
Tim Gross authored
Adds a check for differences in `job.Diff` so that task group networks and services, including new Consul connect stanzas, show up in the job plan outputs.
-
Michael Schurter authored
Fixes #6042 Add new task group service hook for registering group services like Connect-enabled services. Does not yet support checks.
-
Chris Baker authored
Bump up github.com/hashicorp/go-syslog for better BSD support
-
Chris Baker authored
add node.region to interpolation documentation
-
Chris Baker authored
-