Bug 1484825
| Summary: | Auto generated snapshot remains LOCKED after concurrent LSM | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Lilach Zitnitski <lzitnits> | ||||
| Component: | BLL.Storage | Assignee: | Benny Zlotnik <bzlotnik> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lilach Zitnitski <lzitnits> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.2.0 | CC: | amureini, bugs, bzlotnik | ||||
| Target Milestone: | ovirt-4.1.7 | Keywords: | Automation, Regression | ||||
| Target Release: | 4.1.7.1 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: ovirt-4.2+ rule-engine: blocker+ |
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-11-13 12:24:52 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: | |||||||
| Bug Blocks: | 1494711 | ||||||
| Attachments: |
|
||||||
|
Description
Lilach Zitnitski
2017-08-24 11:29:05 UTC
Created attachment 1317642 [details]
logs
Benny, can you take a look please? This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Yes, from the logs it seems the failure to delete is because the validation failed 2017-08-24 14:09:45,294+03 WARN [org.ovirt.engine.core.bll.snapshots.RemoveSnapshotCommand] (DefaultQuartzScheduler10) [disks_syncAction_f6311339-4d5e-4c75] Validation of action 'RemoveSnapshot' failed for user admin@internal-authz. Reasons: VAR__TYPE__SNAPSHOT,VAR__ACTION__REMOVE,ACTION_TYPE_FAILED_VM_IS_DURING_SNAPSHOT Which is similar to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1465539 I'll check why is this happening again Benny, the attached patch is now merged. Should the BZ be moved to MODIFIED, or are we waiting for other patches? No other patches, moving to modified (In reply to Benny Zlotnik from comment #6) > No other patches, moving to modified Do we need to backport this to 4.1.z? (In reply to Yaniv Kaul from comment #7) > (In reply to Benny Zlotnik from comment #6) > > No other patches, moving to modified > > Do we need to backport this to 4.1.z? Looking at the code, I don't think this is indeed a regression. The problem in the code seemed to have been there for quite some time. Having said that, it's a nasty issue, and the fix seems straight forwards. Benny - let's get this in 4.1.7? Sent a patch to 4.1.7 -------------------------------------- Tested with the following code: ---------------------------------------- rhevm-4.1.7.1-0.1.el7.noarch vdsm-4.19.32-1.el7ev.x86_64 Tested with the following scenario: Steps to Reproduce: 1. create vm with 4 disks 2. start the vm 3. start migrating the disk, wait for the auto-generated snapshot to be in status OK and then start migrating the next disk Actual results: all disks migrated successfully and all auto generated snapshots were removed Expected results: Moving to VERIFIED! |