Updates:
Status: Fixed
Comment #5 on issue 992 by [email protected]: disk conversion to DRBD
should take -I hail as an argument
https://code.google.com/p/ganeti/issues/detail?id=992
commit 3793e9d3317284ec546a67c0af980f90ae26c281
Author: Klaus Aehlig <[email protected]>
Date: Mon Jun 15 15:12:17 2015 +0200
Mention IAllocator protocol extension in NEWS
While probably not widely used by third-party tools,
the IAllocator protocol still is an external interface
of Ganeti. So mention the extension of the protocol and
describe how users can continue to use their third-party
IAllocator not aware of that extension.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit e7c5d758cf60dd45325ae1cae363b897ad4f55f3
Author: Klaus Aehlig <[email protected]>
Date: Thu Jun 11 10:59:23 2015 +0200
Support -I option in gnt-instance modify
When converting an instance from plain to DRBD, a secondary
node has to be chosen. Allow using an IAllocator to do this
choice.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit e1dd0ef9460ce5376feda22d5323887679cf8691
Author: Klaus Aehlig <[email protected]>
Date: Thu Jun 11 15:47:12 2015 +0200
Support iallocator in LUInstanceSetParams
If we change the template of an instance to DRBD, a secondary node
needs to be chosen. Instead of insisting that it be specified
explicitly,
also support asking an IAllocator.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit ad50f536aa8ef67957a21bfdf83789a588bdbdf8
Author: Klaus Aehlig <[email protected]>
Date: Thu Jun 11 15:05:02 2015 +0200
Extend OpInstanceSetParams by IAllocator option
In order to support automatic choice of the secondary node
in case of a disk-template conversion to DRBD, we need to
pass the IAllocator to be used. So extend the OpCode accordingly.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit c6d4f716b1e90b6c46649fff5811b1243fb6241f
Author: Klaus Aehlig <[email protected]>
Date: Fri Jun 12 11:23:24 2015 +0200
Extend python IAllocator interface by allocate-secondary
Make the python world aware of IAllocator requests to find a suitable
secondary node for an instance. This will allow disk-template conversion
to ask the allocator for a suitable node.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit e82df53dcbf5f8a0e491547da8d47bd2dbc9be59
Author: Klaus Aehlig <[email protected]>
Date: Mon Jun 15 15:18:15 2015 +0200
Add a test for allocate-secondary requests
Add a simple test case for the allocate-secondary request.
In this example, hail has to avoid the node of the other
group and should prefer the free node as secondary over
the one that already hosts an instance.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 72d09f71540172002111a44e9dcf02ea5326e908
Author: Klaus Aehlig <[email protected]>
Date: Fri Jun 12 13:19:12 2015 +0200
Make hail aware of secondary allocation requests
Make hail parse and handle requests to allocate a secondary node for
an instance to be converted to DRBD.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit aa7ca6509820c22ee62e4bc4409c5cdae1771449
Author: Klaus Aehlig <[email protected]>
Date: Mon Jun 15 18:16:29 2015 +0200
Add a function to find a suitable secondary
On disk conversion to DRBD, a new secondary node has to be found.
Add a function doing this search in a way similar to what instance
allocation does: all possible placements are considered and the
one resulting in the best cluster metrics is taken.
To have a uniform interface, use the same signature as all allocation
functions, even though the group list is not needed (we have to take
the group of the primary node anyway).
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
commit 0c2f58bb3cdf28e4bad535b2ccee6f820b182e49
Author: Klaus Aehlig <[email protected]>
Date: Mon Jun 15 18:16:28 2015 +0200
Declare new IAllocator mode allocate-secondary
When switching form plain to DRBD, a suitable secondary node has to
be chosen. As this is part of an allocation process, extend the
IAllocator interface by declaring a new mode for this.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Helga Velroyen <[email protected]>
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings