Bug 2001923
Summary: | NPE during RemoveSnapshotSingleDisk command | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Martin Perina <mperina> |
Component: | ovirt-engine | Assignee: | Benny Zlotnik <bzlotnik> |
Status: | CLOSED ERRATA | QA Contact: | Shir Fishbain <sfishbai> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4.7 | CC: | ahadas, apinnick, bzlotnik, dfodor, josgutie, mavital, sfishbai |
Target Milestone: | ovirt-4.5.1 | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.5.1.2 | Doc Type: | Bug Fix |
Doc Text: |
Previously, when a failed VM snapshot was removed from the Manager database while the volume remained on the storage, subsequent operations failed because there was a discrepancy between the storage and the database. Now, the VM snapshot is retained if the volume is not removed from the storage.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-14 12:54:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2081294 | ||
Bug Blocks: |
Description
Martin Perina
2021-09-07 13:11:51 UTC
Martin, Can you provide engine and VDSM logs? Hello I've attached another case that is suffering the same issue and produce db snapshot data inconsistencies that interrupt backup operations and create case with a huge amount of VMs affected. Fixing this should be fairly easy but we need to figure out the flow this happens in, seems to be related to backward merge 1. Edit /usr/lib/python3.6/site-packages/vdsm/virt/jobs/snapshot.py Add a two minute sleep in line 493: time.sleep(120) self._vm.run_dom_snapshot(snapxml, snap_flags) 2. Create a snapshot on a VM 3. Run the VM on the edited host 4. Create a live snapshot, wait a minute and shutdown the VM The operation should fail, but there should be a snapshot that should be removed without issues (In reply to Benny Zlotnik from comment #13) > The operation should fail, but there should be a snapshot that should be > removed without issues to be more concrete: ... but there should be a snapshot that can be removed manually without issues Verified - RemoveSnapshotSingleDisk command ran without issues and the live snapshot 's2_live' deletion for VM 'new_vm' was completed successfully. ovirt-engine-4.5.1.2-0.11.el8ev.noarch vdsm-4.50.1.3-1.el8ev.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.1] security, bug fix and update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5555 |