Commit Graph

3302 Commits

Author SHA1 Message Date
Alex Dadgar ab0a1ecd79 Update ISSUE_TEMPLATE.md 2016-03-10 15:30:31 -08:00
Alex Dadgar cf6a0faa41 Update ISSUE_TEMPLATE.md 2016-03-10 15:28:01 -08:00
Alex Dadgar 8d1b0dce98 Create ISSUE_TEMPLATE.md 2016-03-10 15:26:42 -08:00
Alex Dadgar 6fc0d5fc6c Merge branch 'master' of github.com:hashicorp/nomad 2016-03-10 15:22:23 -08:00
Alex Dadgar 68f2f0bcc3 Changelog 2016-03-10 15:22:06 -08:00
Alex Dadgar d0294e0752 Merge pull request #905 from hashicorp/b-resolvconf
executor: add /run/resolvconf to chroot
2016-03-10 15:21:16 -08:00
Alex Dadgar 79d7553cbf executor: add /run/resolvconf to chroot 2016-03-10 15:05:49 -08:00
Alex Dadgar 8fdd9d326d Merge branch 'master' of github.com:hashicorp/nomad 2016-03-10 14:56:54 -08:00
Alex Dadgar 49e5024a2f fmt rkt test 2016-03-10 14:56:43 -08:00
Diptanu Choudhury c96e909e43 Merge pull request #902 from hashicorp/f-fs-error
Improved the error related to fs commands
2016-03-10 14:08:33 -08:00
Diptanu Choudhury a9904c9187 Improved the error related to fs commands 2016-03-10 14:07:33 -08:00
Diptanu Choudhury 30a0b9ee83 Update CHANGELOG.md 2016-03-10 13:21:57 -08:00
Alex Dadgar 4f0ed036c2 leader: nodes TTLing log promoted from DEBUG to WARN 2016-03-10 13:16:31 -08:00
Diptanu Choudhury 512d0c317a Merge pull request #897 from hashicorp/syslog-addr
Using unix domain sockets for docker syslog collector
2016-03-10 11:49:21 -08:00
Alex Dadgar 045f3d46e6 changelog 2016-03-10 10:50:29 -08:00
Alex Dadgar c51b82b80f Merge pull request #900 from iverberk/f-job-config-validate-keys
Validate config keys in the jobspec
2016-03-10 10:49:34 -08:00
Ivo Verberk 318352cc0f Validate config keys 2016-03-10 19:16:35 +01:00
Alex Dadgar 4dfa154d8d Changelog 2016-03-10 08:57:19 -08:00
Alex Dadgar 2ccfb43c7a Merge pull request #892 from achanda/rkt_dns
Enable passing DNS info to the rkt driver
2016-03-10 08:54:26 -08:00
Diptanu Choudhury b18cbaa416 Using unix domain sockets for docker syslog collector 2016-03-09 23:28:26 -08:00
Diptanu Choudhury d2771af346 Update CHANGELOG.md 2016-03-09 18:38:28 -08:00
Diptanu Choudhury 713dfcf751 Merge pull request #896 from hashicorp/f-task-instance
Add allocation index environment variable
2016-03-09 18:34:32 -08:00
Diptanu Choudhury f1c9d11c55 Merge pull request #878 from hashicorp/b-kill-timeout-update
client: Updating kill timeout adheres to operator specified maximum
2016-03-09 18:33:40 -08:00
Alex Dadgar 8ad65876bf Add allocation index environment variable 2016-03-09 18:09:51 -08:00
Diptanu Choudhury a5d5919664 Fixed an issue around parsing client max and min ports 2016-03-09 12:25:30 -08:00
Alex Dadgar 22f4fbd652 up cached connection time 2016-03-09 10:37:56 -08:00
Abhishek Chanda 3260254cb4 Enable passing DNS info to the rkt driver 2016-03-08 18:59:11 -08:00
Diptanu Choudhury 7c2cc539bb Updated Changelog 2016-03-08 14:57:08 -08:00
Diptanu Choudhury 682e3b86a8 Merge pull request #893 from hashicorp/docker-fingerprint
Making the docker fingerprinter periodic
2016-03-08 14:06:57 -08:00
Diptanu Choudhury 674d1c9b24 Making the docker fingerprinter periodic 2016-03-08 12:02:55 -08:00
Alex Dadgar 3dfe8e70f6 Fix test 2016-03-08 11:41:26 -08:00
Diptanu Choudhury b77ca4be89 Updated CHANGELOG 2016-03-08 10:13:46 -08:00
Diptanu Choudhury 1c266251aa Merge pull request #858 from ErikEvenson/prs/fix-aws-ecr
Fix AWS ECR private repository usage
2016-03-07 16:54:53 -08:00
Alex Dadgar d6b09613c0 changelog 2016-03-07 13:13:38 -08:00
Alex Dadgar 7647fac984 Merge pull request #890 from hashicorp/b-fs-panic
Guard client/ api to ensure the client is running
2016-03-07 13:01:59 -08:00
Alex Dadgar da984cb4d2 Guard client/ api to ensure the client is running 2016-03-07 11:26:54 -08:00
Jake Champlin cce7f9bd6c Merge pull request #888 from hashicorp/f-resource-usage-printing
Print resource usage w/ alloc-status + node-status
2016-03-07 10:23:58 -05:00
Jake Champlin 3852aa4ae4 Cleanup style, and make cleaner 2016-03-07 09:58:35 -05:00
Jake Champlin edd60b4fb1 Print resource usage w/ alloc-status + node-status
When alloc-status is called, in it's long form only, print the resource
utilization for that single allocation.

When node-status is called, in it's long form only, print the TOTAL
resource utilization that is occurring on that single node.

Nomad Alloc Status:

```
% nomad alloc-status 195d3bf2
ID              = 195d3bf2
Eval ID         = c917e3ee
Name            = example.cache[1]
Node ID         = 1b2520a7
Job ID          = example
Client Status   = running
Evaluated Nodes = 1
Filtered Nodes  = 0
Exhausted Nodes = 0
Allocation Time = 17.73µs
Failures        = 0

==> Task "redis" is "running"
Recent Events:
Time                   Type      Description
04/03/16 21:20:45 EST  Started   Task started by client
04/03/16 21:20:42 EST  Received  Task received by client

==> Status
Allocation "195d3bf2" status "running" (0/1 nodes filtered)
  * Score "1b2520a7-6714-e78d-a8f7-68467dda6db7.binpack" = 1.209464
  * Score "1b2520a7-6714-e78d-a8f7-68467dda6db7.job-anti-affinity" = -10.000000

==> Resources
CPU  MemoryMB  DiskMB  IOPS
500  256       300     0
```

Nomad Node Status:

```
% nomad node-status 57b3a55a
ID         = 57b3a55a
Name       = biscuits
Class      = <none>
DC         = dc1
Drain      = false
Status     = ready
Attributes = arch:amd64, cpu.frequency:3753.458875, cpu.modelname:Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz, cpu.numcores:8, cpu.totalcompute:30027.671000, driver.docker:1, driver.docker.version:1.10.2, driver.exec:1, driver.raw_exec:1, hostname:biscuits, kernel.name:linux, kernel.version:4.4.0-9-generic, memory.totalbytes:25208934400, os.name:ubuntu, os.version:16.04, unique.cgroup.mountpoint:/sys/fs/cgroup, unique.network.ip-address:127.0.0.1, unique.storage.bytesfree:219781419008, unique.storage.bytestotal:246059892736, unique.storage.volume:/dev/sdb3

==> Allocations
ID        Eval ID   Job ID   Task Group  Desired Status  Client Status
2c236883  aa11aca8  example  cache       run             running
32f6e3d6  aa11aca8  example  cache       run             running

==> Resource Utilization
CPU   MemoryMB  DiskMB  IOPS
1000  512       600     0
```
2016-03-07 09:58:35 -05:00
Alex Dadgar 30482f1cd6 fix test 2016-03-06 18:41:33 -08:00
Erik Evenson c515cce551 moves transform to Init() 2016-03-06 19:00:40 -06:00
Erik Evenson bef4b0d9b6 Merge branch 'master' into study/aws-ecr-1 2016-03-06 18:18:20 -06:00
Alex Dadgar 463110136a Merge pull request #886 from hashicorp/f-configurable-heartbeat
agent: Configurable heartbeat grace
2016-03-04 18:11:45 -08:00
Alex Dadgar dc1d0f2ce4 Merge pull request #887 from hashicorp/b-nack-timeout
Fix bug introduced with paused nack timers
2016-03-04 18:10:21 -08:00
Alex Dadgar 330aec45b9 Remove outstanding reset from plan applier 2016-03-04 17:25:37 -08:00
Alex Dadgar 5bcfdeb41d Fix bug introduced with paused nack timers 2016-03-04 16:17:14 -08:00
Alex Dadgar 89e3de7784 agent: Configurable heartbeat 2016-03-04 15:44:12 -08:00
Alex Dadgar 0ffa926fb5 Merge branch 'master' of github.com:hashicorp/nomad 2016-03-04 15:20:57 -08:00
Alex Dadgar e37b01d5b2 changelog 2016-03-04 15:20:51 -08:00
Alex Dadgar faae346b99 Merge pull request #884 from hashicorp/f-nack-timeout-pausing
core: Pause/Resume Nack timeout while eval is in plan queue
2016-03-04 12:59:59 -08:00