<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi Sherry,</div><div><br></div><div>Please check the that vdsm has permissions to write to the directory you're trying to create.</div><div><br></div><div>Also, if you could attach the vdsm log that would be great.</div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Sherry Yu" &lt;syu@redhat.com&gt;<br><b>To: </b>users@ovirt.org<br><b>Sent: </b>Friday, April 26, 2013 4:04:21 AM<br><b>Subject: </b>[Users] Error Attaching NFS Data Domain to Data Center - oVirt 3.3<br><div><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 10pt; color: #000000"><div><p>In oVirt 3.3, I created the first data domain in NFS but it failed to attach to the default data center. &nbsp;The hypervisor is a Fedora 18 minimum installation. Below is the configuration and logs</p><div><p>/var/log/sanlock.log</p><p>2013-04-25 20:45:25-0400 3710 [941]: s8 lockspace a7138327-930c-49d7-9f39-c34ee36fc7fb:250:/rhev/data-center/mnt/storage2.phx.salab.redhat.com:_data_sap_ovirt-domain/a7138327-930c-49d7-9f39-c34ee36fc7fb/dom_md/ids:0<br>2013-04-25 20:45:25-0400 3710 [5116]: open error -13 /rhev/data-center/mnt/storage2.phx.salab.redhat.com:_data_sap_ovirt-domain/a7138327-930c-49d7-9f39-c34ee36fc7fb/dom_md/ids<br>2013-04-25 20:45:25-0400 3710 [5116]: s8 open_disk /rhev/data-center/mnt/storage2.phx.salab.redhat.com:_data_sap_ovirt-domain/a7138327-930c-49d7-9f39-c34ee36fc7fb/dom_md/ids error -13<br>2013-04-25 20:45:26-0400 3711 [941]: s8 add_lockspace fail result -19</p></div><div>/var/log/ovirt-engine/engine.log</div><div><p><span style="font-size: small; ">2013-04-25 17:55:00,002 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (DefaultQuartzScheduler_Worker-2) Autorecovering 0 hosts</span><br><span style="font-size: small; ">2013-04-25 17:55:00,008 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (DefaultQuartzScheduler_Worker-2) Autorecovering 0 storage domains</span><br><span style="font-size: small; ">2013-04-25 17:55:01,574 INFO [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (ajp--127.0.0.1-8702-2) Lock Acquired to object EngineLock [exclusiveLocks= key: 5849b030-626e-47cb-ad90-3ce782d831b3 value: POOL</span><br><span style="font-size: small; ">, sharedLocks= ]</span><br><span style="font-size: small; ">2013-04-25 17:55:01,687 INFO [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (pool-3-thread-49) [1ed8155e] Running command: AddStoragePoolWithStoragesCommand internal: false. Entities affected : ID: 5849b030-626e-47cb-ad90-3ce782d831b3 Type: StoragePool</span><br><span style="font-size: small; ">2013-04-25 17:55:01,768 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] (pool-3-thread-49) [783c9d00] START, ValidateStorageServerConnectionVDSCommand(HostName = sbhost-58, HostId = d576e7aa-c2fc-4fee-9125-d8dd61d005be, storagePoolId = 00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList = [{ id: c925e43f-ff52-45ae-8484-e4ac6b670143, connection: storage2.phx.salab.redhat.com:/data/sap/ovirt-domain, iqn: null, vfsType: null, mountOptions: null, nfsVersion: AUTO, nfsRetrans: null, nfsTimeo: null };]), log id: 71197b7a</span><br><span style="font-size: small; ">2013-04-25 17:55:01,792 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] (pool-3-thread-49) [783c9d00] FINISH, ValidateStorageServerConnectionVDSCommand, return: {c925e43f-ff52-45ae-8484-e4ac6b670143=0}, log id: 71197b7a</span><br><span style="font-size: small; ">2013-04-25 17:55:01,796 INFO [org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand] (pool-3-thread-49) [783c9d00] Running command: ConnectStorageToVdsCommand internal: true. Entities affected : ID: aaa00000-0000-0000-0000-123456789aaa Type: System</span><br><span style="font-size: small; ">2013-04-25 17:55:01,801 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (pool-3-thread-49) [783c9d00] START, ConnectStorageServerVDSCommand(HostName = sbhost-58, HostId = d576e7aa-c2fc-4fee-9125-d8dd61d005be, storagePoolId = 00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList = [{ id: c925e43f-ff52-45ae-8484-e4ac6b670143, connection: storage2.phx.salab.redhat.com:/data/sap/ovirt-domain, iqn: null, vfsType: null, mountOptions: null, nfsVersion: AUTO, nfsRetrans: null, nfsTimeo: null };]), log id: 6a4d78ea</span><br><span style="font-size: small; ">2013-04-25 17:55:01,828 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] (pool-3-thread-49) [783c9d00] FINISH, ConnectStorageServerVDSCommand, return: {c925e43f-ff52-45ae-8484-e4ac6b670143=0}, log id: 6a4d78ea</span><br><span style="font-size: small; ">2013-04-25 17:55:01,830 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (pool-3-thread-49) [783c9d00] START, CreateStoragePoolVDSCommand(HostName = sbhost-58, HostId = d576e7aa-c2fc-4fee-9125-d8dd61d005be, storagePoolId=5849b030-626e-47cb-ad90-3ce782d831b3, storageType=NFS, storagePoolName=Default, masterDomainId=a7138327-930c-49d7-9f39-c34ee36fc7fb, domainsIdList=[a7138327-930c-49d7-9f39-c34ee36fc7fb], masterVersion=9), log id: 109f1d33</span><br><span style="font-size: small; ">2013-04-25 17:55:02,902 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-49) [783c9d00] Weird return value: StatusForXmlRpc [mCode=661, mMessage=Cannot acquire host id: ('a7138327-930c-49d7-9f39-c34ee36fc7fb', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))]</span><br><span style="font-size: small; ">2013-04-25 17:55:02,908 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-49) [783c9d00] Weird return value: StatusForXmlRpc [mCode=661, mMessage=Cannot acquire host id: ('a7138327-930c-49d7-9f39-c34ee36fc7fb', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))]</span><br><span style="font-size: small; ">2013-04-25 17:55:02,912 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-49) [783c9d00] Failed in CreateStoragePoolVDS method</span><br><span style="font-size: small; ">2013-04-25 17:55:02,915 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-49) [783c9d00] Error code unexpected and error message VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot acquire host id: ('a7138327-930c-49d7-9f39-c34ee36fc7fb', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))</span><br><span style="font-size: small; ">2013-04-25 17:55:02,921 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-49) [783c9d00] Command org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand return value </span><br><span style="font-size: small; "> StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=661, mMessage=Cannot acquire host id: ('a7138327-930c-49d7-9f39-c34ee36fc7fb', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))]]</span><br><span style="font-size: small; ">2013-04-25 17:55:02,924 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-49) [783c9d00] HostName = sbhost-58</span><br><span style="font-size: small; ">2013-04-25 17:55:02,926 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-49) [783c9d00] Command CreateStoragePoolVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot acquire host id: ('a7138327-930c-49d7-9f39-c34ee36fc7fb', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))</span><br><span style="font-size: small; ">2013-04-25 17:55:02,932 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateStoragePoolVDSCommand] (pool-3-thread-49) [783c9d00] FINISH, CreateStoragePoolVDSCommand, log id: 109f1d33</span><br><span style="font-size: small; ">2013-04-25 17:55:02,936 ERROR [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (pool-3-thread-49) [783c9d00] Command org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand throw Vdc Bll exception. With error message VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot acquire host id: ('a7138327-930c-49d7-9f39-c34ee36fc7fb', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))</span><br><span style="font-size: small; ">2013-04-25 17:55:02,952 INFO [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (pool-3-thread-49) [783c9d00] Command [id=c09e2511-3d69-41fd-9a4c-57d4a012d11b]: Compensating CHANGED_ENTITY of org.ovirt.engine.core.common.businessentities.storage_pool; snapshot: id=5849b030-626e-47cb-ad90-3ce782d831b3.</span><br><span style="font-size: small; ">2013-04-25 17:55:02,961 INFO [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (pool-3-thread-49) [783c9d00] Command [id=c09e2511-3d69-41fd-9a4c-57d4a012d11b]: Compensating NEW_ENTITY_ID of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: storagePoolId = 5849b030-626e-47cb-ad90-3ce782d831b3, storageId = a7138327-930c-49d7-9f39-c34ee36fc7fb.</span><br><span style="font-size: small; ">2013-04-25 17:55:02,973 INFO [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (pool-3-thread-49) [783c9d00] Command [id=c09e2511-3d69-41fd-9a4c-57d4a012d11b]: Compensating CHANGED_ENTITY of org.ovirt.engine.core.common.businessentities.StorageDomainStatic; snapshot: id=a7138327-930c-49d7-9f39-c34ee36fc7fb.</span><br><span style="font-size: small; ">2013-04-25 17:55:03,017 INFO [org.ovirt.engine.core.bll.storage.AddStoragePoolWithStoragesCommand] (pool-3-thread-49) [783c9d00] Lock freed to object EngineLock [exclusiveLocks= key: 5849b030-626e-47cb-ad90-3ce782d831b3 value: POOL</span><br><span style="font-size: small; ">, sharedLocks= ]</span><br><span style="font-size: small; ">2013-04-25 17:55:16,712 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-2) Running command: LoginUserCommand internal: false.</span><br><span style="font-size: small; ">2013-04-25 17:55:16,758 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--127.0.0.1-8702-2) calling GetConfigurationValueQuery (ApplicationMode) with null version, using default general for version</span><br><span style="font-size: small; ">2013-04-25 17:55:16,766 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--127.0.0.1-8702-2) calling GetConfigurationValueQuery (VdcVersion) with null version, using default general for version</span></p><p><span style="font-size: small; ">2013-04-25 17:56:16,711 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-8) Running command: LoginUserCommand internal: false.</span><br><span style="font-size: small; ">2013-04-25 17:56:16,757 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--127.0.0.1-8702-8) calling GetConfigurationValueQuery (ApplicationMode) with null version, using default general for version</span><br><span style="font-size: small; ">2013-04-25 17:56:16,765 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--127.0.0.1-8702-8) calling GetConfigurationValueQuery (VdcVersion) with null version, using default general for version</span></p></div><p><span style="font-size: small; "><strong>BTW, not sure if this is related, during New Domain, the Advanced Parameters has to set to "Auto Negotiation" for NFS version otherwise the creation would fail (I saw similar behavior in RHEV 3.1).</strong></span></p><p><img src="cid:eefbdae6b8a4a0d8edab47ddd50834b809179d28@zimbra"></p><p>Thanks in advance for any input!</p><p>Sherry</p></div><div><div>--&nbsp;</div><div><span></span>Sherry Yu, RHCE, RHCVA<br>Principal Enterprise Architect<br>Global Partner Enablement<br>Red Hat, Inc (www.redhat.com)<br>Mobile: 1-408-832-2160</div></div></div><br>_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><div><br></div></div></body></html>