Created attachment 944549 [details] engine.log Description of problem: As part of storage domain creation, ActivateStorageDomainCommand fails in CDA: 2014-10-07 14:45:24,789 WARN [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] (ajp-/127.0.0.1:8702-3) [37393b37] CanDoAction of action ActivateStorageDomain failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ACTIVATE,ACTION_TYPE_FAILED_OBJECT_LOCKED This happens while adding a non-first in DC domain. Version-Release number of selected component (if applicable): rhev 3.5 vt5 rhevm-3.5.0-0.14.beta.el6ev.noarch How reproducible: Always Steps to Reproduce: 1. On a DC with a storage domain, create an additional domain Actual results: Storage domain activation fails on CanDoAction: 2014-10-07 14:45:24,789 INFO [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] (ajp-/127.0.0.1:8702-3) [37393b37] Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: f3f5c5d0-b775-4ba6-a0d6-2fc4ae0d6fb7 value: STORAGE , sharedLocks= ] 2014-10-07 14:45:24,789 WARN [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] (ajp-/127.0.0.1:8702-3) [37393b37] CanDoAction of action ActivateStorageDomain failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ACTIVATE,ACTION_TYPE_FAILED_OBJECT_LOCKED Expected results: Storage domain activation should succeed Additional info: engine.log
Maor, this looks like a regression that was caused after one of the locking changes you introduced, can you please check?
Is it reproduce also without json?
(In reply to Maor from comment #3) > Is it reproduce also without json? Yes
Storage domain activation succeeded for adding a new storage domain (not the first) 2014-10-22 14:42:41,897 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.ActivateStorageDomainVDSCommand] (ajp-/127.0.0.1:8702-1) [3c37311] START, ActivateStorageDomainVDSCommand( storagePoolId = 00000002-0002-0002-0002-000000000328, ignoreFailoverLimit = false, storageDomainId = cba68e49-efdb-4f9c-9ad0-17319d213237), log id: 6fb1d91e 2014-10-22 14:42:42,444 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.ActivateStorageDomainVDSCommand] (ajp-/127.0.0.1:8702-1) [3c37311] FINISH, ActivateStorageDomainVDSCommand, return: true, log id: 6fb1d91e 2014-10-22 14:42:42,444 INFO [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] (ajp-/127.0.0.1:8702-1) [3c37311] ActivateStorage Domain. After Connect all hosts to pool. Time:10/22/14 2:42 PM 2014-10-22 14:42:42,459 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (org.ovirt.thread.pool-7-thread-47) START, ConnectStoragePoolVDSCommand(HostName = green-vdsb, HostId = 4fa18390-60b8-4061-9c25-1ade07c4e2e2, vdsId = 4fa18390-60b8-4061-9c25-1ade07c4e2e2, storagePoolId = 00000002-0002-0002-0002-000000000328, masterVersion = 1), log id: 764d5432 2014-10-22 14:42:43,347 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] (org.ovirt.thread.pool-7-thread-47) FINISH, ConnectStoragePoolVDSCommand, log id: 764d5432 2014-10-22 14:42:43,347 INFO [org.ovirt.engine.core.bll.storage.RefreshPoolSingleAsyncOperation] (org.ovirt.thread.pool-7-thread-47) Refreshed vds green-vdsb in pool Default 2014-10-22 14:42:43,349 INFO [org.ovirt.engine.core.bll.storage.ActivateStorageDomainCommand] (ajp-/127.0.0.1:8702-1) [3c37311] ActivateStorage Domain. After change storage pool status in vds. Time:10/22/14 2:42 Verified using rhev3.5 vt6
RHEV-M 3.5.0 has been released, closing this bug.