On Fri, May 17, 2019 at 4:54 PM <dan.midthun@gmail.com> wrote:
Simone,
What would be causing the Cannot aquire host ID??

Was that NFS folder absolutely empty?
 

2019-05-17 09:03:57,638-04 INFO  [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-1) [9126b578-9eac-4517-9e56-960c4751c3d1] Lock Acquired to object 'EngineLock:{exclusiveLocks='[e85f74bd-5e43-4a8c-8158-eb4696e041bc=STORAGE]', sharedLocks=''}'
2019-05-17 09:03:57,653-04 INFO  [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-1) [9126b578-9eac-4517-9e56-960c4751c3d1] Running command: AttachStorageDomainToPoolCommand internal: false. Entities affected :  ID: e85f74bd-5e43-4a8c-8158-eb4696e041bc Type: StorageAction group MANIPULATE_STORAGE_DOMAIN with role type ADMIN,  ID: adf59b7a-78a1-11e9-82af-00163e729513 Type: StoragePoolAction group MANIPULATE_STORAGE_DOMAIN with role
type ADMIN
2019-05-17 09:03:57,678-04 INFO  [org.ovirt.engine.core.bll.storage.pool.AddStoragePoolWithStoragesCommand] (default task-1) [66bed180] Running command: AddStoragePoolWithStoragesCommand internal: true. Entities affected :  ID: adf59b7a-78a1-11e9-82af-00163e729513 Type: StoragePoolAction group CREATE_STORAGE_POOL with role type ADMIN
2019-05-17 09:03:57,725-04 INFO  [org.ovirt.engine.core.bll.storage.connection.ConnectStorageToVdsCommand] (default task-1) [2091c1ca] Running command: ConnectStorageToVdsCommand internal: true. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_STORAGE_DOMAIN with role type ADMIN
2019-05-17 09:03:57,732-04 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (default task-1) [2091c1ca] START, ConnectStorageServerVDSCommand(HostName = host-93.home.local, StorageServerConnectionManagementVDSParameters:{hostId='7f7408f3-5558-4f9f-81f8-fa5c3f10c3f9', storagePoolId='00000000-0000-0000-0000-000000000000', storageType='NFS', connectionList='[StorageServerConnections:{id='7e8e82be-f033-487f-892c-16f9f12c31b7', connection='10.10
.32.211:/storage/Dixon', iqn='null', vfsType='null', mountOptions='', nfsVersion='AUTO', nfsRetrans='null', nfsTimeo='null', iface='null', netIfaceName='null'}]', sendNetworkEventOnFailure='true'}), log id: 4cbacffc
2019-05-17 09:03:57,756-04 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (default task-1) [2091c1ca] FINISH, ConnectStorageServerVDSCommand, return: {7e8e82be-f033-487f-892c-16f9f12c31b7=0}, log id: 4cbacffc
2019-05-17 09:03:57,768-04 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainInfoVDSCommand] (default task-1) [2091c1ca] START, HSMGetStorageDomainInfoVDSCommand(HostName = host-93.home.local, HSMGetStorageDomainInfoVDSCommandParameters:{hostId='7f7408f3-5558-4f9f-81f8-fa5c3f10c3f9', storageDomainId='e85f74bd-5e43-4a8c-8158-eb4696e041bc'}), log id: 5f095b14
2019-05-17 09:03:58,110-04 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainInfoVDSCommand] (default task-1) [2091c1ca] FINISH, HSMGetStorageDomainInfoVDSCommand, return: <StorageDomainStatic:{name='hosted_storage', id='e85f74bd-5e43-4a8c-8158-eb4696e041bc'}, null>, log id: 5f095b14
2019-05-17 09:03:58,113-04 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-1) [2091c1ca] START, CreateStoragePoolVDSCommand(HostName = host-93.home.local, CreateStoragePoolVDSCommandParameters:{hostId='7f7408f3-5558-4f9f-81f8-fa5c3f10c3f9', storagePoolId='adf59b7a-78a1-11e9-82af-00163e729513', storagePoolName='Default', masterDomainId='e85f74bd-5e43-4a8c-8158-eb4696e041bc', domainsIdList='[e85f74bd-5e43-4a8c-8158-eb4696e041bc]',
 masterVersion='2'}), log id: 58aabe3d
2019-05-17 09:03:59,128-04 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-1) [2091c1ca] Failed in 'CreateStoragePoolVDS' method
2019-05-17 09:03:59,134-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-1) [2091c1ca] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM host-93.home.local command CreateStoragePoolVDS failed: Cannot acquire host id: (u'e85f74bd-5e43-4a8c-8158-eb4696e041bc', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))
2019-05-17 09:03:59,134-04 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-1) [2091c1ca] Command 'org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand' return value 'StatusOnlyReturn [status=Status [code=661, message=Cannot acquire host id: (u'e85f74bd-5e43-4a8c-8158-eb4696e041bc', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))]]'
2019-05-17 09:03:59,134-04 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-1) [2091c1ca] HostName = host-93.home.local
2019-05-17 09:03:59,134-04 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-1) [2091c1ca] Command 'CreateStoragePoolVDSCommand(HostName = host-93.home.local, CreateStoragePoolVDSCommandParameters:{hostId='7f7408f3-5558-4f9f-81f8-fa5c3f10c3f9', storagePoolId='adf59b7a-78a1-11e9-82af-00163e729513', storagePoolName='Default', masterDomainId='e85f74bd-5e43-4a8c-8158-eb4696e041bc', domainsIdList='[e85f74bd-5e43-4a8c-8158-eb4696e041bc]
', masterVersion='2'})' execution failed: VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot acquire host id: (u'e85f74bd-5e43-4a8c-8158-eb4696e041bc', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')), code = 661
2019-05-17 09:03:59,134-04 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (default task-1) [2091c1ca] FINISH, CreateStoragePoolVDSCommand, return: , log id: 58aabe3d
2019-05-17 09:03:59,135-04 ERROR [org.ovirt.engine.core.bll.storage.pool.AddStoragePoolWithStoragesCommand] (default task-1) [2091c1ca] Command 'org.ovirt.engine.core.bll.storage.pool.AddStoragePoolWithStoragesCommand' failed: EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot acquire host id: (u'e85f74bd-5e43-4a8c-8158-eb4696e041bc', SanlockException(19, 'San
lock lockspace add failure', 'No such device')), code = 661 (Failed with error AcquireHostIdFailure and code 661)
2019-05-17 09:03:59,137-04 INFO  [org.ovirt.engine.core.bll.CommandCompensator] (default task-1) [2091c1ca] Command [id=fc08e1d1-9383-4353-b65b-b50121596fba]: Compensating DELETED_OR_UPDATED_ENTITY of org.ovirt.engine.core.common.businessentities.StoragePool; snapshot: id=adf59b7a-78a1-11e9-82af-00163e729513.
2019-05-17 09:03:59,139-04 INFO  [org.ovirt.engine.core.bll.CommandCompensator] (default task-1) [2091c1ca] Command [id=fc08e1d1-9383-4353-b65b-b50121596fba]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: StoragePoolIsoMapId:{storagePoolId='adf59b7a-78a1-11e9-82af-00163e729513', storageId='e85f74bd-5e43-4a8c-8158-eb4696e041bc'}.
2019-05-17 09:03:59,142-04 INFO  [org.ovirt.engine.core.bll.CommandCompensator] (default task-1) [2091c1ca] Command [id=fc08e1d1-9383-4353-b65b-b50121596fba]: Compensating DELETED_OR_UPDATED_ENTITY of org.ovirt.engine.core.common.businessentities.StorageDomainStatic; snapshot: id=e85f74bd-5e43-4a8c-8158-eb4696e041bc.
2019-05-17 09:03:59,173-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-1) [2091c1ca] EVENT_ID: USER_ATTACH_STORAGE_DOMAINS_TO_POOL_FAILED(1,003), Failed to attach Storage Domains to Data Center Default. (User: admin@internal-authz)
2019-05-17 09:03:59,179-04 INFO  [org.ovirt.engine.core.bll.storage.pool.AddStoragePoolWithStoragesCommand] (default task-1) [2091c1ca] Lock freed to object 'EngineLock:{exclusiveLocks='[e85f74bd-5e43-4a8c-8158-eb4696e041bc=STORAGE]', sharedLocks=''}'
2019-05-17 09:03:59,192-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-1) [2091c1ca] EVENT_ID: USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage Domain hosted_storage to Data Center Default. (User: admin@internal-authz)
2019-05-17 09:03:59,198-04 WARN  [org.ovirt.engine.core.bll.lock.InMemoryLockManager] (default task-1) [2091c1ca] Trying to release exclusive lock which does not exist, lock key: 'e85f74bd-5e43-4a8c-8158-eb4696e041bcSTORAGE'
2019-05-17 09:03:59,198-04 INFO  [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-1) [2091c1ca] Lock freed to object 'EngineLock:{exclusiveLocks='[e85f74bd-5e43-4a8c-8158-eb4696e041bc=STORAGE]', sharedLocks=''}'
2019-05-17 09:03:59,199-04 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-1) [] Operation Failed: []
_______________________________________________
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/F2WETYJGJHEUWUKQUH2OWAUUXE3UCZHB/


--

Simone Tiraboschi

He / Him / His

Principal Software Engineer

Red Hat

stirabos@redhat.com   

@redhatjobs   redhatjobs @redhatjobs