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

Intermitent issues with the Nomad UI on dispatch job children summary in namespaces #10906

Closed
lgfa29 opened this issue Jul 16, 2021 · 1 comment · Fixed by #11110
Closed

Intermitent issues with the Nomad UI on dispatch job children summary in namespaces #10906

lgfa29 opened this issue Jul 16, 2021 · 1 comment · Fixed by #11110
Labels
hcc/cst Admin - internal stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/namespaces theme/ui type/bug
Milestone

Comments

@lgfa29
Copy link
Contributor

lgfa29 commented Jul 16, 2021

Nomad version

Nomad v1.1.2 (60638a086ef9630e2a9ba1e237e8426192a44244)

Operating system and Environment details

MacOS

Issue

The Nomad UI displays a weird intermittent behaviour with dispatch job children summary.

Reproduction steps

  1. Start a Nomad dev aget
    $ nomad agent -dev
    
  2. Create a namespace
    $ nomad namespace apply dev
    
  3. Run the reproduction parameterized batch job
    $ nomad run batch.nomad
    
  4. Dispatch an instance of the parameterized job
    $ nomad job dispatch -namespace=dev batch
    
  5. Open the Nomad UI, select the dev namespace, and navigate into the batch job
  6. The dispatched child is missing from the list
  7. Navigate back the job list, and repeat step 5
  8. The dispatched child job appears, but hovering over the resource bar causes it shrink

Expected Result

Dispatch children display correctly in the table

Actual Result

Dispatch child sometimes don't appear. Other times the resource bar shrinks on hover.

Job file (if appropriate)

job "batch" {
  datacenters = ["dc1"]
  type        = "batch"
  namespace   = "dev"

  parameterized {
    meta_optional = ["sleep"]
  }

  meta {
    sleep = "10"
  }

  group "batch" {
    task "sleep" {
      driver = "docker"

      config {
        image   = "alpine:3.13"
        command = "/bin/ash"
        args    = ["${NOMAD_TASK_DIR}/sleep.sh"]
      }

      template {
        data = <<EOF
#!/usr/bin/env bash
echo "Sleeping for ${NOMAD_META_sleep}s"
sleep ${NOMAD_META_sleep}
echo "Done"
        EOF

        destination = "local/sleep.sh"
      }
    }
  }
}
@lgfa29 lgfa29 added type/bug theme/ui stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/namespaces labels Jul 16, 2021
@louievandyke louievandyke added the hcc/cst Admin - internal label Aug 13, 2021
@mikenomitch mikenomitch modified the milestones: 1.1.3, 1.1.5 Aug 30, 2021
@github-actions
Copy link

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 Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
hcc/cst Admin - internal stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/namespaces theme/ui type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants