• Iustin Pop's avatar
    Fix adding of disks to an instance · 32388e6d
    Iustin Pop authored
    The ConfigWriter.AllocateDRBDMinor requires the instance name, not the
    instance object. The LUSetInstanceParms is passing wrongly the instance
    object, which can cause breakage.
    
    The patch also adds asserts to check for this mismatch in ConfigWriter.
    
    Reviewed-by: ultrotter
    32388e6d
cmdlib.py 229 KB