Revision 0623d351 lib/cmdlib.py

b/lib/cmdlib.py
1917 1917

  
1918 1918
    self.context.RemoveNode(node.name)
1919 1919

  
1920
    self.rpc.call_node_leave_cluster(node.name)
1920
    result = self.rpc.call_node_leave_cluster(node.name)
1921
    msg = result.RemoteFailMsg()
1922
    if msg:
1923
      self.LogWarning("Errors encountered on the remote node while leaving"
1924
                      " the cluster: %s", msg)
1921 1925

  
1922 1926
    # Promote nodes to master candidate as needed
1923 1927
    _AdjustCandidatePool(self)

Also available in: Unified diff