Commit graph

1889 commits

Author SHA1 Message Date
Diptanu Choudhury cc26cb9a7b Added the logic to retry services which needs to be tracked if consul doesn't respond 2015-11-18 04:34:23 -08:00
Diptanu Choudhury 962e10b102 Registering the checks with consul 2015-11-18 03:08:53 -08:00
Diptanu Choudhury b8c2cc81f0 Defering calling the de-register from consul call when a service is not running 2015-11-18 02:37:34 -08:00
Diptanu Choudhury cb34f34c12 Added a logger to consul client 2015-11-18 02:14:07 -08:00
Diptanu Choudhury dd875f1d2b Fixed the test errors 2015-11-18 02:07:07 -08:00
Diptanu Choudhury a447b1ea3c DRYed the code 2015-11-18 01:20:53 -08:00
Diptanu Choudhury d6da6372cd Moving the logic to find port and host inside consul client 2015-11-18 01:18:29 -08:00
Diptanu Choudhury 404810043a Added the implementation of consul client 2015-11-18 00:50:45 -08:00
Alex Dadgar 892fb44325 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-17 22:36:09 -08:00
Alex Dadgar b6796a600a Add page describing scheduler types 2015-11-17 22:35:58 -08:00
Chris Bednarski 5c27303329 Updated changelog to include DNS and auth explicitly 2015-11-17 22:10:51 -08:00
Chris Bednarski 6c1df52342 Merge pull request #439 from hashicorp/b-docker-ports-len
Fix docker port tests and empty port_map
2015-11-17 21:37:48 -08:00
Chris Bednarski c851ae67c7 Change error check to contains instead of == 2015-11-17 21:36:23 -08:00
Chris Bednarski 563e1aff56 Renamed some things so it's more apparent that reserved and dynamic port mapping have very similar code 2015-11-17 21:34:07 -08:00
Alex Dadgar 105ff25764 Fix docker config option name in docs 2015-11-17 21:30:15 -08:00
Alex Dadgar 4d339c198b Update qemu docs 2015-11-17 21:19:45 -08:00
Chris Bednarski 8705ea07a4 Remove \n since this is added by the logger 2015-11-17 21:17:51 -08:00
Alex Dadgar c66e22b816 Merge pull request #441 from hashicorp/f-qemu-port-map
Qemu driver takes a port_map to configure host to guest port forwarding
2015-11-17 21:13:37 -08:00
Alex Dadgar 2a8bd98fdc Qemu driver takes a port_map to configure host to guest port forwarding 2015-11-17 20:54:53 -08:00
Chris Bednarski 5ac6664c46 Purge existing container during Start() 2015-11-17 20:50:14 -08:00
Alex Dadgar 49e7ded372 fix kernel/os attributes 2015-11-17 20:06:00 -08:00
Chris Bednarski 0e1fe2373a Log container name and labels 2015-11-17 20:04:10 -08:00
Chris Bednarski 640af994ca Added a randomized alloc id for tests so container names don't collide 2015-11-17 19:45:33 -08:00
Alex Dadgar f3283f2771 Update environment docs regarding ports 2015-11-17 19:36:05 -08:00
Chris Bednarski 53d3f3a0e9 Merge branch 'master' into b-docker-ports-len 2015-11-17 19:23:47 -08:00
Chris Bednarski 9a7adb9eb3 Fix guards for docker port mapping and change dummy dynamic ports to real ports (0 is not a valid port) 2015-11-17 19:21:36 -08:00
Alex Dadgar 45bb0d349c Update API docs 2015-11-17 19:12:19 -08:00
Chris Bednarski cb9d7f7677 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-17 17:48:50 -08:00
Chris Bednarski 281aea9e3f Added network_mode changes to the changelog 2015-11-17 17:48:37 -08:00
Alex Dadgar cf0630b41e Update jobspec to have restart policy and fix indents on distinctHost 2015-11-17 17:41:15 -08:00
Chris Bednarski e7e1051f51 Merge pull request #434 from hashicorp/f-docker-any-network
Remove restrictions from docker networking mode
2015-11-17 17:24:12 -08:00
Chris Bednarski e330107112 Reformat post-merge 2015-11-17 17:23:16 -08:00
Chris Bednarski 122220a424 Merge branch 'master' into f-docker-any-network 2015-11-17 17:22:13 -08:00
Chris Bednarski d94bd74bb5 Updated docs for networking_mode and also reformat the file 2015-11-17 17:20:28 -08:00
Diptanu Choudhury 21e9c33dc6 Merge pull request #425 from hashicorp/f-service-block
Parsing logic for service block
2015-11-17 17:18:16 -08:00
Chris Bednarski 9cad290b18 Merge pull request #436 from hashicorp/f-docker-cleanup
Cleanup docker driver
2015-11-17 17:13:17 -08:00
Chris Bednarski b22b5eb3aa Inline err assignment 2015-11-17 17:12:45 -08:00
Diptanu Choudhury e413e882a6 Fixed typo 2015-11-17 17:12:21 -08:00
Diptanu Choudhury 2c3d5935b4 Added a test which makes sure parsing fails if more than one service block has non empty names 2015-11-17 17:06:29 -08:00
Chris Bednarski a2f4188246 Streamline reading boolean values from the driver / job config 2015-11-17 16:58:23 -08:00
Chris Bednarski 67ee502acb Added missing linebreaks for log.Printf calls 2015-11-17 16:49:01 -08:00
Diptanu Choudhury c02c2312d4 Adding prefix to user defined name and forcing id to be blank during parsing 2015-11-17 16:44:05 -08:00
Chris Bednarski 43aaf94383 Do Itoa once so line items are simpler 2015-11-17 16:31:47 -08:00
Chris Bednarski c275b3f06d Merge pull request #437 from hashicorp/f-docker-labels
Support labels for docker containers
2015-11-17 16:10:36 -08:00
Diptanu Choudhury f98a6a384e Validating that services are named explicitly if there is more than one Service defn 2015-11-17 16:08:03 -08:00
Diptanu Choudhury 1672252226 Autogenerating names of service 2015-11-17 16:05:03 -08:00
Chris Bednarski ffd3f114dd Merge branch 'docker-allow-to-add-labels' of https://github.com/fernandezvara/nomad into f-docker-labels 2015-11-17 16:02:42 -08:00
Alex Dadgar 74d95a0d2a Update rkt docs to denote its experimental status 2015-11-17 15:39:38 -08:00
Alex Dadgar 8bbaf363dd Update changelog 2015-11-17 15:20:01 -08:00
Chris Bednarski 3b7c252090 Improve phrasing in log messages 2015-11-17 15:17:44 -08:00