<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I have 2-host oVirt setup with 2 Data Centers, one with local storage domain (DC #1) for VMs + Export domain on NFS, another with all NFS shared (DC #2).</div><div class="">Trying to export VMs from DC #1 to DC #2.</div><div class="">VMs are exported to DC #1 export domain (NFS), then domain put into maintenance mode and detached from DC #1.</div><div class=""><br class=""></div><div class="">Unfortunately, attaching it to DC #2 failed. Logs attached. Tried to run this command twice.</div><div class="">Workaround are possible in order to accomplish this task, yet it would be better to do in a way as it was designed.<br class="">
Thanks.<br class=""><br class=""><br class=""><div class="">2018-03-21 10:43:24,024+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-128904) [<font color="#942192" class="">570ec5d9-fff5-4656-afbd-90b3207a616e</font>] EVENT_ID: USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage Domain node10-NFS-EXPORTS to Data Center StrDataCenter11. (User: admin@internal-authz)<br class="">2018-03-21 10:46:16,512+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-128956) [1435fc81] EVENT_ID: VDS_STORAGES_CONNECTION_FAILED(188), Failed to connect Host node11 to the Storage Domains node10-NFS-EXPORTS.<br class="">2018-03-21 10:46:16,651+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-128955) [<font color="#942192" class="">a81ffa4a-5a58-41a0-888a-f0edc321609b</font>] EVENT_ID: USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage Domain node10-NFS-EXPORTS to Data Center StrDataCenter11. (User: admin@internal-authz)<br class=""><br class=""><br class=""><font color="#aa7942" class=""><b class="">tail -n 1000 engine.log | grep 570ec5d9-fff5-4656-afbd-90b3207a616e</b></font><br class="">2018-03-21 10:41:14,643+02 INFO [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-2) [570ec5d9-fff5-4656-afbd-90b3207a616e] Lock Acquired to object 'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]', sharedLocks=''}'<br class="">2018-03-21 10:41:16,129+02 INFO [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (EE-ManagedThreadFactory-engine-Thread-128904) [570ec5d9-fff5-4656-afbd-90b3207a616e] Running command: AttachStorageDomainToPoolCommand internal: false. Entities affected : ID: 1d7208ce-d3a1-4406-9638-fe7051562994 Type: StorageAction group MANIPULATE_STORAGE_DOMAIN with role type ADMIN, ID: 80cc922f-8dea-4fed-b951-1060ba116ad5 Type: StoragePoolAction group MANIPULATE_STORAGE_DOMAIN with role type ADMIN<br class="">2018-03-21 10:43:23,564+02 ERROR [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (EE-ManagedThreadFactory-engine-Thread-128904) [570ec5d9-fff5-4656-afbd-90b3207a616e] Cannot connect storage connection server, aborting attach storage domain operation.<br class="">2018-03-21 10:43:23,567+02 INFO [org.ovirt.engine.core.bll.CommandCompensator] (EE-ManagedThreadFactory-engine-Thread-128904) [570ec5d9-fff5-4656-afbd-90b3207a616e] Command [id=921ca7cd-4f93-46aa-8de2-91b13b8f96cb]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: StoragePoolIsoMapId:{storagePoolId='80cc922f-8dea-4fed-b951-1060ba116ad5', storageId='1d7208ce-d3a1-4406-9638-fe7051562994'}.<br class="">2018-03-21 10:43:24,024+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-128904) [570ec5d9-fff5-4656-afbd-90b3207a616e] EVENT_ID: USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage Domain node10-NFS-EXPORTS to Data Center StrDataCenter11. (User: admin@internal-authz)<br class="">2018-03-21 10:43:24,114+02 INFO [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (EE-ManagedThreadFactory-engine-Thread-128904) [570ec5d9-fff5-4656-afbd-90b3207a616e] Lock freed to object 'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]', sharedLocks=''}'<br class=""><br class=""><br class=""><br class=""><font color="#aa7942" class=""><b class="">[root@node00 ovirt-engine]# tail -n 1000 engine.log | grep a81ffa4a-5a58-41a0-888a-f0edc321609b</b></font><br class="">2018-03-21 10:44:11,025+02 INFO [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (default task-16) [a81ffa4a-5a58-41a0-888a-f0edc321609b] Lock Acquired to object 'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]', sharedLocks=''}'<br class="">2018-03-21 10:44:11,236+02 INFO [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (EE-ManagedThreadFactory-engine-Thread-128955) [a81ffa4a-5a58-41a0-888a-f0edc321609b] Running command: AttachStorageDomainToPoolCommand internal: false. Entities affected : ID: 1d7208ce-d3a1-4406-9638-fe7051562994 Type: StorageAction group MANIPULATE_STORAGE_DOMAIN with role type ADMIN, ID: 80cc922f-8dea-4fed-b951-1060ba116ad5 Type: StoragePoolAction group MANIPULATE_STORAGE_DOMAIN with role type ADMIN<br class="">2018-03-21 10:46:16,567+02 ERROR [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (EE-ManagedThreadFactory-engine-Thread-128955) [a81ffa4a-5a58-41a0-888a-f0edc321609b] Cannot connect storage connection server, aborting attach storage domain operation.<br class="">2018-03-21 10:46:16,568+02 INFO [org.ovirt.engine.core.bll.CommandCompensator] (EE-ManagedThreadFactory-engine-Thread-128955) [a81ffa4a-5a58-41a0-888a-f0edc321609b] Command [id=b5c25100-1a8a-4db0-9509-99cfa60995b1]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: StoragePoolIsoMapId:{storagePoolId='80cc922f-8dea-4fed-b951-1060ba116ad5', storageId='1d7208ce-d3a1-4406-9638-fe7051562994'}.<br class="">2018-03-21 10:46:16,651+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-128955) [a81ffa4a-5a58-41a0-888a-f0edc321609b] EVENT_ID: USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage Domain node10-NFS-EXPORTS to Data Center StrDataCenter11. (User: admin@internal-authz)<br class="">2018-03-21 10:46:16,681+02 INFO [org.ovirt.engine.core.bll.storage.domain.AttachStorageDomainToPoolCommand] (EE-ManagedThreadFactory-engine-Thread-128955) [a81ffa4a-5a58-41a0-888a-f0edc321609b] Lock freed to object 'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]', sharedLocks='’}'</div><div class=""><br class=""></div></div></body></html>