• Michael Hanselmann's avatar
    Implement {Add,Readd,Remove}Node in GanetiContext · d8470559
    Michael Hanselmann authored
    By doing this we've a central place which coordinates what needs to be
    done when adding or removing nodes. Another patch will add calls into
    the job queue.
    
    Two log messages move to config.py.
    
    When removing a node, node_leave_cluster is now called after it has
    been removed from the configuration and job manager. That way we're
    sure not to access the node again after files have been removed.
    
    Reviewed-by: iustinp
    d8470559
cmdlib.py 172 KB