Hello All,

I keep getting this problem when attaching the iso-domain.

I started from scratch.
Configured engine
configured /connected a Centos7 host

This time I did the nfs-export on that Centos7 host more carefully.
Exports are /export/data export/iso export/import_export
[root@localhost ~]# ls -la /export/
totaal 4
drwxr-xr-x.  5 vdsm kvm    47 29 okt 13:35 .
drwxr-xr-x. 19 root root 4096 29 okt 13:35 ..
drwxr-xr-x.  3 vdsm kvm    74 29 okt 14:52 data
drwxr-xr-x.  2 vdsm kvm     6 29 okt 13:35 import_export
drwxr-xr-x.  2 vdsm kvm     6 29 okt 13:35 iso

they can be mounted with command
mount -t nfs 192.168.80.168:/export/import_export /mnt/test
on the engine or any other station in the network without em.

I added an New ( nfs ) domain with export path :
192.168.80.168:/export/data
All went without em.
I now have Data Master NFS V3 Active 47 GB 44 GB

Still when trying to attach iso, I get em in tail -f /var/log/ovirt-engine/engine.log  -------> see below.

Thanks for any help. Greetings, J.

2015-10-29 14:47:42,005 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-31) [784c8d5e] Correlation ID: 784c8d5e, Job ID: 80e3d5d9-fe8c-4062-99db-324ecd62b3a1, Call Stack: null, Custom Event ID: -1, Message: VM test was successfully removed.
2015-10-29 14:50:30,842 INFO  [org.ovirt.engine.core.bll.storage.GetStorageDomainsWithAttachedStoragePoolGuidQuery] (ajp--127.0.0.1-8702-2) vds id ff2f4dc2-5d2d-46b8-ab26-9c8f75e0c36f was chosen to fetch the Storage domain info
2015-10-29 14:50:30,904 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (ajp--127.0.0.1-8702-2) [b0c041b] Lock Acquired to object EngineLock [exclusiveLocks= key: c1e6a973-2e34-4873-b5ab-2422e3945d52 value: STORAGE
, sharedLocks= ]
2015-10-29 14:50:30,964 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-8-thread-18) [b0c041b] Running command: AttachStorageDomainToPoolCommand internal: false. Entities affected :  ID: c1e6a973-2e34-4873-b5ab-2422e3945d52 Type: StorageAction group MANIPULATE_STORAGE_DOMAIN with role type ADMIN
2015-10-29 14:50:30,979 INFO  [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand] (org.ovirt.thread.pool-8-thread-11) [118e82a3] Running command: ConnectStorageToVdsCommand internal: true. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_STORAGE_DOMAIN with role type ADMIN
2015-10-29 14:50:30,997 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (org.ovirt.thread.pool-8-thread-11) [118e82a3] START, ConnectStorageServerVDSCommand(HostName = ovirt, HostId = ff2f4dc2-5d2d-46b8-ab26-9c8f75e0c36f, storagePoolId = 00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList = [{ id: fa6e70e4-17c7-40f2-8f87-993076abd1eb, connection: linux4all.ddns.net:/var/lib/exports/iso, iqn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };]), log id: 3cb714d0
2015-10-29 14:50:31,108 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-11) [118e82a3] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to connect Host ovirt to the Storage Domains ISO_DOMAIN.
2015-10-29 14:50:31,109 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (org.ovirt.thread.pool-8-thread-11) [118e82a3] FINISH, ConnectStorageServerVDSCommand, return: {fa6e70e4-17c7-40f2-8f87-993076abd1eb=477}, log id: 3cb714d0
2015-10-29 14:50:31,111 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-11) [118e82a3] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: The error message for connection linux4all.ddns.net:/var/lib/exports/iso returned by VDSM was: Problem while trying to mount target
2015-10-29 14:50:31,112 ERROR [org.ovirt.engine.core.bll.storage.NFSStorageHelper] (org.ovirt.thread.pool-8-thread-11) [118e82a3] The connection with details linux4all.ddns.net:/var/lib/exports/iso failed because of error code 477 and error message is: problem while trying to mount target
2015-10-29 14:50:31,118 ERROR [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand] (org.ovirt.thread.pool-8-thread-11) [118e82a3] Transaction rolled-back for command: org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand.
2015-10-29 14:50:31,119 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-8-thread-18) [b0c041b] START, AttachStorageDomainVDSCommand( storagePoolId = 00000002-0002-0002-0002-0000000000be, ignoreFailoverLimit = false, storageDomainId = c1e6a973-2e34-4873-b5ab-2422e3945d52), log id: 7d18d575
2015-10-29 14:50:31,582 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-8-thread-18) [b0c041b] Failed in AttachStorageDomainVDS method
2015-10-29 14:50:31,596 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-8-thread-18) [b0c041b] Command AttachStorageDomainVDSCommand( storagePoolId = 00000002-0002-0002-0002-0000000000be, ignoreFailoverLimit = false, storageDomainId = c1e6a973-2e34-4873-b5ab-2422e3945d52) execution failed. Exception: IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Failed to AttachStorageDomainVDS, error = Storage domain does not exist: (u'c1e6a973-2e34-4873-b5ab-2422e3945d52',), code = 358
2015-10-29 14:50:31,597 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-8-thread-18) [b0c041b] FINISH, AttachStorageDomainVDSCommand, log id: 7d18d575
2015-10-29 14:50:31,598 ERROR [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-8-thread-18) [b0c041b] Command org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Failed to AttachStorageDomainVDS, error = Storage domain does not exist: (u'c1e6a973-2e34-4873-b5ab-2422e3945d52',), code = 358 (Failed with error StorageDomainDoesNotExist and code 358)
2015-10-29 14:50:31,602 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-8-thread-18) [b0c041b] Command [id=5f21f34c-b2d1-4bc7-b1d8-f9442e7f4fc1]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: storagePoolId = 00000002-0002-0002-0002-0000000000be, storageId = c1e6a973-2e34-4873-b5ab-2422e3945d52.
2015-10-29 14:50:31,612 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-18) [b0c041b] Correlation ID: b0c041b, Job ID: 8d1cd02e-2e64-4db1-b7dd-2d289a34cdcb, Call Stack: null, Custom Event ID: -1, Message: Failed to attach Storage Domain ISO_DOMAIN to Data Center Default. (User: admin@internal)
2015-10-29 14:50:31,625 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-8-thread-18) [b0c041b] Lock freed to object EngineLock [exclusiveLocks= key: c1e6a973-2e34-4873-b5ab-2422e3945d52 value: STORAGE
, sharedLocks= ]


2015-10-22 15:36 GMT+02:00 Johan Vermeulen <jameslast29@gmail.com>:
Hello All,

indeed, I made a subnet error.
I 've now changed the ip address of the host, that took me some searching.
Now I'm working on re-doing the nfs setup.

Greetings, J.

2015-10-20 16:14 GMT+02:00 Fred Rolland <frolland@redhat.com>:
Hi,

Also can you check the log on the host for more information ?
The VDSM log is here:  /var/log/vdsm/vdsm.log

Are you sure you can connect to nfs server from your host ? Check for firewall/iptables configuration maybe...

Regards,

Fred

On Tue, Oct 20, 2015 at 5:13 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:


On Tue, Oct 20, 2015 at 4:02 PM, Johan Vermeulen <jameslast29@gmail.com> wrote:
Hello All,

following the Ovirt quick start guide, I
attached a host and configured nfs-storage.
Now when trying to connect the ( standard ) iso-domain I get an EM:

Failed to connect Host test-host to the Storage Domains ISO_DOMAIN.

Here's more output from /var/log/ovirt-engine/server.log:

2015-10-20 15:44:23,606 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-8-thread-17) [7939875a] Running command: AttachStorageDomainToPoolCommand internal: false. Entities affected :  ID: 72e753c8-26f9-4541-869e-f0cec2df80ea Type: StorageAction group MANIPULATE_STORAGE_DOMAIN with role type ADMIN
2015-10-20 15:44:23,837 INFO  [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand] (org.ovirt.thread.pool-8-thread-18) [1b86ba2c] Running command: ConnectStorageToVdsCommand internal: true. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group CREATE_STORAGE_DOMAIN with role type ADMIN
2015-10-20 15:44:23,878 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (org.ovirt.thread.pool-8-thread-18) [1b86ba2c] START, ConnectStorageServerVDSCommand(HostName = test-host, HostId = 1a50a745-dc86-43a4-8de5-03cb0ccac613, storagePoolId = 00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList = [{ id: 89dbf1eb-ec58-41af-894e-af55157ac972, connection: linux4all.dyndns.net:/var/lib/exports/iso, iqn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };]), log id: 3e905822
2015-10-20 15:44:29,219 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-18) [1b86ba2c] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to connect Host test-host to the Storage Domains ISO_DOMAIN.
2015-10-20 15:44:29,220 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (org.ovirt.thread.pool-8-thread-18) [1b86ba2c] FINISH, ConnectStorageServerVDSCommand, return: {89dbf1eb-ec58-41af-894e-af55157ac972=477}, log id: 3e905822
2015-10-20 15:44:29,223 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-18) [1b86ba2c] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: The error message for connection linux4all.dyndns.net:/var/lib/exports/iso returned by VDSM was: Problem while trying to mount target
2015-10-20 15:44:29,224 ERROR [org.ovirt.engine.core.bll.storage.NFSStorageHelper] (org.ovirt.thread.pool-8-thread-18) [1b86ba2c] The connection with details linux4all.dyndns.net:/var/lib/exports/iso failed because of error code 477 and error message is: problem while trying to mount target
2015-10-20 15:44:29,235 ERROR [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand] (org.ovirt.thread.pool-8-thread-18) [1b86ba2c] Transaction rolled-back for command: org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand.
2015-10-20 15:44:29,238 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-8-thread-17) [7939875a] START, AttachStorageDomainVDSCommand( storagePoolId = 00000002-0002-0002-0002-000000000371, ignoreFailoverLimit = false, storageDomainId = 72e753c8-26f9-4541-869e-f0cec2df80ea), log id: 4c5c13f9
2015-10-20 15:44:29,715 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-8-thread-17) [7939875a] Failed in AttachStorageDomainVDS method
2015-10-20 15:44:29,798 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-8-thread-17) [7939875a] Command AttachStorageDomainVDSCommand( storagePoolId = 00000002-0002-0002-0002-000000000371, ignoreFailoverLimit = false, storageDomainId = 72e753c8-26f9-4541-869e-f0cec2df80ea) execution failed. Exception: IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Failed to AttachStorageDomainVDS, error = Storage domain does not exist: (u'72e753c8-26f9-4541-869e-f0cec2df80ea',), code = 358
2015-10-20 15:44:29,801 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand] (org.ovirt.thread.pool-8-thread-17) [7939875a] FINISH, AttachStorageDomainVDSCommand, log id: 4c5c13f9
2015-10-20 15:44:29,803 ERROR [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-8-thread-17) [7939875a] Command org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Failed to AttachStorageDomainVDS, error = Storage domain does not exist: (u'72e753c8-26f9-4541-869e-f0cec2df80ea',), code = 358 (Failed with error StorageDomainDoesNotExist and code 358)
2015-10-20 15:44:29,858 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-8-thread-17) [7939875a] Command [id=0b011574-ab08-4b3b-9e5e-0aca2be7638d]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: storagePoolId = 00000002-0002-0002-0002-000000000371, storageId = 72e753c8-26f9-4541-869e-f0cec2df80ea.
2015-10-20 15:44:30,044 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-17) [7939875a] Correlation ID: 7939875a, Job ID: 319e5b3b-f2c9-4eb0-835f-d5966611841a, Call Stack: null, Custom Event ID: -1, Message: Failed to attach Storage Domain ISO_DOMAIN to Data Center Default. (User: admin@internal)
2015-10-20 15:44:30,133 INFO  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (org.ovirt.thread.pool-8-thread-17) [7939875a] Lock freed to object EngineLock [exclusiveLocks= key: 72e753c8-26f9-4541-869e-f0cec2df80ea value: STORAGE
, sharedLocks= ]

Thanks for any help on this.

Can you please check the export settings on the NFS host?
 

Greetings, J.


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users