
Good morning, Yes. Follow : select * from command_entities where command_id = '8639a3dc-0064-44b8-84b7-5f733c3fd9b3' ; command_id | command_type | root_command_id | command_parameters | command_param s_class | created_at | status | callback_enabled | callback_notified | return_value | return_value_class | executed | user_id | parent_command_id | data | engine_session_seq_id | command_context --------------------------------------+--------------+--------------------------------------+-------------------------------------------------------------------------------------------------------------+---------------------------------- ----------------------------+------------------------------+--------+------------------+-------------------+----------------------------------------------------------------------------+---------------------------------------------------- ----+----------+--------------------------------------+--------------------------------------+------+-----------------------+------------------------------------------------------ 8639a3dc-0064-44b8-84b7-5f733c3fd9b3 | 210 | 8639a3dc-0064-44b8-84b7-5f733c3fd9b3 | { +| org.ovirt.engine.core.common.acti on.RemoveSnapshotParameters | 2018-06-25 03:32:01.39408-03 | ACTIVE | t | f | { +| org.ovirt.engine.core.common.action.VdcReturnValueB ase | t | fdfc627c-d875-11e0-90f0-83df133b58cc | 00000000-0000-0000-0000-000000000000 | { } | 16659 | { + | | | "@class" : "org.ovirt.engine.core.common.action.RemoveSnapshotParameters", +| | | | | | "valid" : true, +| | | | | | | "jobId" : [ "org.ovirt.engine.core.compat.Guid", {+ | | | "commandId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | "validationMessages" : [ "VAR__TYPE__SNAPSHOT", "VAR__ACTION__REMOVE" ],+| | | | | | | "uuid" : "99a93974-248d-4fe3-bbd8-3741ecd699e3" + | | | "uuid" : "8639a3dc-0064-44b8-84b7-5f733c3fd9b3" +| | | | | | "succeeded" : true, +| | | | | | | } ], + | | | } ], +| | | | | | "isSyncronious" : true, +| | | | | | | "stepId" : null, + | | | "parametersCurrentUser" : { +| | | | | | "description" : "GOV-IDEMA-CARBOX", +| | | | | | | "executionMethod" : "AsJob", + | | | "@class" : "org.ovirt.engine.core.common.businessentities.aaa.DbUser", +| | | | | | "taskPlaceHolderIdList" : [ ], +| | | | | | | "monitored" : true, + | | | "id" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | "vdsmTaskIdList" : [ ], +| | | | | | | "tasksMonitored" : true, + | | | "uuid" : "fdfc627c-d875-11e0-90f0-83df133b58cc" +| | | | | | "internalVdsmTaskIdList" : [ ], +| | | | | | | "completed" : false, + | | | } ], +| | | | | | "endActionTryAgain" : true, +| | | | | | | "jobRequired" : false + | | | "externalId" : "fdfc627c-d875-11e0-90f0-83df133b58cc", +| | | | | | "executeFailedMessages" : [ ], +| | | | | | | } | | | "domain" : "internal", +| | | | | | "fault" : { +| | | | | | | | | | "namespace" : "*", +| | | | | | "@class" : "org.ovirt.engine.core.common.errors.EngineFault", +| | | | | | | | | | "loginName" : "admin", +| | | | | | "errorCode" : 5001, +| | | | | | | | | | "firstName" : "admin", +| | | | | | "details" : null, +| | | | | | | | | | "lastName" : "", +| | | | | | "sessionID" : null, +| | | | | | | | | | "department" : "", +| | | | | | "message" : "ENGINE" +| | | | | | | | | | "email" : "", +| | | | | | }, +| | | | | | | | | | "note" : "", +| | | | | | "correlationId" : null, +| | | | | | | | | | "groupNames" : [ "java.util.ArrayList", [ ] ], +| | | | | | "jobId" : null, +| | | | | | | | | | "groupIds" : [ "java.util.ArrayList", [ ] ], +| | | | | | "actionReturnValue" : null, +| | | | | | | | | | "admin" : true, +| | | | | | "hasAsyncTasks" : false +| | | | | | | | | | "group" : false +| | | | | | } | | | | | | | | | | }, +| | | | | | | | | | | | | | | | "compensationEnabled" : false, +| | | | | | | | | | | | | | | | "parentCommand" : "Unknown", +| | | | | | | | | | | | | | | | "commandType" : "RemoveSnapshot", +| | | | | | | | | | | | | | | | "multipleAction" : false, +| | | | | | | | | | | | | | | | "entityInfo" : { +| | | | | | | | | | | | | | | | "type" : "VM", +| | | | | | | | | | | | | | | | "id" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "ddd0dd29-bb9c-4eab-9a75-f4ff0426ea42" +| | | | | | | | | | | | | | | | } ] +| | | | | | | | | | | | | | | | }, +| | | | | | | | | | | | | | | | "taskGroupSuccess" : true, +| | | | | | | | | | | | | | | | "vdsmTaskIds" : null, +| | | | | | | | | | | | | | | | "vdsRunningOn" : null, +| | | | | | | | | | | | | | | | "endProcedure" : "PARENT_MANAGED", +| | | | | | | | | | | | | | | | "useCinderCommandCallback" : false, +| | | | | | | | | | | | | | | | "correlationId" : "4172f065-06a4-4f09-954e-0dcfceb61cda", +| | | | | | | | | | | | | | | | "jobId" : null, +| | | | | | | | | | | | | | | | "stepId" : null, +| | | | | | | | | | | | | | | | "jobWeight" : null, +| | | | | | | | | | | | | | | | "operationsJobWeight" : [ "java.util.Collections$EmptyMap", { } ], +| | | | | | | | | | | | | | | | "lockProperties" : { +| | | | | | | | | | | | | | | | "scope" : "Execution", +| | | | | | | | | | | | | | | | "wait" : false +| | | | | | | | | | | | | | | | }, +| | | | | | | | | | | | | | | | "lifeInMinutes" : null, +| | | | | | | | | | | | | | | | "prevVdsStatus" : "Unassigned", +| | | | | | | | | | | | | | | | "quotaId" : null, +| | | | | | | | | | | | | | | | "vmId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "ddd0dd29-bb9c-4eab-9a75-f4ff0426ea42" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "snapshotId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "b9d5a3b6-ba68-4beb-b06b-1a17445223d9" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "needsLocking" : true, +| | | | | | | | | | | | | | | | "sessionId" : "xAv9vK92orxsaEPfb+xqKwUknKw5RjuftptCDhZtwO5MvTsoavUT11gUQTkPV0+kQm6pLPCG5Sr7JVNgkgV8qw==",+| | | | | | | | | | | | | | | | "shouldBeLogged" : true, +| | | | | | | | | | | | | | | | "executionReason" : "REGULAR_FLOW", +| | | | | | | | | | | | | | | | "transactionScopeOption" : "Required" +| | | | | | | | | | | | | | | | } | | | | | | | | | | | | | select * from command_entities where command_id = '94607c69-77ce-4005-8ed9-a8b7bd40c496' ; command_id | command_type | root_command_id | command_parameters | command_params_class | created_at | status | callback_enabled | callback_notified | return_value | return_value_class | executed | user_id | parent_command_id | data | engine_session_seq_id | command_context --------------------------------------+--------------+--------------------------------------+----------------------------------------------------------------------------------------+------------------------------------------------------- -----------------+-------------------------------+--------+------------------+-------------------+-------------------------------------------------------------------+--------------------------------------------------------+----------+--- -----------------------------------+--------------------------------------+------+-----------------------+--------------------------------- 94607c69-77ce-4005-8ed9-a8b7bd40c496 | 236 | 8639a3dc-0064-44b8-84b7-5f733c3fd9b3 | { +| org.ovirt.engine.core.common.action.RemoveSnapshotSing leDiskParameters | 2018-06-25 03:32:01.459167-03 | FAILED | t | f | { +| org.ovirt.engine.core.common.action.VdcReturnValueBase | t | fd fc627c-d875-11e0-90f0-83df133b58cc | 8639a3dc-0064-44b8-84b7-5f733c3fd9b3 | { } | 16659 | { + | | | "@class" : "org.ovirt.engine.core.common.action.RemoveSnapshotSingleDiskParameters",+| | | | | | "valid" : true, +| | | | | | | "jobId" : null, + | | | "commandId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | "validationMessages" : [ "VAR__TYPE__STORAGE__DOMAIN" ], +| | | | | | | "stepId" : null, + | | | "uuid" : "94607c69-77ce-4005-8ed9-a8b7bd40c496" +| | | | | | "succeeded" : true, +| | | | | | | "executionMethod" : "AsStep",+ | | | } ], +| | | | | | "isSyncronious" : true, +| | | | | | | "monitored" : false, + | | | "parametersCurrentUser" : { +| | | | | | "description" : "", +| | | | | | | "tasksMonitored" : true, + | | | "@class" : "org.ovirt.engine.core.common.businessentities.aaa.DbUser", +| | | | | | "taskPlaceHolderIdList" : [ ], +| | | | | | | "completed" : false, + | | | "id" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | "vdsmTaskIdList" : [ ], +| | | | | | | "jobRequired" : false + | | | "uuid" : "fdfc627c-d875-11e0-90f0-83df133b58cc" +| | | | | | "internalVdsmTaskIdList" : [ ], +| | | | | | | } | | | } ], +| | | | | | "endActionTryAgain" : true, +| | | | | | | | | | "externalId" : "fdfc627c-d875-11e0-90f0-83df133b58cc", +| | | | | | "executeFailedMessages" : [ ], +| | | | | | | | | | "domain" : "internal", +| | | | | | "fault" : { +| | | | | | | | | | "namespace" : "*", +| | | | | | "@class" : "org.ovirt.engine.core.common.errors.EngineFault",+| | | | | | | | | | "loginName" : "admin", +| | | | | | "errorCode" : 16, +| | | | | | | | | | "firstName" : "admin", +| | | | | | "details" : null, +| | | | | | | | | | "lastName" : "", +| | | | | | "sessionID" : null, +| | | | | | | | | | "department" : "", +| | | | | | "message" : "ENGINE" +| | | | | | | | | | "email" : "", +| | | | | | }, +| | | | | | | | | | "note" : "", +| | | | | | "correlationId" : "4172f065-06a4-4f09-954e-0dcfceb61cda", +| | | | | | | | | | "groupNames" : [ "java.util.ArrayList", [ ] ], +| | | | | | "jobId" : null, +| | | | | | | | | | "groupIds" : [ "java.util.ArrayList", [ ] ], +| | | | | | "actionReturnValue" : null, +| | | | | | | | | | "admin" : true, +| | | | | | "hasAsyncTasks" : false +| | | | | | | | | | "group" : false +| | | | | | } | | | | | | | | | | }, +| | | | | | | | | | | | | | | | "compensationEnabled" : false, +| | | | | | | | | | | | | | | | "parentCommand" : "RemoveSnapshot", +| | | | | | | | | | | | | | | | "commandType" : "RemoveSnapshotSingleDiskLive", +| | | | | | | | | | | | | | | | "multipleAction" : false, +| | | | | | | | | | | | | | | | "entityInfo" : { +| | | | | | | | | | | | | | | | "type" : "VM", +| | | | | | | | | | | | | | | | "id" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "ddd0dd29-bb9c-4eab-9a75-f4ff0426ea42" +| | | | | | | | | | | | | | | | } ] +| | | | | | | | | | | | | | | | }, +| | | | | | | | | | | | | | | | "taskGroupSuccess" : false, +| | | | | | | | | | | | | | | | "vdsmTaskIds" : null, +| | | | | | | | | | | | | | | | "vdsRunningOn" : null, +| | | | | | | | | | | | | | | | "endProcedure" : "COMMAND_MANAGED", +| | | | | | | | | | | | | | | | "useCinderCommandCallback" : false, +| | | | | | | | | | | | | | | | "correlationId" : "4172f065-06a4-4f09-954e-0dcfceb61cda", +| | | | | | | | | | | | | | | | "jobId" : null, +| | | | | | | | | | | | | | | | "stepId" : null, +| | | | | | | | | | | | | | | | "jobWeight" : null, +| | | | | | | | | | | | | | | | "operationsJobWeight" : [ "java.util.Collections$EmptyMap", { } ], +| | | | | | | | | | | | | | | | "lockProperties" : { +| | | | | | | | | | | | | | | | "scope" : "None", +| | | | | | | | | | | | | | | | "wait" : false +| | | | | | | | | | | | | | | | }, +| | | | | | | | | | | | | | | | "lifeInMinutes" : null, +| | | | | | | | | | | | | | | | "prevVdsStatus" : "Unassigned", +| | | | | | | | | | | | | | | | "vdsId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "126aa87b-cc22-40d5-9e39-d31ee461c857" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "storagePoolId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "00000000-0000-0000-0000-000000000000" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "forceDelete" : false, +| | | | | | | | | | | | | | | | "storageDomainId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "67aa5233-4709-4d48-b7b9-993dbddcc297" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "isInternal" : false, +| | | | | | | | | | | | | | | | "quotaId" : null, +| | | | | | | | | | | | | | | | "diskProfileId" : null, +| | | | | | | | | | | | | | | | "imageId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "9fb14b7a-4498-4517-8681-bd3e02a7f925" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "destinationImageId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "9b34b330-f9d1-4fc0-be6f-26fe4caa4b3a" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "diskAlias" : null, +| | | | | | | | | | | | | | | | "description" : null, +| | | | | | | | | | | | | | | | "oldLastModifiedValue" : null, +| | | | | | | | | | | | | | | | "vmSnapshotId" : null, +| | | | | | | | | | | | | | | | "imageGroupID" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "00000000-0000-0000-0000-000000000000" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "importEntity" : false, +| | | | | | | | | | | | | | | | "leaveLocked" : false, +| | | | | | | | | | | | | | | | "wipeAfterDelete" : false, +| | | | | | | | | | | | | | | | "commandStep" : "DESTROY_IMAGE", +| | | | | | | | | | | | | | | | "nextCommandStep" : "DESTROY_IMAGE", +| | | | | | | | | | | | | | | | "childCommands" : [ "java.util.HashMap", { +| | | | | | | | | | | | | | | | "MERGE_STATUS" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "b5be2e0b-aeef-4634-9905-7c559eeec4d1" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "EXTEND" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "78bb3eee-915e-409b-b384-57348388f55c" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "MERGE" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "b5be2e0b-aeef-4634-9905-7c559eeec4d1" +| | | | | | | | | | | | | | | | } ] +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "mergeCommandComplete" : true, +| | | | | | | | | | | | | | | | "mergeStatusReturnValue" : null, +| | | | | | | | | | | | | | | | "destroyImageCommandComplete" : false, +| | | | | | | | | | | | | | | | "containerId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | | | | | | | "uuid" : "ddd0dd29-bb9c-4eab-9a75-f4ff0426ea42" +| | | | | | | | | | | | | | | | } ], +| | | | | | | | | | | | | | | | "sessionId" : "", +| | | | | | | | | | | | | | | | "shouldBeLogged" : true, +| | | | | | | | | | | | | | | | "executionReason" : "REGULAR_FLOW", +| | | | | | | | | | | | | | | | "transactionScopeOption" : "Required" +| | | | | | | | | | | | | | | | } | | | | | | | | | | | | | Very Thanks. 2018-07-23 10:47 GMT-03:00 Benny Zlotnik <bzlotnik@redhat.com>:
Can you locate commands with id: 8639a3dc-0064-44b8-84b7-5f733c3fd9b3, 94607c69-77ce-4005-8ed9-a8b7bd40c496 in the command_entities table?
On Mon, Jul 23, 2018 at 4:37 PM Marcelo Leandro <marceloltmm@gmail.com> wrote:
Good morning,
can anyone help me ?
Marcelo Leandro
2018-06-27 10:53 GMT-03:00 Marcelo Leandro <marceloltmm@gmail.com>:
Hello,
The task not show more in the gui, but in the engine.log show this msg:
2018-06-27 10:01:54,705-03 INFO [org.ovirt.engine.core.bll. ConcurrentChildCommandsExecutionCallback] (DefaultQuartzScheduler4) [4172f065-06a4-4f09-954e-0dcfceb61cda] Command 'RemoveSnapshot' (id: '8639a3dc-0064-44b8-84b7-5f733c3fd9b3') waiting on child command id: '94607c69-77ce-4005-8ed9-a8b7bd40c496' type:'RemoveSnapshotSingleDiskLive' to complete 2018-06-27 10:01:54,712-03 ERROR [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller] (DefaultQuartzScheduler4) [4172f065-06a4-4f09-954e-0dcfceb61cda] Failed invoking callback end method 'onFailed' for command '94607c69-77ce-4005-8ed9-a8b7bd40c496' with exception 'null', the callback is marked for end method retries 2018-06-27 10:02:04,730-03 INFO [org.ovirt.engine.core.bll. ConcurrentChildCommandsExecutionCallback] (DefaultQuartzScheduler2) [4172f065-06a4-4f09-954e-0dcfceb61cda] Command 'RemoveSnapshot' (id: '8639a3dc-0064-44b8-84b7-5f733c3fd9b3') waiting on child command id: '94607c69-77ce-4005-8ed9-a8b7bd40c496' type:'RemoveSnapshotSingleDiskLive' to complete 2018-06-27 10:02:04,737-03 ERROR [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller] (DefaultQuartzScheduler2) [4172f065-06a4-4f09-954e-0dcfceb61cda] Failed invoking callback end method 'onFailed' for command '94607c69-77ce-4005-8ed9-a8b7bd40c496' with exception 'null', the callback is marked for end method retries
2018-06-26 10:14 GMT-03:00 Marcelo Leandro <marceloltmm@gmail.com>:
Very thanks, its work for me.
2018-06-26 9:53 GMT-03:00 Nathanaël Blanchet <blanchet@abes.fr>:
Le 26/06/2018 à 13:29, Marcelo Leandro a écrit :
Hello ,
Nathanael, Thank for reply, if possible can you describe this steps and what this command do?
I would like understand for solve future problems.
Very thanks.
Marcelo Leandro
2018-06-26 6:50 GMT-03:00 Nathanaël Blanchet <blanchet@abes.fr>:
PGPASSWORD=XXXXX /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -q -t snapshot -u engine
you can find your PGPASSWORD here : /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
296c010e-3c1d-4008-84b3-5cd39cff6aa1 | 525a4dda-dbbb-4872-a5f1-
8ac2aed48392
This command returns a list of locked processes of the chosen type (-t TYPE - The object type {all | vm | template | disk | snapshot}) First item is the vm id, second one the locked snapshot id.
REMOVE
PGPASSWORD=XXXXX /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t snapshot -u engine 525a4dda-dbbb-4872-a5f1-8ac2aed48392
Now use the locked snapshot id to unlock
Le 25/06/2018 à 19:42, Marcelo Leandro a écrit :
Hello, The few days I tried delete snapshot but the task not concluded yet. How I can stop this task? I Already try with taskcleaner.sh but dont had sucess.
attached the ovirt and vdsm-spm logs.
ovirt version. 4.1.9
Thanks.
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/G2Z4VUZLOE75CJ...
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala&entry=gmail&source=g> 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14blanchet@abes.fr
-- Nathanaël Blanchet
Supervision réseau Pôle Infrastrutures Informatiques227 avenue Professeur-Jean-Louis-Viala <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala&entry=gmail&source=g> 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14blanchet@abes.fr
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ message/5Q73SPCCAGCGAESMJ5M3CCQLC6YDQF2J/