Bug 1590292
| Summary: | Can't perform Live disk migration for the 2nd time after a failed attempt : Operation canceled - VM is performing an operation on a snapshot | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Evelina Shames <eshames> | ||||
| Component: | BLL.Storage | Assignee: | Benny Zlotnik <bzlotnik> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yosi Ben Shimon <ybenshim> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.2.4 | CC: | bugs, tnisan, ybenshim | ||||
| Target Milestone: | ovirt-4.2.5 | Flags: | rule-engine:
ovirt-4.2+
|
||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ovirt-engine-4.2.4.5 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-07-31 15:30:08 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: | 1580437, 1584993 | ||||||
| Attachments: |
|
||||||
Benny, this look familiar, didn't you fix a similar bug? (In reply to Tal Nisan from comment #1) > Benny, this look familiar, didn't you fix a similar bug? Nope, it looks like a new one. I checked and it looks like the actual problem is that the snapshot remains locked after the failure Just a note: This issue not related to LSM but to specifically to snapshot creation. To reproduce it is possible to: 1. Initiate snapshot creation 2. Block connection to the storage (should be timed to have the task created successfully by vdsm and reported to the engine) $ git tag --contains a1c1a328d0e1ab24fed52d2bbb594e4400ac45aa ovirt-engine-4.2.4.5 This can be tested in 4.2.4 Tested using: ovirt-engine-4.2.4.5-0.1.el7_3.noarch Ran the automation TC (TestCase6000). Actual result: The 1st migration failed as expected. The 2nd migration succeeded after the connection between the SPM and the storage was unblocked. Moving to VERIFIED This bugzilla is included in oVirt 4.2.5 release, published on July 30th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.5 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. |
Created attachment 1450471 [details] Logs Description of problem: while trying to verify 1580437: 1st live migration of the disk failed as expected due to SPM network connection to storage domain was blocked. 2nd live migration canceled with the following message in UI: "Operation Canceled Error while executing action: Cannot create Snapshot. The VM is performing an operation on a Snapshot. Please wait for the operation to finish, and try again." Version-Release number of selected component (if applicable): ovirt-engine-4.2.4.2-0.1 How reproducible: 100% Steps to Reproduce: 1. create VM from template on ISCSI domain & start VM. 2. Start disk migration from iSCSI SD to another iSCSI SD & block Network connection from SPM to the storage domain -> disk migration failed as expected. 3. Unblock Network connection to SD from the host that was SPM before. 4. Start again disk migration from iSCSI SD to another iSCSI SD. Actual results: "Operation Canceled Error while executing action: Cannot create Snapshot. The VM is performing an operation on a Snapshot. Please wait for the operation to finish, and try again." Expected results: Operation should succeed. Additional info: logs are attached.