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

Negative values in UI #11113

Open
n-bes opened this issue Sep 1, 2021 · 1 comment
Open

Negative values in UI #11113

n-bes opened this issue Sep 1, 2021 · 1 comment

Comments

@n-bes
Copy link

n-bes commented Sep 1, 2021

Nomad version

Nomad v1.1.3 (8c0c814)

Operating system and Environment details

~ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
/usr/bin/nomad agent -dev

Issue

Hi. I saw negative values in UI, but unfortunately no additional logs / data.

Снимок экрана 2021-08-03 в 20 43 04

Job

job "cci" {
  datacenters = ["dc1"]
  type = "batch"

  parameterized {
    meta_required = [
        "PACKAGE_NAME",
        "PACKAGE_RECIPE_FOLDER",
        "PACKAGE_VERSION",
        "BUILD_ID"
    ]
  }
  reschedule {
    attempts  = 0
    unlimited = false
  }
  task "build-package" {
    resources {
        memory = 8000
    }
    restart {
      attempts = 0
    }

    driver  = "docker"

    config {
      image = "nomad-cci:local"
      command = "python3"
      args = [
        "script.py",
      ]
      logging {
        type = "loki"
        config {
          keep-file=true
          loki-url="<cutted>"
          loki-retries=5
          loki-batch-size=400
          loki-external-labels="package_ref=${NOMAD_META_PACKAGE_NAME}/${NOMAD_META_PACKAGE_VERSION},nomad_job_id=${NOMAD_JOB_ID},package_name=${NOMAD_META_PACKAGE_NAME},build_id=${NOMAD_META_BUILD_ID}"
        }
      }
    }
  }
}
@lgfa29
Copy link
Contributor

lgfa29 commented Sep 2, 2021

Hi @n-bes 👋

This seems like a state tracking issue similar to #10145. If the problem is still happening, would you be able to run the nomad operator debug and send us the resulting file via email (nomad-oss-debug@hashicorp.com)?

Please add the issue number and title as the email subject.

Thank you.

@tgross tgross moved this from Needs Triage to Needs Roadmapping in Nomad - Community Issues Triage Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Roadmapping
Development

No branches or pull requests

2 participants