• Iustin Pop's avatar
    Recreate instance disks: allow changing nodes · c8a96ae7
    Iustin Pop authored
    
    
    This patch introduces the option of changing an instance's nodes when
    doing the disk recreation. The rationale is that currently if an
    instance lives on a node that has gone down and is marked offline,
    it's not possible to re-create the disks and reinstall the instance on
    a different node without hacking the config file.
    
    Additionally, the LU now locks the instance's nodes (which was not
    done before), as we most likely allocate new resources on them.
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
    c8a96ae7
gnt_instance.py 52.8 KB