Remove FIXME + update man pages wrt iallocator
authorHelga Velroyen <helgav@google.com>
Fri, 25 Oct 2013 15:14:17 +0000 (17:14 +0200)
committerHelga Velroyen <helgav@google.com>
Wed, 30 Oct 2013 12:06:09 +0000 (13:06 +0100)
commit708f8301b68ce80f85fa5f5e112b4ce1562accd0
tree220a0998882d0c5eba1cdd26a6e1411d54c19841
parentd5e9de7c7370b4049d9825c45ab2cf387460f0e1
Remove FIXME + update man pages wrt iallocator

This patch removes a FIXME regarding the retrieval
of the disk template for computation of the cluster
information for the iallocator. After examining the
code, I figured out that it is actually a quite
robust way to just check if the disk template is
available, in particular with respect to extensions
of the iallocator.

In this context, I also updated the man pages of
the operations that use the iallocator, because so
far it was not well documented which disk template
is considered when more than one instance was
allocated. The situation is not ideal (the default
disk template is used), but it is still better than
in 2.9. where only LVM storage was considered.
With the implementation of storage pools, it would
make sense to extend the iallocator protocol to
include storage information for more than one
template.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/masterd/iallocator.py
man/gnt-instance.rst
man/gnt-node.rst