• Iustin Pop's avatar
    Fix LUInstanceRecreateDisks with iallocator · 8775e62a
    Iustin Pop authored
    Recent iallocator changes (commit fb60bc6a
    
    , “iallocator: Add node
    whitelist”) broke the parameter validation for LUInstanceRecreateDisks
    (the other LUs were manually fixed already):
    
      $ gnt-instance recreate-disks -I hail --dry-run instance3
      Failure: prerequisites not met for this operation:
      error type: wrong_input, error details:
      Request is missing 'node_whitelist' parameter
    
    By just defining the new parameter, the LU works normally (“INFO:
    Selected nodes for instance instance3 via iallocator hail: node2”).
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    8775e62a
cmdlib.py 597 KB