• Iustin Pop's avatar
    LURemoveInstance: fix op.ignore_failures usage · 5c54b832
    Iustin Pop authored
    Currently: the LURemoveInstance.Exec() method uses the ignore_failures
    attribute of the OpRemoveInstance opcode, but it doesn't check for its
    existence. The patch adds this attribute to _OP_REQP and to all the
    places where this opcode was created.
    
    This attributes is always passed by gnt-instance, but burnin didn't pass
    it so it can fail if it enters the 'fail to remove disks' branch of the
    method (which is why it was not triggered until now).
    
    Reviewed-by: ultrotter, imsnah
    5c54b832
cmdlib.py 177 KB