On Mon, Oct 13, 2014 at 2:22 AM, 'Aaron Karper' via ganeti-devel
<ganeti-devel@googlegroups.com> wrote:
> Signed-off-by: Aaron Karper <akar...@google.com>

Missing description.

> ---
>  lib/cmdlib/node.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/lib/cmdlib/node.py b/lib/cmdlib/node.py
> index b27962f..7dfab85 100644
> --- a/lib/cmdlib/node.py
> +++ b/lib/cmdlib/node.py
> @@ -540,7 +540,9 @@ class LUNodeSetParams(LogicalUnit):
>      """Filter for getting affected instances.
>
>      """
> -    return (instance.disk_template in constants.DTS_INT_MIRROR and
> +    disks = self.cfg.GetInstanceDisks(instance.disks)
> +    any_mirrored = any(d.dev_type in constants.DTS_INT_MIRROR for d in disks)
> +    return (any_mirrored and
>              self.op.node_uuid in self.cfg.GetInstanceNodes(instance.uuid))
>
>    def ExpandNames(self):
> --
> 2.1.0.rc2.206.gedb03e5
>

Rest LGTM, thanks.

Michele

-- 
Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to