On 08/28/2012 04:34 PM, зоррыч wrote:

Hi

Trying to import export stotage created earlier.

But get this error:

hi,

please provide full vdsm and engine logs (compressed).
also, run the following commands on host (vds):

- /usr/bin/sudo -n /bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 10.1.20.2:/home/nfs4 /rhev/data-center/mnt/10.1.20.2:_home_nfs4
- mount
- vdsClient -s 0 getStorageDomainsList (if you are working in a non-secure mode, don't use the -s).
- vdsClient -s 0 getStorageDomainInfo b23c7ab6-b1d4-4888-8d4a-adc78e61db38
- check permission on storage server (NFS) - ls -l /home/nfs4 (should be vdsm:kvm).

another thing - it appears that domain is already attached to storage pool (as I understand from domain metadata), is it possible that you haven't detach this domain from its previous domain ?

There is no storage domain under the specified path. Please check path.

Vdsm.logs:

Thread-99790::DEBUG::2012-08-28 09:17:26,010::task::568::TaskManager.Task::(_updateState) Task=`ac99ba99-f55d-4562-822e-0286ab30566e`::moving from state init -> state preparing

Thread-99790::INFO::2012-08-28 09:17:26,010::logUtils::37::dispatcher::(wrapper) Run and protect: repoStats(options=None)

Thread-99790::INFO::2012-08-28 09:17:26,010::logUtils::39::dispatcher::(wrapper) Run and protect: repoStats, Return response: {'b0a0e76b-f983-405b-a0af-d0314a1c381a': {'delay': '0.00292301177979', 'lastCheck': 1346159839.788852, 'code': 0, 'valid': True}}

Thread-99790::DEBUG::2012-08-28 09:17:26,011::task::1151::TaskManager.Task::(prepare) Task=`ac99ba99-f55d-4562-822e-0286ab30566e`::finished: {'b0a0e76b-f983-405b-a0af-d0314a1c381a': {'delay': '0.00292301177979', 'lastCheck': 1346159839.788852, 'code': 0, 'valid': True}}

Thread-99790::DEBUG::2012-08-28 09:17:26,011::task::568::TaskManager.Task::(_updateState) Task=`ac99ba99-f55d-4562-822e-0286ab30566e`::moving from state preparing -> state finished

Thread-99790::DEBUG::2012-08-28 09:17:26,011::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}

Thread-99790::DEBUG::2012-08-28 09:17:26,011::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}

Thread-99790::DEBUG::2012-08-28 09:17:26,011::task::957::TaskManager.Task::(_decref) Task=`ac99ba99-f55d-4562-822e-0286ab30566e`::ref 0 aborting False

Thread-99792::DEBUG::2012-08-28 09:17:26,473::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2]

Thread-99792::DEBUG::2012-08-28 09:17:26,474::task::568::TaskManager.Task::(_updateState) Task=`e55145ac-1052-454b-92ec-a9eb981c1b04`::moving from state init -> state preparing

Thread-99792::INFO::2012-08-28 09:17:26,474::logUtils::37::dispatcher::(wrapper) Run and protect: validateStorageServerConnection(domType=1, spUUID='00000000-0000-0000-0000-000000000000', conList=[{'connection': '10.1.20.2:/home/nfs4', 'iqn': '', 'portal': '', 'user': '', 'password': '******', 'id': '00000000-0000-0000-0000-000000000000', 'port': ''}], options=None)

Thread-99792::INFO::2012-08-28 09:17:26,474::logUtils::39::dispatcher::(wrapper) Run and protect: validateStorageServerConnection, Return response: {'statuslist': [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}

Thread-99792::DEBUG::2012-08-28 09:17:26,474::task::1151::TaskManager.Task::(prepare) Task=`e55145ac-1052-454b-92ec-a9eb981c1b04`::finished: {'statuslist': [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}

Thread-99792::DEBUG::2012-08-28 09:17:26,474::task::568::TaskManager.Task::(_updateState) Task=`e55145ac-1052-454b-92ec-a9eb981c1b04`::moving from state preparing -> state finished

Thread-99792::DEBUG::2012-08-28 09:17:26,475::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}

Thread-99792::DEBUG::2012-08-28 09:17:26,475::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}

Thread-99792::DEBUG::2012-08-28 09:17:26,475::task::957::TaskManager.Task::(_decref) Task=`e55145ac-1052-454b-92ec-a9eb981c1b04`::ref 0 aborting False

Thread-99793::DEBUG::2012-08-28 09:17:26,494::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2]

Thread-99793::DEBUG::2012-08-28 09:17:26,495::task::568::TaskManager.Task::(_updateState) Task=`700181ad-b9d4-411b-bfbc-25a28aa288e2`::moving from state init -> state preparing

Thread-99793::INFO::2012-08-28 09:17:26,503::logUtils::37::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=1, spUUID='00000000-0000-0000-0000-000000000000', conList=[{'connection': '10.1.20.2:/home/nfs4', 'iqn': '', 'portal': '', 'user': '', 'password': '******', 'id': '00000000-0000-0000-0000-000000000000', 'port': ''}], options=None)

Thread-99793::DEBUG::2012-08-28 09:17:26,505::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 10.1.20.2:/home/nfs4 /rhev/data-center/mnt/10.1.20.2:_home_nfs4' (cwd None)

Thread-99793::DEBUG::2012-08-28 09:17:26,609::lvm::477::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99793::DEBUG::2012-08-28 09:17:26,609::lvm::479::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99793::DEBUG::2012-08-28 09:17:26,609::lvm::488::OperationMutex::(_invalidateAllVgs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99793::DEBUG::2012-08-28 09:17:26,610::lvm::490::OperationMutex::(_invalidateAllVgs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99793::DEBUG::2012-08-28 09:17:26,610::lvm::508::OperationMutex::(_invalidateAllLvs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99793::DEBUG::2012-08-28 09:17:26,610::lvm::510::OperationMutex::(_invalidateAllLvs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99793::INFO::2012-08-28 09:17:26,610::logUtils::39::dispatcher::(wrapper) Run and protect: connectStorageServer, Return response: {'statuslist': [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}

Thread-99793::DEBUG::2012-08-28 09:17:26,610::task::1151::TaskManager.Task::(prepare) Task=`700181ad-b9d4-411b-bfbc-25a28aa288e2`::finished: {'statuslist': [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}

Thread-99793::DEBUG::2012-08-28 09:17:26,611::task::568::TaskManager.Task::(_updateState) Task=`700181ad-b9d4-411b-bfbc-25a28aa288e2`::moving from state preparing -> state finished

Thread-99793::DEBUG::2012-08-28 09:17:26,611::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}

Thread-99793::DEBUG::2012-08-28 09:17:26,611::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}

Thread-99793::DEBUG::2012-08-28 09:17:26,611::task::957::TaskManager.Task::(_decref) Task=`700181ad-b9d4-411b-bfbc-25a28aa288e2`::ref 0 aborting False

Thread-99794::DEBUG::2012-08-28 09:17:26,653::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2]

Thread-99794::DEBUG::2012-08-28 09:17:26,654::task::568::TaskManager.Task::(_updateState) Task=`8a3e33d5-4cfe-4ad6-87e9-55082b67394e`::moving from state init -> state preparing

Thread-99794::INFO::2012-08-28 09:17:26,654::logUtils::37::dispatcher::(wrapper) Run and protect: getStorageDomainsList(spUUID='00000000-0000-0000-0000-000000000000', domainClass=3, storageType=1, remotePath='10.1.20.2:/home/nfs4', options=None)

Thread-99794::DEBUG::2012-08-28 09:17:26,654::misc::1061::SamplingMethod::(__call__) Trying to enter sampling method (storage.sdc.refreshStorage)

Thread-99794::DEBUG::2012-08-28 09:17:26,654::misc::1063::SamplingMethod::(__call__) Got in to sampling method

Thread-99794::DEBUG::2012-08-28 09:17:26,655::misc::1061::SamplingMethod::(__call__) Trying to enter sampling method (storage.iscsi.rescan)

Thread-99794::DEBUG::2012-08-28 09:17:26,655::misc::1063::SamplingMethod::(__call__) Got in to sampling method

Thread-99794::DEBUG::2012-08-28 09:17:26,655::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /sbin/iscsiadm -m session -R' (cwd None)

Thread-99794::DEBUG::2012-08-28 09:17:26,677::__init__::1164::Storage.Misc.excCmd::(_log) FAILED: <err> = 'iscsiadm: No session found.\n'; <rc> = 21

Thread-99794::DEBUG::2012-08-28 09:17:26,678::misc::1071::SamplingMethod::(__call__) Returning last result

Thread-99794::DEBUG::2012-08-28 09:17:26,843::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /sbin/multipath' (cwd None)

Thread-99794::DEBUG::2012-08-28 09:17:26,935::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0

Thread-99794::DEBUG::2012-08-28 09:17:26,936::lvm::477::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99794::DEBUG::2012-08-28 09:17:26,941::lvm::479::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99794::DEBUG::2012-08-28 09:17:26,941::lvm::488::OperationMutex::(_invalidateAllVgs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99794::DEBUG::2012-08-28 09:17:26,941::lvm::490::OperationMutex::(_invalidateAllVgs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99794::DEBUG::2012-08-28 09:17:26,942::lvm::508::OperationMutex::(_invalidateAllLvs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99794::DEBUG::2012-08-28 09:17:26,942::lvm::510::OperationMutex::(_invalidateAllLvs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99794::DEBUG::2012-08-28 09:17:26,942::misc::1071::SamplingMethod::(__call__) Returning last result

Thread-99794::DEBUG::2012-08-28 09:17:26,942::lvm::368::OperationMutex::(_reloadvgs) Operation 'lvm reload operation' got the operation mutex

Thread-99794::DEBUG::2012-08-28 09:17:26,944::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /sbin/lvm vgs --config " devices { preferred_names = [\\"^/dev/mapper/\\"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 filter = [ \\"a%35000c50001770ea3%\\", \\"r%.*%\\" ] } global { locking_type=1 prioritise_write_locks=1 wait_for_locks=1 } backup { retain_min = 50 retain_days = 0 } " --noheadings --units b --nosuffix --separator | -o uuid,name,attr,size,free,extent_size,extent_count,free_count,tags,vg_mda_size,vg_mda_free' (cwd None)

Thread-99794::DEBUG::2012-08-28 09:17:27,146::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = " Couldn't find device with uuid sySrjj-b79L-jZ9D-8ZUe-UAwz-r08M-l7YWxe.\n"; <rc> = 0

Thread-99794::DEBUG::2012-08-28 09:17:27,148::lvm::397::OperationMutex::(_reloadvgs) Operation 'lvm reload operation' released the operation mutex

Thread-99794::INFO::2012-08-28 09:17:27,156::logUtils::39::dispatcher::(wrapper) Run and protect: getStorageDomainsList, Return response: {'domlist': []}

Thread-99794::DEBUG::2012-08-28 09:17:27,157::task::1151::TaskManager.Task::(prepare) Task=`8a3e33d5-4cfe-4ad6-87e9-55082b67394e`::finished: {'domlist': []}

Thread-99794::DEBUG::2012-08-28 09:17:27,157::task::568::TaskManager.Task::(_updateState) Task=`8a3e33d5-4cfe-4ad6-87e9-55082b67394e`::moving from state preparing -> state finished

Thread-99794::DEBUG::2012-08-28 09:17:27,157::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}

Thread-99794::DEBUG::2012-08-28 09:17:27,157::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}

Thread-99794::DEBUG::2012-08-28 09:17:27,158::task::957::TaskManager.Task::(_decref) Task=`8a3e33d5-4cfe-4ad6-87e9-55082b67394e`::ref 0 aborting False

Thread-99803::DEBUG::2012-08-28 09:17:27,232::BindingXMLRPC::160::vds::(wrapper) [10.1.20.2]

Thread-99803::DEBUG::2012-08-28 09:17:27,232::task::568::TaskManager.Task::(_updateState) Task=`bfd73de7-79b7-4c24-b87b-7ecd234ce505`::moving from state init -> state preparing

Thread-99803::INFO::2012-08-28 09:17:27,233::logUtils::37::dispatcher::(wrapper) Run and protect: disconnectStorageServer(domType=1, spUUID='00000000-0000-0000-0000-000000000000', conList=[{'connection': '10.1.20.2:/home/nfs4', 'iqn': '', 'portal': '', 'user': '', 'password': '******', 'id': '00000000-0000-0000-0000-000000000000', 'port': ''}], options=None)

Thread-99803::DEBUG::2012-08-28 09:17:27,233::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /bin/umount -f -l /rhev/data-center/mnt/10.1.20.2:_home_nfs4' (cwd None)

Thread-99803::DEBUG::2012-08-28 09:17:27,265::misc::1061::SamplingMethod::(__call__) Trying to enter sampling method (storage.sdc.refreshStorage)

Thread-99803::DEBUG::2012-08-28 09:17:27,266::misc::1063::SamplingMethod::(__call__) Got in to sampling method

Thread-99803::DEBUG::2012-08-28 09:17:27,266::misc::1061::SamplingMethod::(__call__) Trying to enter sampling method (storage.iscsi.rescan)

Thread-99803::DEBUG::2012-08-28 09:17:27,266::misc::1063::SamplingMethod::(__call__) Got in to sampling method

Thread-99803::DEBUG::2012-08-28 09:17:27,267::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /sbin/iscsiadm -m session -R' (cwd None)

Thread-99803::DEBUG::2012-08-28 09:17:27,284::__init__::1164::Storage.Misc.excCmd::(_log) FAILED: <err> = 'iscsiadm: No session found.\n'; <rc> = 21

Thread-99803::DEBUG::2012-08-28 09:17:27,284::misc::1071::SamplingMethod::(__call__) Returning last result

Thread-99803::DEBUG::2012-08-28 09:17:27,449::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /sbin/multipath' (cwd None)

Thread-99803::DEBUG::2012-08-28 09:17:27,514::__init__::1164::Storage.Misc.excCmd::(_log) SUCCESS: <err> = ''; <rc> = 0

Thread-99803::DEBUG::2012-08-28 09:17:27,515::lvm::477::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99803::DEBUG::2012-08-28 09:17:27,515::lvm::479::OperationMutex::(_invalidateAllPvs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99803::DEBUG::2012-08-28 09:17:27,515::lvm::488::OperationMutex::(_invalidateAllVgs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99803::DEBUG::2012-08-28 09:17:27,515::lvm::490::OperationMutex::(_invalidateAllVgs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99803::DEBUG::2012-08-28 09:17:27,516::lvm::508::OperationMutex::(_invalidateAllLvs) Operation 'lvm invalidate operation' got the operation mutex

Thread-99803::DEBUG::2012-08-28 09:17:27,516::lvm::510::OperationMutex::(_invalidateAllLvs) Operation 'lvm invalidate operation' released the operation mutex

Thread-99803::DEBUG::2012-08-28 09:17:27,516::misc::1071::SamplingMethod::(__call__) Returning last result

Thread-99803::INFO::2012-08-28 09:17:27,516::logUtils::39::dispatcher::(wrapper) Run and protect: disconnectStorageServer, Return response: {'statuslist': [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}

Thread-99803::DEBUG::2012-08-28 09:17:27,517::task::1151::TaskManager.Task::(prepare) Task=`bfd73de7-79b7-4c24-b87b-7ecd234ce505`::finished: {'statuslist': [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}

Thread-99803::DEBUG::2012-08-28 09:17:27,517::task::568::TaskManager.Task::(_updateState) Task=`bfd73de7-79b7-4c24-b87b-7ecd234ce505`::moving from state preparing -> state finished

Thread-99803::DEBUG::2012-08-28 09:17:27,517::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {}

Thread-99803::DEBUG::2012-08-28 09:17:27,517::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {}

Thread-99803::DEBUG::2012-08-28 09:17:27,517::task::957::TaskManager.Task::(_decref) Task=`bfd73de7-79b7-4c24-b87b-7ecd234ce505`::ref 0 aborting False

Version:

[root@noc-3-synt ~]# rpm -qa | grep lvm

lvm2-2.02.95-10.el6.x86_64

lvm2-libs-2.02.95-10.el6.x86_64

[root@noc-3-synt ~]# rpm -qa | grep vdsm

vdsm-xmlrpc-4.10.0-0.283.13.el6.noarch

vdsm-python-4.10.0-0.283.13.el6.x86_64

vdsm-gluster-4.10.0-0.283.13.el6.noarch

vdsm-4.10.0-0.283.13.el6.x86_64

vdsm-cli-4.10.0-0.283.13.el6.noarch

[root@noc-2-synt ~]# cat /home/nfs4/b23c7ab6-b1d4-4888-8d4a-adc78e61db38/dom_md/metadata

CLASS=Backup

DESCRIPTION=export

IOOPTIMEOUTSEC=1

LEASERETRIES=3

LEASETIMESEC=5

LOCKPOLICY=

LOCKRENEWALINTERVALSEC=5

MASTER_VERSION=0

POOL_UUID=dd424005-9444-4c73-8653-3b5192ec39ae

REMOTE_PATH=10.1.20.2:/home/nfs4

ROLE=Regular

SDUUID=b23c7ab6-b1d4-4888-8d4a-adc78e61db38

TYPE=NFS

VERSION=0

_SHA_CKSUM=e59674cf8d506af569a6540b9d075147da3b490d

[root@noc-2-synt ~]#



_______________________________________________
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

Reply via email to