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:40:58 +0000 (00:40 +0100)
commit95d410d98fb0274eb961c857501c4d3b08823a6d
treea040dab6eb7701def78e67d88848783df929e53c
parent7e29383fad16d6087b5b89487f86950559b81f6a
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