Created attachment 1732432 [details] Logs from 4 backups showing the issue Description of problem: During online backup, we use qemu nbd server, not vdsm nbd server. However when image transfer is finalized, engine tries to stop vdsm nbd server: 2020-11-22 18:37:24,172+02 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.StopNbdServerVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-83) [6008f89e-8d91-4e24-853f-b6fabbf7a81a] START, StopNbdServerVDSCommand(HostName = host3, NbdServerVDSParameters:{hostId='f1593c12-5d93-444b-99f4-cd31ffd45506', serverId='25a9f1cd-ef6a-48a4-af7a-54775fb9e415', storageDomainId='null', imageId='null', volumeId='null', readonly='false', discard='false', backingChain='true'}), log id: 7549e12 2020-11-22 18:37:24,198+02 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.StopNbdServerVDSCommand] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-83) [6008f89e-8d91-4e24-853f-b6fabbf7a81a] FINISH, StopNbdServerVDSCommand, return: , log id: 7549e12 The call succeeds in vdsm since this API is designed to do nothing if NBD server is not running, but calling it is wrong, and may fail or delay the transfer finalization if the call to vdsm fails. Version-Release number of selected component (if applicable): 4.4.4.2_master How reproducible: Always Steps to Reproduce: 1. Start backup 2. Stop backup Actual results: Engine try to stop NBD server Expected results: Engine should skip this step when during online backup. Additional info: During offline backup this step is needed.
Verified on rhv-4.4.4-6 1. start backup with backup.vm script 2. stop the backup with the same script Expected: The specified above log lines should not appear in the engine log Actual: As expected.
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.