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

In the UI, one job displays the job launches of another #24666

Closed
agarfer1 opened this issue Dec 13, 2024 · 1 comment · Fixed by #24668
Closed

In the UI, one job displays the job launches of another #24666

agarfer1 opened this issue Dec 13, 2024 · 1 comment · Fixed by #24668

Comments

@agarfer1
Copy link

agarfer1 commented Dec 13, 2024

Nomad version

Nomad v1.9.3
BuildDate 2024-11-11T16:35:41Z
Revision d92bf10

Operating system and Environment details

Ubuntu 24.04 x86-64

Issue

(This has been happening since the last UI redesign on version 1.7 or 1.8)

job1 has had some job launches of it running, job2 hasn't, when switching from visiting job1 to job2, I can see the job launches of job1 in the list of job2.

Reproduction steps

Create both jobs (batch and parameterized), launch one instance of job1, and in the same tab visit job2, the job launch of job1 will appear in job2.

Expected Result

Each job should only display its own job launches

Actual Result

Usually if a job has had no recent job launches, it displays the job launches of the previously visited job.

image

Job file (if appropriate)

#Job1

job "ping1" {
  datacenters = ["*"]
  type        = "batch"
  
  parameterized {
    payload       = "forbidden"
    meta_optional = ["irrelevant"]
  }

  group "ping" {
    task "ping" {
      driver = "raw_exec"

      config {
        command = "/bin/sh"
        args    = ["-c", "ping -c 100 -W 5 192.168.1.1"]
      }
    }
  }
}

#Job2

job "ping2" {
  datacenters = ["*"]
  type        = "batch"
  
  parameterized {
    payload       = "forbidden"
    meta_optional = ["irrelevant"]
  }

  group "ping" {
    task "ping" {
      driver = "raw_exec"

      config {
        command = "/bin/sh"
        args    = ["-c", "ping -c 100 -W 5 192.168.1.1"]
      }
    }
  }
}
@agarfer1 agarfer1 changed the title In the UI, one job displays the allocations of another In the UI, one job displays the job launches of another Dec 13, 2024
@tgross tgross added this to Nomad UI Dec 13, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Nomad UI Dec 13, 2024
@philrenaud philrenaud self-assigned this Dec 13, 2024
@philrenaud philrenaud moved this from Backlog to Todo in Nomad UI Dec 13, 2024
@philrenaud
Copy link
Contributor

Hey @agarfer1, good find. I'll check into this asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
3 participants