Please attach vdsm logs showing this flow.
> _______________________________________________On Tue, Mar 8, 2016 at 4:07 PM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:
> Hi, trying to attach an iso domain to engine master:
>
> 2016-03-08 15:04:28,386 INFO
> [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand]
> (default task-50) [477da39f] Lock Acquired to object
> 'EngineLock:{exclusiveLocks='[bd9860d2-756b-42bd-9cf
> 6-08c0e96d70dc=<STORAGE, ACTION_TYPE_FAILED_OBJECT_LOCKED>]',
> sharedLocks='null'}'
> 2016-03-08 15:04:28,433 INFO
> [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] Running command:
> AttachStorageDomainToPoolCommand interna
> l: false. Entities affected : ID: bd9860d2-756b-42bd-9cf6-08c0e96d70dc
> Type: StorageAction group MANIPULATE_STORAGE_DOMAIN with role type ADMIN,
> ID: 07b2decc-9d40-4df6-bfa1-0da26f95df53 Type: StoragePoolAction
> group MANIPULATE_STORAGE_DOMAIN with role type ADMIN
> 2016-03-08 15:04:28,445 INFO
> [org.ovirt.engine.core.bll.storage.connection.ConnectStorageToVdsCommand]
> (org.ovirt.thread.pool-10-thread-43) [72ff69e2] Running command:
> ConnectStorageToVdsCommand internal: true.
> Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type:
> SystemAction group CREATE_STORAGE_DOMAIN with role type ADMIN
> 2016-03-08 15:04:28,447 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
> (org.ovirt.thread.pool-10-thread-43) [72ff69e2] START,
> ConnectStorageServerVDSCommand(HostName = local_hos
> t, StorageServerConnectionManagementVDSParameters:{runAsync='true',
> hostId='384c1ab4-e03b-46ff-8e32-8a8b3650235b',
> storagePoolId='00000000-0000-0000-0000-000000000000', storageType='NFS',
> connectionList='[Storag
> eServerConnections:{id='51ffb87c-c595-4792-b915-50af506dbf67',
> connection='mididell.home:/var/lib/exports/iso-20160308130525', iqn='null',
> vfsType='null', mountOptions='null', nfsVersion='null', nfsRetrans='null
> ', nfsTimeo='null', iface='null', netIfaceName='null'}]'}), log id: 2e547cc1
> 2016-03-08 15:04:29,454 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
> (org.ovirt.thread.pool-10-thread-43) [72ff69e2] FINISH,
> ConnectStorageServerVDSCommand, return: {51ffb87c-
> c595-4792-b915-50af506dbf67=0}, log id: 2e547cc1
> 2016-03-08 15:04:29,455 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] START,
> AttachStorageDomainVDSCommand( AttachStorageDomainVD
> SCommandParameters:{runAsync='true',
> storagePoolId='07b2decc-9d40-4df6-bfa1-0da26f95df53',
> ignoreFailoverLimit='false',
> storageDomainId='bd9860d2-756b-42bd-9cf6-08c0e96d70dc'}), log id: 5bc96473
> 2016-03-08 15:04:30,549 ERROR
> [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] Failed in
> 'AttachStorageDomainVDS' method
> 2016-03-08 15:04:30,558 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] Correlation ID: null, Call
> Stack: null, Custom Event ID: -1, M
> essage: VDSM command failed: Error in storage domain action:
> (u'sdUUID=bd9860d2-756b-42bd-9cf6-08c0e96d70dc,
> spUUID=07b2decc-9d40-4df6-bfa1-0da26f95df53',)
> 2016-03-08 15:04:30,558 ERROR
> [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] Command
> 'AttachStorageDomainVDSCommand( AttachStorageDomain
> VDSCommandParameters:{runAsync='true',
> storagePoolId='07b2decc-9d40-4df6-bfa1-0da26f95df53',
> ignoreFailoverLimit='false',
> storageDomainId='bd9860d2-756b-42bd-9cf6-08c0e96d70dc'})' execution failed:
> IRSGenericExc
> eption: IRSErrorException: Failed to AttachStorageDomainVDS, error = Error
> in storage domain action: (u'sdUUID=bd9860d2-756b-42bd-9cf6-08c0e96d70dc,
> spUUID=07b2decc-9d40-4df6-bfa1-0da26f95df53',), code = 350
> 2016-03-08 15:04:30,558 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] FINISH,
> AttachStorageDomainVDSCommand, log id: 5bc96473
> 2016-03-08 15:04:30,558 ERROR
> [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] Command
> 'org.ovirt.engine.core.bll.storage.domain.AttachS
> torageDomainToPoolCommand' failed: EngineException:
> org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException:
> IRSGenericException: IRSErrorException: Failed to AttachStorageDomainVDS,
> erro
> r = Error in storage domain action:
> (u'sdUUID=bd9860d2-756b-42bd-9cf6-08c0e96d70dc,
> spUUID=07b2decc-9d40-4df6-bfa1-0da26f95df53',), code = 350 (Failed with
> error StorageDomainActionError and code 350)
> 2016-03-08 15:04:30,559 INFO
> [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] Command
> [id=6426d8ba-223f-401d-8fed-c537620bd4c3]: Compensating NEW_ENTITY_ID of
> org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot:
> StoragePoolIsoMapId:{storagePoolId='07b2decc-9d40-4df6-bfa1-0da26f95df53',
> storageId='bd9860d2-756b-42bd-9cf6-08c0e96d70dc'}.
> 2016-03-08 15:04:30,575 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] Correlation ID: 477da39f,
> Job ID: 13fbe031-0c58-4fff-bc38-324cce2e4c3f, Call Stack: null, Custom Event
> ID: -1, Message: Failed to attach Storage Domain ISO_DOMAIN to Data Center
> local_datacenter. (User: admin@internal)
> 2016-03-08 15:04:30,584 INFO
> [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand]
> (org.ovirt.thread.pool-10-thread-42) [477da39f] Lock freed to object
> 'EngineLock:{exclusiveLocks='[bd9860d2-756b-42bd-9cf6-08c0e96d70dc=<STORAGE,
> ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'
>
> Any hint on what can be the reason?
>
> # rpm -qv ovirt-engine
> ovirt-engine-4.0.0-0.0.master.20160307171512.git398703d.el7.centos.noarch
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel