Allow disk attachment to diskless instances
authorLisa Velden <velden@google.com>
Wed, 25 Nov 2015 15:00:45 +0000 (16:00 +0100)
committerLisa Velden <velden@google.com>
Thu, 26 Nov 2015 23:33:46 +0000 (00:33 +0100)
commite70886f9d688a1642477b5642d62056874e9814a
treeb745b64b9c35be8b1e992fae25f3948cd900c8f7
parent9511a3a243d3e161813aa0a811b7170dcea25796
Allow disk attachment to diskless instances

As only DRBD disks can be associated to more nodes than the instance
where we want to attach the disk to, we have to change the check for
associated nodes, too.

Signed-off-by: Lisa Velden <velden@google.com>
Reviewed-by: Oleg Ponomarev <oponomarev@google.com>
lib/cmdlib/instance_set_params.py