From e5a6fc9271202610b379ea8d3577738aef297e09 Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Sun, 13 Jan 2019 16:05:07 -0500 Subject: [PATCH 1/9] executor: add pre 0.9 client and wrapper --- drivers/shared/executor/legacy/client.go | 110 ++++ .../executor/legacy_executor_wrapper.go | 103 ++++ drivers/shared/executor/plugins.go | 15 + plugins/base/plugin.go | 1 - plugins/drivers/proto/driver.pb.go | 508 +++++++++--------- plugins/drivers/proto/driver.proto | 9 +- plugins/drivers/task_handle.go | 12 +- plugins/drivers/utils.go | 2 + 8 files changed, 497 insertions(+), 263 deletions(-) create mode 100644 drivers/shared/executor/legacy/client.go create mode 100644 drivers/shared/executor/legacy_executor_wrapper.go diff --git a/drivers/shared/executor/legacy/client.go b/drivers/shared/executor/legacy/client.go new file mode 100644 index 000000000..5ec1b8bec --- /dev/null +++ b/drivers/shared/executor/legacy/client.go @@ -0,0 +1,110 @@ +package legacy + +import ( + "encoding/gob" + "net/rpc" + "os" + "syscall" + "time" + + hclog "github.com/hashicorp/go-hclog" + "github.com/hashicorp/go-plugin" + cstructs "github.com/hashicorp/nomad/client/structs" +) + +// Registering these types since we have to serialize and de-serialize the Task +// structs over the wire between drivers and the executor. +func init() { + gob.Register([]interface{}{}) + gob.Register(map[string]interface{}{}) + gob.Register([]map[string]string{}) + gob.Register([]map[string]int{}) + gob.Register(syscall.Signal(0x1)) +} + +type ExecutorRPC struct { + client *rpc.Client + logger hclog.Logger +} + +type ProcessState struct { + Pid int + ExitCode int + Signal int + Time time.Time +} + +type ExecutorVersion struct { + Version string +} + +type ExecCmdArgs struct { + Deadline time.Time + Name string + Args []string +} + +type ExecCmdReturn struct { + Output []byte + Code int +} + +func (e *ExecutorRPC) Wait() (*ProcessState, error) { + var ps ProcessState + err := e.client.Call("Plugin.Wait", new(interface{}), &ps) + return &ps, err +} + +func (e *ExecutorRPC) ShutDown() error { + return e.client.Call("Plugin.ShutDown", new(interface{}), new(interface{})) +} + +func (e *ExecutorRPC) Exit() error { + return e.client.Call("Plugin.Exit", new(interface{}), new(interface{})) +} + +func (e *ExecutorRPC) Version() (*ExecutorVersion, error) { + var version ExecutorVersion + err := e.client.Call("Plugin.Version", new(interface{}), &version) + return &version, err +} + +func (e *ExecutorRPC) Stats() (*cstructs.TaskResourceUsage, error) { + var resourceUsage cstructs.TaskResourceUsage + err := e.client.Call("Plugin.Stats", new(interface{}), &resourceUsage) + return &resourceUsage, err +} + +func (e *ExecutorRPC) Signal(s os.Signal) error { + return e.client.Call("Plugin.Signal", &s, new(interface{})) +} + +func (e *ExecutorRPC) Exec(deadline time.Time, name string, args []string) ([]byte, int, error) { + req := ExecCmdArgs{ + Deadline: deadline, + Name: name, + Args: args, + } + var resp *ExecCmdReturn + err := e.client.Call("Plugin.Exec", req, &resp) + if resp == nil { + return nil, 0, err + } + return resp.Output, resp.Code, err +} + +type ExecutorPlugin struct { + logger hclog.Logger +} + +func NewExecutorPlugin(logger hclog.Logger) plugin.Plugin { + return &ExecutorPlugin{logger: logger} +} + +func (p *ExecutorPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error) { + return &ExecutorRPC{client: c, logger: p.logger}, nil +} + +func (p *ExecutorPlugin) Server(*plugin.MuxBroker) (interface{}, error) { + panic("client only supported") +} diff --git a/drivers/shared/executor/legacy_executor_wrapper.go b/drivers/shared/executor/legacy_executor_wrapper.go new file mode 100644 index 000000000..b4f773693 --- /dev/null +++ b/drivers/shared/executor/legacy_executor_wrapper.go @@ -0,0 +1,103 @@ +package executor + +import ( + "os" + "time" + + hclog "github.com/hashicorp/go-hclog" + cstructs "github.com/hashicorp/nomad/client/structs" + "github.com/hashicorp/nomad/drivers/shared/executor/legacy" + "github.com/hashicorp/nomad/plugins/drivers" + "golang.org/x/net/context" +) + +type legacyExecutorWrapper struct { + client *legacy.ExecutorRPC + logger hclog.Logger +} + +func (l *legacyExecutorWrapper) Launch(launchCmd *ExecCommand) (*ProcessState, error) { + panic("not implemented") +} + +func (l *legacyExecutorWrapper) Wait(ctx context.Context) (*ProcessState, error) { + ps, err := l.client.Wait() + if err != nil { + return nil, err + } + + return &ProcessState{ + Pid: ps.Pid, + ExitCode: ps.ExitCode, + Signal: ps.Signal, + Time: ps.Time, + }, nil +} + +func (l *legacyExecutorWrapper) Shutdown(signal string, gracePeriod time.Duration) error { + if err := l.client.ShutDown(); err != nil { + return err + } + + if err := l.client.Exit(); err != nil { + return err + } + return nil +} + +func (l *legacyExecutorWrapper) UpdateResources(*drivers.Resources) error { + panic("not implemented") +} + +func (l *legacyExecutorWrapper) Version() (*ExecutorVersion, error) { + v, err := l.client.Version() + if err != nil { + return nil, err + } + + return &ExecutorVersion{ + Version: v.Version, + }, nil +} + +func (l *legacyExecutorWrapper) Stats(ctx context.Context, interval time.Duration) (<-chan *cstructs.TaskResourceUsage, error) { + ch := make(chan *cstructs.TaskResourceUsage, 1) + stats, err := l.client.Stats() + if err != nil { + close(ch) + return nil, err + } + select { + case ch <- stats: + default: + } + go l.handleStats(ctx, interval, ch) + return ch, nil +} + +func (l *legacyExecutorWrapper) handleStats(ctx context.Context, interval time.Duration, ch chan *cstructs.TaskResourceUsage) { + defer close(ch) + ticker := time.NewTicker(interval) + for range ticker.C { + stats, err := l.client.Stats() + if err != nil { + l.logger.Warn("stats collection from legacy executor failed, waiting for next interval", "error", err) + continue + } + if stats != nil { + select { + case ch <- stats: + default: + } + } + + } +} + +func (l *legacyExecutorWrapper) Signal(s os.Signal) error { + return l.client.Signal(s) +} + +func (l *legacyExecutorWrapper) Exec(deadline time.Time, cmd string, args []string) ([]byte, int, error) { + return l.client.Exec(deadline, cmd, args) +} diff --git a/drivers/shared/executor/plugins.go b/drivers/shared/executor/plugins.go index 0e3b977e9..f1f68570d 100644 --- a/drivers/shared/executor/plugins.go +++ b/drivers/shared/executor/plugins.go @@ -5,6 +5,7 @@ import ( hclog "github.com/hashicorp/go-hclog" plugin "github.com/hashicorp/go-plugin" + "github.com/hashicorp/nomad/drivers/shared/executor/legacy" ) // ExecutorConfig is the config that Nomad passes to the executor @@ -30,6 +31,20 @@ func GetPluginMap(logger hclog.Logger, fsIsolation bool) map[string]plugin.Plugi } } +func GetVersionedPluginMap(logger hclog.Logger, fsIsolation bool) map[int]map[string]plugin.Plugin { + return map[int]map[string]plugin.Plugin{ + 1: { + "executor": legacy.NewExecutorPlugin(logger), + }, + 2: { + "executor": ExecutorPlugin{ + logger: logger, + fsIsolation: fsIsolation, + }, + }, + } +} + // ExecutorReattachConfig is the config that we serialize and de-serialize and // store in disk type PluginReattachConfig struct { diff --git a/plugins/base/plugin.go b/plugins/base/plugin.go index f511a3d45..08fa6e753 100644 --- a/plugins/base/plugin.go +++ b/plugins/base/plugin.go @@ -25,7 +25,6 @@ const ( var ( // Handshake is a common handshake that is shared by all plugins and Nomad. Handshake = plugin.HandshakeConfig{ - ProtocolVersion: 1, MagicCookieKey: "NOMAD_PLUGIN_MAGIC_COOKIE", MagicCookieValue: "e4327c2e01eabfd75a8a67adb114fb34a757d57eee7728d857a8cec6e91a7255", } diff --git a/plugins/drivers/proto/driver.pb.go b/plugins/drivers/proto/driver.pb.go index f8aaec484..cd1c253c6 100644 --- a/plugins/drivers/proto/driver.pb.go +++ b/plugins/drivers/proto/driver.pb.go @@ -50,7 +50,7 @@ func (x TaskState) String() string { return proto.EnumName(TaskState_name, int32(x)) } func (TaskState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{0} + return fileDescriptor_driver_c5667ca6005812fb, []int{0} } type FingerprintResponse_HealthState int32 @@ -76,7 +76,7 @@ func (x FingerprintResponse_HealthState) String() string { return proto.EnumName(FingerprintResponse_HealthState_name, int32(x)) } func (FingerprintResponse_HealthState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{5, 0} + return fileDescriptor_driver_c5667ca6005812fb, []int{5, 0} } type StartTaskResponse_Result int32 @@ -102,7 +102,7 @@ func (x StartTaskResponse_Result) String() string { return proto.EnumName(StartTaskResponse_Result_name, int32(x)) } func (StartTaskResponse_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{9, 0} + return fileDescriptor_driver_c5667ca6005812fb, []int{9, 0} } type DriverCapabilities_FSIsolation int32 @@ -128,7 +128,7 @@ func (x DriverCapabilities_FSIsolation) String() string { return proto.EnumName(DriverCapabilities_FSIsolation_name, int32(x)) } func (DriverCapabilities_FSIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{25, 0} + return fileDescriptor_driver_c5667ca6005812fb, []int{25, 0} } type CPUUsage_Fields int32 @@ -163,7 +163,7 @@ func (x CPUUsage_Fields) String() string { return proto.EnumName(CPUUsage_Fields_name, int32(x)) } func (CPUUsage_Fields) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{43, 0} + return fileDescriptor_driver_c5667ca6005812fb, []int{43, 0} } type MemoryUsage_Fields int32 @@ -174,7 +174,6 @@ const ( MemoryUsage_MAX_USAGE MemoryUsage_Fields = 2 MemoryUsage_KERNEL_USAGE MemoryUsage_Fields = 3 MemoryUsage_KERNEL_MAX_USAGE MemoryUsage_Fields = 4 - MemoryUsage_USAGE MemoryUsage_Fields = 5 ) var MemoryUsage_Fields_name = map[int32]string{ @@ -183,7 +182,6 @@ var MemoryUsage_Fields_name = map[int32]string{ 2: "MAX_USAGE", 3: "KERNEL_USAGE", 4: "KERNEL_MAX_USAGE", - 5: "USAGE", } var MemoryUsage_Fields_value = map[string]int32{ "RSS": 0, @@ -191,14 +189,13 @@ var MemoryUsage_Fields_value = map[string]int32{ "MAX_USAGE": 2, "KERNEL_USAGE": 3, "KERNEL_MAX_USAGE": 4, - "USAGE": 5, } func (x MemoryUsage_Fields) String() string { return proto.EnumName(MemoryUsage_Fields_name, int32(x)) } func (MemoryUsage_Fields) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{44, 0} + return fileDescriptor_driver_c5667ca6005812fb, []int{44, 0} } type TaskConfigSchemaRequest struct { @@ -211,7 +208,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_c4182101cb9dea81, []int{0} + return fileDescriptor_driver_c5667ca6005812fb, []int{0} } func (m *TaskConfigSchemaRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfigSchemaRequest.Unmarshal(m, b) @@ -243,7 +240,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_c4182101cb9dea81, []int{1} + return fileDescriptor_driver_c5667ca6005812fb, []int{1} } func (m *TaskConfigSchemaResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfigSchemaResponse.Unmarshal(m, b) @@ -280,7 +277,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_c4182101cb9dea81, []int{2} + return fileDescriptor_driver_c5667ca6005812fb, []int{2} } func (m *CapabilitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CapabilitiesRequest.Unmarshal(m, b) @@ -315,7 +312,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_c4182101cb9dea81, []int{3} + return fileDescriptor_driver_c5667ca6005812fb, []int{3} } func (m *CapabilitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CapabilitiesResponse.Unmarshal(m, b) @@ -352,7 +349,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_c4182101cb9dea81, []int{4} + return fileDescriptor_driver_c5667ca6005812fb, []int{4} } func (m *FingerprintRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FingerprintRequest.Unmarshal(m, b) @@ -395,7 +392,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_c4182101cb9dea81, []int{5} + return fileDescriptor_driver_c5667ca6005812fb, []int{5} } func (m *FingerprintResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FingerprintResponse.Unmarshal(m, b) @@ -450,7 +447,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_c4182101cb9dea81, []int{6} + return fileDescriptor_driver_c5667ca6005812fb, []int{6} } func (m *RecoverTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecoverTaskRequest.Unmarshal(m, b) @@ -494,7 +491,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_c4182101cb9dea81, []int{7} + return fileDescriptor_driver_c5667ca6005812fb, []int{7} } func (m *RecoverTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecoverTaskResponse.Unmarshal(m, b) @@ -526,7 +523,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_c4182101cb9dea81, []int{8} + return fileDescriptor_driver_c5667ca6005812fb, []int{8} } func (m *StartTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartTaskRequest.Unmarshal(m, b) @@ -580,7 +577,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_c4182101cb9dea81, []int{9} + return fileDescriptor_driver_c5667ca6005812fb, []int{9} } func (m *StartTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartTaskResponse.Unmarshal(m, b) @@ -640,7 +637,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_c4182101cb9dea81, []int{10} + return fileDescriptor_driver_c5667ca6005812fb, []int{10} } func (m *WaitTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WaitTaskRequest.Unmarshal(m, b) @@ -681,7 +678,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_c4182101cb9dea81, []int{11} + return fileDescriptor_driver_c5667ca6005812fb, []int{11} } func (m *WaitTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WaitTaskResponse.Unmarshal(m, b) @@ -733,7 +730,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_c4182101cb9dea81, []int{12} + return fileDescriptor_driver_c5667ca6005812fb, []int{12} } func (m *StopTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopTaskRequest.Unmarshal(m, b) @@ -784,7 +781,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_c4182101cb9dea81, []int{13} + return fileDescriptor_driver_c5667ca6005812fb, []int{13} } func (m *StopTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopTaskResponse.Unmarshal(m, b) @@ -818,7 +815,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_c4182101cb9dea81, []int{14} + return fileDescriptor_driver_c5667ca6005812fb, []int{14} } func (m *DestroyTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DestroyTaskRequest.Unmarshal(m, b) @@ -862,7 +859,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_c4182101cb9dea81, []int{15} + return fileDescriptor_driver_c5667ca6005812fb, []int{15} } func (m *DestroyTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DestroyTaskResponse.Unmarshal(m, b) @@ -894,7 +891,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_c4182101cb9dea81, []int{16} + return fileDescriptor_driver_c5667ca6005812fb, []int{16} } func (m *InspectTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InspectTaskRequest.Unmarshal(m, b) @@ -937,7 +934,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_c4182101cb9dea81, []int{17} + return fileDescriptor_driver_c5667ca6005812fb, []int{17} } func (m *InspectTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InspectTaskResponse.Unmarshal(m, b) @@ -992,7 +989,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_c4182101cb9dea81, []int{18} + return fileDescriptor_driver_c5667ca6005812fb, []int{18} } func (m *TaskStatsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatsRequest.Unmarshal(m, b) @@ -1038,7 +1035,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_c4182101cb9dea81, []int{19} + return fileDescriptor_driver_c5667ca6005812fb, []int{19} } func (m *TaskStatsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatsResponse.Unmarshal(m, b) @@ -1075,7 +1072,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_c4182101cb9dea81, []int{20} + return fileDescriptor_driver_c5667ca6005812fb, []int{20} } func (m *TaskEventsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskEventsRequest.Unmarshal(m, b) @@ -1109,7 +1106,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_c4182101cb9dea81, []int{21} + return fileDescriptor_driver_c5667ca6005812fb, []int{21} } func (m *SignalTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignalTaskRequest.Unmarshal(m, b) @@ -1153,7 +1150,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_c4182101cb9dea81, []int{22} + return fileDescriptor_driver_c5667ca6005812fb, []int{22} } func (m *SignalTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignalTaskResponse.Unmarshal(m, b) @@ -1190,7 +1187,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_c4182101cb9dea81, []int{23} + return fileDescriptor_driver_c5667ca6005812fb, []int{23} } func (m *ExecTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecTaskRequest.Unmarshal(m, b) @@ -1247,7 +1244,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_c4182101cb9dea81, []int{24} + return fileDescriptor_driver_c5667ca6005812fb, []int{24} } func (m *ExecTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecTaskResponse.Unmarshal(m, b) @@ -1306,7 +1303,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_c4182101cb9dea81, []int{25} + return fileDescriptor_driver_c5667ca6005812fb, []int{25} } func (m *DriverCapabilities) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DriverCapabilities.Unmarshal(m, b) @@ -1392,7 +1389,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_c4182101cb9dea81, []int{26} + return fileDescriptor_driver_c5667ca6005812fb, []int{26} } func (m *TaskConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfig.Unmarshal(m, b) @@ -1531,7 +1528,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_c4182101cb9dea81, []int{27} + return fileDescriptor_driver_c5667ca6005812fb, []int{27} } func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) @@ -1578,7 +1575,7 @@ func (m *AllocatedTaskResources) Reset() { *m = AllocatedTaskResources{} func (m *AllocatedTaskResources) String() string { return proto.CompactTextString(m) } func (*AllocatedTaskResources) ProtoMessage() {} func (*AllocatedTaskResources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{28} + return fileDescriptor_driver_c5667ca6005812fb, []int{28} } func (m *AllocatedTaskResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocatedTaskResources.Unmarshal(m, b) @@ -1630,7 +1627,7 @@ func (m *AllocatedCpuResources) Reset() { *m = AllocatedCpuResources{} } func (m *AllocatedCpuResources) String() string { return proto.CompactTextString(m) } func (*AllocatedCpuResources) ProtoMessage() {} func (*AllocatedCpuResources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{29} + return fileDescriptor_driver_c5667ca6005812fb, []int{29} } func (m *AllocatedCpuResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocatedCpuResources.Unmarshal(m, b) @@ -1668,7 +1665,7 @@ func (m *AllocatedMemoryResources) Reset() { *m = AllocatedMemoryResourc func (m *AllocatedMemoryResources) String() string { return proto.CompactTextString(m) } func (*AllocatedMemoryResources) ProtoMessage() {} func (*AllocatedMemoryResources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_c4182101cb9dea81, []int{30} + return fileDescriptor_driver_c5667ca6005812fb, []int{30} } func (m *AllocatedMemoryResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocatedMemoryResources.Unmarshal(m, b) @@ -1711,7 +1708,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_c4182101cb9dea81, []int{31} + return fileDescriptor_driver_c5667ca6005812fb, []int{31} } func (m *NetworkResource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkResource.Unmarshal(m, b) @@ -1785,7 +1782,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_c4182101cb9dea81, []int{32} + return fileDescriptor_driver_c5667ca6005812fb, []int{32} } func (m *NetworkPort) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPort.Unmarshal(m, b) @@ -1845,7 +1842,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_c4182101cb9dea81, []int{33} + return fileDescriptor_driver_c5667ca6005812fb, []int{33} } func (m *LinuxResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LinuxResources.Unmarshal(m, b) @@ -1937,7 +1934,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_c4182101cb9dea81, []int{34} + return fileDescriptor_driver_c5667ca6005812fb, []int{34} } func (m *Mount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mount.Unmarshal(m, b) @@ -2000,7 +1997,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_c4182101cb9dea81, []int{35} + return fileDescriptor_driver_c5667ca6005812fb, []int{35} } func (m *Device) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Device.Unmarshal(m, b) @@ -2043,12 +2040,14 @@ func (m *Device) GetCgroupPermissions() string { // TaskHandle is created when starting a task and is used to recover task type TaskHandle struct { + // Version is used by the driver to version the DriverState schema + Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Config is the TaskConfig for the task - Config *TaskConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` + Config *TaskConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // State is the state of the task's execution - State TaskState `protobuf:"varint,2,opt,name=state,proto3,enum=hashicorp.nomad.plugins.drivers.proto.TaskState" json:"state,omitempty"` + State TaskState `protobuf:"varint,3,opt,name=state,proto3,enum=hashicorp.nomad.plugins.drivers.proto.TaskState" json:"state,omitempty"` // DriverState is the encoded state for the specific driver - DriverState []byte `protobuf:"bytes,3,opt,name=driver_state,json=driverState,proto3" json:"driver_state,omitempty"` + DriverState []byte `protobuf:"bytes,4,opt,name=driver_state,json=driverState,proto3" json:"driver_state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -2058,7 +2057,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_c4182101cb9dea81, []int{36} + return fileDescriptor_driver_c5667ca6005812fb, []int{36} } func (m *TaskHandle) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskHandle.Unmarshal(m, b) @@ -2078,6 +2077,13 @@ func (m *TaskHandle) XXX_DiscardUnknown() { var xxx_messageInfo_TaskHandle proto.InternalMessageInfo +func (m *TaskHandle) GetVersion() int32 { + if m != nil { + return m.Version + } + return 0 +} + func (m *TaskHandle) GetConfig() *TaskConfig { if m != nil { return m.Config @@ -2118,7 +2124,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_c4182101cb9dea81, []int{37} + return fileDescriptor_driver_c5667ca6005812fb, []int{37} } func (m *NetworkOverride) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkOverride.Unmarshal(m, b) @@ -2176,7 +2182,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_c4182101cb9dea81, []int{38} + return fileDescriptor_driver_c5667ca6005812fb, []int{38} } func (m *ExitResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExitResult.Unmarshal(m, b) @@ -2239,7 +2245,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_c4182101cb9dea81, []int{39} + return fileDescriptor_driver_c5667ca6005812fb, []int{39} } func (m *TaskStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatus.Unmarshal(m, b) @@ -2314,7 +2320,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_c4182101cb9dea81, []int{40} + return fileDescriptor_driver_c5667ca6005812fb, []int{40} } func (m *TaskDriverStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskDriverStatus.Unmarshal(m, b) @@ -2359,7 +2365,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_c4182101cb9dea81, []int{41} + return fileDescriptor_driver_c5667ca6005812fb, []int{41} } func (m *TaskStats) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStats.Unmarshal(m, b) @@ -2421,7 +2427,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_c4182101cb9dea81, []int{42} + return fileDescriptor_driver_c5667ca6005812fb, []int{42} } func (m *TaskResourceUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskResourceUsage.Unmarshal(m, b) @@ -2473,7 +2479,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_c4182101cb9dea81, []int{43} + return fileDescriptor_driver_c5667ca6005812fb, []int{43} } func (m *CPUUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CPUUsage.Unmarshal(m, b) @@ -2548,7 +2554,6 @@ type MemoryUsage struct { MaxUsage uint64 `protobuf:"varint,3,opt,name=max_usage,json=maxUsage,proto3" json:"max_usage,omitempty"` KernelUsage uint64 `protobuf:"varint,4,opt,name=kernel_usage,json=kernelUsage,proto3" json:"kernel_usage,omitempty"` KernelMaxUsage uint64 `protobuf:"varint,5,opt,name=kernel_max_usage,json=kernelMaxUsage,proto3" json:"kernel_max_usage,omitempty"` - Usage uint64 `protobuf:"varint,7,opt,name=usage,proto3" json:"usage,omitempty"` // MeasuredFields indicates which fields were actually sampled MeasuredFields []MemoryUsage_Fields `protobuf:"varint,6,rep,packed,name=measured_fields,json=measuredFields,proto3,enum=hashicorp.nomad.plugins.drivers.proto.MemoryUsage_Fields" json:"measured_fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -2560,7 +2565,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_c4182101cb9dea81, []int{44} + return fileDescriptor_driver_c5667ca6005812fb, []int{44} } func (m *MemoryUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MemoryUsage.Unmarshal(m, b) @@ -2615,13 +2620,6 @@ func (m *MemoryUsage) GetKernelMaxUsage() uint64 { return 0 } -func (m *MemoryUsage) GetUsage() uint64 { - if m != nil { - return m.Usage - } - return 0 -} - func (m *MemoryUsage) GetMeasuredFields() []MemoryUsage_Fields { if m != nil { return m.MeasuredFields @@ -2651,7 +2649,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_c4182101cb9dea81, []int{45} + return fileDescriptor_driver_c5667ca6005812fb, []int{45} } func (m *DriverTaskEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DriverTaskEvent.Unmarshal(m, b) @@ -3386,195 +3384,195 @@ var _Driver_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("plugins/drivers/proto/driver.proto", fileDescriptor_driver_c4182101cb9dea81) + proto.RegisterFile("plugins/drivers/proto/driver.proto", fileDescriptor_driver_c5667ca6005812fb) } -var fileDescriptor_driver_c4182101cb9dea81 = []byte{ - // 2968 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0x4b, 0x6f, 0x23, 0xc7, - 0xf1, 0x17, 0xdf, 0x64, 0x51, 0xa2, 0x66, 0x7b, 0xb5, 0x36, 0x4d, 0xe3, 0xff, 0xf7, 0x7a, 0x00, - 0x07, 0x82, 0xed, 0xa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, 0x68, 0x72, 0x66, 0xbe, 0xaa, 0x65, - 0x7c, 0x5d, 0x76, 0x4a, 0xa9, 0x05, 0xee, 0x2e, 0x14, 0x88, 0x7b, 0xda, 0x2c, 0xf2, 0xcc, 0xf1, - 0xfe, 0xdc, 0x21, 0xbf, 0xad, 0xb9, 0xa7, 0x22, 0x53, 0x64, 0x30, 0x48, 0x07, 0xb0, 0xc8, 0xa9, - 0x6d, 0x12, 0x9d, 0x81, 0x96, 0x38, 0xe8, 0xc7, 0xf3, 0x83, 0xf6, 0x38, 0x46, 0x02, 0x5d, 0xb3, - 0xe2, 0x36, 0xea, 0x43, 0x2d, 0x20, 0xa1, 0x17, 0x05, 0x26, 0x09, 0x9b, 0xe5, 0xb9, 0x4e, 0x31, - 0x8e, 0xf9, 0xf0, 0x14, 0x02, 0xf5, 0xa0, 0xec, 0x78, 0x91, 0x4b, 0xc3, 0x66, 0x85, 0x0b, 0xfb, - 0x76, 0x46, 0xb0, 0x3d, 0xc6, 0x84, 0x25, 0x2f, 0xda, 0x82, 0x8a, 0x10, 0x31, 0x6c, 0x56, 0x39, - 0xcc, 0xad, 0xac, 0x06, 0xc4, 0xb9, 0x70, 0xcc, 0xcd, 0xb4, 0x1a, 0x85, 0x24, 0x68, 0xd6, 0x84, - 0x56, 0xd9, 0x3f, 0x7a, 0x15, 0x6a, 0xc6, 0x64, 0xe2, 0x99, 0xba, 0x65, 0x07, 0x4d, 0xe0, 0x1d, - 0x55, 0x4e, 0xe8, 0xd9, 0x01, 0x7a, 0x0d, 0xea, 0xe2, 0xe8, 0xe9, 0xbe, 0x41, 0xc7, 0xcd, 0x3a, - 0xef, 0x06, 0x41, 0x3a, 0x30, 0xe8, 0x58, 0x0e, 0x20, 0x41, 0x20, 0x06, 0x2c, 0x27, 0x03, 0x48, - 0x10, 0xf0, 0x01, 0xdf, 0x81, 0x55, 0xee, 0x47, 0x46, 0x81, 0x17, 0xf9, 0x3a, 0xb7, 0xa9, 0x15, - 0x3e, 0x68, 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84, 0xf4, - 0xd3, 0x0b, 0x09, 0x69, 0xd6, 0x54, 0x45, 0xe4, 0x75, 0x02, 0x48, 0x22, 0xa8, 0x7f, 0x2c, 0x40, - 0x35, 0x46, 0xe7, 0xf7, 0xa4, 0xf3, 0x90, 0x12, 0x47, 0x77, 0x62, 0x17, 0x96, 0xc3, 0x20, 0x48, - 0x7b, 0xcc, 0x89, 0xbd, 0x0a, 0x35, 0x76, 0x1d, 0x13, 0xdd, 0x79, 0xde, 0x5d, 0x65, 0x04, 0xde, - 0xf9, 0x1a, 0xd4, 0xa9, 0x47, 0x8d, 0x89, 0x4e, 0x79, 0xc4, 0x2e, 0x08, 0x6e, 0x4e, 0xe2, 0xf1, - 0x1a, 0xbd, 0x05, 0xd7, 0xe8, 0x38, 0xf0, 0x28, 0x9d, 0xb0, 0x2c, 0x8e, 0xe7, 0x2d, 0x22, 0xcd, - 0x28, 0x62, 0x25, 0xe9, 0x10, 0xf9, 0x4c, 0xc8, 0xbc, 0xf7, 0x74, 0x30, 0x33, 0x5d, 0xee, 0x44, - 0x8a, 0x78, 0x25, 0xa1, 0x32, 0xd3, 0x46, 0x4d, 0xa8, 0xf8, 0x22, 0x27, 0xe0, 0xbe, 0x22, 0x87, - 0xe3, 0x26, 0xd2, 0x61, 0xd5, 0x21, 0x46, 0x18, 0x05, 0xc4, 0xd2, 0x8f, 0x6d, 0x32, 0xb1, 0xc4, - 0xf5, 0xb6, 0x91, 0x39, 0xc9, 0x8e, 0xb7, 0xa5, 0xfd, 0x80, 0x73, 0xe3, 0x46, 0x0c, 0x27, 0xda, - 0x2c, 0x3f, 0x10, 0x7f, 0x68, 0x15, 0xea, 0x83, 0xc7, 0x83, 0xa1, 0xb6, 0xa7, 0xef, 0xed, 0xf7, - 0x34, 0x59, 0x05, 0x19, 0x68, 0x58, 0x34, 0x73, 0xac, 0x7f, 0xb8, 0x3f, 0xec, 0xec, 0xea, 0xc3, - 0x9d, 0xee, 0xc3, 0x81, 0x92, 0x47, 0x37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0xef, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, - 0xe1, 0x95, 0x71, 0x38, 0x3f, 0x27, 0x00, 0x00, +var fileDescriptor_driver_c5667ca6005812fb = []byte{ + // 2962 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0xdd, 0x6f, 0xe3, 0xc6, + 0x11, 0x37, 0xf5, 0x65, 0x69, 0x64, 0xcb, 0xbc, 0xbd, 0xbb, 0x44, 0x51, 0xd0, 0xe6, 0x42, 0x20, + 0x85, 0x91, 0xe4, 0xe4, 0xc4, 0x41, 0xef, 0xab, 0xf9, 0x52, 0x24, 0x9e, 0xed, 0x9c, 0x2d, 0xbb, + 0x2b, 0x19, 0x97, 0x6b, 0x9b, 0xb0, 0x34, 0xb9, 0x27, 0xf1, 0x2c, 0x7e, 0x84, 0x5c, 0x3a, 0x36, + 0x8a, 0xa2, 0x45, 0x0a, 0x14, 0xed, 0x43, 0x81, 0xbe, 0x04, 0x7d, 0x6f, 0x1f, 0xfb, 0x17, 0xb4, + 0x45, 0xfe, 0x8f, 0x02, 0xed, 0x4b, 0x0b, 0x14, 0xe8, 0x6b, 0xff, 0x83, 0x62, 0x3f, 0x48, 0x51, + 0xb6, 0x2f, 0x47, 0xe9, 0xf2, 0x24, 0xed, 0xec, 0xce, 0x6f, 0x87, 0x33, 0xb3, 0x33, 0xb3, 0x3b, + 0xa0, 0x05, 0x93, 0x78, 0xe4, 0x78, 0xd1, 0x86, 0x1d, 0x3a, 0x27, 0x24, 0x8c, 0x36, 0x82, 0xd0, + 0xa7, 0xbe, 0x1c, 0xb5, 0xf9, 0x00, 0xbd, 0x36, 0x36, 0xa3, 0xb1, 0x63, 0xf9, 0x61, 0xd0, 0xf6, + 0x7c, 0xd7, 0xb4, 0xdb, 0x92, 0xa7, 0x2d, 0x79, 0xc4, 0xb2, 0xd6, 0x77, 0x47, 0xbe, 0x3f, 0x9a, + 0x10, 0x81, 0x70, 0x14, 0x3f, 0xde, 0xb0, 0xe3, 0xd0, 0xa4, 0x8e, 0xef, 0xc9, 0xf9, 0x57, 0xce, + 0xcf, 0x53, 0xc7, 0x25, 0x11, 0x35, 0xdd, 0x40, 0x2e, 0xf8, 0x70, 0xe4, 0xd0, 0x71, 0x7c, 0xd4, + 0xb6, 0x7c, 0x77, 0x23, 0xdd, 0x72, 0x83, 0x6f, 0xb9, 0x91, 0x88, 0x19, 0x8d, 0xcd, 0x90, 0xd8, + 0x1b, 0x63, 0x6b, 0x12, 0x05, 0xc4, 0x62, 0xbf, 0x06, 0xfb, 0x23, 0x11, 0xb6, 0xf2, 0x23, 0x44, + 0x34, 0x8c, 0x2d, 0x9a, 0x7c, 0xaf, 0x49, 0x69, 0xe8, 0x1c, 0xc5, 0x94, 0x08, 0x20, 0xed, 0x25, + 0x78, 0x71, 0x68, 0x46, 0xc7, 0x5d, 0xdf, 0x7b, 0xec, 0x8c, 0x06, 0xd6, 0x98, 0xb8, 0x26, 0x26, + 0x9f, 0xc7, 0x24, 0xa2, 0xda, 0x4f, 0xa0, 0x79, 0x71, 0x2a, 0x0a, 0x7c, 0x2f, 0x22, 0xe8, 0x43, + 0x28, 0x31, 0x69, 0x9a, 0xca, 0x0d, 0x65, 0xbd, 0xbe, 0xf9, 0x66, 0xfb, 0x69, 0x8a, 0x13, 0x32, + 0xb4, 0xe5, 0x57, 0xb4, 0x07, 0x01, 0xb1, 0x30, 0xe7, 0xd4, 0xae, 0xc3, 0xd5, 0xae, 0x19, 0x98, + 0x47, 0xce, 0xc4, 0xa1, 0x0e, 0x89, 0x92, 0x4d, 0x63, 0xb8, 0x36, 0x4b, 0x96, 0x1b, 0x7e, 0x0a, + 0x2b, 0x56, 0x86, 0x2e, 0x37, 0xbe, 0xdb, 0xce, 0x65, 0xb1, 0x76, 0x8f, 0x8f, 0x66, 0x80, 0x67, + 0xe0, 0xb4, 0x6b, 0x80, 0xee, 0x3b, 0xde, 0x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 0x1f, 0x8a, 0x56, + 0x10, 0xcb, 0x4f, 0x7b, 0x77, 0xde, 0x4f, 0xeb, 0x06, 0xf1, 0x74, 0x57, 0x06, 0xc4, 0x8a, 0x76, + 0x97, 0xb8, 0x7e, 0x78, 0x26, 0xbf, 0xe0, 0x83, 0x79, 0x21, 0xf7, 0x38, 0xf7, 0x14, 0x55, 0xc2, + 0x21, 0x0c, 0x55, 0x99, 0xfa, 0x23, 0x19, 0x26, 0xe6, 0x2c, 0x21, 0x12, 0x48, 0x9c, 0xe2, 0x68, + 0xb7, 0xe0, 0xfa, 0xa5, 0x9f, 0x82, 0xbe, 0x03, 0x60, 0x05, 0xb1, 0xc1, 0xaf, 0x78, 0xc2, 0xee, + 0x45, 0x5c, 0xb3, 0x82, 0x78, 0xc0, 0x09, 0xda, 0x6d, 0x68, 0x3e, 0x4d, 0x5e, 0x76, 0xf8, 0x84, + 0xc4, 0x86, 0x7b, 0x94, 0xd4, 0x18, 0x82, 0xb0, 0x77, 0xa4, 0xfd, 0xa1, 0x00, 0x6b, 0xe7, 0xc4, + 0x61, 0x19, 0x50, 0x1c, 0xe6, 0x24, 0x2b, 0x8b, 0x11, 0x3b, 0xd9, 0x96, 0x63, 0x27, 0x65, 0x31, + 0xff, 0xcf, 0x63, 0x7a, 0x20, 0x4b, 0xd6, 0x82, 0x13, 0x30, 0x87, 0x76, 0x8f, 0x1c, 0x1a, 0xf1, + 0x9b, 0x44, 0x19, 0x8b, 0x01, 0x7a, 0x04, 0x8d, 0x90, 0x44, 0x24, 0x3c, 0x21, 0xb6, 0x11, 0xf8, + 0x21, 0x4d, 0x14, 0xb6, 0x39, 0x9f, 0xc2, 0x0e, 0xfc, 0x90, 0xe2, 0xd5, 0x04, 0x89, 0x8d, 0x22, + 0xf4, 0x10, 0x56, 0xed, 0x33, 0xcf, 0x74, 0x1d, 0x4b, 0x22, 0x57, 0x16, 0x46, 0x5e, 0x91, 0x40, + 0x1c, 0x98, 0xdd, 0x94, 0x33, 0x93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 0xe8, 0xed, 0xa1, 0x79, 0xc0, 0x66, 0xda, + 0x81, 0xad, 0x5b, 0x8b, 0x25, 0x1b, 0x2e, 0xc4, 0xaf, 0x14, 0x80, 0x69, 0x17, 0x30, 0xb7, 0x10, + 0x17, 0xda, 0x8f, 0xad, 0xbb, 0x0b, 0x70, 0x66, 0x0f, 0x48, 0xd2, 0xf8, 0xcb, 0x7d, 0x40, 0xce, + 0x75, 0x29, 0x73, 0x1f, 0x90, 0xf3, 0x1d, 0x46, 0x6d, 0xe9, 0xa3, 0xe5, 0x1f, 0x95, 0x45, 0xf6, + 0xaf, 0xf0, 0x9f, 0x77, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x6e, 0xa6, 0xcf, 0xe1, 0x38, 0x27, + 0x00, 0x00, } diff --git a/plugins/drivers/proto/driver.proto b/plugins/drivers/proto/driver.proto index 0bb77ce12..245e95c50 100644 --- a/plugins/drivers/proto/driver.proto +++ b/plugins/drivers/proto/driver.proto @@ -448,14 +448,17 @@ enum TaskState { // TaskHandle is created when starting a task and is used to recover task message TaskHandle { + // Version is used by the driver to version the DriverState schema + int32 version = 1; + // Config is the TaskConfig for the task - TaskConfig config = 1; + TaskConfig config = 2; // State is the state of the task's execution - TaskState state = 2; + TaskState state = 3; // DriverState is the encoded state for the specific driver - bytes driver_state = 3; + bytes driver_state = 4; } // NetworkOverride contains network settings which the driver may override diff --git a/plugins/drivers/task_handle.go b/plugins/drivers/task_handle.go index ea538c577..0f9811abf 100644 --- a/plugins/drivers/task_handle.go +++ b/plugins/drivers/task_handle.go @@ -8,14 +8,18 @@ import ( // It is returned to the client after starting the task and used // for recovery of tasks during a driver restart. type TaskHandle struct { - Driver string + // Version is set by the driver an allows it to handle upgrading from + // an older DriverState struct. Prior to 0.9 the only state stored for + // driver was the reattach config for the executor. To allow upgrading to + // 0.9, Version 0 is handled as if it is the json encoded reattach config. + Version int Config *TaskConfig State TaskState DriverState []byte } -func NewTaskHandle(driver string) *TaskHandle { - return &TaskHandle{Driver: driver} +func NewTaskHandle(version int) *TaskHandle { + return &TaskHandle{Version: version} } func (h *TaskHandle) SetDriverState(v interface{}) error { @@ -34,7 +38,7 @@ func (h *TaskHandle) Copy() *TaskHandle { } handle := new(TaskHandle) - handle.Driver = h.Driver + handle.Version = h.Version handle.Config = h.Config.Copy() handle.State = h.State handle.DriverState = make([]byte, len(h.DriverState)) diff --git a/plugins/drivers/utils.go b/plugins/drivers/utils.go index 85b14c218..8eb254e5e 100644 --- a/plugins/drivers/utils.go +++ b/plugins/drivers/utils.go @@ -307,6 +307,7 @@ func taskHandleFromProto(pb *proto.TaskHandle) *TaskHandle { return &TaskHandle{} } return &TaskHandle{ + Version: int(pb.Version), Config: taskConfigFromProto(pb.Config), State: taskStateFromProtoMap[pb.State], DriverState: pb.DriverState, @@ -315,6 +316,7 @@ func taskHandleFromProto(pb *proto.TaskHandle) *TaskHandle { func taskHandleToProto(handle *TaskHandle) *proto.TaskHandle { return &proto.TaskHandle{ + Version: int32(handle.Version), Config: taskConfigToProto(handle.Config), State: taskStateToProtoMap[handle.State], DriverState: handle.DriverState, From 05bd369d1fcdf43479f2aa9794efec69795d750c Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Mon, 14 Jan 2019 12:25:59 -0500 Subject: [PATCH 2/9] driver: add pre09 migration logic --- client/allocdir/alloc_dir.go | 5 + client/allocdir/task_dir_linux.go | 36 ++++++ client/allocdir/task_dir_nonlinux.go | 8 ++ client/state/08types.go | 48 +++++++- client/state/upgrade.go | 2 +- drivers/exec/driver.go | 24 +++- drivers/exec/driver_pre09.go | 36 ++++++ drivers/java/driver.go | 4 +- drivers/mock/driver.go | 2 +- drivers/qemu/driver.go | 4 +- drivers/rawexec/driver.go | 4 +- drivers/rkt/driver.go | 4 +- drivers/shared/executor/legacy/client.go | 110 ------------------ .../executor/legacy_executor_wrapper.go | 99 +++++++++++++++- drivers/shared/executor/plugins.go | 15 +-- drivers/shared/executor/utils.go | 47 ++++---- plugins/shared/catalog/register.go | 12 +- plugins/shared/catalog/register_linux.go | 4 +- 18 files changed, 288 insertions(+), 176 deletions(-) create mode 100644 client/allocdir/task_dir_linux.go create mode 100644 client/allocdir/task_dir_nonlinux.go create mode 100644 drivers/exec/driver_pre09.go delete mode 100644 drivers/shared/executor/legacy/client.go diff --git a/client/allocdir/alloc_dir.go b/client/allocdir/alloc_dir.go index 2e0e4a8a3..793c5c81d 100644 --- a/client/allocdir/alloc_dir.go +++ b/client/allocdir/alloc_dir.go @@ -307,6 +307,11 @@ func (d *AllocDir) UnmountAll() error { fmt.Errorf("failed to remove the secret dir %q: %v", dir.SecretsDir, err)) } } + + // Unmount dev/ and proc/ have been mounted. + if err := dir.unmountSpecialDirs(); err != nil { + mErr.Errors = append(mErr.Errors, err) + } } return mErr.ErrorOrNil() diff --git a/client/allocdir/task_dir_linux.go b/client/allocdir/task_dir_linux.go new file mode 100644 index 000000000..9bb57bd0b --- /dev/null +++ b/client/allocdir/task_dir_linux.go @@ -0,0 +1,36 @@ +package allocdir + +import ( + "fmt" + "os" + "path/filepath" + + multierror "github.com/hashicorp/go-multierror" +) + +// unmountSpecialDirs unmounts the dev and proc file system from the chroot. No +// error is returned if the directories do not exist or have already been +// unmounted. +func (t *TaskDir) unmountSpecialDirs() error { + errs := new(multierror.Error) + dev := filepath.Join(t.Dir, "dev") + if pathExists(dev) { + if err := unlinkDir(dev); err != nil { + errs = multierror.Append(errs, fmt.Errorf("Failed to unmount dev %q: %v", dev, err)) + } else if err := os.RemoveAll(dev); err != nil { + errs = multierror.Append(errs, fmt.Errorf("Failed to delete dev directory %q: %v", dev, err)) + } + } + + // Unmount proc. + proc := filepath.Join(t.Dir, "proc") + if pathExists(proc) { + if err := unlinkDir(proc); err != nil { + errs = multierror.Append(errs, fmt.Errorf("Failed to unmount proc %q: %v", proc, err)) + } else if err := os.RemoveAll(proc); err != nil { + errs = multierror.Append(errs, fmt.Errorf("Failed to delete proc directory %q: %v", dev, err)) + } + } + + return errs.ErrorOrNil() +} diff --git a/client/allocdir/task_dir_nonlinux.go b/client/allocdir/task_dir_nonlinux.go new file mode 100644 index 000000000..08e7ba6eb --- /dev/null +++ b/client/allocdir/task_dir_nonlinux.go @@ -0,0 +1,8 @@ +// +build !linux + +package allocdir + +// currently a noop on non-Linux platforms +func (d *TaskDir) unmountSpecialDirs() error { + return nil +} diff --git a/client/state/08types.go b/client/state/08types.go index ce0478213..19ac0577d 100644 --- a/client/state/08types.go +++ b/client/state/08types.go @@ -1,9 +1,13 @@ package state import ( + "encoding/json" + "fmt" + "github.com/hashicorp/nomad/client/allocrunner/taskrunner/state" "github.com/hashicorp/nomad/nomad/structs" "github.com/hashicorp/nomad/plugins/drivers" + "github.com/hashicorp/nomad/plugins/shared" ) // allocRunnerMutableState08 is state that had to be written on each save as it @@ -40,7 +44,23 @@ type taskRunnerState08 struct { //CreatedResources *driver.CreatedResources } -func (t *taskRunnerState08) Upgrade() *state.LocalState { +type taskRunnerHandle08 struct { + PluginConfig struct { + Pid int `json:"Pid"` + AddrNet string `json:"AddrNet"` + AddrName string `json:"AddrName"` + } `json:"PluginConfig"` +} + +func (t *taskRunnerHandle08) reattachConfig() *shared.ReattachConfig { + return &shared.ReattachConfig{ + Network: t.PluginConfig.AddrNet, + Addr: t.PluginConfig.AddrName, + Pid: t.PluginConfig.Pid, + } +} + +func (t *taskRunnerState08) Upgrade(allocID, taskName string) *state.LocalState { ls := state.NewLocalState() // Reuse DriverNetwork @@ -56,22 +76,40 @@ func (t *taskRunnerState08) Upgrade() *state.LocalState { PrestartDone: t.TaskDirBuilt, } + // Don't need logmon in pre09 tasks + ls.Hooks["logmon"] = &state.HookState{ + PrestartDone: true, + } + // Upgrade dispatch payload state ls.Hooks["dispatch_payload"] = &state.HookState{ PrestartDone: t.PayloadRendered, } //TODO How to convert handles?! This does not work. - ls.TaskHandle = drivers.NewTaskHandle("TODO") + ls.TaskHandle = drivers.NewTaskHandle(0) //TODO where do we get this from? - ls.TaskHandle.Config = nil + ls.TaskHandle.Config = &drivers.TaskConfig{ + Name: taskName, + AllocID: allocID, + } //TODO do we need to se this accurately? Or will RecoverTask handle it? ls.TaskHandle.State = drivers.TaskStateUnknown - //TODO do we need an envelope so drivers know this is an old state? - ls.TaskHandle.SetDriverState(t.HandleID) + // A ReattachConfig to the pre09 executor is sent + var raw []byte + var handle taskRunnerHandle08 + if err := json.Unmarshal([]byte(t.HandleID), &handle); err != nil { + fmt.Println("ERR: ", err) + } + raw, err := json.Marshal(handle.reattachConfig()) + if err != nil { + fmt.Println("ERR: ", err) + } + + ls.TaskHandle.DriverState = raw return ls } diff --git a/client/state/upgrade.go b/client/state/upgrade.go index 36fe6e5e8..a16178f50 100644 --- a/client/state/upgrade.go +++ b/client/state/upgrade.go @@ -211,7 +211,7 @@ func upgradeAllocBucket(logger hclog.Logger, tx *boltdd.Tx, bkt *bolt.Bucket, al } // Convert 0.8 task state to 0.9 task state - localTaskState := oldState.Upgrade() + localTaskState := oldState.Upgrade(allocID, taskName) // Insert the new task state if err := putTaskRunnerLocalStateImpl(tx, allocID, taskName, localTaskState); err != nil { diff --git a/drivers/exec/driver.go b/drivers/exec/driver.go index 7099107c0..ef7fa2f06 100644 --- a/drivers/exec/driver.go +++ b/drivers/exec/driver.go @@ -2,6 +2,7 @@ package exec import ( "context" + "encoding/json" "fmt" "os" "path/filepath" @@ -30,6 +31,10 @@ const ( // fingerprintPeriod is the interval at which the driver will send fingerprint responses fingerprintPeriod = 30 * time.Second + + // taskHandleVersion is the version of task handle which this driver sets + // and understands how to decode driver state + taskHandleVersion = 1 ) var ( @@ -254,6 +259,21 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("handle cannot be nil") } + // pre 0.9 upgrade path check + if handle.Version == 0 { + var reattach shared.ReattachConfig + d.logger.Debug("parsing pre09 driver state", "state", string(handle.DriverState)) + if err := json.Unmarshal(handle.DriverState, &reattach); err != nil { + return err + } + + reattachConfig, err := shared.ReattachConfigToGoPlugin(&reattach) + if err != nil { + return err + } + return d.recoverPre0_9Task(handle.Config, reattachConfig) + } + // If already attached to handle there's nothing to recover. if _, ok := d.tasks.Get(handle.Config.ID); ok { d.logger.Trace("nothing to recover; task already exists", @@ -277,7 +297,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("failed to build ReattachConfig from task state: %v", err) } - exec, pluginClient, err := executor.CreateExecutorWithConfig(plugRC, + exec, pluginClient, err := executor.ReattachToExecutor(plugRC, d.logger.With("task_name", handle.Config.Name, "alloc_id", handle.Config.AllocID)) if err != nil { d.logger.Error("failed to reattach to executor", "error", err, "task_id", handle.Config.ID) @@ -311,7 +331,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive } d.logger.Info("starting task", "driver_cfg", hclog.Fmt("%+v", driverConfig)) - handle := drivers.NewTaskHandle(pluginName) + handle := drivers.NewTaskHandle(taskHandleVersion) handle.Config = cfg pluginLogFile := filepath.Join(cfg.TaskDir().Dir, "executor.out") diff --git a/drivers/exec/driver_pre09.go b/drivers/exec/driver_pre09.go new file mode 100644 index 000000000..f29c20331 --- /dev/null +++ b/drivers/exec/driver_pre09.go @@ -0,0 +1,36 @@ +package exec + +import ( + "fmt" + "time" + + plugin "github.com/hashicorp/go-plugin" + "github.com/hashicorp/nomad/drivers/shared/executor" + "github.com/hashicorp/nomad/helper/uuid" + "github.com/hashicorp/nomad/plugins/drivers" +) + +func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { + config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) + exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, + d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) + if err != nil { + d.logger.Error("failed to reattach to executor", "error", err, "task_name", config.Name) + return fmt.Errorf("failed to reattach to executor: %v", err) + } + + h := &taskHandle{ + exec: exec, + pid: reattach.Pid, + pluginClient: pluginClient, + taskConfig: config, + procState: drivers.TaskStateRunning, + startedAt: time.Now(), + exitResult: &drivers.ExitResult{}, + } + + d.tasks.Set(config.ID, h) + + go h.run() + return nil +} diff --git a/drivers/java/driver.go b/drivers/java/driver.go index 2a3b8fdfe..f51453a94 100644 --- a/drivers/java/driver.go +++ b/drivers/java/driver.go @@ -263,7 +263,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("failed to build ReattachConfig from taskConfig state: %v", err) } - execImpl, pluginClient, err := executor.CreateExecutorWithConfig(plugRC, + execImpl, pluginClient, err := executor.ReattachToExecutor(plugRC, d.logger.With("task_name", handle.Config.Name, "alloc_id", handle.Config.AllocID)) if err != nil { d.logger.Error("failed to reattach to executor", "error", err, "task_id", handle.Config.ID) @@ -309,7 +309,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive d.logger.Info("starting java task", "driver_cfg", hclog.Fmt("%+v", driverConfig), "args", args) - handle := drivers.NewTaskHandle(pluginName) + handle := drivers.NewTaskHandle(1) handle.Config = cfg pluginLogFile := filepath.Join(cfg.TaskDir().Dir, "executor.out") diff --git a/drivers/mock/driver.go b/drivers/mock/driver.go index 9babcca5f..be9ca436b 100644 --- a/drivers/mock/driver.go +++ b/drivers/mock/driver.go @@ -419,7 +419,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive driverState := MockTaskState{ StartedAt: h.startedAt, } - handle := drivers.NewTaskHandle(pluginName) + handle := drivers.NewTaskHandle(1) handle.Config = cfg if err := handle.SetDriverState(&driverState); err != nil { d.logger.Error("failed to start task, error setting driver state", "error", err, "task_name", cfg.Name) diff --git a/drivers/qemu/driver.go b/drivers/qemu/driver.go index 2ce2ea723..9f97972e0 100644 --- a/drivers/qemu/driver.go +++ b/drivers/qemu/driver.go @@ -261,7 +261,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("failed to build ReattachConfig from taskConfig state: %v", err) } - execImpl, pluginClient, err := executor.CreateExecutorWithConfig(plugRC, + execImpl, pluginClient, err := executor.ReattachToExecutor(plugRC, d.logger.With("task_name", handle.Config.Name, "alloc_id", handle.Config.AllocID)) if err != nil { d.logger.Error("failed to reattach to executor", "error", err, "task_id", handle.Config.ID) @@ -295,7 +295,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive return nil, nil, fmt.Errorf("failed to decode driver config: %v", err) } - handle := drivers.NewTaskHandle(pluginName) + handle := drivers.NewTaskHandle(1) handle.Config = cfg // Get the image source diff --git a/drivers/rawexec/driver.go b/drivers/rawexec/driver.go index c9a7bcce5..2a779837c 100644 --- a/drivers/rawexec/driver.go +++ b/drivers/rawexec/driver.go @@ -269,7 +269,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { } // Create client for reattached executor - exec, pluginClient, err := executor.CreateExecutorWithConfig(plugRC, + exec, pluginClient, err := executor.ReattachToExecutor(plugRC, d.logger.With("task_name", handle.Config.Name, "alloc_id", handle.Config.AllocID)) if err != nil { d.logger.Error("failed to reattach to executor", "error", err, "task_id", handle.Config.ID) @@ -303,7 +303,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive } d.logger.Info("starting task", "driver_cfg", hclog.Fmt("%+v", driverConfig)) - handle := drivers.NewTaskHandle(pluginName) + handle := drivers.NewTaskHandle(1) handle.Config = cfg pluginLogFile := filepath.Join(cfg.TaskDir().Dir, "executor.out") diff --git a/drivers/rkt/driver.go b/drivers/rkt/driver.go index 7d7fb4a23..06e298664 100644 --- a/drivers/rkt/driver.go +++ b/drivers/rkt/driver.go @@ -375,7 +375,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("failed to build ReattachConfig from taskConfig state: %v", err) } - execImpl, pluginClient, err := executor.CreateExecutorWithConfig(plugRC, + execImpl, pluginClient, err := executor.ReattachToExecutor(plugRC, d.logger.With("task_name", handle.Config.Name, "alloc_id", handle.Config.AllocID)) if err != nil { d.logger.Error("failed to reattach to executor", "error", err, "task_id", handle.Config.ID) @@ -418,7 +418,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive return nil, nil, fmt.Errorf("failed to decode driver config: %v", err) } - handle := drivers.NewTaskHandle(pluginName) + handle := drivers.NewTaskHandle(1) handle.Config = cfg // todo(preetha) - port map in client v1 is a slice of maps that get merged. figure out if the caller will do this diff --git a/drivers/shared/executor/legacy/client.go b/drivers/shared/executor/legacy/client.go deleted file mode 100644 index 5ec1b8bec..000000000 --- a/drivers/shared/executor/legacy/client.go +++ /dev/null @@ -1,110 +0,0 @@ -package legacy - -import ( - "encoding/gob" - "net/rpc" - "os" - "syscall" - "time" - - hclog "github.com/hashicorp/go-hclog" - "github.com/hashicorp/go-plugin" - cstructs "github.com/hashicorp/nomad/client/structs" -) - -// Registering these types since we have to serialize and de-serialize the Task -// structs over the wire between drivers and the executor. -func init() { - gob.Register([]interface{}{}) - gob.Register(map[string]interface{}{}) - gob.Register([]map[string]string{}) - gob.Register([]map[string]int{}) - gob.Register(syscall.Signal(0x1)) -} - -type ExecutorRPC struct { - client *rpc.Client - logger hclog.Logger -} - -type ProcessState struct { - Pid int - ExitCode int - Signal int - Time time.Time -} - -type ExecutorVersion struct { - Version string -} - -type ExecCmdArgs struct { - Deadline time.Time - Name string - Args []string -} - -type ExecCmdReturn struct { - Output []byte - Code int -} - -func (e *ExecutorRPC) Wait() (*ProcessState, error) { - var ps ProcessState - err := e.client.Call("Plugin.Wait", new(interface{}), &ps) - return &ps, err -} - -func (e *ExecutorRPC) ShutDown() error { - return e.client.Call("Plugin.ShutDown", new(interface{}), new(interface{})) -} - -func (e *ExecutorRPC) Exit() error { - return e.client.Call("Plugin.Exit", new(interface{}), new(interface{})) -} - -func (e *ExecutorRPC) Version() (*ExecutorVersion, error) { - var version ExecutorVersion - err := e.client.Call("Plugin.Version", new(interface{}), &version) - return &version, err -} - -func (e *ExecutorRPC) Stats() (*cstructs.TaskResourceUsage, error) { - var resourceUsage cstructs.TaskResourceUsage - err := e.client.Call("Plugin.Stats", new(interface{}), &resourceUsage) - return &resourceUsage, err -} - -func (e *ExecutorRPC) Signal(s os.Signal) error { - return e.client.Call("Plugin.Signal", &s, new(interface{})) -} - -func (e *ExecutorRPC) Exec(deadline time.Time, name string, args []string) ([]byte, int, error) { - req := ExecCmdArgs{ - Deadline: deadline, - Name: name, - Args: args, - } - var resp *ExecCmdReturn - err := e.client.Call("Plugin.Exec", req, &resp) - if resp == nil { - return nil, 0, err - } - return resp.Output, resp.Code, err -} - -type ExecutorPlugin struct { - logger hclog.Logger -} - -func NewExecutorPlugin(logger hclog.Logger) plugin.Plugin { - return &ExecutorPlugin{logger: logger} -} - -func (p *ExecutorPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error) { - return &ExecutorRPC{client: c, logger: p.logger}, nil -} - -func (p *ExecutorPlugin) Server(*plugin.MuxBroker) (interface{}, error) { - panic("client only supported") -} diff --git a/drivers/shared/executor/legacy_executor_wrapper.go b/drivers/shared/executor/legacy_executor_wrapper.go index b4f773693..c32899d3d 100644 --- a/drivers/shared/executor/legacy_executor_wrapper.go +++ b/drivers/shared/executor/legacy_executor_wrapper.go @@ -1,18 +1,31 @@ package executor import ( + "encoding/gob" + "net/rpc" "os" + "syscall" "time" hclog "github.com/hashicorp/go-hclog" + plugin "github.com/hashicorp/go-plugin" cstructs "github.com/hashicorp/nomad/client/structs" - "github.com/hashicorp/nomad/drivers/shared/executor/legacy" "github.com/hashicorp/nomad/plugins/drivers" "golang.org/x/net/context" ) +// Registering these types since we have to serialize and de-serialize the Task +// structs over the wire between drivers and the executor. +func init() { + gob.Register([]interface{}{}) + gob.Register(map[string]interface{}{}) + gob.Register([]map[string]string{}) + gob.Register([]map[string]int{}) + gob.Register(syscall.Signal(0x1)) +} + type legacyExecutorWrapper struct { - client *legacy.ExecutorRPC + client *pre09ExecutorRPC logger hclog.Logger } @@ -81,6 +94,9 @@ func (l *legacyExecutorWrapper) handleStats(ctx context.Context, interval time.D for range ticker.C { stats, err := l.client.Stats() if err != nil { + if err == rpc.ErrShutdown { + return + } l.logger.Warn("stats collection from legacy executor failed, waiting for next interval", "error", err) continue } @@ -101,3 +117,82 @@ func (l *legacyExecutorWrapper) Signal(s os.Signal) error { func (l *legacyExecutorWrapper) Exec(deadline time.Time, cmd string, args []string) ([]byte, int, error) { return l.client.Exec(deadline, cmd, args) } + +type pre09ExecutorRPC struct { + client *rpc.Client + logger hclog.Logger +} + +type pre09ExecCmdArgs struct { + Deadline time.Time + Name string + Args []string +} + +type pre09ExecCmdReturn struct { + Output []byte + Code int +} + +func (e *pre09ExecutorRPC) Wait() (*ProcessState, error) { + var ps ProcessState + err := e.client.Call("Plugin.Wait", new(interface{}), &ps) + return &ps, err +} + +func (e *pre09ExecutorRPC) ShutDown() error { + return e.client.Call("Plugin.ShutDown", new(interface{}), new(interface{})) +} + +func (e *pre09ExecutorRPC) Exit() error { + return e.client.Call("Plugin.Exit", new(interface{}), new(interface{})) +} + +func (e *pre09ExecutorRPC) Version() (*ExecutorVersion, error) { + var version ExecutorVersion + err := e.client.Call("Plugin.Version", new(interface{}), &version) + return &version, err +} + +func (e *pre09ExecutorRPC) Stats() (*cstructs.TaskResourceUsage, error) { + var resourceUsage cstructs.TaskResourceUsage + err := e.client.Call("Plugin.Stats", new(interface{}), &resourceUsage) + return &resourceUsage, err +} + +func (e *pre09ExecutorRPC) Signal(s os.Signal) error { + return e.client.Call("Plugin.Signal", &s, new(interface{})) +} + +func (e *pre09ExecutorRPC) Exec(deadline time.Time, name string, args []string) ([]byte, int, error) { + req := pre09ExecCmdArgs{ + Deadline: deadline, + Name: name, + Args: args, + } + var resp *pre09ExecCmdReturn + err := e.client.Call("Plugin.Exec", req, &resp) + if resp == nil { + return nil, 0, err + } + return resp.Output, resp.Code, err +} + +type pre09ExecutorPlugin struct { + logger hclog.Logger +} + +func newPre09ExecutorPlugin(logger hclog.Logger) plugin.Plugin { + return &pre09ExecutorPlugin{logger: logger} +} + +func (p *pre09ExecutorPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error) { + return &legacyExecutorWrapper{ + client: &pre09ExecutorRPC{client: c, logger: p.logger}, + logger: p.logger, + }, nil +} + +func (p *pre09ExecutorPlugin) Server(*plugin.MuxBroker) (interface{}, error) { + panic("client only supported") +} diff --git a/drivers/shared/executor/plugins.go b/drivers/shared/executor/plugins.go index f1f68570d..a572355be 100644 --- a/drivers/shared/executor/plugins.go +++ b/drivers/shared/executor/plugins.go @@ -5,7 +5,6 @@ import ( hclog "github.com/hashicorp/go-hclog" plugin "github.com/hashicorp/go-plugin" - "github.com/hashicorp/nomad/drivers/shared/executor/legacy" ) // ExecutorConfig is the config that Nomad passes to the executor @@ -31,17 +30,9 @@ func GetPluginMap(logger hclog.Logger, fsIsolation bool) map[string]plugin.Plugi } } -func GetVersionedPluginMap(logger hclog.Logger, fsIsolation bool) map[int]map[string]plugin.Plugin { - return map[int]map[string]plugin.Plugin{ - 1: { - "executor": legacy.NewExecutorPlugin(logger), - }, - 2: { - "executor": ExecutorPlugin{ - logger: logger, - fsIsolation: fsIsolation, - }, - }, +func GetPre09PluginMap(logger hclog.Logger, fsIsolation bool) map[string]plugin.Plugin { + return map[string]plugin.Plugin{ + "executor": newPre09ExecutorPlugin(logger), } } diff --git a/drivers/shared/executor/utils.go b/drivers/shared/executor/utils.go index 372236c32..6c551d173 100644 --- a/drivers/shared/executor/utils.go +++ b/drivers/shared/executor/utils.go @@ -64,37 +64,36 @@ func CreateExecutor(logger hclog.Logger, driverConfig *base.ClientDriverConfig, isolateCommand(config.Cmd) } - executorClient := plugin.NewClient(config) - rpcClient, err := executorClient.Client() - if err != nil { - return nil, nil, fmt.Errorf("error creating rpc client for executor plugin: %v", err) - } - - raw, err := rpcClient.Dispense("executor") - if err != nil { - return nil, nil, fmt.Errorf("unable to dispense the executor plugin: %v", err) - } - executorPlugin := raw.(Executor) - return executorPlugin, executorClient, nil + return newExecutorClient(config, logger) } -// CreateExecutorWithConfig launches a plugin with a given plugin config -func CreateExecutorWithConfig(reattachConfig *plugin.ReattachConfig, logger hclog.Logger) (Executor, *plugin.Client, error) { - p := &ExecutorPlugin{ - logger: logger, - } - +// ReattachToExecutor launches a plugin with a given plugin config +func ReattachToExecutor(reattachConfig *plugin.ReattachConfig, logger hclog.Logger) (Executor, *plugin.Client, error) { config := &plugin.ClientConfig{ - HandshakeConfig: base.Handshake, - Reattach: reattachConfig, - Plugins: map[string]plugin.Plugin{"executor": p}, - - // TODO: Use versioned plugin map to support backwards compatibility with - // existing pre-0.9 executors + HandshakeConfig: base.Handshake, + Reattach: reattachConfig, + Plugins: GetPluginMap(logger, false), AllowedProtocols: []plugin.Protocol{plugin.ProtocolGRPC}, Logger: logger.Named("executor"), } + return newExecutorClient(config, logger) +} + +// ReattachToPre09Executor creates a plugin client that reattaches to an existing +// pre 0.9 Nomad executor +func ReattachToPre09Executor(reattachConfig *plugin.ReattachConfig, logger hclog.Logger) (Executor, *plugin.Client, error) { + config := &plugin.ClientConfig{ + HandshakeConfig: base.Handshake, + Reattach: reattachConfig, + Plugins: GetPre09PluginMap(logger, false), + AllowedProtocols: []plugin.Protocol{plugin.ProtocolNetRPC}, + Logger: logger.Named("executor"), + } + return newExecutorClient(config, logger) +} + +func newExecutorClient(config *plugin.ClientConfig, logger hclog.Logger) (Executor, *plugin.Client, error) { executorClient := plugin.NewClient(config) rpcClient, err := executorClient.Client() if err != nil { diff --git a/plugins/shared/catalog/register.go b/plugins/shared/catalog/register.go index bd238e88f..24e93d94f 100644 --- a/plugins/shared/catalog/register.go +++ b/plugins/shared/catalog/register.go @@ -1,20 +1,16 @@ package catalog import ( - "github.com/hashicorp/nomad/drivers/docker" "github.com/hashicorp/nomad/drivers/exec" - "github.com/hashicorp/nomad/drivers/java" - "github.com/hashicorp/nomad/drivers/qemu" - "github.com/hashicorp/nomad/drivers/rawexec" ) // This file is where all builtin plugins should be registered in the catalog. // Plugins with build restrictions should be placed in the appropriate // register_XXX.go file. func init() { - RegisterDeferredConfig(rawexec.PluginID, rawexec.PluginConfig, rawexec.PluginLoader) + // RegisterDeferredConfig(rawexec.PluginID, rawexec.PluginConfig, rawexec.PluginLoader) Register(exec.PluginID, exec.PluginConfig) - Register(qemu.PluginID, qemu.PluginConfig) - Register(java.PluginID, java.PluginConfig) - RegisterDeferredConfig(docker.PluginID, docker.PluginConfig, docker.PluginLoader) + // Register(qemu.PluginID, qemu.PluginConfig) + // Register(java.PluginID, java.PluginConfig) + // RegisterDeferredConfig(docker.PluginID, docker.PluginConfig, docker.PluginLoader) } diff --git a/plugins/shared/catalog/register_linux.go b/plugins/shared/catalog/register_linux.go index 91a45b33e..be3f77e21 100644 --- a/plugins/shared/catalog/register_linux.go +++ b/plugins/shared/catalog/register_linux.go @@ -1,10 +1,8 @@ package catalog -import "github.com/hashicorp/nomad/drivers/rkt" - // This file is where all builtin plugins should be registered in the catalog. // Plugins with build restrictions should be placed in the appropriate // register_XXX.go file. func init() { - RegisterDeferredConfig(rkt.PluginID, rkt.PluginConfig, rkt.PluginLoader) + // RegisterDeferredConfig(rkt.PluginID, rkt.PluginConfig, rkt.PluginLoader) } From 6804450c6914a48a42bc77601cf717ee708271e1 Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Tue, 15 Jan 2019 17:07:21 -0500 Subject: [PATCH 3/9] cleanup code comments and small fixes from refactor --- client/state/08types.go | 4 +--- drivers/docker/driver.go | 2 +- plugins/base/plugin.go | 1 + plugins/shared/catalog/register.go | 12 ++++++++---- plugins/shared/catalog/register_linux.go | 4 +++- 5 files changed, 14 insertions(+), 9 deletions(-) diff --git a/client/state/08types.go b/client/state/08types.go index 19ac0577d..760539e47 100644 --- a/client/state/08types.go +++ b/client/state/08types.go @@ -86,10 +86,8 @@ func (t *taskRunnerState08) Upgrade(allocID, taskName string) *state.LocalState PrestartDone: t.PayloadRendered, } - //TODO How to convert handles?! This does not work. + // Add nessicary fields to TaskConfig ls.TaskHandle = drivers.NewTaskHandle(0) - - //TODO where do we get this from? ls.TaskHandle.Config = &drivers.TaskConfig{ Name: taskName, AllocID: allocID, diff --git a/drivers/docker/driver.go b/drivers/docker/driver.go index 1101d15d5..f24a225b3 100644 --- a/drivers/docker/driver.go +++ b/drivers/docker/driver.go @@ -171,7 +171,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive return nil, nil, fmt.Errorf("failed to decode driver config: %v", err) } - handle := drivers.NewTaskHandle(pluginName) + handle := drivers.NewTaskHandle(1) handle.Config = cfg // Initialize docker API clients diff --git a/plugins/base/plugin.go b/plugins/base/plugin.go index 08fa6e753..30d2fd49c 100644 --- a/plugins/base/plugin.go +++ b/plugins/base/plugin.go @@ -25,6 +25,7 @@ const ( var ( // Handshake is a common handshake that is shared by all plugins and Nomad. Handshake = plugin.HandshakeConfig{ + ProtocolVersion: 2, MagicCookieKey: "NOMAD_PLUGIN_MAGIC_COOKIE", MagicCookieValue: "e4327c2e01eabfd75a8a67adb114fb34a757d57eee7728d857a8cec6e91a7255", } diff --git a/plugins/shared/catalog/register.go b/plugins/shared/catalog/register.go index 24e93d94f..bd238e88f 100644 --- a/plugins/shared/catalog/register.go +++ b/plugins/shared/catalog/register.go @@ -1,16 +1,20 @@ package catalog import ( + "github.com/hashicorp/nomad/drivers/docker" "github.com/hashicorp/nomad/drivers/exec" + "github.com/hashicorp/nomad/drivers/java" + "github.com/hashicorp/nomad/drivers/qemu" + "github.com/hashicorp/nomad/drivers/rawexec" ) // This file is where all builtin plugins should be registered in the catalog. // Plugins with build restrictions should be placed in the appropriate // register_XXX.go file. func init() { - // RegisterDeferredConfig(rawexec.PluginID, rawexec.PluginConfig, rawexec.PluginLoader) + RegisterDeferredConfig(rawexec.PluginID, rawexec.PluginConfig, rawexec.PluginLoader) Register(exec.PluginID, exec.PluginConfig) - // Register(qemu.PluginID, qemu.PluginConfig) - // Register(java.PluginID, java.PluginConfig) - // RegisterDeferredConfig(docker.PluginID, docker.PluginConfig, docker.PluginLoader) + Register(qemu.PluginID, qemu.PluginConfig) + Register(java.PluginID, java.PluginConfig) + RegisterDeferredConfig(docker.PluginID, docker.PluginConfig, docker.PluginLoader) } diff --git a/plugins/shared/catalog/register_linux.go b/plugins/shared/catalog/register_linux.go index be3f77e21..91a45b33e 100644 --- a/plugins/shared/catalog/register_linux.go +++ b/plugins/shared/catalog/register_linux.go @@ -1,8 +1,10 @@ package catalog +import "github.com/hashicorp/nomad/drivers/rkt" + // This file is where all builtin plugins should be registered in the catalog. // Plugins with build restrictions should be placed in the appropriate // register_XXX.go file. func init() { - // RegisterDeferredConfig(rkt.PluginID, rkt.PluginConfig, rkt.PluginLoader) + RegisterDeferredConfig(rkt.PluginID, rkt.PluginConfig, rkt.PluginLoader) } From 04772aac7c1982a74467187edbf3bf0f1c946fc4 Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Wed, 16 Jan 2019 09:28:41 -0500 Subject: [PATCH 4/9] drivers: fix test --- plugins/drivers/testutils/testing_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/drivers/testutils/testing_test.go b/plugins/drivers/testutils/testing_test.go index 0bb2ee0ac..3e4a8c33d 100644 --- a/plugins/drivers/testutils/testing_test.go +++ b/plugins/drivers/testutils/testing_test.go @@ -138,7 +138,7 @@ func TestBaseDriver_StartTask(t *testing.T) { var handle *drivers.TaskHandle impl := &MockDriver{ StartTaskF: func(c *drivers.TaskConfig) (*drivers.TaskHandle, *drivers.DriverNetwork, error) { - handle = drivers.NewTaskHandle("test") + handle = drivers.NewTaskHandle(1) handle.Config = c handle.State = drivers.TaskStateRunning handle.SetDriverState(state) From 9dd4eb35816425124b3786cb4638b59acbeef41c Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Wed, 16 Jan 2019 11:19:25 -0500 Subject: [PATCH 5/9] drivers: add upgrade path for rawexec, java, rkt and qemu --- drivers/java/driver.go | 16 +++++++++++++++ drivers/java/driver_pre09.go | 36 +++++++++++++++++++++++++++++++++ drivers/qemu/driver.go | 16 +++++++++++++++ drivers/qemu/driver_pre09.go | 36 +++++++++++++++++++++++++++++++++ drivers/rawexec/driver.go | 16 +++++++++++++++ drivers/rawexec/driver_pre09.go | 36 +++++++++++++++++++++++++++++++++ drivers/rkt/driver.go | 15 ++++++++++++++ drivers/rkt/driver_pre09.go | 36 +++++++++++++++++++++++++++++++++ 8 files changed, 207 insertions(+) create mode 100644 drivers/java/driver_pre09.go create mode 100644 drivers/qemu/driver_pre09.go create mode 100644 drivers/rawexec/driver_pre09.go create mode 100644 drivers/rkt/driver_pre09.go diff --git a/drivers/java/driver.go b/drivers/java/driver.go index f51453a94..ecc8dd4de 100644 --- a/drivers/java/driver.go +++ b/drivers/java/driver.go @@ -2,6 +2,7 @@ package java import ( "context" + "encoding/json" "fmt" "os" "os/exec" @@ -242,6 +243,21 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("handle cannot be nil") } + // pre 0.9 upgrade path check + if handle.Version == 0 { + var reattach shared.ReattachConfig + d.logger.Debug("parsing pre09 driver state", "state", string(handle.DriverState)) + if err := json.Unmarshal(handle.DriverState, &reattach); err != nil { + return err + } + + reattachConfig, err := shared.ReattachConfigToGoPlugin(&reattach) + if err != nil { + return err + } + return d.recoverPre0_9Task(handle.Config, reattachConfig) + } + // If already attached to handle there's nothing to recover. if _, ok := d.tasks.Get(handle.Config.ID); ok { d.logger.Debug("nothing to recover; task already exists", diff --git a/drivers/java/driver_pre09.go b/drivers/java/driver_pre09.go new file mode 100644 index 000000000..f83be3873 --- /dev/null +++ b/drivers/java/driver_pre09.go @@ -0,0 +1,36 @@ +package java + +import ( + "fmt" + "time" + + plugin "github.com/hashicorp/go-plugin" + "github.com/hashicorp/nomad/drivers/shared/executor" + "github.com/hashicorp/nomad/helper/uuid" + "github.com/hashicorp/nomad/plugins/drivers" +) + +func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { + config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) + exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, + d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) + if err != nil { + d.logger.Error("failed to reattach to executor", "error", err, "task_name", config.Name) + return fmt.Errorf("failed to reattach to executor: %v", err) + } + + h := &taskHandle{ + exec: exec, + pid: reattach.Pid, + pluginClient: pluginClient, + taskConfig: config, + procState: drivers.TaskStateRunning, + startedAt: time.Now(), + exitResult: &drivers.ExitResult{}, + } + + d.tasks.Set(config.ID, h) + + go h.run() + return nil +} diff --git a/drivers/qemu/driver.go b/drivers/qemu/driver.go index 9f97972e0..c8bf1f90a 100644 --- a/drivers/qemu/driver.go +++ b/drivers/qemu/driver.go @@ -2,6 +2,7 @@ package qemu import ( "context" + "encoding/json" "errors" "fmt" "net" @@ -240,6 +241,21 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("error: handle cannot be nil") } + // pre 0.9 upgrade path check + if handle.Version == 0 { + var reattach shared.ReattachConfig + d.logger.Debug("parsing pre09 driver state", "state", string(handle.DriverState)) + if err := json.Unmarshal(handle.DriverState, &reattach); err != nil { + return err + } + + reattachConfig, err := shared.ReattachConfigToGoPlugin(&reattach) + if err != nil { + return err + } + return d.recoverPre0_9Task(handle.Config, reattachConfig) + } + // If already attached to handle there's nothing to recover. if _, ok := d.tasks.Get(handle.Config.ID); ok { d.logger.Trace("nothing to recover; task already exists", diff --git a/drivers/qemu/driver_pre09.go b/drivers/qemu/driver_pre09.go new file mode 100644 index 000000000..0848f3aaf --- /dev/null +++ b/drivers/qemu/driver_pre09.go @@ -0,0 +1,36 @@ +package qemu + +import ( + "fmt" + "time" + + plugin "github.com/hashicorp/go-plugin" + "github.com/hashicorp/nomad/drivers/shared/executor" + "github.com/hashicorp/nomad/helper/uuid" + "github.com/hashicorp/nomad/plugins/drivers" +) + +func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { + config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) + exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, + d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) + if err != nil { + d.logger.Error("failed to reattach to executor", "error", err, "task_name", config.Name) + return fmt.Errorf("failed to reattach to executor: %v", err) + } + + h := &taskHandle{ + exec: exec, + pid: reattach.Pid, + pluginClient: pluginClient, + taskConfig: config, + procState: drivers.TaskStateRunning, + startedAt: time.Now(), + exitResult: &drivers.ExitResult{}, + } + + d.tasks.Set(config.ID, h) + + go h.run() + return nil +} diff --git a/drivers/rawexec/driver.go b/drivers/rawexec/driver.go index 2a779837c..376ecaf2e 100644 --- a/drivers/rawexec/driver.go +++ b/drivers/rawexec/driver.go @@ -2,6 +2,7 @@ package rawexec import ( "context" + "encoding/json" "fmt" "os" "path/filepath" @@ -246,6 +247,21 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("handle cannot be nil") } + // pre 0.9 upgrade path check + if handle.Version == 0 { + var reattach shared.ReattachConfig + d.logger.Debug("parsing pre09 driver state", "state", string(handle.DriverState)) + if err := json.Unmarshal(handle.DriverState, &reattach); err != nil { + return err + } + + reattachConfig, err := shared.ReattachConfigToGoPlugin(&reattach) + if err != nil { + return err + } + return d.recoverPre0_9Task(handle.Config, reattachConfig) + } + // If already attached to handle there's nothing to recover. if _, ok := d.tasks.Get(handle.Config.ID); ok { d.logger.Trace("nothing to recover; task already exists", diff --git a/drivers/rawexec/driver_pre09.go b/drivers/rawexec/driver_pre09.go new file mode 100644 index 000000000..b0d21c4dc --- /dev/null +++ b/drivers/rawexec/driver_pre09.go @@ -0,0 +1,36 @@ +package rawexec + +import ( + "fmt" + "time" + + plugin "github.com/hashicorp/go-plugin" + "github.com/hashicorp/nomad/drivers/shared/executor" + "github.com/hashicorp/nomad/helper/uuid" + "github.com/hashicorp/nomad/plugins/drivers" +) + +func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { + config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) + exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, + d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) + if err != nil { + d.logger.Error("failed to reattach to executor", "error", err, "task_name", config.Name) + return fmt.Errorf("failed to reattach to executor: %v", err) + } + + h := &taskHandle{ + exec: exec, + pid: reattach.Pid, + pluginClient: pluginClient, + taskConfig: config, + procState: drivers.TaskStateRunning, + startedAt: time.Now(), + exitResult: &drivers.ExitResult{}, + } + + d.tasks.Set(config.ID, h) + + go h.run() + return nil +} diff --git a/drivers/rkt/driver.go b/drivers/rkt/driver.go index 06e298664..944e7ebba 100644 --- a/drivers/rkt/driver.go +++ b/drivers/rkt/driver.go @@ -354,6 +354,21 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { return fmt.Errorf("error: handle cannot be nil") } + // pre 0.9 upgrade path check + if handle.Version == 0 { + var reattach shared.ReattachConfig + d.logger.Debug("parsing pre09 driver state", "state", string(handle.DriverState)) + if err := json.Unmarshal(handle.DriverState, &reattach); err != nil { + return err + } + + reattachConfig, err := shared.ReattachConfigToGoPlugin(&reattach) + if err != nil { + return err + } + return d.recoverPre0_9Task(handle.Config, reattachConfig) + } + // If already attached to handle there's nothing to recover. if _, ok := d.tasks.Get(handle.Config.ID); ok { d.logger.Trace("nothing to recover; task already exists", diff --git a/drivers/rkt/driver_pre09.go b/drivers/rkt/driver_pre09.go new file mode 100644 index 000000000..44e0e5029 --- /dev/null +++ b/drivers/rkt/driver_pre09.go @@ -0,0 +1,36 @@ +package rkt + +import ( + "fmt" + "time" + + plugin "github.com/hashicorp/go-plugin" + "github.com/hashicorp/nomad/drivers/shared/executor" + "github.com/hashicorp/nomad/helper/uuid" + "github.com/hashicorp/nomad/plugins/drivers" +) + +func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { + config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) + exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, + d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) + if err != nil { + d.logger.Error("failed to reattach to executor", "error", err, "task_name", config.Name) + return fmt.Errorf("failed to reattach to executor: %v", err) + } + + h := &taskHandle{ + exec: exec, + pid: reattach.Pid, + pluginClient: pluginClient, + taskConfig: config, + procState: drivers.TaskStateRunning, + startedAt: time.Now(), + exitResult: &drivers.ExitResult{}, + } + + d.tasks.Set(config.ID, h) + + go h.run() + return nil +} From e3c6f89b9a4fb0870deb6a9b601f9153e43ca6a4 Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Wed, 16 Jan 2019 21:52:31 -0500 Subject: [PATCH 6/9] drivers: use consts for task handle version --- client/state/08types.go | 18 ++++++------------ client/state/upgrade.go | 17 ++++++++++++++++- drivers/docker/driver.go | 6 +++++- drivers/exec/driver.go | 2 +- drivers/exec/driver_pre09.go | 2 +- drivers/java/driver.go | 8 ++++++-- drivers/java/driver_pre09.go | 2 +- drivers/mock/driver.go | 6 +++++- drivers/qemu/driver.go | 8 ++++++-- drivers/qemu/driver_pre09.go | 2 +- drivers/rawexec/driver.go | 6 +++++- drivers/rawexec/driver_pre09.go | 2 +- drivers/rkt/driver.go | 8 ++++++-- drivers/rkt/driver_pre09.go | 2 +- .../shared/executor/legacy_executor_wrapper.go | 7 ++++--- plugins/base/plugin.go | 3 +++ plugins/drivers/driver.go | 11 ++++++++++- plugins/drivers/proto/driver.proto | 3 ++- 18 files changed, 80 insertions(+), 33 deletions(-) diff --git a/client/state/08types.go b/client/state/08types.go index 760539e47..78d4ebd62 100644 --- a/client/state/08types.go +++ b/client/state/08types.go @@ -60,7 +60,7 @@ func (t *taskRunnerHandle08) reattachConfig() *shared.ReattachConfig { } } -func (t *taskRunnerState08) Upgrade(allocID, taskName string) *state.LocalState { +func (t *taskRunnerState08) Upgrade(allocID, taskName string) (*state.LocalState, error) { ls := state.NewLocalState() // Reuse DriverNetwork @@ -76,38 +76,32 @@ func (t *taskRunnerState08) Upgrade(allocID, taskName string) *state.LocalState PrestartDone: t.TaskDirBuilt, } - // Don't need logmon in pre09 tasks - ls.Hooks["logmon"] = &state.HookState{ - PrestartDone: true, - } - // Upgrade dispatch payload state ls.Hooks["dispatch_payload"] = &state.HookState{ PrestartDone: t.PayloadRendered, } - // Add nessicary fields to TaskConfig - ls.TaskHandle = drivers.NewTaskHandle(0) + // Add necessary fields to TaskConfig + ls.TaskHandle = drivers.NewTaskHandle(drivers.Pre09TaskHandleVersion) ls.TaskHandle.Config = &drivers.TaskConfig{ Name: taskName, AllocID: allocID, } - //TODO do we need to se this accurately? Or will RecoverTask handle it? ls.TaskHandle.State = drivers.TaskStateUnknown // A ReattachConfig to the pre09 executor is sent var raw []byte var handle taskRunnerHandle08 if err := json.Unmarshal([]byte(t.HandleID), &handle); err != nil { - fmt.Println("ERR: ", err) + return nil, fmt.Errorf("failed to decode 0.8 driver state: %v", err) } raw, err := json.Marshal(handle.reattachConfig()) if err != nil { - fmt.Println("ERR: ", err) + return nil, fmt.Errorf("failed to encode updated driver state: %v", err) } ls.TaskHandle.DriverState = raw - return ls + return ls, nil } diff --git a/client/state/upgrade.go b/client/state/upgrade.go index a16178f50..da2bfd0fb 100644 --- a/client/state/upgrade.go +++ b/client/state/upgrade.go @@ -208,10 +208,25 @@ func upgradeAllocBucket(logger hclog.Logger, tx *boltdd.Tx, bkt *bolt.Bucket, al taskName, err, ) } + continue } // Convert 0.8 task state to 0.9 task state - localTaskState := oldState.Upgrade(allocID, taskName) + localTaskState, err := oldState.Upgrade(allocID, taskName) + if err != nil { + taskLogger.Warn("dropping invalid task due to error while upgrading state", + "error", err, + ) + + // Delete the invalid task bucket and treat failures + // here as unrecoverable errors. + if err := bkt.DeleteBucket(taskBucket); err != nil { + return fmt.Errorf("error deleting invalid task state for task %q: %v", + taskName, err, + ) + } + continue + } // Insert the new task state if err := putTaskRunnerLocalStateImpl(tx, allocID, taskName, localTaskState); err != nil { diff --git a/drivers/docker/driver.go b/drivers/docker/driver.go index f24a225b3..674c716b9 100644 --- a/drivers/docker/driver.go +++ b/drivers/docker/driver.go @@ -54,6 +54,10 @@ var ( } return nstructs.NewRecoverableError(err, r) } + + // taskHandleVersion is the version of task handle which this driver sets + // and understands how to decode driver state + taskHandleVersion = 1 ) type Driver struct { @@ -171,7 +175,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive return nil, nil, fmt.Errorf("failed to decode driver config: %v", err) } - handle := drivers.NewTaskHandle(1) + handle := drivers.NewTaskHandle(taskHandleVersion) handle.Config = cfg // Initialize docker API clients diff --git a/drivers/exec/driver.go b/drivers/exec/driver.go index ef7fa2f06..070acc6f2 100644 --- a/drivers/exec/driver.go +++ b/drivers/exec/driver.go @@ -271,7 +271,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre0_9Task(handle.Config, reattachConfig) + return d.recoverPre09task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. diff --git a/drivers/exec/driver_pre09.go b/drivers/exec/driver_pre09.go index f29c20331..e475f73d0 100644 --- a/drivers/exec/driver_pre09.go +++ b/drivers/exec/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/java/driver.go b/drivers/java/driver.go index ecc8dd4de..e64069ed3 100644 --- a/drivers/java/driver.go +++ b/drivers/java/driver.go @@ -34,6 +34,10 @@ const ( // The key populated in Node Attributes to indicate presence of the Java driver driverAttr = "driver.java" driverVersionAttr = "driver.java.version" + + // taskHandleVersion is the version of task handle which this driver sets + // and understands how to decode driver state + taskHandleVersion = 1 ) var ( @@ -255,7 +259,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre0_9Task(handle.Config, reattachConfig) + return d.recoverPre09task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. @@ -325,7 +329,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive d.logger.Info("starting java task", "driver_cfg", hclog.Fmt("%+v", driverConfig), "args", args) - handle := drivers.NewTaskHandle(1) + handle := drivers.NewTaskHandle(taskHandleVersion) handle.Config = cfg pluginLogFile := filepath.Join(cfg.TaskDir().Dir, "executor.out") diff --git a/drivers/java/driver_pre09.go b/drivers/java/driver_pre09.go index f83be3873..6186be233 100644 --- a/drivers/java/driver_pre09.go +++ b/drivers/java/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/mock/driver.go b/drivers/mock/driver.go index be9ca436b..0039da41e 100644 --- a/drivers/mock/driver.go +++ b/drivers/mock/driver.go @@ -26,6 +26,10 @@ const ( // fingerprintPeriod is the interval at which the driver will send fingerprint responses fingerprintPeriod = 500 * time.Millisecond + + // taskHandleVersion is the version of task handle which this driver sets + // and understands how to decode driver state + taskHandleVersion = 1 ) var ( @@ -419,7 +423,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive driverState := MockTaskState{ StartedAt: h.startedAt, } - handle := drivers.NewTaskHandle(1) + handle := drivers.NewTaskHandle(taskHandleVersion) handle.Config = cfg if err := handle.SetDriverState(&driverState); err != nil { d.logger.Error("failed to start task, error setting driver state", "error", err, "task_name", cfg.Name) diff --git a/drivers/qemu/driver.go b/drivers/qemu/driver.go index c8bf1f90a..37b8727aa 100644 --- a/drivers/qemu/driver.go +++ b/drivers/qemu/driver.go @@ -43,6 +43,10 @@ const ( // Maximum socket path length prior to qemu 2.10.1 qemuLegacyMaxMonitorPathLen = 108 + + // taskHandleVersion is the version of task handle which this driver sets + // and understands how to decode driver state + taskHandleVersion = 1 ) var ( @@ -253,7 +257,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre0_9Task(handle.Config, reattachConfig) + return d.recoverPre09task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. @@ -311,7 +315,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive return nil, nil, fmt.Errorf("failed to decode driver config: %v", err) } - handle := drivers.NewTaskHandle(1) + handle := drivers.NewTaskHandle(taskHandleVersion) handle.Config = cfg // Get the image source diff --git a/drivers/qemu/driver_pre09.go b/drivers/qemu/driver_pre09.go index 0848f3aaf..605c8c23c 100644 --- a/drivers/qemu/driver_pre09.go +++ b/drivers/qemu/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/rawexec/driver.go b/drivers/rawexec/driver.go index 376ecaf2e..aa5523a63 100644 --- a/drivers/rawexec/driver.go +++ b/drivers/rawexec/driver.go @@ -29,6 +29,10 @@ const ( // fingerprintPeriod is the interval at which the driver will send fingerprint responses fingerprintPeriod = 30 * time.Second + + // taskHandleVersion is the version of task handle which this driver sets + // and understands how to decode driver state + taskHandleVersion = 1 ) var ( @@ -319,7 +323,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive } d.logger.Info("starting task", "driver_cfg", hclog.Fmt("%+v", driverConfig)) - handle := drivers.NewTaskHandle(1) + handle := drivers.NewTaskHandle(taskHandleVersion) handle.Config = cfg pluginLogFile := filepath.Join(cfg.TaskDir().Dir, "executor.out") diff --git a/drivers/rawexec/driver_pre09.go b/drivers/rawexec/driver_pre09.go index b0d21c4dc..c2201ca0e 100644 --- a/drivers/rawexec/driver_pre09.go +++ b/drivers/rawexec/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/rkt/driver.go b/drivers/rkt/driver.go index 944e7ebba..155af21bf 100644 --- a/drivers/rkt/driver.go +++ b/drivers/rkt/driver.go @@ -56,6 +56,10 @@ const ( // networkDeadline is how long to wait for container network // information to become available. networkDeadline = 1 * time.Minute + + // taskHandleVersion is the version of task handle which this driver sets + // and understands how to decode driver state + taskHandleVersion = 1 ) var ( @@ -366,7 +370,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre0_9Task(handle.Config, reattachConfig) + return d.recoverPre09task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. @@ -433,7 +437,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive return nil, nil, fmt.Errorf("failed to decode driver config: %v", err) } - handle := drivers.NewTaskHandle(1) + handle := drivers.NewTaskHandle(taskHandleVersion) handle.Config = cfg // todo(preetha) - port map in client v1 is a slice of maps that get merged. figure out if the caller will do this diff --git a/drivers/rkt/driver_pre09.go b/drivers/rkt/driver_pre09.go index 44e0e5029..c23b4c737 100644 --- a/drivers/rkt/driver_pre09.go +++ b/drivers/rkt/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre0_9Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/shared/executor/legacy_executor_wrapper.go b/drivers/shared/executor/legacy_executor_wrapper.go index c32899d3d..e9a01a4cd 100644 --- a/drivers/shared/executor/legacy_executor_wrapper.go +++ b/drivers/shared/executor/legacy_executor_wrapper.go @@ -2,6 +2,7 @@ package executor import ( "encoding/gob" + "fmt" "net/rpc" "os" "syscall" @@ -30,7 +31,7 @@ type legacyExecutorWrapper struct { } func (l *legacyExecutorWrapper) Launch(launchCmd *ExecCommand) (*ProcessState, error) { - panic("not implemented") + return nil, fmt.Errorf("operation not supported for legacy exec wrapper") } func (l *legacyExecutorWrapper) Wait(ctx context.Context) (*ProcessState, error) { @@ -59,7 +60,7 @@ func (l *legacyExecutorWrapper) Shutdown(signal string, gracePeriod time.Duratio } func (l *legacyExecutorWrapper) UpdateResources(*drivers.Resources) error { - panic("not implemented") + return fmt.Errorf("operation not supported for legacy exec wrapper") } func (l *legacyExecutorWrapper) Version() (*ExecutorVersion, error) { @@ -194,5 +195,5 @@ func (p *pre09ExecutorPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interf } func (p *pre09ExecutorPlugin) Server(*plugin.MuxBroker) (interface{}, error) { - panic("client only supported") + return nil, fmt.Errorf("client only supported") } diff --git a/plugins/base/plugin.go b/plugins/base/plugin.go index 30d2fd49c..be4145161 100644 --- a/plugins/base/plugin.go +++ b/plugins/base/plugin.go @@ -25,6 +25,9 @@ const ( var ( // Handshake is a common handshake that is shared by all plugins and Nomad. Handshake = plugin.HandshakeConfig{ + // ProtocolVersion for the executor protocol. + // Version 1: pre 0.9 netrpc based executor + // Version 2: 0.9+ grpc based executor ProtocolVersion: 2, MagicCookieKey: "NOMAD_PLUGIN_MAGIC_COOKIE", MagicCookieValue: "e4327c2e01eabfd75a8a67adb114fb34a757d57eee7728d857a8cec6e91a7255", diff --git a/plugins/drivers/driver.go b/plugins/drivers/driver.go index cedae6fac..0af72641a 100644 --- a/plugins/drivers/driver.go +++ b/plugins/drivers/driver.go @@ -21,7 +21,16 @@ import ( "github.com/zclconf/go-cty/cty/msgpack" ) -const DriverHealthy = "Healthy" +const ( + // DriverHealthy is the default health description that should be used + // if the driver is nominal + DriverHealthy = "Healthy" + + // Pre09TaskHandleVersion is the version used to identify that the task + // handle is from a driver that existed before driver plugins (v0.9). The + // driver should take appropriate action to handle the old driver state. + Pre09TaskHandleVersion = 0 +) // DriverPlugin is the interface with drivers will implement. It is also // implemented by a plugin client which proxies the calls to go-plugin. See diff --git a/plugins/drivers/proto/driver.proto b/plugins/drivers/proto/driver.proto index 245e95c50..87a80e718 100644 --- a/plugins/drivers/proto/driver.proto +++ b/plugins/drivers/proto/driver.proto @@ -448,7 +448,8 @@ enum TaskState { // TaskHandle is created when starting a task and is used to recover task message TaskHandle { - // Version is used by the driver to version the DriverState schema + // Version is used by the driver to version the DriverState schema. + // Version 0 is reserved by Nomad and should not be used. int32 version = 1; // Config is the TaskConfig for the task From b840a2eb7b4802fef8e09ec5db72222c2239900a Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Wed, 16 Jan 2019 22:01:18 -0500 Subject: [PATCH 7/9] drivers: fix func naming --- drivers/exec/driver.go | 2 +- drivers/exec/driver_pre09.go | 2 +- drivers/java/driver.go | 2 +- drivers/java/driver_pre09.go | 2 +- drivers/qemu/driver.go | 2 +- drivers/qemu/driver_pre09.go | 2 +- drivers/rawexec/driver.go | 2 +- drivers/rawexec/driver_pre09.go | 2 +- drivers/rkt/driver.go | 2 +- drivers/rkt/driver_pre09.go | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/exec/driver.go b/drivers/exec/driver.go index 070acc6f2..91e3f548b 100644 --- a/drivers/exec/driver.go +++ b/drivers/exec/driver.go @@ -271,7 +271,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre09task(handle.Config, reattachConfig) + return d.recoverPre09Task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. diff --git a/drivers/exec/driver_pre09.go b/drivers/exec/driver_pre09.go index e475f73d0..982123845 100644 --- a/drivers/exec/driver_pre09.go +++ b/drivers/exec/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/java/driver.go b/drivers/java/driver.go index e64069ed3..433539e9d 100644 --- a/drivers/java/driver.go +++ b/drivers/java/driver.go @@ -259,7 +259,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre09task(handle.Config, reattachConfig) + return d.recoverPre09Task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. diff --git a/drivers/java/driver_pre09.go b/drivers/java/driver_pre09.go index 6186be233..58ba66493 100644 --- a/drivers/java/driver_pre09.go +++ b/drivers/java/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/qemu/driver.go b/drivers/qemu/driver.go index 37b8727aa..7d2420400 100644 --- a/drivers/qemu/driver.go +++ b/drivers/qemu/driver.go @@ -257,7 +257,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre09task(handle.Config, reattachConfig) + return d.recoverPre09Task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. diff --git a/drivers/qemu/driver_pre09.go b/drivers/qemu/driver_pre09.go index 605c8c23c..152b3f59a 100644 --- a/drivers/qemu/driver_pre09.go +++ b/drivers/qemu/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/rawexec/driver.go b/drivers/rawexec/driver.go index aa5523a63..9a3aec507 100644 --- a/drivers/rawexec/driver.go +++ b/drivers/rawexec/driver.go @@ -263,7 +263,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre0_9Task(handle.Config, reattachConfig) + return d.recoverPre09Task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. diff --git a/drivers/rawexec/driver_pre09.go b/drivers/rawexec/driver_pre09.go index c2201ca0e..9a60842de 100644 --- a/drivers/rawexec/driver_pre09.go +++ b/drivers/rawexec/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) diff --git a/drivers/rkt/driver.go b/drivers/rkt/driver.go index 155af21bf..e6c1a2225 100644 --- a/drivers/rkt/driver.go +++ b/drivers/rkt/driver.go @@ -370,7 +370,7 @@ func (d *Driver) RecoverTask(handle *drivers.TaskHandle) error { if err != nil { return err } - return d.recoverPre09task(handle.Config, reattachConfig) + return d.recoverPre09Task(handle.Config, reattachConfig) } // If already attached to handle there's nothing to recover. diff --git a/drivers/rkt/driver_pre09.go b/drivers/rkt/driver_pre09.go index c23b4c737..6695f6e38 100644 --- a/drivers/rkt/driver_pre09.go +++ b/drivers/rkt/driver_pre09.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/nomad/plugins/drivers" ) -func (d *Driver) recoverPre09task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { +func (d *Driver) recoverPre09Task(config *drivers.TaskConfig, reattach *plugin.ReattachConfig) error { config.ID = fmt.Sprintf("pre09-%s", uuid.Generate()) exec, pluginClient, err := executor.ReattachToPre09Executor(reattach, d.logger.With("task_name", config.Name, "alloc_id", config.AllocID)) From 47127de67122b2686e66f4d6a9e0550acfdb0bb4 Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Fri, 18 Jan 2019 18:09:38 -0500 Subject: [PATCH 8/9] ar: return error from hooks if occured --- client/allocrunner/alloc_runner_hooks.go | 2 +- client/state/08types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/allocrunner/alloc_runner_hooks.go b/client/allocrunner/alloc_runner_hooks.go index 85587a658..e1e3885f2 100644 --- a/client/allocrunner/alloc_runner_hooks.go +++ b/client/allocrunner/alloc_runner_hooks.go @@ -249,7 +249,7 @@ func (ar *allocRunner) destroy() error { } } - return nil + return merr.ErrorOrNil() } // shutdownHooks calls graceful shutdown hooks for when the agent is exiting. diff --git a/client/state/08types.go b/client/state/08types.go index 78d4ebd62..c10a1a90b 100644 --- a/client/state/08types.go +++ b/client/state/08types.go @@ -32,7 +32,7 @@ type allocRunnerMutableState08 struct { // 0.8. // // https://github.com/hashicorp/nomad/blob/v0.8.6/client/task_runner.go#L188-L197 -// +// COMPAT(0.10): Allows upgrading from 0.8.X to 0.9.0. type taskRunnerState08 struct { Version string HandleID string From 7da9f5eac7e8be2a6abfb9395e99bc1d9c613182 Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Fri, 18 Jan 2019 18:53:45 -0500 Subject: [PATCH 9/9] drivers: regen proto --- plugins/drivers/proto/driver.pb.go | 495 +++++++++++++++-------------- 1 file changed, 254 insertions(+), 241 deletions(-) diff --git a/plugins/drivers/proto/driver.pb.go b/plugins/drivers/proto/driver.pb.go index cd1c253c6..a035da4fa 100644 --- a/plugins/drivers/proto/driver.pb.go +++ b/plugins/drivers/proto/driver.pb.go @@ -50,7 +50,7 @@ func (x TaskState) String() string { return proto.EnumName(TaskState_name, int32(x)) } func (TaskState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{0} + return fileDescriptor_driver_d79b0e12b1c93702, []int{0} } type FingerprintResponse_HealthState int32 @@ -76,7 +76,7 @@ func (x FingerprintResponse_HealthState) String() string { return proto.EnumName(FingerprintResponse_HealthState_name, int32(x)) } func (FingerprintResponse_HealthState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{5, 0} + return fileDescriptor_driver_d79b0e12b1c93702, []int{5, 0} } type StartTaskResponse_Result int32 @@ -102,7 +102,7 @@ func (x StartTaskResponse_Result) String() string { return proto.EnumName(StartTaskResponse_Result_name, int32(x)) } func (StartTaskResponse_Result) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{9, 0} + return fileDescriptor_driver_d79b0e12b1c93702, []int{9, 0} } type DriverCapabilities_FSIsolation int32 @@ -128,7 +128,7 @@ func (x DriverCapabilities_FSIsolation) String() string { return proto.EnumName(DriverCapabilities_FSIsolation_name, int32(x)) } func (DriverCapabilities_FSIsolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{25, 0} + return fileDescriptor_driver_d79b0e12b1c93702, []int{25, 0} } type CPUUsage_Fields int32 @@ -163,7 +163,7 @@ func (x CPUUsage_Fields) String() string { return proto.EnumName(CPUUsage_Fields_name, int32(x)) } func (CPUUsage_Fields) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{43, 0} + return fileDescriptor_driver_d79b0e12b1c93702, []int{43, 0} } type MemoryUsage_Fields int32 @@ -174,6 +174,7 @@ const ( MemoryUsage_MAX_USAGE MemoryUsage_Fields = 2 MemoryUsage_KERNEL_USAGE MemoryUsage_Fields = 3 MemoryUsage_KERNEL_MAX_USAGE MemoryUsage_Fields = 4 + MemoryUsage_USAGE MemoryUsage_Fields = 5 ) var MemoryUsage_Fields_name = map[int32]string{ @@ -182,6 +183,7 @@ var MemoryUsage_Fields_name = map[int32]string{ 2: "MAX_USAGE", 3: "KERNEL_USAGE", 4: "KERNEL_MAX_USAGE", + 5: "USAGE", } var MemoryUsage_Fields_value = map[string]int32{ "RSS": 0, @@ -189,13 +191,14 @@ var MemoryUsage_Fields_value = map[string]int32{ "MAX_USAGE": 2, "KERNEL_USAGE": 3, "KERNEL_MAX_USAGE": 4, + "USAGE": 5, } func (x MemoryUsage_Fields) String() string { return proto.EnumName(MemoryUsage_Fields_name, int32(x)) } func (MemoryUsage_Fields) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{44, 0} + return fileDescriptor_driver_d79b0e12b1c93702, []int{44, 0} } type TaskConfigSchemaRequest struct { @@ -208,7 +211,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_c5667ca6005812fb, []int{0} + return fileDescriptor_driver_d79b0e12b1c93702, []int{0} } func (m *TaskConfigSchemaRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfigSchemaRequest.Unmarshal(m, b) @@ -240,7 +243,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_c5667ca6005812fb, []int{1} + return fileDescriptor_driver_d79b0e12b1c93702, []int{1} } func (m *TaskConfigSchemaResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfigSchemaResponse.Unmarshal(m, b) @@ -277,7 +280,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_c5667ca6005812fb, []int{2} + return fileDescriptor_driver_d79b0e12b1c93702, []int{2} } func (m *CapabilitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CapabilitiesRequest.Unmarshal(m, b) @@ -312,7 +315,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_c5667ca6005812fb, []int{3} + return fileDescriptor_driver_d79b0e12b1c93702, []int{3} } func (m *CapabilitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CapabilitiesResponse.Unmarshal(m, b) @@ -349,7 +352,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_c5667ca6005812fb, []int{4} + return fileDescriptor_driver_d79b0e12b1c93702, []int{4} } func (m *FingerprintRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FingerprintRequest.Unmarshal(m, b) @@ -392,7 +395,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_c5667ca6005812fb, []int{5} + return fileDescriptor_driver_d79b0e12b1c93702, []int{5} } func (m *FingerprintResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FingerprintResponse.Unmarshal(m, b) @@ -447,7 +450,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_c5667ca6005812fb, []int{6} + return fileDescriptor_driver_d79b0e12b1c93702, []int{6} } func (m *RecoverTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecoverTaskRequest.Unmarshal(m, b) @@ -491,7 +494,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_c5667ca6005812fb, []int{7} + return fileDescriptor_driver_d79b0e12b1c93702, []int{7} } func (m *RecoverTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RecoverTaskResponse.Unmarshal(m, b) @@ -523,7 +526,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_c5667ca6005812fb, []int{8} + return fileDescriptor_driver_d79b0e12b1c93702, []int{8} } func (m *StartTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartTaskRequest.Unmarshal(m, b) @@ -577,7 +580,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_c5667ca6005812fb, []int{9} + return fileDescriptor_driver_d79b0e12b1c93702, []int{9} } func (m *StartTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartTaskResponse.Unmarshal(m, b) @@ -637,7 +640,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_c5667ca6005812fb, []int{10} + return fileDescriptor_driver_d79b0e12b1c93702, []int{10} } func (m *WaitTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WaitTaskRequest.Unmarshal(m, b) @@ -678,7 +681,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_c5667ca6005812fb, []int{11} + return fileDescriptor_driver_d79b0e12b1c93702, []int{11} } func (m *WaitTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_WaitTaskResponse.Unmarshal(m, b) @@ -730,7 +733,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_c5667ca6005812fb, []int{12} + return fileDescriptor_driver_d79b0e12b1c93702, []int{12} } func (m *StopTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopTaskRequest.Unmarshal(m, b) @@ -781,7 +784,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_c5667ca6005812fb, []int{13} + return fileDescriptor_driver_d79b0e12b1c93702, []int{13} } func (m *StopTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopTaskResponse.Unmarshal(m, b) @@ -815,7 +818,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_c5667ca6005812fb, []int{14} + return fileDescriptor_driver_d79b0e12b1c93702, []int{14} } func (m *DestroyTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DestroyTaskRequest.Unmarshal(m, b) @@ -859,7 +862,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_c5667ca6005812fb, []int{15} + return fileDescriptor_driver_d79b0e12b1c93702, []int{15} } func (m *DestroyTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DestroyTaskResponse.Unmarshal(m, b) @@ -891,7 +894,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_c5667ca6005812fb, []int{16} + return fileDescriptor_driver_d79b0e12b1c93702, []int{16} } func (m *InspectTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InspectTaskRequest.Unmarshal(m, b) @@ -934,7 +937,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_c5667ca6005812fb, []int{17} + return fileDescriptor_driver_d79b0e12b1c93702, []int{17} } func (m *InspectTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_InspectTaskResponse.Unmarshal(m, b) @@ -989,7 +992,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_c5667ca6005812fb, []int{18} + return fileDescriptor_driver_d79b0e12b1c93702, []int{18} } func (m *TaskStatsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatsRequest.Unmarshal(m, b) @@ -1035,7 +1038,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_c5667ca6005812fb, []int{19} + return fileDescriptor_driver_d79b0e12b1c93702, []int{19} } func (m *TaskStatsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatsResponse.Unmarshal(m, b) @@ -1072,7 +1075,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_c5667ca6005812fb, []int{20} + return fileDescriptor_driver_d79b0e12b1c93702, []int{20} } func (m *TaskEventsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskEventsRequest.Unmarshal(m, b) @@ -1106,7 +1109,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_c5667ca6005812fb, []int{21} + return fileDescriptor_driver_d79b0e12b1c93702, []int{21} } func (m *SignalTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignalTaskRequest.Unmarshal(m, b) @@ -1150,7 +1153,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_c5667ca6005812fb, []int{22} + return fileDescriptor_driver_d79b0e12b1c93702, []int{22} } func (m *SignalTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SignalTaskResponse.Unmarshal(m, b) @@ -1187,7 +1190,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_c5667ca6005812fb, []int{23} + return fileDescriptor_driver_d79b0e12b1c93702, []int{23} } func (m *ExecTaskRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecTaskRequest.Unmarshal(m, b) @@ -1244,7 +1247,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_c5667ca6005812fb, []int{24} + return fileDescriptor_driver_d79b0e12b1c93702, []int{24} } func (m *ExecTaskResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExecTaskResponse.Unmarshal(m, b) @@ -1303,7 +1306,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_c5667ca6005812fb, []int{25} + return fileDescriptor_driver_d79b0e12b1c93702, []int{25} } func (m *DriverCapabilities) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DriverCapabilities.Unmarshal(m, b) @@ -1389,7 +1392,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_c5667ca6005812fb, []int{26} + return fileDescriptor_driver_d79b0e12b1c93702, []int{26} } func (m *TaskConfig) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskConfig.Unmarshal(m, b) @@ -1528,7 +1531,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_c5667ca6005812fb, []int{27} + return fileDescriptor_driver_d79b0e12b1c93702, []int{27} } func (m *Resources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Resources.Unmarshal(m, b) @@ -1575,7 +1578,7 @@ func (m *AllocatedTaskResources) Reset() { *m = AllocatedTaskResources{} func (m *AllocatedTaskResources) String() string { return proto.CompactTextString(m) } func (*AllocatedTaskResources) ProtoMessage() {} func (*AllocatedTaskResources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{28} + return fileDescriptor_driver_d79b0e12b1c93702, []int{28} } func (m *AllocatedTaskResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocatedTaskResources.Unmarshal(m, b) @@ -1627,7 +1630,7 @@ func (m *AllocatedCpuResources) Reset() { *m = AllocatedCpuResources{} } func (m *AllocatedCpuResources) String() string { return proto.CompactTextString(m) } func (*AllocatedCpuResources) ProtoMessage() {} func (*AllocatedCpuResources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{29} + return fileDescriptor_driver_d79b0e12b1c93702, []int{29} } func (m *AllocatedCpuResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocatedCpuResources.Unmarshal(m, b) @@ -1665,7 +1668,7 @@ func (m *AllocatedMemoryResources) Reset() { *m = AllocatedMemoryResourc func (m *AllocatedMemoryResources) String() string { return proto.CompactTextString(m) } func (*AllocatedMemoryResources) ProtoMessage() {} func (*AllocatedMemoryResources) Descriptor() ([]byte, []int) { - return fileDescriptor_driver_c5667ca6005812fb, []int{30} + return fileDescriptor_driver_d79b0e12b1c93702, []int{30} } func (m *AllocatedMemoryResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_AllocatedMemoryResources.Unmarshal(m, b) @@ -1708,7 +1711,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_c5667ca6005812fb, []int{31} + return fileDescriptor_driver_d79b0e12b1c93702, []int{31} } func (m *NetworkResource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkResource.Unmarshal(m, b) @@ -1782,7 +1785,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_c5667ca6005812fb, []int{32} + return fileDescriptor_driver_d79b0e12b1c93702, []int{32} } func (m *NetworkPort) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkPort.Unmarshal(m, b) @@ -1842,7 +1845,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_c5667ca6005812fb, []int{33} + return fileDescriptor_driver_d79b0e12b1c93702, []int{33} } func (m *LinuxResources) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LinuxResources.Unmarshal(m, b) @@ -1934,7 +1937,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_c5667ca6005812fb, []int{34} + return fileDescriptor_driver_d79b0e12b1c93702, []int{34} } func (m *Mount) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Mount.Unmarshal(m, b) @@ -1997,7 +2000,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_c5667ca6005812fb, []int{35} + return fileDescriptor_driver_d79b0e12b1c93702, []int{35} } func (m *Device) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Device.Unmarshal(m, b) @@ -2040,7 +2043,8 @@ func (m *Device) GetCgroupPermissions() string { // TaskHandle is created when starting a task and is used to recover task type TaskHandle struct { - // Version is used by the driver to version the DriverState schema + // Version is used by the driver to version the DriverState schema. + // Version 0 is reserved by Nomad and should not be used. Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Config is the TaskConfig for the task Config *TaskConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` @@ -2057,7 +2061,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_c5667ca6005812fb, []int{36} + return fileDescriptor_driver_d79b0e12b1c93702, []int{36} } func (m *TaskHandle) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskHandle.Unmarshal(m, b) @@ -2124,7 +2128,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_c5667ca6005812fb, []int{37} + return fileDescriptor_driver_d79b0e12b1c93702, []int{37} } func (m *NetworkOverride) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NetworkOverride.Unmarshal(m, b) @@ -2182,7 +2186,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_c5667ca6005812fb, []int{38} + return fileDescriptor_driver_d79b0e12b1c93702, []int{38} } func (m *ExitResult) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ExitResult.Unmarshal(m, b) @@ -2245,7 +2249,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_c5667ca6005812fb, []int{39} + return fileDescriptor_driver_d79b0e12b1c93702, []int{39} } func (m *TaskStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStatus.Unmarshal(m, b) @@ -2320,7 +2324,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_c5667ca6005812fb, []int{40} + return fileDescriptor_driver_d79b0e12b1c93702, []int{40} } func (m *TaskDriverStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskDriverStatus.Unmarshal(m, b) @@ -2365,7 +2369,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_c5667ca6005812fb, []int{41} + return fileDescriptor_driver_d79b0e12b1c93702, []int{41} } func (m *TaskStats) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskStats.Unmarshal(m, b) @@ -2427,7 +2431,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_c5667ca6005812fb, []int{42} + return fileDescriptor_driver_d79b0e12b1c93702, []int{42} } func (m *TaskResourceUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TaskResourceUsage.Unmarshal(m, b) @@ -2479,7 +2483,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_c5667ca6005812fb, []int{43} + return fileDescriptor_driver_d79b0e12b1c93702, []int{43} } func (m *CPUUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CPUUsage.Unmarshal(m, b) @@ -2554,6 +2558,7 @@ type MemoryUsage struct { MaxUsage uint64 `protobuf:"varint,3,opt,name=max_usage,json=maxUsage,proto3" json:"max_usage,omitempty"` KernelUsage uint64 `protobuf:"varint,4,opt,name=kernel_usage,json=kernelUsage,proto3" json:"kernel_usage,omitempty"` KernelMaxUsage uint64 `protobuf:"varint,5,opt,name=kernel_max_usage,json=kernelMaxUsage,proto3" json:"kernel_max_usage,omitempty"` + Usage uint64 `protobuf:"varint,7,opt,name=usage,proto3" json:"usage,omitempty"` // MeasuredFields indicates which fields were actually sampled MeasuredFields []MemoryUsage_Fields `protobuf:"varint,6,rep,packed,name=measured_fields,json=measuredFields,proto3,enum=hashicorp.nomad.plugins.drivers.proto.MemoryUsage_Fields" json:"measured_fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -2565,7 +2570,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_c5667ca6005812fb, []int{44} + return fileDescriptor_driver_d79b0e12b1c93702, []int{44} } func (m *MemoryUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MemoryUsage.Unmarshal(m, b) @@ -2620,6 +2625,13 @@ func (m *MemoryUsage) GetKernelMaxUsage() uint64 { return 0 } +func (m *MemoryUsage) GetUsage() uint64 { + if m != nil { + return m.Usage + } + return 0 +} + func (m *MemoryUsage) GetMeasuredFields() []MemoryUsage_Fields { if m != nil { return m.MeasuredFields @@ -2649,7 +2661,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_c5667ca6005812fb, []int{45} + return fileDescriptor_driver_d79b0e12b1c93702, []int{45} } func (m *DriverTaskEvent) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DriverTaskEvent.Unmarshal(m, b) @@ -3384,195 +3396,196 @@ var _Driver_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("plugins/drivers/proto/driver.proto", fileDescriptor_driver_c5667ca6005812fb) + proto.RegisterFile("plugins/drivers/proto/driver.proto", fileDescriptor_driver_d79b0e12b1c93702) } -var fileDescriptor_driver_c5667ca6005812fb = []byte{ - // 2962 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0xdd, 0x6f, 0xe3, 0xc6, - 0x11, 0x37, 0xf5, 0x65, 0x69, 0x64, 0xcb, 0xbc, 0xbd, 0xbb, 0x44, 0x51, 0xd0, 0xe6, 0x42, 0x20, - 0x85, 0x91, 0xe4, 0xe4, 0xc4, 0x41, 0xef, 0xab, 0xf9, 0x52, 0x24, 0x9e, 0xed, 0x9c, 0x2d, 0xbb, - 0x2b, 0x19, 0x97, 0x6b, 0x9b, 0xb0, 0x34, 0xb9, 0x27, 0xf1, 0x2c, 0x7e, 0x84, 0x5c, 0x3a, 0x36, - 0x8a, 0xa2, 0x45, 0x0a, 0x14, 0xed, 0x43, 0x81, 0xbe, 0x04, 0x7d, 0x6f, 0x1f, 0xfb, 0x17, 0xb4, - 0x45, 0xfe, 0x8f, 0x02, 0xed, 0x4b, 0x0b, 0x14, 0xe8, 0x6b, 0xff, 0x83, 0x62, 0x3f, 0x48, 0x51, - 0xb6, 0x2f, 0x47, 0xe9, 0xf2, 0x24, 0xed, 0xec, 0xce, 0x6f, 0x87, 0x33, 0xb3, 0x33, 0xb3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0x7b, 0x44, 0x0e, 0x78, 0x2f, - 0xa7, 0xa5, 0x3a, 0x09, 0x82, 0x8c, 0x83, 0xd2, 0x95, 0x50, 0x8a, 0x3c, 0xdd, 0xef, 0x33, 0x58, - 0x9b, 0x38, 0x5e, 0x7c, 0x9a, 0xd9, 0x4b, 0x24, 0xe0, 0xef, 0xe7, 0xdc, 0x6b, 0x97, 0x71, 0x4f, - 0xf7, 0x68, 0x4c, 0x66, 0xc6, 0xda, 0x57, 0x05, 0x78, 0xe1, 0x72, 0x71, 0x50, 0x1f, 0x8a, 0x56, - 0x10, 0xcb, 0x4f, 0x7b, 0x77, 0xde, 0x4f, 0xeb, 0x06, 0xf1, 0x74, 0x57, 0x06, 0xc4, 0x8a, 0x76, - 0x97, 0xb8, 0x7e, 0x78, 0x26, 0xbf, 0xe0, 0x83, 0x79, 0x21, 0xf7, 0x38, 0xf7, 0x14, 0x55, 0xc2, - 0x21, 0x0c, 0x55, 0x99, 0xfa, 0x23, 0x19, 0x26, 0xe6, 0x2c, 0x21, 0x12, 0x48, 0x9c, 0xe2, 0x68, - 0xb7, 0xe0, 0xfa, 0xa5, 0x9f, 0x82, 0xbe, 0x03, 0x60, 0x05, 0xb1, 0xc1, 0xaf, 0x78, 0xc2, 0xee, - 0x45, 0x5c, 0xb3, 0x82, 0x78, 0xc0, 0x09, 0xda, 0x6d, 0x68, 0x3e, 0x4d, 0x5e, 0x76, 0xf8, 0x84, - 0xc4, 0x86, 0x7b, 0x94, 0xd4, 0x18, 0x82, 0xb0, 0x77, 0xa4, 0xfd, 0xa1, 0x00, 0x6b, 0xe7, 0xc4, - 0x61, 0x19, 0x50, 0x1c, 0xe6, 0x24, 0x2b, 0x8b, 0x11, 0x3b, 0xd9, 0x96, 0x63, 0x27, 0x65, 0x31, - 0xff, 0xcf, 0x63, 0x7a, 0x20, 0x4b, 0xd6, 0x82, 0x13, 0x30, 0x87, 0x76, 0x8f, 0x1c, 0x1a, 0xf1, - 0x9b, 0x44, 0x19, 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 0x4f, 0xb8, 0xd8, 0xbc, 0xcc, 0xed, 0x09, 0x97, - 0xb5, 0x2c, 0x85, 0x20, 0x99, 0x2e, 0x64, 0x6e, 0x41, 0x2e, 0x76, 0x3a, 0x73, 0x0b, 0x72, 0x49, - 0xd3, 0x53, 0x5b, 0x42, 0x5f, 0x2a, 0xd9, 0xc2, 0xfe, 0xf6, 0xdc, 0xcd, 0xb9, 0x39, 0x5d, 0xf2, - 0x42, 0x7b, 0x90, 0x1f, 0xd0, 0x2f, 0xe5, 0x33, 0x84, 0xe8, 0xed, 0xa1, 0x79, 0xc0, 0x66, 0xda, - 0x81, 0xad, 0x5b, 0x8b, 0x25, 0x1b, 0x2e, 0xc4, 0xaf, 0x14, 0x80, 0x69, 0x17, 0x30, 0xb7, 0x10, - 0x17, 0xda, 0x8f, 0xad, 0xbb, 0x0b, 0x70, 0x66, 0x0f, 0x48, 0xd2, 0xf8, 0xcb, 0x7d, 0x40, 0xce, - 0x75, 0x29, 0x73, 0x1f, 0x90, 0xf3, 0x1d, 0x46, 0x6d, 0xe9, 0xa3, 0xe5, 0x1f, 0x95, 0x45, 0xf6, - 0xaf, 0xf0, 0x9f, 0x77, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x6e, 0xa6, 0xcf, 0xe1, 0x38, 0x27, +var fileDescriptor_driver_d79b0e12b1c93702 = []byte{ + // 2978 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0xdb, 0x6f, 0xe3, 0xc6, + 0xd5, 0x37, 0x75, 0xb3, 0x74, 0x64, 0xcb, 0xdc, 0xd9, 0xdd, 0x44, 0x51, 0xf0, 0x7d, 0xd9, 0x10, + 0xc8, 0x07, 0x23, 0xc9, 0xca, 0x89, 0x83, 0x6f, 0x6f, 0xcd, 0x4d, 0x91, 0xb8, 0xb6, 0xb3, 0xb6, + 0xec, 0x8e, 0x64, 0x6c, 0xb6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xe1, 0x13, 0xc6, 0x47, 0x1a, 0xac, 0xfa, 0xbe, 0x6b, 0x44, 0x96, 0x1f, 0x12, 0xc3, + 0xb4, 0x9f, 0x36, 0xcb, 0xbc, 0x63, 0xdd, 0xf7, 0xdd, 0x01, 0xe3, 0x75, 0xec, 0xa7, 0xec, 0xc0, + 0xb5, 0x82, 0x38, 0x22, 0xd4, 0x60, 0x1f, 0x1e, 0xa3, 0x6a, 0x18, 0x04, 0xab, 0x1b, 0xc4, 0x51, + 0xa6, 0x83, 0x4b, 0x5c, 0x16, 0x77, 0x32, 0x1d, 0xf6, 0x88, 0xcb, 0x46, 0x59, 0x39, 0x20, 0xa1, + 0x45, 0x3c, 0x3a, 0x74, 0xac, 0x63, 0x16, 0x52, 0x94, 0x75, 0x05, 0xcf, 0xf0, 0xb4, 0xcf, 0xa1, + 0xcc, 0x43, 0x10, 0x9b, 0x3c, 0x3f, 0xbe, 0xf9, 0xe9, 0x2e, 0x96, 0xb7, 0xca, 0x18, 0xfc, 0x6c, + 0x7f, 0x15, 0x6a, 0x63, 0x3f, 0x92, 0xb1, 0x41, 0x78, 0x5e, 0x95, 0x31, 0x78, 0x63, 0x0b, 0xaa, + 0x21, 0x31, 0x6d, 0xdf, 0x9b, 0x9c, 0xf1, 0x75, 0xa9, 0xe2, 0x94, 0xd6, 0xbe, 0x80, 0x8a, 0x38, + 0x7e, 0x5f, 0x00, 0xff, 0x26, 0x20, 0x4b, 0x04, 0x95, 0x80, 0x84, 0xae, 0x13, 0x45, 0x8e, 0xef, + 0x45, 0xc9, 0x73, 0x8e, 0x68, 0x39, 0x98, 0x36, 0x68, 0x7f, 0x53, 0x44, 0xbe, 0x23, 0x2e, 0xda, + 0x2c, 0x8b, 0x65, 0x9e, 0xc6, 0x72, 0x32, 0x85, 0xbb, 0x47, 0x42, 0xb2, 0x5c, 0x52, 0xa6, 0x35, + 0x85, 0x45, 0xdf, 0x29, 0x24, 0x40, 0x72, 0x1f, 0x20, 0x32, 0xed, 0x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xb3, 0xdf, + 0x1b, 0xa8, 0x45, 0x84, 0xa0, 0x31, 0x65, 0x0f, 0x77, 0xf6, 0x74, 0xb5, 0x84, 0xea, 0xb0, 0x7c, + 0xa0, 0xe3, 0xae, 0xde, 0x1f, 0xaa, 0x65, 0xed, 0x3f, 0x05, 0xa8, 0x67, 0xac, 0xc8, 0x1c, 0x39, + 0x8c, 0x44, 0x9e, 0x5f, 0xc2, 0xec, 0x97, 0x1d, 0x26, 0x96, 0x69, 0x8d, 0x85, 0x75, 0x4a, 0x58, + 0x10, 0x3c, 0xb7, 0x37, 0x4f, 0x33, 0xfb, 0xbc, 0x84, 0xab, 0xae, 0x79, 0x2a, 0x40, 0x5e, 0x87, + 0x95, 0x63, 0x12, 0x7a, 0x64, 0x22, 0xdb, 0x85, 0x45, 0xea, 0x82, 0x27, 0xba, 0xac, 0x83, 0x2a, + 0xbb, 0x4c, 0x61, 0x84, 0x39, 0x1a, 0x82, 0xbf, 0x97, 0x80, 0x5d, 0x83, 0xb2, 0x68, 0x5e, 0x16, + 0xe3, 0x73, 0x02, 0x1d, 0x5d, 0xb4, 0x45, 0x85, 0xdb, 0xe2, 0xee, 0xfc, 0xae, 0xfb, 0x2c, 0x73, + 0x3c, 0x4e, 0xcd, 0xb1, 0x0c, 0x45, 0x9c, 0x14, 0x10, 0xba, 0x9d, 0xee, 0x36, 0x33, 0xc1, 0x2a, + 0xd4, 0xf6, 0x3a, 0x9f, 0x19, 0x87, 0x03, 0xfe, 0xe4, 0x84, 0x54, 0x58, 0x79, 0xa0, 0xe3, 0xbe, + 0xbe, 0x2b, 0x39, 0x45, 0x74, 0x0d, 0x54, 0xc9, 0x99, 0xf6, 0x2b, 0x31, 0x04, 0xf1, 0x5b, 0xd6, + 0xfe, 0x5e, 0x80, 0x35, 0x71, 0xf0, 0xa7, 0x0f, 0xa2, 0xcf, 0x7e, 0x99, 0xcc, 0xbe, 0x13, 0x14, + 0x66, 0xde, 0x09, 0xd2, 0x34, 0x93, 0xc7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