DescriptionKatarzyna Jachim
2013-03-01 14:08:02 UTC
Description of problem:
Probably there should be no exception returned when the task ended with cleanSuccess result.
2013-03-01 14:28:54,542 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-21) BaseAsyncTask::LogEndTaskFailure: Task b4460f6b-1a40-4277-afdf-825911b46a10 (Parent Command AddDisk, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended with failure:
-- Result: cleanSuccess
-- Message: VDSGenericException: VDSTaskResultNotSuccessException: TaskState contained successful return code, but a non-success result ('cleanSuccess').,
-- Exception: VDSGenericException: VDSTaskResultNotSuccessException: TaskState contained successful return code, but a non-success result ('cleanSuccess').
2013-03-01 14:28:54,543 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-21) EntityAsyncTask::EndActionIfNecessary: All tasks of entity 1a4716ae-3960-478e-84e3-22f14c539280 has ended -> executing EndAction
2013-03-01 14:28:54,544 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-21) EntityAsyncTask::EndAction: Ending action for 1 tasks (entity ID: 1a4716ae-3960-478e-84e3-22f14c539280): calling EndAction for action type AddDisk.
2013-03-01 14:28:54,546 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-49) EntityAsyncTask::EndCommandAction [within thread] context: Attempting to EndAction AddDisk, executionIndex: 0
2013-03-01 14:28:54,571 ERROR [org.ovirt.engine.core.bll.AddDiskCommand] (pool-3-thread-49) [28d8b577] Ending command with failure: org.ovirt.engine.core.bll.AddDiskCommand
2013-03-01 14:28:54,581 ERROR [org.ovirt.engine.core.bll.AddImageFromScratchCommand] (pool-3-thread-49) [69ac9e71] Ending command with failure: org.ovirt.engine.core.bll.AddImageFromScratchCommand
Version-Release number of selected component (if applicable): SF9
How reproducible: always
Steps to Reproduce:
1.
2.
3.
Actual results:
Exception then task ended with cleanSuccess result.
Expected results:
There should be no exception returned when the task ended with cleanSuccess result.
Additional info:
(In reply to comment #3)
> Dan, can you please see if its the same as:
> https://bugzilla.redhat.com/show_bug.cgi?id=894035
No, the fix of bug 894035 is specific for live storage migration.
The described scenario here seems correct, 'cleanSuccess' merely means that the rollback has been completed successfully (i.e. the command has ended with an exception which caused a rollback).
Description of problem: Probably there should be no exception returned when the task ended with cleanSuccess result. 2013-03-01 14:28:54,542 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-21) BaseAsyncTask::LogEndTaskFailure: Task b4460f6b-1a40-4277-afdf-825911b46a10 (Parent Command AddDisk, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended with failure: -- Result: cleanSuccess -- Message: VDSGenericException: VDSTaskResultNotSuccessException: TaskState contained successful return code, but a non-success result ('cleanSuccess')., -- Exception: VDSGenericException: VDSTaskResultNotSuccessException: TaskState contained successful return code, but a non-success result ('cleanSuccess'). 2013-03-01 14:28:54,543 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-21) EntityAsyncTask::EndActionIfNecessary: All tasks of entity 1a4716ae-3960-478e-84e3-22f14c539280 has ended -> executing EndAction 2013-03-01 14:28:54,544 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-21) EntityAsyncTask::EndAction: Ending action for 1 tasks (entity ID: 1a4716ae-3960-478e-84e3-22f14c539280): calling EndAction for action type AddDisk. 2013-03-01 14:28:54,546 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-49) EntityAsyncTask::EndCommandAction [within thread] context: Attempting to EndAction AddDisk, executionIndex: 0 2013-03-01 14:28:54,571 ERROR [org.ovirt.engine.core.bll.AddDiskCommand] (pool-3-thread-49) [28d8b577] Ending command with failure: org.ovirt.engine.core.bll.AddDiskCommand 2013-03-01 14:28:54,581 ERROR [org.ovirt.engine.core.bll.AddImageFromScratchCommand] (pool-3-thread-49) [69ac9e71] Ending command with failure: org.ovirt.engine.core.bll.AddImageFromScratchCommand Version-Release number of selected component (if applicable): SF9 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Exception then task ended with cleanSuccess result. Expected results: There should be no exception returned when the task ended with cleanSuccess result. Additional info: