• Iustin Pop's avatar
    Some fixes to node add and re-add · 82e12743
    Iustin Pop authored
    The patch changes the pre-checks in node-add and re-add:
      - if the node is not already in the cluster, refuse to re-add
      - when re-adding, reuse the secondary IP from the cluster
        configuration
      - when re-adding, reset the offline and drained flags, so that RPC
        calls work (and we can actually upload the keys)
    
    The patch also adds a missing log entry in LUSetNodeParams.
    
    Reviewed-by: imsnah
    82e12743
cmdlib.py 236 KB