<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Hi<br>
I have one Engine, one node.<br>
Fresh install of oVirt 3.4 on new CentOS 6.5.<br>
Engine holds ISO_DOMAIN, created automatically during setup.<br>
The ISO_DOMAIN exists under Default -> Storage. When trying to
attach it, it is visible in web interface a few seconds as
"locked", then disappears.<br>
Log says: <br>
<font face="Courier New, Courier, monospace">ERROR
[org.ovirt.engine.core.bll.storage.NFSStorageHelper]
(org.ovirt.thread.pool-6-thread-24) [5a5288b3] The connection
with details ctmgm0.certitrade.net:/ct/isos failed because of
error code 477 and error message is: problem while trying to
mount target </font></font><font size="-1">(thanks for that
error message... )</font><font size="-1"><br>
And a bit down:<br>
<font face="Courier New, Courier, monospace">ERROR
[org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-6-thread-27) [43f2f913] Command
org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand
throw Vdc Bll exception. With error message VdcBLLException:
org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:
IRSGenericException: IRSErrorException: Failed to
AttachStorageDomainVDS, error = Storage domain does not exist:
('0f6485ab-0301-4989-a59a-56efcd447ba0',), code = 358 (Failed
with error StorageDomainDoesNotExist and code 358)</font><br>
<br>
I can, however, mount the ISO_DOMAIN manually, it has correct
permissions and a directory structure obviously created by oVirt (see
below).<br>
There is no problem adding nfs storage from the node.<br>
iptables is off, no firewalld, selinux is permissive.<br>
<br>
ISO_DOMAIN mounted on engine ("mount -t nfs 172.19.1.10:/ct/isos/
/mnt/tmp/")<br>
<font face="Courier New, Courier, monospace">ls -l /mnt/<br>
totalt 4<br>
drwxr-xr-x. 3 vdsm kvm 4096 10 jun 19.18 tmp<br>
<br>
ls -l /mnt/tmp/0f6485ab-0301-4989-a59a-56efcd447ba0/images/<br>
totalt 4<br>
drwxr-xr-x. 2 vdsm kvm 4096 10 jun 19.19
11111111-1111-1111-1111-111111111111<br>
</font><br>
I have read many posts about this problem, seems to be a common
one, but no solution found.<br>
<br>
</font><font size="-1">Complete log from one try:</font><font
size="-1"><font face="Courier New, Courier, monospace"><br>
2014-06-11 15:48:23,513 INFO
[org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-6-thread-28) [7b977e41] Running command:
AttachStorageDomainToPoolCommand internal: false. Entities
affected : ID: 0f6485ab-0301-4989-a59a-56efcd447ba0 Type:
Storage<br>
2014-06-11 15:48:23,525 INFO
[org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]
(org.ovirt.thread.pool-6-thread-23) [795f995f] Running command:
ConnectStorageToVdsCommand internal: true. Entities affected :
ID: aaa00000-0000-0000-0000-123456789aaa Type: System<br>
2014-06-11 15:48:23,533 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
(org.ovirt.thread.pool-6-thread-23) [795f995f] START,
ConnectStorageServerVDSCommand(HostName = ExtTest, HostId =
1947b88f-b02e-4acf-bb30-1d92de626b45, storagePoolId =
00000000-0000-0000-0000-000000000000, storageType = NFS,
connectionList = [{ id: 53c268c3-5b04-4d42-bfa3-58d31c982a5d,
connection: ctmgm0.certitrade.net:/ct/isos, iqn: null, vfsType:
null, mountOptions: null, nfsVersion: null, nfsRetrans: null,
nfsTimeo: null };]), log id: 5107b953<br>
2014-06-11 15:48:23,803 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-6-thread-23) [795f995f] Correlation ID:
null, Call Stack: null, Custom Event ID: -1, Message: Failed to
connect Host ExtTest to the Storage Domains ISO_DOMAIN.<br>
2014-06-11 15:48:23,805 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
(org.ovirt.thread.pool-6-thread-23) [795f995f] FINISH,
ConnectStorageServerVDSCommand, return:
{53c268c3-5b04-4d42-bfa3-58d31c982a5d=477}, log id: 5107b953<br>
2014-06-11 15:48:23,808 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-6-thread-23) [795f995f] Correlation ID:
null, Call Stack: null, Custom Event ID: -1, Message: The error
message for connection ctmgm0.certitrade.net:/ct/isos returned
by VDSM was: Problem while trying to mount target<br>
2014-06-11 15:48:23,810 ERROR
[org.ovirt.engine.core.bll.storage.NFSStorageHelper]
(org.ovirt.thread.pool-6-thread-23) [795f995f] The connection
with details ctmgm0.certitrade.net:/ct/isos failed because of
error code 477 and error message is: problem while trying to
mount target<br>
2014-06-11 15:48:23,814 ERROR
[org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]
(org.ovirt.thread.pool-6-thread-23) [795f995f] Transaction
rolled-back for command:
org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand.<br>
2014-06-11 15:48:23,816 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
(org.ovirt.thread.pool-6-thread-28) [7b977e41] START,
AttachStorageDomainVDSCommand( storagePoolId =
00000002-0002-0002-0002-00000000011b, ignoreFailoverLimit =
false, storageDomainId = 0f6485ab-0301-4989-a59a-56efcd447ba0),
log id: a2cca1b<br>
2014-06-11 15:48:24,515 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
(org.ovirt.thread.pool-6-thread-28) [7b977e41] Failed in
AttachStorageDomainVDS method<br>
2014-06-11 15:48:24,547 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(org.ovirt.thread.pool-6-thread-28) [7b977e41]
IrsBroker::Failed::AttachStorageDomainVDS due to:
IRSErrorException: IRSGenericException: IRSErrorException:
Failed to AttachStorageDomainVDS, error = Storage domain does
not exist: ('0f6485ab-0301-4989-a59a-56efcd447ba0',), code = 358<br>
2014-06-11 15:48:24,555 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
(org.ovirt.thread.pool-6-thread-28) [7b977e41] FINISH,
AttachStorageDomainVDSCommand, log id: a2cca1b<br>
2014-06-11 15:48:24,556 ERROR
[org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-6-thread-28) [7b977e41] Command
org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand
throw Vdc Bll exception. With error message VdcBLLException:
org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:
IRSGenericException: IRSErrorException: Failed to
AttachStorageDomainVDS, error = Storage domain does not exist:
('0f6485ab-0301-4989-a59a-56efcd447ba0',), code = 358 (Failed
with error StorageDomainDoesNotExist and code 358)<br>
2014-06-11 15:48:24,559 INFO
[org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-6-thread-28) [7b977e41] Command
[id=bff69195-7d00-4e18-bf5b-705be8d7210f]: Compensating
NEW_ENTITY_ID of
org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap;
snapshot: storagePoolId = 00000002-0002-0002-0002-00000000011b,
storageId = 0f6485ab-0301-4989-a59a-56efcd447ba0.<br>
2014-06-11 15:48:24,580 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-6-thread-28) [7b977e41] Correlation ID:
7b977e41, Job ID: fafb4906-a9dd-41fb-b17f-833d831e953e, Call
Stack: null, Custom Event ID: -1, Message: Failed to attach
Storage Domain ISO_DOMAIN to Data Center Default. (User: admin)<br>
<br>
</font></font><font size="-1">Regards<br>
Peter Haraldson</font><font size="-1"><font face="Courier New,
Courier, monospace"><br>
</font></font>
</body>
</html>