Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to Task Group shutdown_delay not reflected in job plan output #7265

Closed
drewbailey opened this issue Mar 4, 2020 · 1 comment · Fixed by #7618
Closed

Changes to Task Group shutdown_delay not reflected in job plan output #7265

drewbailey opened this issue Mar 4, 2020 · 1 comment · Fixed by #7618

Comments

@drewbailey
Copy link
Contributor

Nomad version

Nomad v0.11.0-dev (e31695b+CHANGES)

Issue

When adding, removing, or modifying a task group shutdown_delay, the changes are not reflected in the job plan output

+/- Job: "delay"
+/- Task Group: "api" (1 in-place update)
  Task: "dashboard"
  Task: "web"

Scheduler dry-run:
- All tasks successfully allocated.

Job Modify Index: 10
To submit the job with version verification run:

Reproduction steps

Job file (if appropriate)

job "delay" {
  datacenters = ["dc1"]

  group "api" {
    shutdown_delay = "30s"

    meta {
      foo = "bar"
    }

    service {
      tags = ["group"]
    }

    spread {
      attribute = "${node.datacenter}"

      target "dc1" {
        percent = 100
      }
    }

    task "web" {
      driver = "docker"

      config {
        image = "hashicorpnomad/counter-api:v1"
      }
      service {
        tags = ["awesome"]
      }
    }

    task "dashboard" {
      driver = "docker"

      env {
        COUNTING_SERVICE_URL = "http://${NOMAD_UPSTREAM_ADDR_count_api}"
      }

      config {
        image = "hashicorpnomad/counter-dashboard:v1"
      }

      service {
        tags = ["dashboard-service"]
      }
    }
  }
}
@github-actions
Copy link

github-actions bot commented Nov 9, 2022

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant