From c2d94dc86acb0ef043f65ce8370de5f2b743ecc3 Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Thu, 8 Nov 2018 23:37:50 -0500 Subject: [PATCH] drivers: support recoverable errors in the plugin RPC layer --- plugins/drivers/client.go | 8 + plugins/drivers/proto/driver.pb.go | 516 ++++++++++++++++------------- plugins/drivers/proto/driver.proto | 6 + plugins/drivers/server.go | 13 + 4 files changed, 316 insertions(+), 227 deletions(-) diff --git a/plugins/drivers/client.go b/plugins/drivers/client.go index 6974f8dcf..4b18ccd98 100644 --- a/plugins/drivers/client.go +++ b/plugins/drivers/client.go @@ -10,10 +10,12 @@ import ( "github.com/golang/protobuf/ptypes" hclog "github.com/hashicorp/go-hclog" cstructs "github.com/hashicorp/nomad/client/structs" + "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/plugins/base" "github.com/hashicorp/nomad/plugins/drivers/proto" "github.com/hashicorp/nomad/plugins/shared" "github.com/hashicorp/nomad/plugins/shared/hclspec" + "google.golang.org/grpc/status" ) var _ DriverPlugin = &driverPluginClient{} @@ -134,6 +136,12 @@ func (d *driverPluginClient) StartTask(c *TaskConfig) (*TaskHandle, *cstructs.Dr resp, err := d.client.StartTask(d.doneCtx, req) if err != nil { + st := status.Convert(err) + if len(st.Details()) > 0 { + if rec, ok := st.Details()[0].(*proto.RecoverableError); ok { + return nil, nil, structs.NewRecoverableError(err, rec.Recoverable) + } + } return nil, nil, err } diff --git a/plugins/drivers/proto/driver.pb.go b/plugins/drivers/proto/driver.pb.go index 66d18e5ad..03bfc9f4f 100644 --- a/plugins/drivers/proto/driver.pb.go +++ b/plugins/drivers/proto/driver.pb.go @@ -49,7 +49,7 @@ func (x TaskState) String() string { return proto.EnumName(TaskState_name, int32(x)) } func (TaskState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{0} + return fileDescriptor_driver_d88956a7e53d129e, []int{0} } type FingerprintResponse_HealthState int32 @@ -75,7 +75,7 @@ func (x FingerprintResponse_HealthState) String() string { return proto.EnumName(FingerprintResponse_HealthState_name, int32(x)) } func (FingerprintResponse_HealthState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{5, 0} + return fileDescriptor_driver_d88956a7e53d129e, []int{6, 0} } type StartTaskResponse_Result int32 @@ -101,7 +101,7 @@ func (x StartTaskResponse_Result) String() string { return proto.EnumName(StartTaskResponse_Result_name, int32(x)) } func (StartTaskResponse_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{9, 0} + return fileDescriptor_driver_d88956a7e53d129e, []int{10, 0} } type DriverCapabilities_FSIsolation int32 @@ -127,7 +127,7 @@ func (x DriverCapabilities_FSIsolation) String() string { return proto.EnumName(DriverCapabilities_FSIsolation_name, int32(x)) } func (DriverCapabilities_FSIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{25, 0} + return fileDescriptor_driver_d88956a7e53d129e, []int{26, 0} } type CPUUsage_Fields int32 @@ -162,7 +162,7 @@ func (x CPUUsage_Fields) String() string { return proto.EnumName(CPUUsage_Fields_name, int32(x)) } func (CPUUsage_Fields) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{41, 0} + return fileDescriptor_driver_d88956a7e53d129e, []int{42, 0} } type MemoryUsage_Fields int32 @@ -194,7 +194,47 @@ func (x MemoryUsage_Fields) String() string { return proto.EnumName(MemoryUsage_Fields_name, int32(x)) } func (MemoryUsage_Fields) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{42, 0} + return fileDescriptor_driver_d88956a7e53d129e, []int{43, 0} +} + +// RecoverableError is used with a grpc Status to indicate if the error is one +// which is recoverable and can be reattempted by the client. +type RecoverableError struct { + Recoverable bool `protobuf:"varint,1,opt,name=recoverable,proto3" json:"recoverable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RecoverableError) Reset() { *m = RecoverableError{} } +func (m *RecoverableError) String() string { return proto.CompactTextString(m) } +func (*RecoverableError) ProtoMessage() {} +func (*RecoverableError) Descriptor() ([]byte, []int) { + return fileDescriptor_driver_d88956a7e53d129e, []int{0} +} +func (m *RecoverableError) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RecoverableError.Unmarshal(m, b) +} +func (m *RecoverableError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RecoverableError.Marshal(b, m, deterministic) +} +func (dst *RecoverableError) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecoverableError.Merge(dst, src) +} +func (m *RecoverableError) XXX_Size() int { + return xxx_messageInfo_RecoverableError.Size(m) +} +func (m *RecoverableError) XXX_DiscardUnknown() { + xxx_messageInfo_RecoverableError.DiscardUnknown(m) +} + +var xxx_messageInfo_RecoverableError proto.InternalMessageInfo + +func (m *RecoverableError) GetRecoverable() bool { + if m != nil { + return m.Recoverable + } + return false } type TaskConfigSchemaRequest struct { @@ -207,7 +247,7 @@ func (m *TaskConfigSchemaRequest) Reset() { *m = TaskConfigSchemaRequest func (m *TaskConfigSchemaRequest) String() string { return proto.CompactTextString(m) } func (*TaskConfigSchemaRequest) ProtoMessage() {} func (*TaskConfigSchemaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{0} + return fileDescriptor_driver_d88956a7e53d129e, []int{1} } func (m *TaskConfigSchemaRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfigSchemaRequest.Unmarshal(m, b) @@ -239,7 +279,7 @@ func (m *TaskConfigSchemaResponse) Reset() { *m = TaskConfigSchemaRespon func (m *TaskConfigSchemaResponse) String() string { return proto.CompactTextString(m) } func (*TaskConfigSchemaResponse) ProtoMessage() {} func (*TaskConfigSchemaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{1} + return fileDescriptor_driver_d88956a7e53d129e, []int{2} } func (m *TaskConfigSchemaResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfigSchemaResponse.Unmarshal(m, b) @@ -276,7 +316,7 @@ func (m *CapabilitiesRequest) Reset() { *m = CapabilitiesRequest{} } func (m *CapabilitiesRequest) String() string { return proto.CompactTextString(m) } func (*CapabilitiesRequest) ProtoMessage() {} func (*CapabilitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{2} + return fileDescriptor_driver_d88956a7e53d129e, []int{3} } func (m *CapabilitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CapabilitiesRequest.Unmarshal(m, b) @@ -311,7 +351,7 @@ func (m *CapabilitiesResponse) Reset() { *m = CapabilitiesResponse{} } func (m *CapabilitiesResponse) String() string { return proto.CompactTextString(m) } func (*CapabilitiesResponse) ProtoMessage() {} func (*CapabilitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{3} + return fileDescriptor_driver_d88956a7e53d129e, []int{4} } func (m *CapabilitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CapabilitiesResponse.Unmarshal(m, b) @@ -348,7 +388,7 @@ func (m *FingerprintRequest) Reset() { *m = FingerprintRequest{} } func (m *FingerprintRequest) String() string { return proto.CompactTextString(m) } func (*FingerprintRequest) ProtoMessage() {} func (*FingerprintRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{4} + return fileDescriptor_driver_d88956a7e53d129e, []int{5} } func (m *FingerprintRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FingerprintRequest.Unmarshal(m, b) @@ -391,7 +431,7 @@ func (m *FingerprintResponse) Reset() { *m = FingerprintResponse{} } func (m *FingerprintResponse) String() string { return proto.CompactTextString(m) } func (*FingerprintResponse) ProtoMessage() {} func (*FingerprintResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{5} + return fileDescriptor_driver_d88956a7e53d129e, []int{6} } func (m *FingerprintResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FingerprintResponse.Unmarshal(m, b) @@ -446,7 +486,7 @@ func (m *RecoverTaskRequest) Reset() { *m = RecoverTaskRequest{} } func (m *RecoverTaskRequest) String() string { return proto.CompactTextString(m) } func (*RecoverTaskRequest) ProtoMessage() {} func (*RecoverTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{6} + return fileDescriptor_driver_d88956a7e53d129e, []int{7} } func (m *RecoverTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecoverTaskRequest.Unmarshal(m, b) @@ -490,7 +530,7 @@ func (m *RecoverTaskResponse) Reset() { *m = RecoverTaskResponse{} } func (m *RecoverTaskResponse) String() string { return proto.CompactTextString(m) } func (*RecoverTaskResponse) ProtoMessage() {} func (*RecoverTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{7} + return fileDescriptor_driver_d88956a7e53d129e, []int{8} } func (m *RecoverTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecoverTaskResponse.Unmarshal(m, b) @@ -522,7 +562,7 @@ func (m *StartTaskRequest) Reset() { *m = StartTaskRequest{} } func (m *StartTaskRequest) String() string { return proto.CompactTextString(m) } func (*StartTaskRequest) ProtoMessage() {} func (*StartTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{8} + return fileDescriptor_driver_d88956a7e53d129e, []int{9} } func (m *StartTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartTaskRequest.Unmarshal(m, b) @@ -576,7 +616,7 @@ func (m *StartTaskResponse) Reset() { *m = StartTaskResponse{} } func (m *StartTaskResponse) String() string { return proto.CompactTextString(m) } func (*StartTaskResponse) ProtoMessage() {} func (*StartTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{9} + return fileDescriptor_driver_d88956a7e53d129e, []int{10} } func (m *StartTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartTaskResponse.Unmarshal(m, b) @@ -636,7 +676,7 @@ func (m *WaitTaskRequest) Reset() { *m = WaitTaskRequest{} } func (m *WaitTaskRequest) String() string { return proto.CompactTextString(m) } func (*WaitTaskRequest) ProtoMessage() {} func (*WaitTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{10} + return fileDescriptor_driver_d88956a7e53d129e, []int{11} } func (m *WaitTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WaitTaskRequest.Unmarshal(m, b) @@ -677,7 +717,7 @@ func (m *WaitTaskResponse) Reset() { *m = WaitTaskResponse{} } func (m *WaitTaskResponse) String() string { return proto.CompactTextString(m) } func (*WaitTaskResponse) ProtoMessage() {} func (*WaitTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{11} + return fileDescriptor_driver_d88956a7e53d129e, []int{12} } func (m *WaitTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WaitTaskResponse.Unmarshal(m, b) @@ -729,7 +769,7 @@ func (m *StopTaskRequest) Reset() { *m = StopTaskRequest{} } func (m *StopTaskRequest) String() string { return proto.CompactTextString(m) } func (*StopTaskRequest) ProtoMessage() {} func (*StopTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{12} + return fileDescriptor_driver_d88956a7e53d129e, []int{13} } func (m *StopTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopTaskRequest.Unmarshal(m, b) @@ -780,7 +820,7 @@ func (m *StopTaskResponse) Reset() { *m = StopTaskResponse{} } func (m *StopTaskResponse) String() string { return proto.CompactTextString(m) } func (*StopTaskResponse) ProtoMessage() {} func (*StopTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{13} + return fileDescriptor_driver_d88956a7e53d129e, []int{14} } func (m *StopTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopTaskResponse.Unmarshal(m, b) @@ -814,7 +854,7 @@ func (m *DestroyTaskRequest) Reset() { *m = DestroyTaskRequest{} } func (m *DestroyTaskRequest) String() string { return proto.CompactTextString(m) } func (*DestroyTaskRequest) ProtoMessage() {} func (*DestroyTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{14} + return fileDescriptor_driver_d88956a7e53d129e, []int{15} } func (m *DestroyTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DestroyTaskRequest.Unmarshal(m, b) @@ -858,7 +898,7 @@ func (m *DestroyTaskResponse) Reset() { *m = DestroyTaskResponse{} } func (m *DestroyTaskResponse) String() string { return proto.CompactTextString(m) } func (*DestroyTaskResponse) ProtoMessage() {} func (*DestroyTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{15} + return fileDescriptor_driver_d88956a7e53d129e, []int{16} } func (m *DestroyTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DestroyTaskResponse.Unmarshal(m, b) @@ -890,7 +930,7 @@ func (m *InspectTaskRequest) Reset() { *m = InspectTaskRequest{} } func (m *InspectTaskRequest) String() string { return proto.CompactTextString(m) } func (*InspectTaskRequest) ProtoMessage() {} func (*InspectTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{16} + return fileDescriptor_driver_d88956a7e53d129e, []int{17} } func (m *InspectTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InspectTaskRequest.Unmarshal(m, b) @@ -933,7 +973,7 @@ func (m *InspectTaskResponse) Reset() { *m = InspectTaskResponse{} } func (m *InspectTaskResponse) String() string { return proto.CompactTextString(m) } func (*InspectTaskResponse) ProtoMessage() {} func (*InspectTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{17} + return fileDescriptor_driver_d88956a7e53d129e, []int{18} } func (m *InspectTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InspectTaskResponse.Unmarshal(m, b) @@ -986,7 +1026,7 @@ func (m *TaskStatsRequest) Reset() { *m = TaskStatsRequest{} } func (m *TaskStatsRequest) String() string { return proto.CompactTextString(m) } func (*TaskStatsRequest) ProtoMessage() {} func (*TaskStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{18} + return fileDescriptor_driver_d88956a7e53d129e, []int{19} } func (m *TaskStatsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatsRequest.Unmarshal(m, b) @@ -1025,7 +1065,7 @@ func (m *TaskStatsResponse) Reset() { *m = TaskStatsResponse{} } func (m *TaskStatsResponse) String() string { return proto.CompactTextString(m) } func (*TaskStatsResponse) ProtoMessage() {} func (*TaskStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{19} + return fileDescriptor_driver_d88956a7e53d129e, []int{20} } func (m *TaskStatsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatsResponse.Unmarshal(m, b) @@ -1062,7 +1102,7 @@ func (m *TaskEventsRequest) Reset() { *m = TaskEventsRequest{} } func (m *TaskEventsRequest) String() string { return proto.CompactTextString(m) } func (*TaskEventsRequest) ProtoMessage() {} func (*TaskEventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{20} + return fileDescriptor_driver_d88956a7e53d129e, []int{21} } func (m *TaskEventsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskEventsRequest.Unmarshal(m, b) @@ -1096,7 +1136,7 @@ func (m *SignalTaskRequest) Reset() { *m = SignalTaskRequest{} } func (m *SignalTaskRequest) String() string { return proto.CompactTextString(m) } func (*SignalTaskRequest) ProtoMessage() {} func (*SignalTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{21} + return fileDescriptor_driver_d88956a7e53d129e, []int{22} } func (m *SignalTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignalTaskRequest.Unmarshal(m, b) @@ -1140,7 +1180,7 @@ func (m *SignalTaskResponse) Reset() { *m = SignalTaskResponse{} } func (m *SignalTaskResponse) String() string { return proto.CompactTextString(m) } func (*SignalTaskResponse) ProtoMessage() {} func (*SignalTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{22} + return fileDescriptor_driver_d88956a7e53d129e, []int{23} } func (m *SignalTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignalTaskResponse.Unmarshal(m, b) @@ -1177,7 +1217,7 @@ func (m *ExecTaskRequest) Reset() { *m = ExecTaskRequest{} } func (m *ExecTaskRequest) String() string { return proto.CompactTextString(m) } func (*ExecTaskRequest) ProtoMessage() {} func (*ExecTaskRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{23} + return fileDescriptor_driver_d88956a7e53d129e, []int{24} } func (m *ExecTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecTaskRequest.Unmarshal(m, b) @@ -1234,7 +1274,7 @@ func (m *ExecTaskResponse) Reset() { *m = ExecTaskResponse{} } func (m *ExecTaskResponse) String() string { return proto.CompactTextString(m) } func (*ExecTaskResponse) ProtoMessage() {} func (*ExecTaskResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{24} + return fileDescriptor_driver_d88956a7e53d129e, []int{25} } func (m *ExecTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecTaskResponse.Unmarshal(m, b) @@ -1293,7 +1333,7 @@ func (m *DriverCapabilities) Reset() { *m = DriverCapabilities{} } func (m *DriverCapabilities) String() string { return proto.CompactTextString(m) } func (*DriverCapabilities) ProtoMessage() {} func (*DriverCapabilities) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{25} + return fileDescriptor_driver_d88956a7e53d129e, []int{26} } func (m *DriverCapabilities) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DriverCapabilities.Unmarshal(m, b) @@ -1358,7 +1398,11 @@ type TaskConfig struct { // StdoutPath is the path to the file to open and write task stdout to StdoutPath string `protobuf:"bytes,10,opt,name=stdout_path,json=stdoutPath,proto3" json:"stdout_path,omitempty"` // StderrPath is the path to the file to open and write task stderr to - StderrPath string `protobuf:"bytes,11,opt,name=stderr_path,json=stderrPath,proto3" json:"stderr_path,omitempty"` + StderrPath string `protobuf:"bytes,11,opt,name=stderr_path,json=stderrPath,proto3" json:"stderr_path,omitempty"` + // TaskGroupName is the name of the task group which this task is a member of + TaskGroupName string `protobuf:"bytes,12,opt,name=task_group_name,json=taskGroupName,proto3" json:"task_group_name,omitempty"` + // JobName is the name of the job of which this task is part of + JobName string `protobuf:"bytes,13,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1368,7 +1412,7 @@ func (m *TaskConfig) Reset() { *m = TaskConfig{} } func (m *TaskConfig) String() string { return proto.CompactTextString(m) } func (*TaskConfig) ProtoMessage() {} func (*TaskConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{26} + return fileDescriptor_driver_d88956a7e53d129e, []int{27} } func (m *TaskConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfig.Unmarshal(m, b) @@ -1465,6 +1509,20 @@ func (m *TaskConfig) GetStderrPath() string { return "" } +func (m *TaskConfig) GetTaskGroupName() string { + if m != nil { + return m.TaskGroupName + } + return "" +} + +func (m *TaskConfig) GetJobName() string { + if m != nil { + return m.JobName + } + return "" +} + type Resources struct { // RawResources are the resources set for the task RawResources *RawResources `protobuf:"bytes,1,opt,name=raw_resources,json=rawResources,proto3" json:"raw_resources,omitempty"` @@ -1479,7 +1537,7 @@ func (m *Resources) Reset() { *m = Resources{} } func (m *Resources) String() string { return proto.CompactTextString(m) } func (*Resources) ProtoMessage() {} func (*Resources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{27} + return fileDescriptor_driver_d88956a7e53d129e, []int{28} } func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) @@ -1528,7 +1586,7 @@ func (m *RawResources) Reset() { *m = RawResources{} } func (m *RawResources) String() string { return proto.CompactTextString(m) } func (*RawResources) ProtoMessage() {} func (*RawResources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{28} + return fileDescriptor_driver_d88956a7e53d129e, []int{29} } func (m *RawResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RawResources.Unmarshal(m, b) @@ -1599,7 +1657,7 @@ func (m *NetworkResource) Reset() { *m = NetworkResource{} } func (m *NetworkResource) String() string { return proto.CompactTextString(m) } func (*NetworkResource) ProtoMessage() {} func (*NetworkResource) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{29} + return fileDescriptor_driver_d88956a7e53d129e, []int{30} } func (m *NetworkResource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkResource.Unmarshal(m, b) @@ -1673,7 +1731,7 @@ func (m *NetworkPort) Reset() { *m = NetworkPort{} } func (m *NetworkPort) String() string { return proto.CompactTextString(m) } func (*NetworkPort) ProtoMessage() {} func (*NetworkPort) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{30} + return fileDescriptor_driver_d88956a7e53d129e, []int{31} } func (m *NetworkPort) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPort.Unmarshal(m, b) @@ -1731,7 +1789,7 @@ func (m *LinuxResources) Reset() { *m = LinuxResources{} } func (m *LinuxResources) String() string { return proto.CompactTextString(m) } func (*LinuxResources) ProtoMessage() {} func (*LinuxResources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{31} + return fileDescriptor_driver_d88956a7e53d129e, []int{32} } func (m *LinuxResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LinuxResources.Unmarshal(m, b) @@ -1816,7 +1874,7 @@ func (m *Mount) Reset() { *m = Mount{} } func (m *Mount) String() string { return proto.CompactTextString(m) } func (*Mount) ProtoMessage() {} func (*Mount) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{32} + return fileDescriptor_driver_d88956a7e53d129e, []int{33} } func (m *Mount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mount.Unmarshal(m, b) @@ -1879,7 +1937,7 @@ func (m *Device) Reset() { *m = Device{} } func (m *Device) String() string { return proto.CompactTextString(m) } func (*Device) ProtoMessage() {} func (*Device) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{33} + return fileDescriptor_driver_d88956a7e53d129e, []int{34} } func (m *Device) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Device.Unmarshal(m, b) @@ -1937,7 +1995,7 @@ func (m *TaskHandle) Reset() { *m = TaskHandle{} } func (m *TaskHandle) String() string { return proto.CompactTextString(m) } func (*TaskHandle) ProtoMessage() {} func (*TaskHandle) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{34} + return fileDescriptor_driver_d88956a7e53d129e, []int{35} } func (m *TaskHandle) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskHandle.Unmarshal(m, b) @@ -1997,7 +2055,7 @@ func (m *NetworkOverride) Reset() { *m = NetworkOverride{} } func (m *NetworkOverride) String() string { return proto.CompactTextString(m) } func (*NetworkOverride) ProtoMessage() {} func (*NetworkOverride) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{35} + return fileDescriptor_driver_d88956a7e53d129e, []int{36} } func (m *NetworkOverride) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkOverride.Unmarshal(m, b) @@ -2055,7 +2113,7 @@ func (m *ExitResult) Reset() { *m = ExitResult{} } func (m *ExitResult) String() string { return proto.CompactTextString(m) } func (*ExitResult) ProtoMessage() {} func (*ExitResult) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{36} + return fileDescriptor_driver_d88956a7e53d129e, []int{37} } func (m *ExitResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExitResult.Unmarshal(m, b) @@ -2118,7 +2176,7 @@ func (m *TaskStatus) Reset() { *m = TaskStatus{} } func (m *TaskStatus) String() string { return proto.CompactTextString(m) } func (*TaskStatus) ProtoMessage() {} func (*TaskStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{37} + return fileDescriptor_driver_d88956a7e53d129e, []int{38} } func (m *TaskStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatus.Unmarshal(m, b) @@ -2193,7 +2251,7 @@ func (m *TaskDriverStatus) Reset() { *m = TaskDriverStatus{} } func (m *TaskDriverStatus) String() string { return proto.CompactTextString(m) } func (*TaskDriverStatus) ProtoMessage() {} func (*TaskDriverStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{38} + return fileDescriptor_driver_d88956a7e53d129e, []int{39} } func (m *TaskDriverStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskDriverStatus.Unmarshal(m, b) @@ -2238,7 +2296,7 @@ func (m *TaskStats) Reset() { *m = TaskStats{} } func (m *TaskStats) String() string { return proto.CompactTextString(m) } func (*TaskStats) ProtoMessage() {} func (*TaskStats) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{39} + return fileDescriptor_driver_d88956a7e53d129e, []int{40} } func (m *TaskStats) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStats.Unmarshal(m, b) @@ -2300,7 +2358,7 @@ func (m *TaskResourceUsage) Reset() { *m = TaskResourceUsage{} } func (m *TaskResourceUsage) String() string { return proto.CompactTextString(m) } func (*TaskResourceUsage) ProtoMessage() {} func (*TaskResourceUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{40} + return fileDescriptor_driver_d88956a7e53d129e, []int{41} } func (m *TaskResourceUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskResourceUsage.Unmarshal(m, b) @@ -2352,7 +2410,7 @@ func (m *CPUUsage) Reset() { *m = CPUUsage{} } func (m *CPUUsage) String() string { return proto.CompactTextString(m) } func (*CPUUsage) ProtoMessage() {} func (*CPUUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{41} + return fileDescriptor_driver_d88956a7e53d129e, []int{42} } func (m *CPUUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CPUUsage.Unmarshal(m, b) @@ -2438,7 +2496,7 @@ func (m *MemoryUsage) Reset() { *m = MemoryUsage{} } func (m *MemoryUsage) String() string { return proto.CompactTextString(m) } func (*MemoryUsage) ProtoMessage() {} func (*MemoryUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{42} + return fileDescriptor_driver_d88956a7e53d129e, []int{43} } func (m *MemoryUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MemoryUsage.Unmarshal(m, b) @@ -2518,7 +2576,7 @@ func (m *DriverTaskEvent) Reset() { *m = DriverTaskEvent{} } func (m *DriverTaskEvent) String() string { return proto.CompactTextString(m) } func (*DriverTaskEvent) ProtoMessage() {} func (*DriverTaskEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_7208c577f32e2535, []int{43} + return fileDescriptor_driver_d88956a7e53d129e, []int{44} } func (m *DriverTaskEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DriverTaskEvent.Unmarshal(m, b) @@ -2567,6 +2625,7 @@ func (m *DriverTaskEvent) GetAnnotations() map[string]string { } func init() { + proto.RegisterType((*RecoverableError)(nil), "hashicorp.nomad.plugins.drivers.proto.RecoverableError") proto.RegisterType((*TaskConfigSchemaRequest)(nil), "hashicorp.nomad.plugins.drivers.proto.TaskConfigSchemaRequest") proto.RegisterType((*TaskConfigSchemaResponse)(nil), "hashicorp.nomad.plugins.drivers.proto.TaskConfigSchemaResponse") proto.RegisterType((*CapabilitiesRequest)(nil), "hashicorp.nomad.plugins.drivers.proto.CapabilitiesRequest") @@ -3209,182 +3268,185 @@ var _Driver_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("plugins/drivers/proto/driver.proto", fileDescriptor_driver_7208c577f32e2535) + proto.RegisterFile("plugins/drivers/proto/driver.proto", fileDescriptor_driver_d88956a7e53d129e) } -var fileDescriptor_driver_7208c577f32e2535 = []byte{ - // 2758 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0xcb, 0x6f, 0x23, 0xc7, - 0xd1, 0x17, 0x9f, 0x22, 0x8b, 0x12, 0x35, 0xdb, 0xbb, 0xfb, 0x99, 0xa6, 0xf1, 0x7d, 0x5e, 0x0f, - 0x60, 0x40, 0xb0, 0xbd, 0x94, 0x2d, 0xe3, 0xf3, 0x3e, 0x02, 0x3f, 0x68, 0x6a, 0x76, 0x25, 0xaf, - 0x44, 0x29, 0x4d, 0x0a, 0xeb, 0x4d, 0x62, 0x4f, 0x46, 0x33, 0x2d, 0x72, 0x2c, 0xce, 0xc3, 0xdd, - 0x33, 0x5a, 0x09, 0x41, 0x90, 0x20, 0x01, 0x82, 0x24, 0x40, 0x80, 0x5c, 0x82, 0xdc, 0x73, 0x0b, - 0x72, 0xcd, 0x29, 0x8f, 0x4b, 0x80, 0xfc, 0x0f, 0x39, 0xe6, 0x12, 0x20, 0xd7, 0xfc, 0x05, 0x09, - 0xfa, 0x31, 0xc3, 0xa1, 0xa4, 0xb5, 0x87, 0x54, 0x4e, 0x9c, 0xae, 0xee, 0xfa, 0x75, 0xb1, 0xaa, - 0xba, 0x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 0x7e, 0x6f, 0xee, 0x0e, 0xca, - 0x9c, 0x2e, 0x79, 0xa9, 0x87, 0xa3, 0x2f, 0xa1, 0x1f, 0xa9, 0x27, 0x03, 0xd9, 0x7e, 0x41, 0xf3, - 0x40, 0xcd, 0x74, 0x6c, 0xda, 0xef, 0x2d, 0x96, 0x6a, 0x44, 0x8c, 0xf8, 0x71, 0x01, 0x60, 0xda, - 0xa8, 0xc9, 0x2d, 0xc4, 0xa5, 0x0e, 0x51, 0xfb, 0xc1, 0x02, 0x9c, 0xd9, 0xe3, 0x91, 0xf4, 0x66, - 0x72, 0x1f, 0x8f, 0x0b, 0x8d, 0xa4, 0xdc, 0xc7, 0xe3, 0x62, 0x13, 0x48, 0x5f, 0xfa, 0x78, 0xf9, - 0x5b, 0x15, 0x99, 0xfb, 0xab, 0xe2, 0xe7, 0xdd, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xb2, 0x79, - 0xa9, 0xc4, 0x43, 0x24, 0x00, 0x00, +var fileDescriptor_driver_d88956a7e53d129e = []byte{ + // 2814 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0xdd, 0x6f, 0x23, 0x49, + 0x11, 0x8f, 0x3f, 0x63, 0x97, 0x1d, 0x67, 0xb6, 0x77, 0x97, 0xf3, 0xf9, 0x04, 0xb7, 0x37, 0xd2, + 0xa1, 0xe8, 0xee, 0xd6, 0xb9, 0xcb, 0xc1, 0xed, 0x07, 0xba, 0x0f, 0x9f, 0x33, 0xbb, 0xc9, 0x6d, + 0xe2, 0x84, 0xb6, 0xa3, 0xbd, 0x05, 0xee, 0x86, 0xc9, 0x4c, 0xc7, 0x9e, 0x8d, 0xe7, 0xe3, 0xba, + 0xc7, 0xd9, 0x44, 0x08, 0x81, 0x40, 0x42, 0x80, 0x84, 0xc4, 0x0b, 0xe2, 0x9d, 0x37, 0xc4, 0x2b, + 0x4f, 0x20,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cc, 0xe6, 0x74, 0xa2, + 0xf5, 0x3e, 0xac, 0x9e, 0x93, 0x16, 0x69, 0x50, 0x38, 0x26, 0x67, 0xc2, 0x22, 0x55, 0xcc, 0x3f, + 0xd1, 0x0d, 0x28, 0x9d, 0x58, 0xe3, 0x09, 0x11, 0x22, 0x57, 0xb1, 0x1c, 0xdc, 0xcf, 0xdf, 0xcd, + 0xe9, 0xf7, 0xa0, 0x96, 0x12, 0x02, 0x35, 0x00, 0x0e, 0x7a, 0x9b, 0xc6, 0xc0, 0xe8, 0x0e, 0x8c, + 0x4d, 0x6d, 0x09, 0xad, 0x40, 0xf5, 0xa0, 0xb7, 0x65, 0x74, 0x76, 0x06, 0x5b, 0x4f, 0xb4, 0x1c, + 0xaa, 0xc1, 0x72, 0x3c, 0xc8, 0xeb, 0xa7, 0x80, 0x94, 0x7f, 0x73, 0xaf, 0x54, 0x26, 0x42, 0x2f, + 0xc1, 0x72, 0x64, 0xb1, 0x63, 0xd3, 0x75, 0x94, 0x00, 0x65, 0x3e, 0xdc, 0x76, 0xd0, 0x36, 0x94, + 0x47, 0x96, 0xef, 0x8c, 0xa5, 0x10, 0xb5, 0x8d, 0x77, 0x32, 0xea, 0x8d, 0x83, 0x6f, 0x09, 0x46, + 0xac, 0x00, 0xb8, 0xab, 0xce, 0xec, 0x2c, 0xb5, 0xa9, 0x3f, 0x01, 0xad, 0x1f, 0x59, 0x34, 0x4a, + 0x8b, 0x63, 0x40, 0x91, 0xef, 0xaf, 0xdc, 0x73, 0x9e, 0x3d, 0xe5, 0x31, 0xc3, 0x82, 0x5d, 0xff, + 0x6f, 0x1e, 0xae, 0xa5, 0xb0, 0x95, 0xdb, 0x3d, 0x86, 0x32, 0x25, 0x6c, 0x32, 0x8e, 0x04, 0x7c, + 0x63, 0xe3, 0xc3, 0x8c, 0xf0, 0x17, 0x90, 0xda, 0x58, 0xc0, 0x60, 0x05, 0x87, 0xd6, 0x40, 0x93, + 0x1c, 0x26, 0xe1, 0x61, 0x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0xcc, 0x90, 0x50, 0x37, 0x70, 0x94, 0x53, 0x54, 0xed, 0x70, 0xb2, 0x2f, 0x08, 0xfc, 0x7c, + 0xf3, 0xe9, 0x2f, 0x26, 0x41, 0x64, 0x29, 0xef, 0xa8, 0xd8, 0xe1, 0xe4, 0xbb, 0x7c, 0x1c, 0xf3, + 0x8a, 0xc7, 0x00, 0xa6, 0xbc, 0x84, 0x2f, 0xef, 0x0b, 0x02, 0x7a, 0x0b, 0x90, 0x74, 0x24, 0x73, + 0xec, 0x7a, 0x6e, 0x64, 0x1e, 0x9e, 0xf1, 0x6b, 0xb5, 0x74, 0x1c, 0x4d, 0xce, 0xec, 0xf0, 0x89, + 0x8f, 0x39, 0x1d, 0xe9, 0xb0, 0x12, 0x04, 0x9e, 0xc9, 0xec, 0x80, 0x12, 0xd3, 0x72, 0x9e, 0x8a, + 0x00, 0x5a, 0xc0, 0xb5, 0x20, 0xf0, 0xfa, 0x9c, 0xd6, 0x71, 0x9e, 0xf2, 0x78, 0x61, 0x87, 0x13, + 0x46, 0x22, 0x93, 0xff, 0x34, 0xcb, 0x32, 0x5e, 0x48, 0x52, 0x37, 0x9c, 0xb0, 0xd4, 0x02, 0x8f, + 0x78, 0x3c, 0xde, 0xa5, 0x16, 0xec, 0x12, 0x8f, 0xe9, 0x9f, 0x41, 0x49, 0x44, 0x47, 0xfe, 0xc7, + 0x44, 0x64, 0x11, 0x81, 0x47, 0xaa, 0xae, 0xc2, 0x09, 0x22, 0xec, 0xbc, 0x02, 0xd5, 0x51, 0xc0, + 0x54, 0xd8, 0x92, 0x5e, 0x55, 0xe1, 0x04, 0x31, 0xd9, 0x82, 0x0a, 0x25, 0x96, 0x13, 0xf8, 0xe3, + 0x33, 0xf1, 0x9f, 0x2b, 0x38, 0x19, 0xeb, 0x5f, 0x40, 0x59, 0x46, 0xcd, 0x2b, 0xe0, 0xdf, 0x06, + 0x64, 0xcb, 0x78, 0x17, 0x12, 0xea, 0xb9, 0x8c, 0xb9, 0x81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9, 0x4c, 0x2b, 0xb6, 0xda, 0xc6, 0x7a, 0xc6, 0x7d, 0xba, 0xfb, + 0x07, 0x12, 0x5e, 0x94, 0x78, 0x9f, 0xcc, 0x94, 0x78, 0xd9, 0xcb, 0x90, 0x5d, 0xc1, 0x24, 0x81, + 0x14, 0x82, 0xfe, 0xa7, 0x02, 0x54, 0x62, 0x74, 0x51, 0xc2, 0x9f, 0xb1, 0x88, 0x78, 0xa6, 0x17, + 0x87, 0xb0, 0x1c, 0x06, 0x49, 0xda, 0xe5, 0x41, 0xec, 0x15, 0xa8, 0xf2, 0x9b, 0x82, 0x9c, 0xce, + 0x8b, 0xe9, 0x0a, 0x27, 0x88, 0xc9, 0x57, 0xa1, 0x16, 0x05, 0x91, 0x35, 0x36, 0x23, 0xd7, 0x3e, + 0x96, 0x49, 0x2e, 0x87, 0x41, 0x90, 0x06, 0x9c, 0x82, 0xde, 0x84, 0x6b, 0xd1, 0x88, 0x06, 0x51, + 0x34, 0xe6, 0x15, 0x9a, 0xa8, 0x49, 0x64, 0x09, 0x51, 0xc4, 0x5a, 0x32, 0x21, 0x6b, 0x15, 0xc6, + 0xa3, 0xf7, 0x74, 0x31, 0x77, 0x5d, 0x11, 0x44, 0x8a, 0x78, 0x25, 0xa1, 0x72, 0xd7, 0x46, 0x4d, + 0x58, 0x0e, 0x09, 0xb5, 0x89, 0x2f, 0x63, 0x45, 0x0e, 0xc7, 0x43, 0x64, 0xc2, 0xaa, 0x47, 0x2c, + 0x36, 0xa1, 0xc4, 0x31, 0x8f, 0x5c, 0x32, 0x76, 0xe4, 0x95, 0xa9, 0x91, 0xb9, 0x9e, 0x8d, 0xd5, + 0xd2, 0x7e, 0x20, 0xb8, 0x71, 0x23, 0x86, 0x93, 0x63, 0x5e, 0x1f, 0xc8, 0x2f, 0xb4, 0x0a, 0xb5, + 0xfe, 0x93, 0xfe, 0xc0, 0xd8, 0x35, 0x77, 0xf7, 0x36, 0x0d, 0xf5, 0x46, 0xde, 0x37, 0x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/plugins/drivers/proto/driver.proto b/plugins/drivers/proto/driver.proto index da0b75db4..b40f909ec 100644 --- a/plugins/drivers/proto/driver.proto +++ b/plugins/drivers/proto/driver.proto @@ -7,6 +7,12 @@ import "google/protobuf/timestamp.proto"; import "github.com/hashicorp/nomad/plugins/shared/hclspec/hcl_spec.proto"; +// RecoverableError is used with a grpc Status to indicate if the error is one +// which is recoverable and can be reattempted by the client. +message RecoverableError { + bool recoverable = 1; +} + // Driver service defines RPCs used to communicate with a nomad runtime driver. // Some rpcs may not be implemented by the driver based on it's capabilities. service Driver { diff --git a/plugins/drivers/server.go b/plugins/drivers/server.go index bbe73e73d..b9156298e 100644 --- a/plugins/drivers/server.go +++ b/plugins/drivers/server.go @@ -4,10 +4,14 @@ import ( "fmt" "io" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + "github.com/golang/protobuf/ptypes" hclog "github.com/hashicorp/go-hclog" plugin "github.com/hashicorp/go-plugin" cstructs "github.com/hashicorp/nomad/client/structs" + "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/plugins/drivers/proto" context "golang.org/x/net/context" ) @@ -96,6 +100,15 @@ func (b *driverPluginServer) RecoverTask(ctx context.Context, req *proto.Recover func (b *driverPluginServer) StartTask(ctx context.Context, req *proto.StartTaskRequest) (*proto.StartTaskResponse, error) { handle, net, err := b.impl.StartTask(taskConfigFromProto(req.Task)) if err != nil { + if rec, ok := err.(structs.Recoverable); ok { + st := status.New(codes.FailedPrecondition, rec.Error()) + st, err := st.WithDetails(&proto.RecoverableError{Recoverable: rec.IsRecoverable()}) + if err != nil { + // If this error, it will always error + panic(err) + } + return nil, st.Err() + } return nil, err }