commit 4b3910f8c58f4b4d9714c70cadfd4c35040382a9
Author: Andrew Lazarev <email address hidden>
Date: Mon Aug 25 17:48:20 2014 -0700
Switched anti-affinity feature to server groups
Switched implementation of anti affinity to server groups for both
direct and heat engine.
Direct engine change is backward compatible. Sahara will detect if
old logic is used and will use the same logic for cluster scaling.
Note, behavior of anti-affinity changed. Now Sahara will create one
server group for cluster and will assign all affected instances to it.
So, if anti-affinity enabled for datanode (`dn`) and tasktracker (`tt`)
Sahara will not assign node with `dn` and node with `tt` to the same
compute.
Also note, that server group support will be added to heat only in
juno-3. So, environment with up-to-date heat is required.
Reviewed: https:/ /review. openstack. org/112159 /git.openstack. org/cgit/ openstack/ sahara/ commit/ ?id=4b3910f8c58 f4b4d9714c70cad fd4c35040382a9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4b3910f8c58f4b4 d9714c70cadfd4c 35040382a9
Author: Andrew Lazarev <email address hidden>
Date: Mon Aug 25 17:48:20 2014 -0700
Switched anti-affinity feature to server groups
Switched implementation of anti affinity to server groups for both
direct and heat engine.
Direct engine change is backward compatible. Sahara will detect if
old logic is used and will use the same logic for cluster scaling.
Note, behavior of anti-affinity changed. Now Sahara will create one
server group for cluster and will assign all affected instances to it.
So, if anti-affinity enabled for datanode (`dn`) and tasktracker (`tt`)
Sahara will not assign node with `dn` and node with `tt` to the same
compute.
Also note, that server group support will be added to heat only in
juno-3. So, environment with up-to-date heat is required.
Closes-Bug: #1268610 via-server- groups 6dad30081b05933 f59ebab4858
Implements: blueprint anti-affinity-
Change-Id: I501438d84f3a48