Make diskless instances externally mirrored
authorGuido Trotter <ultrotter@google.com>
Tue, 12 Mar 2013 15:07:04 +0000 (16:07 +0100)
committerGuido Trotter <ultrotter@google.com>
Tue, 12 Mar 2013 16:52:22 +0000 (16:52 +0000)
commitd8f0b7c197cb17423a94cca4ab6385fea534f715
tree71f920d048bba1e43937b8ba1d7a2bb4b0f6c2da
parent7b3d70d47567b13a6ca5f2b5bf474c1f92a9e816
Make diskless instances externally mirrored

This addresses Issue 237.

Mirroring no disk is a no-op. As such we can treat them like mirrored
instances, since the data they need (none) will be present on all nodes.

This is definitely enough to failover or migrate instances with a manual
target node. Further work might be needed for support in hail.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/constants.py