DescriptionAdd DistributionGroup to StartInstanceParams
DistributionGroup returns instances that
StartInstance should consider when provisioning
for high availability (i.e. the new instance +
those in DistributionGroup should be distributed
for high availability.)
DistributionGroup is implemented in terms of
a new provisioner API method of the same name.
This API returns different instances depending
on the machine passed in. For an environ manager,
all other environ manager instances are returned;
for a non-environ manager, all other instances
with services in common are returned.
This is in preparation for modifying the Azure
provider to group instances into the same cloud
service when in availability-sets-enabled mode.
(Note: the previous patch included a change to
PrecheckInstance; this has been reverted, and
will be implemented differently in another CL.)
https://code.launchpad.net/~axwalk/juju-core/startinstance-principalunit/+merge/210746
Requires: https://code.launchpad.net/~axwalk/juju-core/startinstance-param-struct/+merge/210738
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Add PrincipalUnits to StartInstanceParams #Patch Set 3 : Add DistributionInstances to StartInstanceParams #
Total comments: 2
Patch Set 4 : Add DistributionInstances to StartInstanceParams #Patch Set 5 : Add DistributionGroup to StartInstanceParams #
Total comments: 6
Patch Set 6 : Add DistributionGroup to StartInstanceParams #
Total comments: 6
Patch Set 7 : Add DistributionGroup to StartInstanceParams #Patch Set 8 : Add DistributionGroup to StartInstanceParams #
MessagesTotal messages: 13
|