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

v0.9.5: 'nomad alloc status -verbose' output inconsistency #6335

Closed
a-vorobiev opened this issue Sep 16, 2019 · 1 comment · Fixed by #6609
Closed

v0.9.5: 'nomad alloc status -verbose' output inconsistency #6335

a-vorobiev opened this issue Sep 16, 2019 · 1 comment · Fixed by #6609
Assignees
Milestone

Comments

@a-vorobiev
Copy link

Nomad version

v0.9.5 (1cbb2b9)

Operating system and Environment details

Debian GNU/Linux 10 (buster)

Issue

Placement Metrics order differs time to time when invoking the nomad alloc status -verbose command on the same job:

root@master:~# nomad alloc status -verbose 00e562bd
ID                  = 00e562bd-509b-47be-394c-0b809c1b2ca0
Eval ID             = 02e97805-2dc2-0777-d5be-4cc89fd4fd8f
Name                = example.cache[0]
Node ID             = 16a5491e-a3ed-8f4e-af18-e29e05f45b52
Node Name           = worker2
Job ID              = example
Job Version         = 824636459616
Client Status       = running
Client Description  = Tasks are running
Desired Status      = run
Desired Description = <none>
Created             = 2019-09-16T16:25:39Z
Modified            = 2019-09-16T16:27:46Z
Evaluated Nodes     = 3
Filtered Nodes      = 0
Exhausted Nodes     = 0
Allocation Time     = 99.769µs
Failures            = 0

Task "redis" is "running"
Task Resources
CPU        Memory           Disk     Addresses
5/500 MHz  912 KiB/256 MiB  300 MiB  db: 10.0.2.15:25694

Task Events:
Started At     = 2019-09-16T16:25:47Z
Finished At    = N/A
Total Restarts = 0
Last Restart   = N/A

Recent Events:
Time                  Type        Description
2019-09-16T16:25:47Z  Started     Task started by client
2019-09-16T16:25:40Z  Driver      Downloading image
2019-09-16T16:25:39Z  Task Setup  Building Task Directory
2019-09-16T16:25:39Z  Received    Task received by client

Placement Metrics
Node                                  node-affinity  binpack  job-anti-affinity  node-reschedule-penalty  final score
16a5491e-a3ed-8f4e-af18-e29e05f45b52  1              0.531    0                  0                        0.766
6fc7950f-6af1-001f-dc85-76690174e6a2  1              0.531    0                  0                        0.766
d711dc5e-20f5-fb6f-f227-2c91081672d2  0              0.531    0                  0                        0.531
root@master:~# nomad alloc status -verbose 00e562bd
ID                  = 00e562bd-509b-47be-394c-0b809c1b2ca0
Eval ID             = 02e97805-2dc2-0777-d5be-4cc89fd4fd8f
Name                = example.cache[0]
Node ID             = 16a5491e-a3ed-8f4e-af18-e29e05f45b52
Node Name           = worker2
Job ID              = example
Job Version         = 824635186144
Client Status       = running
Client Description  = Tasks are running
Desired Status      = run
Desired Description = <none>
Created             = 2019-09-16T16:25:39Z
Modified            = 2019-09-16T16:27:46Z
Evaluated Nodes     = 3
Filtered Nodes      = 0
Exhausted Nodes     = 0
Allocation Time     = 99.769µs
Failures            = 0

Task "redis" is "running"
Task Resources
CPU        Memory           Disk     Addresses
5/500 MHz  912 KiB/256 MiB  300 MiB  db: 10.0.2.15:25694

Task Events:
Started At     = 2019-09-16T16:25:47Z
Finished At    = N/A
Total Restarts = 0
Last Restart   = N/A

Recent Events:
Time                  Type        Description
2019-09-16T16:25:47Z  Started     Task started by client
2019-09-16T16:25:40Z  Driver      Downloading image
2019-09-16T16:25:39Z  Task Setup  Building Task Directory
2019-09-16T16:25:39Z  Received    Task received by client

Placement Metrics
Node                                  node-reschedule-penalty  node-affinity  binpack  job-anti-affinity  final score
16a5491e-a3ed-8f4e-af18-e29e05f45b52  0                        1              0.531    0                  0.766
6fc7950f-6af1-001f-dc85-76690174e6a2  0                        1              0.531    0                  0.766
d711dc5e-20f5-fb6f-f227-2c91081672d2  0                        0              0.531    0                  0.531

Placement Metrics table columns are printed out in different order.

@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 Nov 17, 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.

4 participants