[Users] Error Attaching NFS Data Domain to Data Center - oVirt 3.3
Sherry Yu
syu at redhat.com
Fri Apr 26 01:04:21 UTC 2013
In oVirt 3.3, I created the first data domain in NFS but it failed to attach to the default data center. The hypervisor is a Fedora 18 minimum installation. Below is the configuration and logs
/var/log/sanlock.log
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
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
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
2013-04-25 20:45:26-0400 3711 [941]: s8 add_lockspace fail result -19
/var/log/ovirt-engine/engine.log
2013-04-25 17:55:00,002 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (DefaultQuartzScheduler_Worker-2) Autorecovering 0 hosts
2013-04-25 17:55:00,008 INFO [org.ovirt.engine.core.bll.AutoRecoveryManager] (DefaultQuartzScheduler_Worker-2) Autorecovering 0 storage domains
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
, sharedLocks= ]
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
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
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
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
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
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
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
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'))]
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'))]
2013-04-25 17:55:02,912 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-49) [783c9d00] Failed in CreateStoragePoolVDS method
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'))
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
StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=661, mMessage=Cannot acquire host id: ('a7138327-930c-49d7-9f39-c34ee36fc7fb', SanlockException(19, 'Sanlock lockspace add failure', 'No such device'))]]
2013-04-25 17:55:02,924 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-49) [783c9d00] HostName = sbhost-58
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'))
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
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'))
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.
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.
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.
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
, sharedLocks= ]
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.
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
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
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.
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
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
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).
Thanks in advance for any input!
Sherry
--
Sherry Yu, RHCE, RHCVA
Principal Enterprise Architect
Global Partner Enablement
Red Hat, Inc (www.redhat.com)
Mobile: 1-408-832-2160
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130425/bc7b0bcc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2013-04-25 at 5.10.07 PM.png
Type: image/png
Size: 43857 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130425/bc7b0bcc/attachment-0001.png>
More information about the Users
mailing list