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 <[email protected]> --- lib/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/constants.py b/lib/constants.py index 5dc54b1..3c2af63 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -394,6 +394,7 @@ DTS_INT_MIRROR = compat.UniqueFrozenset([DT_DRBD8]) # the set of externally-mirrored disk templates (e.g. SAN, NAS) DTS_EXT_MIRROR = compat.UniqueFrozenset([ + DT_DISKLESS, # 'trivially' externally mirrored DT_SHARED_FILE, DT_BLOCK, DT_RBD, -- 1.7.10.4
