Check for same primary node before disk attachment
authorLisa Velden <velden@google.com>
Mon, 11 Jan 2016 11:09:47 +0000 (12:09 +0100)
committerLisa Velden <velden@google.com>
Mon, 11 Jan 2016 11:40:15 +0000 (12:40 +0100)
commit3e55d77cd3d42ecc62dc153a34a86e828cb41e60
treec466d94723f5c8bfcfa44e33460877a7df4a292e
parent46ddc97f27a12a7808b0f94eecac4aec0ebfb656
Check for same primary node before disk attachment

Make sure a DRBD disk has the same primary node as the instance where it
will be attached to.

Signed-off-by: Lisa Velden <velden@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/cmdlib/instance_set_params.py
lib/objects.py