Bug 1396108
| Summary: | [z-stream clone - 4.0.6] Migration of HE Disk ends up in Locked State | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | rhev-integ | ||||
| Component: | ovirt-engine | Assignee: | Tal Nisan <tnisan> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Raz Tamir <ratamir> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.0.4 | CC: | amureini, gklein, gveitmic, lsurette, michal.skrivanek, ratamir, rbalakri, rhev-integ, Rhev-m-bugs, srevivo, tnisan, ykaul, ylavi | ||||
| Target Milestone: | ovirt-4.0.6 | Keywords: | Regression, ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 1394114 | Environment: | |||||
| Last Closed: | 2017-01-10 17:00:49 UTC | Type: | --- | ||||
| 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: | 1394114 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Comment 1
rhev-integ
2016-11-17 12:58:50 UTC
Please attach Engine logs. Also, which validation is failing that is expected to fail? This comment was originaly posted by tnisan Hi Tal,
The image is left locked at the end of the process.
engine=# select imagestatus from images where image_group_id = '55e10183-51d7-4f74-8cef-8fe21cd4f5ed';
imagestatus
-------------
2
(1 row)
* Validation: the validation step for executing the disk move (snapshot for live migration), in the engine.
2016-11-13 22:03:42,779 WARN [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-6-thread-41) [31ed43b8] Validation of action 'CreateAllSnapshotsFromVm' failed for user admin@internal-authz. Reasons: VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_FAILED_CANNOT_RUN_ACTION_ON_NON_MANAGED_VM
For logs, look at the end of the file I'm attaching.
This comment was originaly posted by gveitmic
Verification failed:
The HostedEngine VM's disk wasn't migrated and remain in locked state
from engine.log:
2016-11-23 10:46:25,444 INFO [org.ovirt.engine.core.bll.storage.disk.MoveDisksCommand] (default task-32) [d18c5a1] Running command: MoveDisksCommand internal: false. Entities affected : ID: 7361b89b-d614-4294-9f8c-cfb6c8be8c74 Type: DiskAction group CONFIGURE_DISK_STORAGE with role type USER
2016-11-23 10:46:25,572 INFO [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (default task-32) [d18c5a1] Lock Acquired to object 'EngineLock:{exclusiveLocks='[7361b89b-d614-4294-9f8c-cfb6c8be8c74=<DISK, ACTION_TYPE_FAILED_DISK_IS_BEING_MIGRATED$DiskName virtio-disk0>]', sharedLocks='[2230569e-9357-4ab2-915a-767fa5532db1=<VM, ACTION_TYPE_FAILED_OBJECT_LOCKED>]'}'
2016-11-23 10:46:25,872 INFO [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-6-thread-35) [d18c5a1] Running command: LiveMigrateVmDisksCommand internal: false. Entities affected : ID: 7361b89b-d614-4294-9f8c-cfb6c8be8c74 Type: DiskAction group DISK_LIVE_STORAGE_MIGRATION with role type USER
2016-11-23 10:46:26,127 WARN [org.ovirt.engine.core.bll.snapshots.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-6-thread-35) [6f3710c] Validation of action 'CreateAllSnapshotsFromVm' failed for user admin@internal-authz. Reasons: VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_FAILED_CANNOT_RUN_ACTION_ON_NON_MANAGED_VM
2016-11-23 10:46:26,415 INFO [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (DefaultQuartzScheduler6) [6f3710c] Command 'LiveMigrateVmDisks' id: 'a9dad97f-61da-40cd-a42f-587f1177ba3b' child commands '[31c37cc5-aada-471f-9b3e-c335ff4dc52a]' executions were completed, status 'FAILED'
2016-11-23 10:46:27,518 ERROR [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (DefaultQuartzScheduler1) [6f3710c] Ending command 'org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand' with failure.
2016-11-23 10:46:27,519 INFO [org.ovirt.engine.core.bll.storage.lsm.LiveMigrateVmDisksCommand] (DefaultQuartzScheduler1) [6f3710c] Lock freed to object 'EngineLock:{exclusiveLocks='[7361b89b-d614-4294-9f8c-cfb6c8be8c74=<DISK, ACTION_TYPE_FAILED_DISK_IS_BEING_MIGRATED$DiskName virtio-disk0>]', sharedLocks='[2230569e-9357-4ab2-915a-767fa5532db1=<VM, ACTION_TYPE_FAILED_OBJECT_LOCKED>]'}'
logs attached
Created attachment 1223327 [details]
engine log
Raz, which Engine build did you run it on? 4.0.6.1-0.1.el7ev Every LSM operation fails with: "Error while executing action: User is not logged in." Verified on 4.0.6.3-0.1.el7ev 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, 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://rhn.redhat.com/errata/RHBA-2017-0043.html |