Commit Graph

3467 Commits

Author SHA1 Message Date
James Phillips 7579505a4e Merge pull request #1357 from hashicorp/b-agent-spam
Prevents agents from considering Raft information when doing sync checks.
2015-10-28 15:00:41 -07:00
Diptanu Choudhury 9258dc496a Merge pull request #1356 from hashicorp/docker-check-docs
Added some docs for the docker check
2015-10-28 14:57:14 -07:00
Diptanu Choudhury c25d0f044f Some more grammer corrections and formatting to docker check docs 2015-10-28 14:56:55 -07:00
James Phillips d06fc28a0a Prevents agents from considering Raft information when doing sync checks. 2015-10-28 14:32:00 -07:00
Diptanu Choudhury 1633cf9d1c Some changes to the docker check docs 2015-10-28 14:24:03 -07:00
Diptanu Choudhury e4f2887ba3 Added some docs for the docker check 2015-10-28 14:19:57 -07:00
James Phillips 19c3e262a6 Fixes a bad error message. 2015-10-28 12:40:47 -07:00
James Phillips f6ac3a4303 Removes netbsd and openbsd for now.
These are super close but we need to fix an issue with the Docker
client before we can include them.
2015-10-27 20:47:05 -07:00
James Phillips d352960cef Merge pull request #1354 from hashicorp/b-static
Moves the static assets into a subfolder where index.html expects them.
2015-10-27 20:26:34 -07:00
James Phillips be4d2ff659 Moves the static assets into a subfolder where index.html expects them. 2015-10-27 18:19:17 -07:00
James Phillips 458f1639a0 Merge pull request #1353 from hashicorp/b-upshift
Uses correct version for automatic upshift, sets coordinate Raft log entries to ignore.
2015-10-27 16:17:14 -07:00
James Phillips 9f85f7ee1a Adds a check for the minimum version as well. 2015-10-27 15:56:36 -07:00
James Phillips 26095faae0 Sets the ignore flag on coordinate update Raft log entries. 2015-10-27 14:44:34 -07:00
James Phillips c0bd639662 Makes the version upshift code look at the correct version field. 2015-10-27 14:44:34 -07:00
Ryan Breen 0285a4c4b1 Merge pull request #1352 from clstokes/docs-agent-option-atlas
Clarify format of the -atlas agent option.
2015-10-27 17:37:02 -04:00
Cameron Stokes 442461b030 Clarify format of the -atlas agent option. 2015-10-27 14:21:05 -07:00
Diptanu Choudhury ab7ab8e58e Merge pull request #1343 from hashicorp/f-docker-check
Docker Support for Consul Health Checks
2015-10-26 21:00:48 -07:00
Diptanu Choudhury 3d68d06ac7 Forcing the Env variable to empty while testing the default shell logic 2015-10-26 20:35:13 -07:00
Diptanu Choudhury 2fdcf1ae28 Added a test for selecting shell from env 2015-10-26 20:21:50 -07:00
Diptanu Choudhury 471442e9a4 Making an explicit check to test whether a check is of type Monitor 2015-10-26 19:52:32 -07:00
Diptanu Choudhury 1e240b5c59 Fixed the tests 2015-10-26 18:20:02 -07:00
Diptanu Choudhury f0c783d1a8 Added a test to check if we are properly truncating docker exec outputs 2015-10-26 18:06:55 -07:00
Diptanu Choudhury 582786523a Added a test for exit code 1 with docker exec 2015-10-26 16:58:09 -07:00
Diptanu Choudhury 9efbd1affa Fixed the Fake Docker client to simulate Exec start failures 2015-10-26 16:54:51 -07:00
Diptanu Choudhury 423f7fbcac Not adding the docker check if we couldn't create the client 2015-10-26 16:45:12 -07:00
James Phillips c29507f477 Merge pull request #1345 from hashicorp/f-release-cleanup
Cleans up some small things in preparation for a 0.6.0 RC1.
2015-10-26 16:28:02 -07:00
Diptanu Choudhury f5f5ed0c79 Making sure the script is not empty if it's a docker check 2015-10-26 16:27:48 -07:00
James Phillips 52465a5081 Preps the version for the first RC. 2015-10-26 16:03:14 -07:00
James Phillips 7db3468865 Makes the Makefile pull the tools it needs on the first run. 2015-10-26 16:00:51 -07:00
James Phillips 8738f9780b Updates go version to 1.5.1, and modernizes the Vagrantfile.
Drops 32bit in the Vagrantfile as well since we can build that with
gox and don't need a special environment for it. The Vagrantfile is
now just a good default development environment.
2015-10-26 15:59:38 -07:00
Diptanu Choudhury b4af7f44af Updated the comment for CheckType 2015-10-26 15:28:13 -07:00
Diptanu Choudhury 4c1818eb61 Collect and truncate the output from docker exec 2015-10-26 15:19:35 -07:00
Diptanu Choudhury 5f8f531d2a Defaulting to Monitor check 2015-10-26 15:02:23 -07:00
Diptanu Choudhury 809e9f5284 Extracted the logic of figuring out the shell and fixing the logic to find out if the check is a Docker check 2015-10-26 15:00:34 -07:00
James Phillips dca2d84b17 Merge pull request #1344 from hashicorp/sethvargo/hc-releases
Use hc-releases to upload during dist
2015-10-26 14:43:52 -07:00
Seth Vargo 62c09b0fbf Use hc-releases to upload during dist 2015-10-26 17:30:29 -04:00
Ryan Breen 154e920c69 Merge pull request #1342 from victortrac/master
Mote -> Note typo
2015-10-26 16:11:59 -04:00
Victor Trac 2b00e1cd6a Mote -> Note typo 2015-10-26 15:10:20 -05:00
Matthew Irish da1130891c Merge pull request #1341 from hashicorp/site-header-fix
fix for jumping header issues on the website
2015-10-26 15:06:21 -05:00
Diptanu Choudhury 31cdf4fe64 Added some tests for docker check 2015-10-26 12:59:40 -07:00
Matthew Irish aa921bdbca fix for jumping header issues on the website
this fix was both a bit more involved and a bit hackier than I was hoping the
soultion would be, but that's how things go sometimes

to test:
 - open up the website in a browser and resize your window
 - make sure that the nav is always legible
2015-10-26 14:51:03 -05:00
James Phillips f6b589d768 Merge pull request #1296 from hashicorp/f-fast-sync
agent: remove an N^2 check. See #1265
2015-10-26 11:37:52 -07:00
James Phillips 89340fe694 Removes the integration test runner, there weren't any tests using it. 2015-10-26 11:34:01 -07:00
Matthew Irish 2aca5a94e2 Merge pull request #1338 from hashicorp/js-cleaning
Clean up the JS a bit and make Ember code more idiomatic
2015-10-26 13:24:06 -05:00
Matthew Irish a2853efdb2 Merge pull request #1340 from hashicorp/failing-node-service
Show node status as failing if a service on the node is failing
2015-10-26 13:19:35 -05:00
Diptanu Choudhury 40f72a8323 Marking the state of a service as critical if the Docker Daemon doesn't respond while running checks 2015-10-26 11:16:11 -07:00
Diptanu Choudhury d695012e40 Adding a debug log to indicate the exit code of failed check 2015-10-26 10:35:51 -07:00
Diptanu Choudhury 2632bb3279 Fixed merge conflicts 2015-10-26 10:32:57 -07:00
Diptanu Choudhury 83db728133 Registering the Exec with Docker Daemon everytime the check is invoked 2015-10-26 10:23:57 -07:00
Diptanu Choudhury 71ede8addb Implemented Docker health checks 2015-10-26 10:23:57 -07:00