re-vendor swarmkit

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff 2016-07-05 11:37:26 -04:00 committed by Brian Goff
parent 140ec59db6
commit db271b8833
9 changed files with 280 additions and 261 deletions

View File

@ -139,7 +139,7 @@ clone git github.com/docker/docker-credential-helpers v0.3.0
clone git github.com/docker/containerd 1b3a81545ca79456086dc2aa424357be98b962ee clone git github.com/docker/containerd 1b3a81545ca79456086dc2aa424357be98b962ee
# cluster # cluster
clone git github.com/docker/swarmkit 036a4a1e934bd1bbb35c3ec7f85dea2ba6d4e336 clone git github.com/docker/swarmkit 24eaf0021a2eea7938fce7493ce4731f53c2b87c
clone git github.com/golang/mock bd3c8e81be01eef76d4b503f5e687d2d1354d2d9 clone git github.com/golang/mock bd3c8e81be01eef76d4b503f5e687d2d1354d2d9
clone git github.com/gogo/protobuf 43a2e0b1c32252bfbbdf81f7faa7a88fb3fa4028 clone git github.com/gogo/protobuf 43a2e0b1c32252bfbbdf81f7faa7a88fb3fa4028
clone git github.com/cloudflare/cfssl b895b0549c0ff676f92cf09ba971ae02bb41367b clone git github.com/cloudflare/cfssl b895b0549c0ff676f92cf09ba971ae02bb41367b

View File

@ -562,6 +562,7 @@ func (n *Node) initManagerConnection(ctx context.Context, ready chan<- struct{})
for { for {
s, err := conn.WaitForStateChange(ctx, state) s, err := conn.WaitForStateChange(ctx, state)
if err != nil { if err != nil {
n.setControlSocket(nil)
return err return err
} }
if s == grpc.Ready { if s == grpc.Ready {

View File

@ -644,9 +644,8 @@ type Mount struct {
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
// Target path in container // Target path in container
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Writable should be set to true if the mount should be writable from the // ReadOnly should be set to true if the mount should not be writable.
// container. ReadOnly bool `protobuf:"varint,4,opt,name=readonly,proto3" json:"readonly,omitempty"`
Writable bool `protobuf:"varint,4,opt,name=writable,proto3" json:"writable,omitempty"`
// BindOptions configures properties of a bind mount type. // BindOptions configures properties of a bind mount type.
BindOptions *Mount_BindOptions `protobuf:"bytes,5,opt,name=bind_options,json=bindOptions" json:"bind_options,omitempty"` BindOptions *Mount_BindOptions `protobuf:"bytes,5,opt,name=bind_options,json=bindOptions" json:"bind_options,omitempty"`
// VolumeOptions configures the properties specific to a volume mount type. // VolumeOptions configures the properties specific to a volume mount type.
@ -669,8 +668,8 @@ func (*Mount_BindOptions) Descriptor() ([]byte, []int) { return fileDescriptorTy
// VolumeOptions contains parameters for mounting the volume. // VolumeOptions contains parameters for mounting the volume.
type Mount_VolumeOptions struct { type Mount_VolumeOptions struct {
// populate volume with data from target // nocopy prevents automatic copying of data to the volume with data from target
Populate bool `protobuf:"varint,1,opt,name=populate,proto3" json:"populate,omitempty"` NoCopy bool `protobuf:"varint,1,opt,name=nocopy,proto3" json:"nocopy,omitempty"`
// labels to apply to the volume if creating // labels to apply to the volume if creating
Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// DriverConfig specifies the options that may be passed to the driver // DriverConfig specifies the options that may be passed to the driver
@ -1343,7 +1342,7 @@ func (m *Mount) Copy() *Mount {
Type: m.Type, Type: m.Type,
Source: m.Source, Source: m.Source,
Target: m.Target, Target: m.Target,
Writable: m.Writable, ReadOnly: m.ReadOnly,
BindOptions: m.BindOptions.Copy(), BindOptions: m.BindOptions.Copy(),
VolumeOptions: m.VolumeOptions.Copy(), VolumeOptions: m.VolumeOptions.Copy(),
} }
@ -1369,7 +1368,7 @@ func (m *Mount_VolumeOptions) Copy() *Mount_VolumeOptions {
} }
o := &Mount_VolumeOptions{ o := &Mount_VolumeOptions{
Populate: m.Populate, NoCopy: m.NoCopy,
DriverConfig: m.DriverConfig.Copy(), DriverConfig: m.DriverConfig.Copy(),
} }
@ -1931,7 +1930,7 @@ func (this *Mount) GoString() string {
s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n") s = append(s, "Type: "+fmt.Sprintf("%#v", this.Type)+",\n")
s = append(s, "Source: "+fmt.Sprintf("%#v", this.Source)+",\n") s = append(s, "Source: "+fmt.Sprintf("%#v", this.Source)+",\n")
s = append(s, "Target: "+fmt.Sprintf("%#v", this.Target)+",\n") s = append(s, "Target: "+fmt.Sprintf("%#v", this.Target)+",\n")
s = append(s, "Writable: "+fmt.Sprintf("%#v", this.Writable)+",\n") s = append(s, "ReadOnly: "+fmt.Sprintf("%#v", this.ReadOnly)+",\n")
if this.BindOptions != nil { if this.BindOptions != nil {
s = append(s, "BindOptions: "+fmt.Sprintf("%#v", this.BindOptions)+",\n") s = append(s, "BindOptions: "+fmt.Sprintf("%#v", this.BindOptions)+",\n")
} }
@ -1957,7 +1956,7 @@ func (this *Mount_VolumeOptions) GoString() string {
} }
s := make([]string, 0, 7) s := make([]string, 0, 7)
s = append(s, "&api.Mount_VolumeOptions{") s = append(s, "&api.Mount_VolumeOptions{")
s = append(s, "Populate: "+fmt.Sprintf("%#v", this.Populate)+",\n") s = append(s, "NoCopy: "+fmt.Sprintf("%#v", this.NoCopy)+",\n")
keysForLabels := make([]string, 0, len(this.Labels)) keysForLabels := make([]string, 0, len(this.Labels))
for k, _ := range this.Labels { for k, _ := range this.Labels {
keysForLabels = append(keysForLabels, k) keysForLabels = append(keysForLabels, k)
@ -2775,10 +2774,10 @@ func (m *Mount) MarshalTo(data []byte) (int, error) {
i = encodeVarintTypes(data, i, uint64(len(m.Target))) i = encodeVarintTypes(data, i, uint64(len(m.Target)))
i += copy(data[i:], m.Target) i += copy(data[i:], m.Target)
} }
if m.Writable { if m.ReadOnly {
data[i] = 0x20 data[i] = 0x20
i++ i++
if m.Writable { if m.ReadOnly {
data[i] = 1 data[i] = 1
} else { } else {
data[i] = 0 data[i] = 0
@ -2846,10 +2845,10 @@ func (m *Mount_VolumeOptions) MarshalTo(data []byte) (int, error) {
_ = i _ = i
var l int var l int
_ = l _ = l
if m.Populate { if m.NoCopy {
data[i] = 0x8 data[i] = 0x8
i++ i++
if m.Populate { if m.NoCopy {
data[i] = 1 data[i] = 1
} else { } else {
data[i] = 0 data[i] = 0
@ -4028,7 +4027,7 @@ func (m *Mount) Size() (n int) {
if l > 0 { if l > 0 {
n += 1 + l + sovTypes(uint64(l)) n += 1 + l + sovTypes(uint64(l))
} }
if m.Writable { if m.ReadOnly {
n += 2 n += 2
} }
if m.BindOptions != nil { if m.BindOptions != nil {
@ -4054,7 +4053,7 @@ func (m *Mount_BindOptions) Size() (n int) {
func (m *Mount_VolumeOptions) Size() (n int) { func (m *Mount_VolumeOptions) Size() (n int) {
var l int var l int
_ = l _ = l
if m.Populate { if m.NoCopy {
n += 2 n += 2
} }
if len(m.Labels) > 0 { if len(m.Labels) > 0 {
@ -4649,7 +4648,7 @@ func (this *Mount) String() string {
`Type:` + fmt.Sprintf("%v", this.Type) + `,`, `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
`Source:` + fmt.Sprintf("%v", this.Source) + `,`, `Source:` + fmt.Sprintf("%v", this.Source) + `,`,
`Target:` + fmt.Sprintf("%v", this.Target) + `,`, `Target:` + fmt.Sprintf("%v", this.Target) + `,`,
`Writable:` + fmt.Sprintf("%v", this.Writable) + `,`, `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
`BindOptions:` + strings.Replace(fmt.Sprintf("%v", this.BindOptions), "Mount_BindOptions", "Mount_BindOptions", 1) + `,`, `BindOptions:` + strings.Replace(fmt.Sprintf("%v", this.BindOptions), "Mount_BindOptions", "Mount_BindOptions", 1) + `,`,
`VolumeOptions:` + strings.Replace(fmt.Sprintf("%v", this.VolumeOptions), "Mount_VolumeOptions", "Mount_VolumeOptions", 1) + `,`, `VolumeOptions:` + strings.Replace(fmt.Sprintf("%v", this.VolumeOptions), "Mount_VolumeOptions", "Mount_VolumeOptions", 1) + `,`,
`}`, `}`,
@ -4681,7 +4680,7 @@ func (this *Mount_VolumeOptions) String() string {
} }
mapStringForLabels += "}" mapStringForLabels += "}"
s := strings.Join([]string{`&Mount_VolumeOptions{`, s := strings.Join([]string{`&Mount_VolumeOptions{`,
`Populate:` + fmt.Sprintf("%v", this.Populate) + `,`, `NoCopy:` + fmt.Sprintf("%v", this.NoCopy) + `,`,
`Labels:` + mapStringForLabels + `,`, `Labels:` + mapStringForLabels + `,`,
`DriverConfig:` + strings.Replace(fmt.Sprintf("%v", this.DriverConfig), "Driver", "Driver", 1) + `,`, `DriverConfig:` + strings.Replace(fmt.Sprintf("%v", this.DriverConfig), "Driver", "Driver", 1) + `,`,
`}`, `}`,
@ -6501,7 +6500,7 @@ func (m *Mount) Unmarshal(data []byte) error {
iNdEx = postIndex iNdEx = postIndex
case 4: case 4:
if wireType != 0 { if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Writable", wireType) return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
} }
var v int var v int
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
@ -6518,7 +6517,7 @@ func (m *Mount) Unmarshal(data []byte) error {
break break
} }
} }
m.Writable = bool(v != 0) m.ReadOnly = bool(v != 0)
case 5: case 5:
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field BindOptions", wireType) return fmt.Errorf("proto: wrong wireType = %d for field BindOptions", wireType)
@ -6706,7 +6705,7 @@ func (m *Mount_VolumeOptions) Unmarshal(data []byte) error {
switch fieldNum { switch fieldNum {
case 1: case 1:
if wireType != 0 { if wireType != 0 {
return fmt.Errorf("proto: wrong wireType = %d for field Populate", wireType) return fmt.Errorf("proto: wrong wireType = %d for field NoCopy", wireType)
} }
var v int var v int
for shift := uint(0); ; shift += 7 { for shift := uint(0); ; shift += 7 {
@ -6723,7 +6722,7 @@ func (m *Mount_VolumeOptions) Unmarshal(data []byte) error {
break break
} }
} }
m.Populate = bool(v != 0) m.NoCopy = bool(v != 0)
case 2: case 2:
if wireType != 2 { if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType) return fmt.Errorf("proto: wrong wireType = %d for field Labels", wireType)
@ -10200,195 +10199,196 @@ var (
) )
var fileDescriptorTypes = []byte{ var fileDescriptorTypes = []byte{
// 3030 bytes of a gzipped FileDescriptorProto // 3043 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x58, 0x4d, 0x6c, 0x1b, 0xc7, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x58, 0x4d, 0x6c, 0x1b, 0xc7,
0xf5, 0x17, 0x3f, 0x45, 0x0e, 0x29, 0x89, 0x5e, 0x3b, 0x8e, 0xcc, 0xe8, 0x2f, 0xfb, 0xbf, 0x89, 0x15, 0x16, 0x7f, 0x45, 0x0e, 0x29, 0x89, 0x5e, 0x3b, 0x8e, 0xcc, 0xa8, 0xb2, 0xbb, 0x89, 0x1b,
0x1b, 0xe7, 0xa3, 0x4c, 0xac, 0xa4, 0x85, 0x9b, 0xa0, 0x4d, 0x96, 0x1f, 0xb2, 0x58, 0x4b, 0x14, 0xe7, 0xa7, 0x4c, 0xac, 0xa4, 0x85, 0x9b, 0xa0, 0x4d, 0x96, 0x3f, 0xb2, 0x58, 0x4b, 0x24, 0x31,
0x31, 0x94, 0x64, 0x04, 0x45, 0x4b, 0xac, 0x96, 0x23, 0x71, 0xa3, 0xe5, 0x2e, 0xbb, 0xbb, 0x94, 0x94, 0x64, 0x04, 0x45, 0x4b, 0xac, 0x96, 0x23, 0x69, 0xa3, 0xe5, 0x2e, 0xbb, 0xbb, 0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0xd6, 0x2f, 0x42, 0x40, 0xff, 0x29, 0x59, 0x81, 0x59, 0x42, 0x13, 0x12, 0xb5, 0x4a,
0x68, 0xb3, 0x4e, 0x0b, 0x11, 0xa8, 0xd9, 0x43, 0x3d, 0x87, 0x00, 0xc5, 0xe5, 0x33, 0xd5, 0x45, 0xcd, 0x1b, 0xa4, 0x68, 0x29, 0x52, 0xcf, 0xee, 0x0b, 0x57, 0xac, 0xae, 0xc0, 0x45, 0x2a, 0x44,
0x80, 0xa6, 0xda, 0x00, 0x41, 0x1a, 0x58, 0x31, 0xcf, 0xee, 0xd9, 0x21, 0x5c, 0x8f, 0x9e, 0x48, 0xd0, 0x66, 0x9d, 0x16, 0x22, 0x50, 0xb3, 0x8f, 0x76, 0x0e, 0x01, 0x8a, 0xd3, 0x67, 0xaa, 0x8b,
0xb3, 0x19, 0x9a, 0x43, 0x42, 0x0d, 0xc6, 0xfa, 0x7b, 0x49, 0x42, 0xf6, 0xcc, 0xe0, 0x44, 0x2e, 0x00, 0x4d, 0x75, 0x00, 0x82, 0x34, 0xd8, 0xc5, 0x3c, 0xbb, 0x67, 0x87, 0x70, 0x3d, 0xfa, 0x22,
0x0d, 0x05, 0x49, 0xd4, 0x7e, 0x9c, 0x57, 0x06, 0xef, 0x29, 0x10, 0x9d, 0xe0, 0xb5, 0xd7, 0x54, 0xf9, 0x66, 0x68, 0x0e, 0x09, 0x35, 0x18, 0xeb, 0xef, 0x25, 0x09, 0xd9, 0x35, 0x83, 0x13, 0x39,
0x9e, 0x15, 0xd5, 0x41, 0x3c, 0xa3, 0x5c, 0x2b, 0x2e, 0xc1, 0xce, 0x96, 0x00, 0x78, 0x11, 0x99, 0x35, 0x94, 0x29, 0x51, 0x53, 0x72, 0x5e, 0x71, 0xbc, 0xab, 0x40, 0x74, 0x82, 0xd7, 0x5e, 0x53,
0xef, 0x73, 0x2f, 0x82, 0x8b, 0x08, 0x9f, 0xd0, 0x95, 0xe4, 0x23, 0x9d, 0x65, 0x06, 0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 0xff, 0xe9, 0x7a, 0xe2, 0x21, 0xfc, 0xfe, 0x0c, 0xbf, 0xbf, 0xc3, 0xef,
0xf4, 0x16, 0x49, 0x1d, 0x00, 0x00, 0x20, 0xcb, 0xeb, 0x97, 0xd7, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x61, 0x4f, 0x38, 0x13, 0x5f,
0x1d, 0x00, 0x00,
} }

View File

@ -150,9 +150,8 @@ message Mount {
// Target path in container // Target path in container
string target = 3; string target = 3;
// Writable should be set to true if the mount should be writable from the // ReadOnly should be set to true if the mount should not be writable.
// container. bool readonly = 4 [(gogoproto.customname) = "ReadOnly"];
bool writable = 4;
// BindOptions specifies options that are specific to a bind mount. // BindOptions specifies options that are specific to a bind mount.
message BindOptions { message BindOptions {
@ -174,8 +173,8 @@ message Mount {
// VolumeOptions contains parameters for mounting the volume. // VolumeOptions contains parameters for mounting the volume.
message VolumeOptions { message VolumeOptions {
// populate volume with data from target // nocopy prevents automatic copying of data to the volume with data from target
bool populate = 1; bool nocopy = 1 [(gogoproto.customname) = "NoCopy"];
// labels to apply to the volume if creating // labels to apply to the volume if creating
map<string, string> labels = 2; map<string, string> labels = 2;

View File

@ -6,6 +6,11 @@ import (
"github.com/docker/swarmkit/api" "github.com/docker/swarmkit/api"
) )
const (
nodeLabelPrefix = "node.labels."
engineLabelPrefix = "engine.labels."
)
// ConstraintFilter selects only nodes that match certain labels. // ConstraintFilter selects only nodes that match certain labels.
type ConstraintFilter struct { type ConstraintFilter struct {
constraints []Expr constraints []Expr
@ -26,12 +31,12 @@ func (f *ConstraintFilter) SetTask(t *api.Task) bool {
// Check returns true if the task's constraint is supported by the given node. // Check returns true if the task's constraint is supported by the given node.
func (f *ConstraintFilter) Check(n *NodeInfo) bool { func (f *ConstraintFilter) Check(n *NodeInfo) bool {
for _, constraint := range f.constraints { for _, constraint := range f.constraints {
switch constraint.Key { switch {
case "node.id": case strings.EqualFold(constraint.Key, "node.id"):
if !constraint.Match(n.ID) { if !constraint.Match(n.ID) {
return false return false
} }
case "node.name": case strings.EqualFold(constraint.Key, "node.hostname"):
// if this node doesn't have hostname // if this node doesn't have hostname
// it's equivalent to match an empty hostname // it's equivalent to match an empty hostname
// where '==' would fail, '!=' matches // where '==' would fail, '!=' matches
@ -44,29 +49,42 @@ func (f *ConstraintFilter) Check(n *NodeInfo) bool {
if !constraint.Match(n.Description.Hostname) { if !constraint.Match(n.Description.Hostname) {
return false return false
} }
default: case strings.EqualFold(constraint.Key, "node.role"):
// default is node label in form like 'node.labels.key==value' if !constraint.Match(n.Spec.Role.String()) {
// if it is not well formed, always fails it
if !strings.HasPrefix(constraint.Key, "node.labels.") {
return false return false
} }
// if the node doesn't have any label,
// it's equivalent to match an empty value. // node labels constraint in form like 'node.labels.key==value'
// that is, 'node.labels.key!=value' should pass and case len(constraint.Key) > len(nodeLabelPrefix) && strings.EqualFold(constraint.Key[:len(nodeLabelPrefix)], nodeLabelPrefix):
// 'node.labels.key==value' should fail
if n.Spec.Annotations.Labels == nil { if n.Spec.Annotations.Labels == nil {
if !constraint.Match("") { if !constraint.Match("") {
return false return false
} }
continue continue
} }
label := constraint.Key[len("node.labels."):] label := constraint.Key[len(nodeLabelPrefix):]
// if the node doesn't have this specific label, // label itself is case sensitive
// val is an empty string
val := n.Spec.Annotations.Labels[label] val := n.Spec.Annotations.Labels[label]
if !constraint.Match(val) { if !constraint.Match(val) {
return false return false
} }
// engine labels constraint in form like 'engine.labels.key!=value'
case len(constraint.Key) > len(engineLabelPrefix) && strings.EqualFold(constraint.Key[:len(engineLabelPrefix)], engineLabelPrefix):
if n.Description == nil || n.Description.Engine == nil || n.Description.Engine.Labels == nil {
if !constraint.Match("") {
return false
}
continue
}
label := constraint.Key[len(engineLabelPrefix):]
val := n.Description.Engine.Labels[label]
if !constraint.Match(val) {
return false
}
default:
// key doesn't match predefined syntax
return false
} }
} }

View File

@ -78,7 +78,8 @@ func (e *Expr) Match(whats ...string) bool {
// full string match // full string match
for _, what := range whats { for _, what := range whats {
if e.exp == what { // case insensitive compare
if strings.EqualFold(e.exp, what) {
match = true match = true
break break
} }

View File

@ -2,10 +2,13 @@ package scheduler
import ( import (
"container/heap" "container/heap"
"errors"
"github.com/docker/swarmkit/api" "github.com/docker/swarmkit/api"
) )
var errNodeNotFound = errors.New("node not found in scheduler heap")
// A nodeHeap implements heap.Interface for nodes. It also includes an index // A nodeHeap implements heap.Interface for nodes. It also includes an index
// by node id. // by node id.
type nodeHeap struct { type nodeHeap struct {
@ -49,20 +52,17 @@ func (nh *nodeHeap) alloc(n int) {
} }
// nodeInfo returns the NodeInfo struct for a given node identified by its ID. // nodeInfo returns the NodeInfo struct for a given node identified by its ID.
func (nh *nodeHeap) nodeInfo(nodeID string) NodeInfo { func (nh *nodeHeap) nodeInfo(nodeID string) (NodeInfo, error) {
index, ok := nh.index[nodeID] index, ok := nh.index[nodeID]
if ok { if ok {
return nh.heap[index] return nh.heap[index], nil
} }
return NodeInfo{} return NodeInfo{}, errNodeNotFound
} }
// addOrUpdateNode sets the number of tasks for a given node. It adds the node // addOrUpdateNode sets the number of tasks for a given node. It adds the node
// to the heap if it wasn't already tracked. // to the heap if it wasn't already tracked.
func (nh *nodeHeap) addOrUpdateNode(n NodeInfo) { func (nh *nodeHeap) addOrUpdateNode(n NodeInfo) {
if n.Node == nil {
return
}
index, ok := nh.index[n.ID] index, ok := nh.index[n.ID]
if ok { if ok {
nh.heap[index] = n nh.heap[index] = n
@ -75,9 +75,6 @@ func (nh *nodeHeap) addOrUpdateNode(n NodeInfo) {
// updateNode sets the number of tasks for a given node. It ignores the update // updateNode sets the number of tasks for a given node. It ignores the update
// if the node isn't already tracked in the heap. // if the node isn't already tracked in the heap.
func (nh *nodeHeap) updateNode(n NodeInfo) { func (nh *nodeHeap) updateNode(n NodeInfo) {
if n.Node == nil {
return
}
index, ok := nh.index[n.ID] index, ok := nh.index[n.ID]
if ok { if ok {
nh.heap[index] = n nh.heap[index] = n

View File

@ -23,7 +23,7 @@ func newNodeInfo(n *api.Node, tasks map[string]*api.Task, availableResources api
} }
func (nodeInfo *NodeInfo) removeTask(t *api.Task) bool { func (nodeInfo *NodeInfo) removeTask(t *api.Task) bool {
if nodeInfo.Tasks == nil || nodeInfo.Node == nil { if nodeInfo.Tasks == nil {
return false return false
} }
if _, ok := nodeInfo.Tasks[t.ID]; !ok { if _, ok := nodeInfo.Tasks[t.ID]; !ok {
@ -39,9 +39,6 @@ func (nodeInfo *NodeInfo) removeTask(t *api.Task) bool {
} }
func (nodeInfo *NodeInfo) addTask(t *api.Task) bool { func (nodeInfo *NodeInfo) addTask(t *api.Task) bool {
if nodeInfo.Node == nil {
return false
}
if nodeInfo.Tasks == nil { if nodeInfo.Tasks == nil {
nodeInfo.Tasks = make(map[string]*api.Task) nodeInfo.Tasks = make(map[string]*api.Task)
} }

View File

@ -177,8 +177,8 @@ func (s *Scheduler) createTask(ctx context.Context, t *api.Task) int {
return 0 return 0
} }
nodeInfo := s.nodeHeap.nodeInfo(t.NodeID) nodeInfo, err := s.nodeHeap.nodeInfo(t.NodeID)
if nodeInfo.addTask(t) { if err == nil && nodeInfo.addTask(t) {
s.nodeHeap.updateNode(nodeInfo) s.nodeHeap.updateNode(nodeInfo)
} }
@ -224,8 +224,8 @@ func (s *Scheduler) updateTask(ctx context.Context, t *api.Task) int {
} }
s.allTasks[t.ID] = t s.allTasks[t.ID] = t
nodeInfo := s.nodeHeap.nodeInfo(t.NodeID) nodeInfo, err := s.nodeHeap.nodeInfo(t.NodeID)
if nodeInfo.addTask(t) { if err == nil && nodeInfo.addTask(t) {
s.nodeHeap.updateNode(nodeInfo) s.nodeHeap.updateNode(nodeInfo)
} }
@ -235,14 +235,14 @@ func (s *Scheduler) updateTask(ctx context.Context, t *api.Task) int {
func (s *Scheduler) deleteTask(ctx context.Context, t *api.Task) { func (s *Scheduler) deleteTask(ctx context.Context, t *api.Task) {
delete(s.allTasks, t.ID) delete(s.allTasks, t.ID)
delete(s.preassignedTasks, t.ID) delete(s.preassignedTasks, t.ID)
nodeInfo := s.nodeHeap.nodeInfo(t.NodeID) nodeInfo, err := s.nodeHeap.nodeInfo(t.NodeID)
if nodeInfo.removeTask(t) { if err == nil && nodeInfo.removeTask(t) {
s.nodeHeap.updateNode(nodeInfo) s.nodeHeap.updateNode(nodeInfo)
} }
} }
func (s *Scheduler) createOrUpdateNode(n *api.Node) { func (s *Scheduler) createOrUpdateNode(n *api.Node) {
nodeInfo := s.nodeHeap.nodeInfo(n.ID) nodeInfo, _ := s.nodeHeap.nodeInfo(n.ID)
var resources api.Resources var resources api.Resources
if n.Description != nil && n.Description.Resources != nil { if n.Description != nil && n.Description.Resources != nil {
resources = *n.Description.Resources resources = *n.Description.Resources
@ -275,9 +275,10 @@ func (s *Scheduler) processPreassignedTasks(ctx context.Context) {
} }
for _, decision := range failed { for _, decision := range failed {
s.allTasks[decision.old.ID] = decision.old s.allTasks[decision.old.ID] = decision.old
nodeInfo := s.nodeHeap.nodeInfo(decision.new.NodeID) nodeInfo, err := s.nodeHeap.nodeInfo(decision.new.NodeID)
nodeInfo.removeTask(decision.new) if err == nil && nodeInfo.removeTask(decision.new) {
s.nodeHeap.updateNode(nodeInfo) s.nodeHeap.updateNode(nodeInfo)
}
} }
} }
@ -309,9 +310,10 @@ func (s *Scheduler) tick(ctx context.Context) {
for _, decision := range failed { for _, decision := range failed {
s.allTasks[decision.old.ID] = decision.old s.allTasks[decision.old.ID] = decision.old
nodeInfo := s.nodeHeap.nodeInfo(decision.new.NodeID) nodeInfo, err := s.nodeHeap.nodeInfo(decision.new.NodeID)
nodeInfo.removeTask(decision.new) if err == nil && nodeInfo.removeTask(decision.new) {
s.nodeHeap.updateNode(nodeInfo) s.nodeHeap.updateNode(nodeInfo)
}
// enqueue task for next scheduling attempt // enqueue task for next scheduling attempt
s.enqueue(decision.old) s.enqueue(decision.old)
@ -368,7 +370,11 @@ func (s *Scheduler) applySchedulingDecisions(ctx context.Context, schedulingDeci
// taskFitNode checks if a node has enough resource to accommodate a task // taskFitNode checks if a node has enough resource to accommodate a task
func (s *Scheduler) taskFitNode(ctx context.Context, t *api.Task, nodeID string) *api.Task { func (s *Scheduler) taskFitNode(ctx context.Context, t *api.Task, nodeID string) *api.Task {
nodeInfo := s.nodeHeap.nodeInfo(nodeID) nodeInfo, err := s.nodeHeap.nodeInfo(nodeID)
if err != nil {
// node does not exist in heap (it may have been deleted)
return nil
}
s.pipeline.SetTask(t) s.pipeline.SetTask(t)
if !s.pipeline.Process(&nodeInfo) { if !s.pipeline.Process(&nodeInfo) {
// this node cannot accommodate this task // this node cannot accommodate this task
@ -407,8 +413,8 @@ func (s *Scheduler) scheduleTask(ctx context.Context, t *api.Task) *api.Task {
} }
s.allTasks[t.ID] = &newT s.allTasks[t.ID] = &newT
nodeInfo := s.nodeHeap.nodeInfo(n.ID) nodeInfo, err := s.nodeHeap.nodeInfo(n.ID)
if nodeInfo.addTask(&newT) { if err == nil && nodeInfo.addTask(&newT) {
s.nodeHeap.updateNode(nodeInfo) s.nodeHeap.updateNode(nodeInfo)
} }
return &newT return &newT