hashicorp/nomad · error

error updating job summary: %v

Error message

error updating job summary: %v

What it means

While applying an allocation update, updateSummaryWithAlloc failed; the wrapped error propagates from job summary bookkeeping inside the alloc upsert.

Source

Thrown at nomad/state/state_store.go:4154

	} else if alloc.DeploymentStatus != nil {
		// First time getting a deployment status so copy everything and just
		// set the index
		copyAlloc.DeploymentStatus = alloc.DeploymentStatus.Copy()
		copyAlloc.DeploymentStatus.ModifyIndex = index
	}

	// Update the modify index
	copyAlloc.ModifyIndex = index

	// Update the modify time
	copyAlloc.ModifyTime = alloc.ModifyTime

	if err := s.updateDeploymentWithAlloc(index, copyAlloc, exist, txn); err != nil {
		return nil, fmt.Errorf("error updating deployment: %v", err)
	}

	if err := s.updateSummaryWithAlloc(index, copyAlloc, exist, txn); err != nil {
		return nil, fmt.Errorf("error updating job summary: %v", err)
	}

	if err := s.updateEntWithAlloc(index, copyAlloc, exist, txn); err != nil {
		return nil, fmt.Errorf("error updating enterprise features: %v", err)
	}

	if err := s.updatePluginForTerminalAlloc(index, copyAlloc, txn); err != nil {
		return nil, fmt.Errorf("error updating plugin for terminal alloc: %v", err)
	}

	if err := s.cancelFollowupEvalsForReconnect(txn, index, copyAlloc, alloc); err != nil {
		return nil, err
	}

	// Update the allocation
	if err := txn.Insert("allocs", copyAlloc); err != nil {
		return nil, fmt.Errorf("alloc insert failed: %v", err)
	}

View on GitHub (pinned to 482b49bf1a)

Solutions

  1. Retry the allocation update
  2. Check server logs for job summary update errors
  3. Verify the job summary for the alloc's job exists
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at nomad/state/state_store.go:4154 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of hashicorp/nomad@482b49bf1a (2026-09-04). Data as JSON: /api/errors/85d723bd07e1154c. Report an issue: GitHub.