[Users] Error importing export storage
Hi Trying to import export stotage created earlier. But get this error: 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='----', conList=[{'connection': '10.1.20.2:/home/nfs4', 'iqn': '', 'portal': '', 'user': '', 'password': '**', 'id': '----', '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': '----'}]} 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': '----'}]} 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='----', conList=[{'connection': '10.1.20.2:/home/nfs4', 'iqn': '', 'portal': '', 'user': '', 'password': '**', 'id': '----', '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
Re: [Users] Error importing export storage
On 08/28/2012 04:34 PM, зоррыч wrote: /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 please attach both engine and vdsm logs (full, compressed). also, please execute the following commands from host (vds): 1) /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 2) vdsClient -s 0 getStorageDomainsList 3) mount * if you are working in a non-secure mode, try vdsClient 0 (without the -s). ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Error importing export storage
Since when servers need to collect vdsm logs? I have one node is running vdsm and on the server overt-engine Node: root@noc-3-synt ~]# /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.nfs: mount point /rhev/data-center/mnt/10.1.20.2:_home_nfs4 does not exist [root@noc-3-synt ~]# /usr/bin/sudo -n /bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 10.1.20.2:/home/nfs4 /tmp/foo [root@noc-3-synt ~]# df -h FilesystemSize Used Avail Use% Mounted on /dev/mapper/vg_noc3synt-lv_root 50G 4.5G 43G 10% / tmpfs 7.9G 0 7.9G 0% /dev/shm /dev/sda1 497M 246M 227M 52% /boot /dev/mapper/vg_noc3synt-lv_home 491G 7.4G 459G 2% /mht 127.0.0.1:/gluster491G 11G 456G 3% /rhev/data-center/mnt/127.0.0.1:_gluster 10.1.20.2:/home/nfs4 493G 304G 164G 65% /tmp/foo [root@noc-3-synt ~]# vdsClient -s 0 getStorageDomainsList b0a0e76b-f983-405b-a0af-d0314a1c381a [root@noc-3-synt ~]# mount /dev/mapper/vg_noc3synt-lv_root on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw,rootcontext=system_u:object_r:tmpfs_t:s0) /dev/sda1 on /boot type ext4 (rw) /dev/mapper/vg_noc3synt-lv_home on /mht type ext4 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) 127.0.0.1:/gluster on /rhev/data-center/mnt/127.0.0.1:_gluster type fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072) 10.1.20.2:/home/nfs4 on /tmp/foo type nfs (rw,soft,nosharecache,timeo=600,retrans=6,addr=10.1.20.2) -Original Message- From: Haim [mailto:hat...@redhat.com] Sent: Tuesday, August 28, 2012 5:57 PM To: зоррыч Cc: users@ovirt.org Subject: Re: [Users] Error importing export storage On 08/28/2012 04:34 PM, зоррыч wrote: /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 please attach both engine and vdsm logs (full, compressed). also, please execute the following commands from host (vds): 1) /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 2) vdsClient -s 0 getStorageDomainsList 3) mount * if you are working in a non-secure mode, try vdsClient 0 (without the -s). ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Error importing export storage
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='----', conList=[{'connection': '10.1.20.2:/home/nfs4', 'iqn': '', 'portal': '', 'user': '', 'password': '**', 'id': '----', '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': '----'}]} 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': '----'}]} 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='----', conList=[{'connection': '10.1.20.2:/home/nfs4', 'iqn': '', 'portal': '', 'user': '', 'password': '**', 'id': '----', '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