Skip to content

Unable to stop a jobs allocations  #9376

Closed
@ghost

Description

Nomad version

1.0.0-beta3

Operating system and Environment details

Amazon Linux 2
Linux ip-172-31-3-147.service.consul 4.14.203-156.332.amzn2.x86_64 #1 SMP Fri Oct 30 19:19:33 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Issue

unable to stop a nomad job allocation for a task

$ nomad job status document
ID            = document
Name          = document
Submit Date   = 2020-11-15T23:53:41-05:00
Type          = service
Priority      = 50
Datacenters   = airside-stage
Namespace     = default
Status        = dead (stopped)
Periodic      = false
Parameterized = false

Summary
Task Group  Queued  Starting  Running  Failed  Complete  Lost
document    0       0         2        0       2         0

Latest Deployment
ID          = d90b6893
Status      = failed
Description = Failed due to progress deadline - rolling back to job version 39

Deployed
Task Group  Auto Revert  Desired  Placed  Healthy  Unhealthy  Progress Deadline
document    true         2        1       1        0          2020-11-17T13:19:48Z

Allocations
ID        Node ID   Task Group  Version  Desired  Status    Created     Modified
19d6d865  97e475a7  document    40       stop     complete  17m57s ago  7m9s ago
b7936b1e  97e475a7  document    38       stop     running   1d33m ago   17m58s ago
8ce211b5  12acf690  document    38       stop     running   1d8h ago    17m58s ago

$ nomad alloc stop b7936b1e
==> Monitoring evaluation "8041a0fd"
    Evaluation triggered by job "document"
    Evaluation within deployment: "d90b6893"
    Evaluation status changed: "pending" -> "complete"
==> Evaluation "8041a0fd" finished with status "complete"

$ nomad alloc stop 8ce211b5
==> Monitoring evaluation "81877150"
    Evaluation triggered by job "document"
    Evaluation within deployment: "d90b6893"
    Evaluation status changed: "pending" -> "complete"
==> Evaluation "81877150" finished with status "complete"

steve.clark at Steves-C in ~
$ nomad job status document
ID            = document
Name          = document
Submit Date   = 2020-11-15T23:53:41-05:00
Type          = service
Priority      = 50
Datacenters   = airside-stage
Namespace     = default
Status        = dead (stopped)
Periodic      = false
Parameterized = false

Summary
Task Group  Queued  Starting  Running  Failed  Complete  Lost
document    0       0         2        0       2         0

Latest Deployment
ID          = d90b6893
Status      = failed
Description = Failed due to progress deadline - rolling back to job version 39

Deployed
Task Group  Auto Revert  Desired  Placed  Healthy  Unhealthy  Progress Deadline
document    true         2        1       1        0          2020-11-17T13:19:48Z

Allocations
ID        Node ID   Task Group  Version  Desired  Status    Created     Modified
19d6d865  97e475a7  document    40       stop     complete  18m30s ago  7m42s ago
b7936b1e  97e475a7  document    38       stop     running   1d33m ago   18m31s ago
8ce211b5  12acf690  document    38       stop     running   1d8h ago    18m31s ago

let me know if you need anything else to help with this. i also opened #9375

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions