So if I have this entry, for example, what should I do next?

cc7764c5-dbc3-4886-bdd6-dabcc756cf6a | 235 | cc7764c5-dbc3-4886-bdd6-dabcc756cf6a | { +| org.ovir t.engine.core.common.action.RemoveDiskSnapshotsParameters | 2018-06-15 09:39:16.846795+01 | ACTIVE | t | f | { +| org.ovirt.engine.core.common.action.VdcReturnValueBase | t | 5e0f9455-e9b5-4445-adb0-0058fc604bef | 00000000-0000-0000-0000-000000000000 | { } | 699165 | { + | | | "@class" : "org.ovirt.engine.core.common.action.RemoveDiskSnapshotsParameters", +| | | | | | "valid" : true, +| | | | | | | "jobId" : [ "org.ovirt.engine.core.compat.Guid", {+ | | | "commandId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | "validationMessages" : [ "VAR__ACTION__REMOVE", "VAR__TYPE__DISK__SNAP SHOT", "VAR__ACTION__REMOVE", "VAR__TYPE__DISK__SNAPSHOT" ],+| | | | | | | "uuid" : "2f1ee2a3-fa2f-48b1-924b-9bfa6497f3b3" + | | | "uuid" : "cc7764c5-dbc3-4886-bdd6-dabcc756cf6a" +| | | | | | "succeeded" : true, +| | | | | | | } ], + | | | } ], +| | | | | | "isSyncronious" : true, +| | | | | | | "stepId" : null, + | | | "parametersCurrentUser" : { +| | | | | | "description" : "", +| | | | | | | "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" : "5e0f9455-e9b5-4445-adb0-0058fc604bef" +| | | | | | "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", +| | | | | | "sessionID" : null, +| | | | |
  |                       |
| | | "firstName" : "admin", +| | | | | | "details" : null, +| | | | |
  |                       |
| | | "lastName" : "", +| | | | | | "errorCode" : 5001, +| | | | |
  |                       |
| | | "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" : "Unknown", +| | | | | | | | | | |
  |                       |
| | | "multipleAction" : true, +| | | | | | | | | | |
  |                       |
| | | "entityInfo" : null, +| | | | | | | | | | |
  |                       |
| | | "taskGroupSuccess" : true, +| | | | | | | | | | |
  |                       |
| | | "vdsmTaskIds" : null, +| | | | | | | | | | |
  |                       |
| | | "vdsRunningOn" : null, +| | | | | | | | | | |
  |                       |
| | | "endProcedure" : "PARENT_MANAGED", +| | | | | | | | | | |
  |                       |
| | | "useCinderCommandCallback" : false, +| | | | | | | | | | |
  |                       |
| | | "correlationId" : "1db468cb-85fd-4189-b356-d31781461504", +| | | | | | | | | | |
  |                       |
| | | "jobId" : null, +| | | | | | | | | | |
  |                       |
| | | "stepId" : null, +| | | | | | | | | | |
  |                       |
| | | "jobWeight" : null, +| | | | | | | | | | |
  |                       |
| | | "operationsJobWeight" : [ "java.util.Collections$EmptyMap", { } ], +| | | | | | | | | | |
  |                       |
| | | "lockProperties" : { +| | | | | | | | | | |
  |                       |
| | | "scope" : "Execution", +| | | | | | | | | | |
  |                       |
| | | "wait" : false +| | | | | | | | | | |
  |                       |
| | | }, +| | | | | | | | | | |
  |                       |
| | | "lifeInMinutes" : null, +| | | | | | | | | | |
  |                       |
| | | "prevVdsStatus" : "Unassigned", +| | | | | | | | | | |
  |                       |
| | | "vdsId" : null, +| | | | | | | | | | |
  |                       |
| | | "storagePoolId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | |
  |                       |
| | | "uuid" : "00000000-0000-0000-0000-000000000000" +| | | | | | | | | | |
  |                       |
| | | } ], +| | | | | | | | | | |
  |                       |
| | | "forceDelete" : false, +| | | | | | | | | | |
  |                       |
| | | "storageDomainId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | |
  |                       |
| | | "uuid" : "12d099c6-3c4b-4c7a-8597-e0c3d45bb929" +| | | | | | | | | | |
  |                       |
| | | } ], +| | | | | | | | | | |
  |                       |
| | | "isInternal" : false, +| | | | | | | | | | |
  |                       |
| | | "quotaId" : null, +| | | | | | | | | | |
  |                       |
| | | "diskProfileId" : null, +| | | | | | | | | | |
  |                       |
| | | "imageId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | |
  |                       |
| | | "uuid" : "00000000-0000-0000-0000-000000000000" +| | | | | | | | | | |
  |                       |
| | | } ], +| | | | | | | | | | |
  |                       |
| | | "destinationImageId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | |
  |                       |
| | | "uuid" : "00000000-0000-0000-0000-000000000000" +| | | | | | | | | | |
  |                       |
| | | } ], +| | | | | | | | | | |
  |                       |
| | | "diskAlias" : "ubuntu-1604-xilinx_Disk1", +| | | | | | | | | | |
  |                       |
| | | "description" : null, +| | | | | | | | | | |
  |                       |
| | | "oldLastModifiedValue" : null, +| | | | | | | | | | |
  |                       |
| | | "vmSnapshotId" : null, +| | | | | | | | | | |
  |                       |
| | | "imageGroupID" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | |
  |                       |
| | | "uuid" : "d8129d2b-5405-4bd2-9a6c-beca237bad76" +| | | | | | | | | | |
  |                       |
| | | } ], +| | | | | | | | | | |
  |                       |
| | | "importEntity" : false, +| | | | | | | | | | |
  |                       |
| | | "leaveLocked" : false, +| | | | | | | | | | |
  |                       |
| | | "wipeAfterDelete" : false, +| | | | | | | | | | |
  |                       |
| | | "imageIds" : [ [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | |
  |                       |
| | | "uuid" : "dfbaca3a-aca1-4bda-9887-463c1f716b10" +| | | | | | | | | | |
  |                       |
| | | } ] ], +| | | | | | | | | | |
  |                       |
| | | "imageIdsSorted" : true, +| | | | | | | | | | |
  |                       |
| | | "childImageIds" : null, +| | | | | | | | | | |
  |                       |
| | | "snapshotNames" : [ "java.util.LinkedList", [ "Auto-Snapshot para clonado" ] ], +| | | | | | | | | | |
  |                       |
| | | "liveMerge" : false, +| | | | | | | | | | |
  |                       |
| | | "containerId" : [ "org.ovirt.engine.core.compat.Guid", { +| | | | | | | | | | |
  |                       |
| | | "uuid" : "4cff718d-41ad-4934-aceb-0050c3b29487" +| | | | | | | | | | |
  |                       |
| | | } ], +| | | | | | | | | | |
  |                       |
| | | "sessionId" : "Yl+fI6EgRGm1N2WRLK/Kd+nbf0UhVlwsSozQnMCnPIFhayyaTATOlhSiDwmkCUHCunNIHcIvi3pM+9wFUe7m5Q==",+| | | | | | | | | | |
  |                       |
| | | "shouldBeLogged" : true, +| | | | | | | | | | |
  |                       |
| | | "executionReason" : "REGULAR_FLOW", +| | | | | | | | | | |
  |                       |
| | | "transactionScopeOption" : "Required" +| | | | | | | | | | |
  |                       |
| | | } | | | | | | | | | | |
  |                       |


El 2018-06-25 08:49, Ala Hino escribió:
No, you cannot remove the events from this table.You will have to
check ACTIVE commands, and find those that are correlated with the
merge snapshots commands that failed and manually fixed.

On Mon, Jun 25, 2018 at 10:46 AM, <nico...@devels.es> wrote:

engine=# SELECT status FROM command_entities;
       status
--------------------
 FAILED
 ENDED_SUCCESSFULLY
 FAILED
 FAILED
 UNKNOWN
 UNKNOWN
 ENDED_WITH_FAILURE
 ENDED_WITH_FAILURE
 ENDED_WITH_FAILURE
 ENDED_WITH_FAILURE
 ACTIVE
 ACTIVE
 SUCCEEDED
 SUCCEEDED
 ACTIVE
 ACTIVE
 ACTIVE
 SUCCEEDED
 SUCCEEDED
 SUCCEEDED
 ACTIVE
 SUCCEEDED
(22 rows)

Is it safe to just remove the events in this table?

Thanks

El 2018-06-25 08:43, Ala Hino escribió:

I'd look into command_entites table in the database. 
You will probably see several merge related commands that are not
in
END_(SUCCESSFULLY/FAILED) status.

On Mon, Jun 25, 2018 at 10:30 AM, <nico...@devels.es> wrote:

Hi,

We're running oVirt 4.1.9, recently we had an issue with snapshots
so we had to fix them manually. The issue is mostly solved but now
we're seeing a lot of events like this one:

   2018-06-25 07:58:06,637+01 ERROR


[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]

(DefaultQuartzScheduler6) [91430fc5-284d-4c26-8d8d-b7bf4053a7e4]
EVENT_ID: USER_REMOVE_SNAPSHOT_FINISHED_FAILURE(357), Correlation
ID: 91430fc5-284d-4c26-8d8d-b7bf4053a7e4, Job ID:
da8120a4-9c6d-4379-ad67-a3808db1fd46, Call Stack: null, Custom ID:
null, Custom Event ID: -1, Message: Failed to delete snapshot
'<UNKNOWN>' for VM 'vmname'.

Which generates the following event in the manager:

   Failed to delete snapshot '<UNKNOWN>' for VM 'vmname'.

This event is being generated every 10 seconds, so it's kind of
annoying.

Any way to remove it manually? It doesn't matter if it entails
touching the DB directly.

Thanks.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/ [1]
[1]
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/ [2] [2]
List Archives:


https://lists.ovirt.org/archives/list/users@ovirt.org/message/QYCTXTBGPB25LZYVXGKROG6SSKOCODMQ/
[3]
[3]

Links:
------
[1] https://www.ovirt.org/site/privacy-policy/ [1]
[2] https://www.ovirt.org/community/about/community-guidelines/ [2]
[3]

https://lists.ovirt.org/archives/list/users@ovirt.org/message/QYCTXTBGPB25LZYVXGKROG6SSKOCODMQ/
[3]



Links:
------
[1] https://www.ovirt.org/site/privacy-policy/
[2] https://www.ovirt.org/community/about/community-guidelines/
[3]
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QYCTXTBGPB25LZYVXGKROG6SSKOCODMQ/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/I6DY5VGRUBR5MSJ3O3BN2ADE7IYJU4KP/

Reply via email to