Created attachment 768195 [details] vdsm, engine logs, db dump Description of problem: When migrating disk of running vm, after migration is completed, task still hangs on vdsm side. They are not in DB. End of the task is 2013-07-03 10:41:10,716 INFO [org.ovirt.engine.core.bll.lsm.LiveMigrateDiskCommand] (pool-4-thread-48) [4acbc6dc] Ending command successfully: org.ovirt.engine.core.bll.lsm.LiveMigrateDiskCommand 2013-07-03 10:41:10,716 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-4-thread-45) [145eb464] CommandsFactory [parameter: VdcActionParametersBase]: Failed to get type information using reflection for Action: LiveMigrateDisk: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor144.newInstance(Unknown Source) [:1.7.0_11-icedtea] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.7.0_11-icedtea] at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [rt.jar:1.7.0_11-icedtea] at org.ovirt.engine.core.bll.CommandsFactory.CreateCommand(CommandsFactory.java:45) [engine-bll.jar:] at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:377) [engine-bll.jar:] at sun.reflect.GeneratedMethodAccessor409.invoke(Unknown Source) [:1.7.0_11-icedtea] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt Version-Release number of selected component (if applicable): rhevm-3.2.1-0.31.el6ev.noarch vdsm-4.10.2-23.0.el6ev.x86_64 How reproducible: 30% Steps to Reproduce: 1. Migrate a vm (I have attached hotplug disk, which is inactived, then disk of vm (one that was NOT used by hotplug) migrated) 2. Wait until migration completes 3. Check running tasks on host Actual results: s[root@slot-5 ~]# vdsClient 0 getAllTasksStatuses {'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {'52cc2412-2c93-462e-a854-a3098b4fe9ab': {'message': '1 jobs completed successfully', 'code': 0, 'taskID': '52cc2412-2c93-462e-a854-a3098b4fe9ab', 'taskResult': 'success', 'taskState': 'finished'}, '60dfdf54-0794-40a0-95ad-4358f94a452d': {'message': 'Task is initializing', 'code': 0, 'taskID': '60dfdf54-0794-40a0-95ad-4358f94a452d', 'taskResult': '', 'taskState': 'running'}, 'b6993f9b-bde5-4afd-aa2b-1a2c7803775c': {'message': '1 jobs completed successfully', 'code': 0, 'taskID': 'b6993f9b-bde5-4afd-aa2b-1a2c7803775c', 'taskResult': 'success', 'taskState': 'finished'}}} Expected results: {'status': {'message': 'OK', 'code': 0}, 'allTasksStatus': {}} Additional info: It breaks the cleanup because DC cannot be moved to maintenance while there are running tasks Block storage live migration sanity
is2. task is cleaned after disk migration.
Closing - RHEV 3.3 Released