Description of problem: In OVirt, we have a property propagate_error at the disk level that decides in case of an error, how this error be propagated to the VM. This value is maintained in the database table with the default value set as Off. The default setting(Off) results in a policy that ends up pausing the VM rather than propagating the errors to VM. There is no provision in the UI currently to configure this property for disk (images or luns). So there is no easy way to set this value. Further, even if the value is manually set to "On" in db, it gets overwritten by UI every time some other property is updated as described here - https://bugzilla.redhat.com/show_bug.cgi?id=1669367 Setting the value to "Off" is not ideal since it puts serious restrictions for the DR situation and unlike VMWare * Hyper-V, oVirt is not able to support the DR functionality - https://bugzilla.redhat.com/show_bug.cgi?id=1314160 While we wait for RFE, the proposal here is to allow a change in behavior via engine config. New engine config "PropagateDiskErrors" should be used to override the behavior. Version-Release number of selected component (if applicable): 4.3.6 How reproducible: Desirable behavior as described above. Additional info: https://lists.ovirt.org/archives/list/devel@ovirt.org/thread/YY56B5LCNO6ROSUPDWWHGKGUQVOLHCAR/
I have a fix for this and would like post for review. I am waiting for the appropriate previleges.
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
Verified on ovirt-engine-4.4.4.2-0.1.el8ev.noarch with the following steps: 1. Create VM with direct lun 2. On engine run engine-config -s PropagateDiskErrors=true and restart engine service. 3. Run the VM 4. Search in engine.log for the DumpXml and verify that error_policy='report' for the direct lun instead of 'stop' 5. power off the VM 6. On engine set PropagateDiskErrors back to false (default) - engine-config -s PropagateDiskErrors=false and restart engine service. 7. Run the VM 8. Search in engine.log for the DumpXml and verify that error_policy='stop'. Moving to 'Verified'.
This bugzilla is included in oVirt 4.4.4 release, published on December 21st 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.4 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.