{"record":{"id":"f84c4a09256f18a2","repo":"hashicorp/nomad","slug":"signaltask-is-not-supported-by-this-driver","errorCode":null,"errorMessage":"SignalTask is not supported by this driver","messagePattern":"SignalTask is not supported by this driver","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"plugins/drivers/driver.go","lineNumber":123,"sourceCode":"\t// terminal size channel\n\tResizeCh <-chan TerminalSize\n}\n\n// DriverNetworkManager is the interface with exposes function for creating a\n// network namespace for which tasks can join. This only needs to be implemented\n// if the driver MUST create the network namespace\ntype DriverNetworkManager interface {\n\tCreateNetwork(allocID string, request *NetworkCreateRequest) (*NetworkIsolationSpec, bool, error)\n\tDestroyNetwork(allocID string, spec *NetworkIsolationSpec) error\n}\n\n// DriverSignalTaskNotSupported can be embedded by drivers which don't support\n// the SignalTask RPC. This satisfies the SignalTask func requirement for the\n// DriverPlugin interface.\ntype DriverSignalTaskNotSupported struct{}\n\nfunc (DriverSignalTaskNotSupported) SignalTask(taskID, signal string) error {\n\treturn fmt.Errorf(\"SignalTask is not supported by this driver\")\n}\n\n// DriverExecTaskNotSupported can be embedded by drivers which don't support\n// the ExecTask RPC. This satisfies the ExecTask func requirement of the\n// DriverPlugin interface.\ntype DriverExecTaskNotSupported struct{}\n\nfunc (_ DriverExecTaskNotSupported) ExecTask(taskID string, cmd []string, timeout time.Duration) (*ExecTaskResult, error) {\n\treturn nil, fmt.Errorf(\"ExecTask is not supported by this driver\")\n}\n\ntype HealthState string\n\nvar (\n\tHealthStateUndetected = HealthState(\"undetected\")\n\tHealthStateUnhealthy  = HealthState(\"unhealthy\")\n\tHealthStateHealthy    = HealthState(\"healthy\")\n)","sourceCodeStart":105,"sourceCodeEnd":141,"githubUrl":"https://github.com/hashicorp/nomad/blob/482b49bf1aec006f089bcfc7e632d8f6ac303e5e/plugins/drivers/driver.go#L105-L141","documentation":"Driver capability stub: the task's driver embeds DriverSignalTaskNotSupported, so it cannot honor SignalTask. The error comes from the default implementation that drivers opt into when signaling tasks is impossible.","triggerScenarios":"Thrown at plugins/drivers/driver.go:123 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a driver that supports signaling (e.g. exec, docker)","Stop the task instead of signaling, or restart the allocation"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"482b49bf1aec006f089bcfc7e632d8f6ac303e5e","analyzedAt":"2026-09-04T07:54:14.808Z","contentChangedAt":"2026-09-04T07:54:14.808Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}