Re: [ClusterLabs] Surprising semantics of location constraints with INFINITY score

2017-04-13 Thread Ferenc Wágner
kgronl...@suse.com (Kristoffer Grönlund) writes: > I discovered today that a location constraint with score=INFINITY > doesn't actually restrict resources to running only on particular > nodes. Yeah, I made the same "discovery" some time ago. Since then I've been using something like the

Re: [ClusterLabs] Surprising semantics of location constraints with INFINITY score

2017-04-11 Thread Ken Gaillot
On 04/11/2017 08:30 AM, Kristoffer Grönlund wrote: > Hi all, > > I discovered today that a location constraint with score=INFINITY > doesn't actually restrict resources to running only on particular > nodes. From what I can tell, the constraint assigns the score to that > node, but doesn't change

[ClusterLabs] Surprising semantics of location constraints with INFINITY score

2017-04-11 Thread Kristoffer Grönlund
Hi all, I discovered today that a location constraint with score=INFINITY doesn't actually restrict resources to running only on particular nodes. From what I can tell, the constraint assigns the score to that node, but doesn't change scores assigned to other nodes. So if the node in question