Bug 844177 - RHEVM - Backend: Bad error on activating a host twice
Summary: RHEVM - Backend: Bad error on activating a host twice
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Oved Ourfali
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-29 15:20 UTC by Daniel Paikov
Modified: 2016-02-10 19:06 UTC (History)
10 users (show)

Fixed In Version: si13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:06:18 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (251.87 KB, application/x-compressed-tar)
2012-07-29 15:20 UTC, Daniel Paikov
no flags Details

Description Daniel Paikov 2012-07-29 15:20:29 UTC
Created attachment 601045 [details]
engine.log

When activating the same host again while it's already being activated, the following error appears in the GUI: "Error while executing action: Cannot ${action} ${type}. Same action in progress."

From engine.log:
2012-07-29 18:14:19,676 INFO  [org.ovirt.engine.core.bll.ActivateVdsCommand] (pool-3-thread-6) [58c34e06] Running command: ActivateVdsCommand internal: false. Entities affected :  ID: f776d6e8-d96f-11e1-8509-001a4a16978d Type: VDS
2012-07-29 18:14:19,690 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-3-thread-6) [58c34e06] START, SetVdsStatusVDSCommand(vdsId = f776d6e8-d96f-11e1-8509-001a4a16978d, status=Unassigned, nonOperationalReason=NONE), log id: 69012c04
2012-07-29 18:14:47,017 INFO  [org.ovirt.engine.core.bll.ActivateVdsCommand] (ajp--127.0.0.1-8009-9) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: f776d6e8-d96f-11e1-8509-001a4a16978d value: VDS
, sharedLocks= ]
2012-07-29 18:14:47,018 WARN  [org.ovirt.engine.core.bll.ActivateVdsCommand] (ajp--127.0.0.1-8009-9) CanDoAction of action ActivateVds failed. Reasons:ACTION_TYPE_FAILED_OBJECT_LOCKED

Comment 1 Oved Ourfali 2012-07-30 09:01:18 UTC
Commit: 9e16756f5aca449eb5b3ebb84557811edf49e155

http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=9e16756f5aca449eb5b3ebb84557811edf49e155


Note You need to log in before you can comment on or make changes to this bug.