Skip to content
  • Iustin Pop's avatar
    Small change in the instance disk creation path · 796cab27
    Iustin Pop authored
    For future propagation of error messages from backend to cmdlib and to
    the job log, just having True/False return from the disk creation
    function is not enough.
    
    This patch converts these functions (_CreateDisks, _CreateBlockDevOnXXX)
    to raise exception on errors, and otherwise the return value is None.
    
    Reviewed-by: ultrotter
    796cab27