Skip to content

Client panics after many allocations are stopped #25820

Open
@msherman13

Description

@msherman13

Nomad version

Nomad v1.10.0
BuildDate 2025-04-09T16:40:54Z
Revision e26a2bd

Operating system and Environment details

Rocky 9.3

Issue

Client crashes after stopping many allocations. This started after upgrading to v1.10.0 from v1.8.4

Reproduction steps

Stop many allocations

Expected Result

Allocations are rescheduled

Actual Result

Client panics

Nomad Client logs (if appropriate)

-- VISUAL LINE --������������������������73��������1,1�����������Top
May 06 23:56:59 nomad[3795872]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x21d1d15]����������������������������������May 06 23:56:59 nomad[3795872]: goroutine 1022 [running]:
May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner.(*observer).stop(...)���������������������������������������May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner/checks_hook.go:73�����������������������������������May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner.(*checksHook).Update(0xc001262510, 0xc005967c40)
May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner/checks_hook.go:256 +0x275���������������������������May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner.(*allocRunner).update(0xc00071d608, 0xc006c84e00)�����������May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner/alloc_runner_hooks.go:243 +0x4d7
May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner.(*allocRunner).handleAllocUpdate(0xc00071d608, 0xc006c84e00)May 06 23:56:59 nomad[3795872]:���������github.com/hashicorp/nomad/client/allocrunner/alloc_runner.go:1050 +0x2b5�������������������������May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner.(*allocRunner).handleAllocUpdates(...)����������������������May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner/alloc_runner.go:1031 �������������������������May 06 23:56:59 nomad[3795872]: created by github.com/hashicorp/nomad/client/allocrunner.(*allocRunner).Run in goroutine 1186�������������May 06 23:56:59 nomad[3795872]: github.com/hashicorp/nomad/client/allocrunner/alloc_runner.go:380 +0xdf �������������������������May 06 23:56:59 systemd[1]: nomad.service: Main process exited, code=exited, status=2/INVALIDARGUMENT�������������������������������������May 06 23:56:59 systemd[1]: nomad.service: Failed with result 'exit-code'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs Roadmapping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions