Hi Jose,

Please provide the following output:

On storage server:

lvs command output

On host (vds):

perform manual login of the target, and run:

multipath -r
iscsiadm -m sessions
vdsClient -s 0 getDeviceList
vgs -o+pv_name

Haim

On Jun 8, 2012, at 13:38, jose garcia <[email protected]> wrote:

> Good morning,
> 
> I followed the procedure in
> 
> https://fedorahosted.org/ovirt/wiki/ISCSISetup, with LV: 
> /dev/vg_iscsitest/iscsi1 as backing storage.
> 
> When trying to import Export/ISCSI my volume discovery works, oVirt makes 
> login without problem but the lun defined does not show up. Iptables
> and selinux are disabled.
> 
> # tgtadm --mode target --op show 
> 
> Target 1: host:storage
>     System information:
>         Driver: iscsi
>         State: ready
>     I_T nexus information:
>     LUN information:
>         LUN: 0
>             Type: controller
>             SCSI ID: IET     00010000
>             SCSI SN: beaf10
>             Size: 0 MB, Block size: 1
>             Online: Yes
>             Removable media: No
>             Readonly: No
>             Backing store type: null
>             Backing store path: None
>             Backing store flags: 
>         LUN: 1
>             Type: disk
>             SCSI ID: IET     00010001
>             SCSI SN: beaf11
>             Size: 21475 MB, Block size: 512
>             Online: Yes
>             Removable media: No
>             Readonly: No
>             Backing store type: rdwr
>             Backing store path: /dev/vg_iscsitest/iscsi1
>             Backing store flags: 
>     Account information:
>     ACL information:
>         ALL
> 
> output of /var/log/vdsm/vdsm.log is:
> 
> Thread-301::DEBUG::2012-06-08 
> 10:24:34,756::clientIF::261::Storage.Dispatcher.Protect::(wrapper) 
> [10.10.30.101]
> Thread-301::DEBUG::2012-06-08 
> 10:24:34,757::task::588::TaskManager.Task::(_updateState) 
> Task=`81890ebc-37db-4771-978b-dd2089de33bd`::moving from state init -> state 
> preparing
> Thread-301::INFO::2012-06-08 
> 10:24:34,757::logUtils::37::dispatcher::(wrapper) Run and protect: 
> validateStorageServerConnection(domType=3, 
> spUUID='00000000-0000-0000-0000-000000000000', conList=[{'connection': 
> '10.10.30.101', 'iqn': 'host:storage', 'portal': '0', 'user': '', 'password': 
> '******', 'id': '00000000-0000-0000-0000-000000000000', 'port': '3260'}], 
> options=None)
> Thread-301::INFO::2012-06-08 
> 10:24:34,758::storage_connection::188::Storage.ServerConnection::(validate) 
> Request to validate ISCSI storage server
> Thread-301::INFO::2012-06-08 
> 10:24:34,759::logUtils::39::dispatcher::(wrapper) Run and protect: 
> validateStorageServerConnection, Return response: {'statuslist': [{'status': 
> 0, 'id': '00000000-0000-0000-0000-000000000000'}]}
> Thread-301::DEBUG::2012-06-08 
> 10:24:34,759::task::1174::TaskManager.Task::(prepare) 
> Task=`81890ebc-37db-4771-978b-dd2089de33bd`::finished: {'statuslist': 
> [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}
> Thread-301::DEBUG::2012-06-08 
> 10:24:34,760::task::588::TaskManager.Task::(_updateState) 
> Task=`81890ebc-37db-4771-978b-dd2089de33bd`::moving from state preparing -> 
> state finished
> Thread-301::DEBUG::2012-06-08 
> 10:24:34,761::resourceManager::806::ResourceManager.Owner::(releaseAll) 
> Owner.releaseAll requests {} resources {}
> Thread-301::DEBUG::2012-06-08 
> 10:24:34,761::resourceManager::841::ResourceManager.Owner::(cancelAll)     
> Owner.cancelAll requests {}
> Thread-301::DEBUG::2012-06-08 
> 10:24:34,762::task::980::TaskManager.Task::(_decref) 
> Task=`81890ebc-37db-4771-978b-dd2089de33bd`::ref 0 aborting False
> Thread-302::DEBUG::2012-06-08 
> 10:24:34,793::clientIF::261::Storage.Dispatcher.Protect::(wrapper) 
> [10.10.30.101]
> Thread-302::DEBUG::2012-06-08 
> 10:24:34,794::task::588::TaskManager.Task::(_updateState) 
> Task=`55fed2df-3434-4bba-a47c-a400d0c568a8`::moving from state init     -> 
> state preparing
> Thread-302::INFO::2012-06-08 
> 10:24:34,795::logUtils::37::dispatcher::(wrapper) Run and protect: 
> connectStorageServer(domType=3, 
> spUUID='00000000-0000-0000-0000-000000000000', conList=[{'connection': 
> '10.10.30.101', 'iqn': 'host:storage', 'portal': '0', 'user': '', 'password': 
> '******', 'id': '00000000-0000-0000-0000-000000000000', 'port': '3260'}], 
> options=None)
> Thread-302::INFO::2012-06-08 
> 10:24:34,795::storage_connection::146::Storage.ServerConnection::(connect) 
> Request to connect ISCSI storage server
> Thread-302::DEBUG::2012-06-08 
> 10:24:34,796::iscsi::148::Storage.Misc.excCmd::(addiSCSIPortal) 
> '/usr/bin/sudo -n /sbin/iscsiadm -m discoverydb -t sendtargets -p 
> 10.10.30.101:3260 --discover' (cwd None)
> Thread-302::DEBUG::2012-06-08 
> 10:24:34,821::iscsi::148::Storage.Misc.excCmd::(addiSCSIPortal) SUCCESS: 
> <err> = ''; <rc> = 0
> Thread-302::DEBUG::2012-06-08 
> 10:24:34,822::iscsi::149::Storage.Misc.excCmd::(addiSCSIPortal) 
> '/usr/bin/sudo -n /sbin/iscsiadm -m node -p 10.10.30.101:3260 -o update -n 
> node.startup -v manual' (cwd None)
> Thread-302::DEBUG::2012-06-08 
> 10:24:34,840::iscsi::149::Storage.Misc.excCmd::(addiSCSIPortal) SUCCESS: 
> <err> = ''; <rc> = 0
> Thread-302::DEBUG::2012-06-08 
> 10:24:34,841::iscsi::254::Storage.Misc.excCmd::(addiSCSINode) '/usr/bin/sudo 
> -n /sbin/iscsiadm -m node -T host:storage -l -p 10.10.30.101:3260' (cwd None)
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,379::iscsi::254::Storage.Misc.excCmd::(addiSCSINode) SUCCESS: <err> 
> = ''; <rc> = 0
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,380::lvm::460::OperationMutex::(_invalidateAllPvs) Operation 'lvm 
> invalidate operation' got the operation mutex
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,381::lvm::462::OperationMutex::(_invalidateAllPvs) Operation 'lvm 
> invalidate operation' released the operation mutex
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,382::lvm::472::OperationMutex::(_invalidateAllVgs) Operation 'lvm 
> invalidate operation' got the operation mutex
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,382::lvm::474::OperationMutex::(_invalidateAllVgs) Operation 'lvm 
> invalidate operation' released the operation mutex
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,383::lvm::493::OperationMutex::(_invalidateAllLvs) Operation 'lvm 
> invalidate operation' got the operation mutex
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,384::lvm::495::OperationMutex::(_invalidateAllLvs) Operation 'lvm 
> invalidate operation' released the operation mutex
> Thread-302::INFO::2012-06-08 
> 10:24:35,385::logUtils::39::dispatcher::(wrapper) Run and protect: 
> connectStorageServer, Return response: {'statuslist': [{'status': 0, 'id': 
> '00000000-0000-0000-0000-000000000000'}]}
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,385::task::1174::TaskManager.Task::(prepare) 
> Task=`55fed2df-3434-4bba-a47c-a400d0c568a8`::finished: {'statuslist': 
> [{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,386::task::588::TaskManager.Task::(_updateState) 
> Task=`55fed2df-3434-4bba-a47c-a400d0c568a8`::moving from state preparing -> 
> state finished
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,386::resourceManager::806::ResourceManager.Owner::(releaseAll) 
> Owner.releaseAll requests {} resources {}
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,386::resourceManager::841::ResourceManager.Owner::(cancelAll)     
> Owner.cancelAll requests {}
> Thread-302::DEBUG::2012-06-08 
> 10:24:35,387::task::980::TaskManager.Task::(_decref) 
> Task=`55fed2df-3434-4bba-a47c-a400d0c568a8`::ref 0 aborting False
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,455::clientIF::261::Storage.Dispatcher.Protect::(wrapper) 
> [10.10.30.101]
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,456::task::588::TaskManager.Task::(_updateState) 
> Task=`dd15ba58-669e-443e-83cd-2f3492a32c24`::moving from state init     -> 
> state preparing
> Thread-304::INFO::2012-06-08 
> 10:24:35,456::logUtils::37::dispatcher::(wrapper) Run and protect: 
> getStorageDomainsList(spUUID='00000000-0000-0000-0000-000000000000', 
> domainClass=3, storageType=3, remotePath='', options=None)
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,457::misc::1017::SamplingMethod::(__call__) Trying to enter sampling 
> method (storage.sdc.refreshStorage)
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,458::misc::1019::SamplingMethod::(__call__) Got in to sampling method
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,458::misc::1017::SamplingMethod::(__call__) Trying to enter sampling 
> method (storage.iscsi.rescan)
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,458::misc::1019::SamplingMethod::(__call__) Got in to sampling method
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,459::iscsi::389::Storage.Misc.excCmd::(rescan) '/usr/bin/sudo -n 
> /sbin/iscsiadm -m session -R' (cwd None)
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,481::iscsi::389::Storage.Misc.excCmd::(rescan) SUCCESS: <err> = ''; 
> <rc> = 0
> Thread-304::DEBUG::2012-06-08 
> 10:24:35,482::misc::1027::SamplingMethod::(__call__) Returning last result
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,320::multipath::71::Storage.Misc.excCmd::(rescan) '/usr/bin/sudo -n 
> /sbin/multipath' (cwd None)
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,398::multipath::71::Storage.Misc.excCmd::(rescan) SUCCESS: <err> = 
> ''; <rc> = 0
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,399::lvm::460::OperationMutex::(_invalidateAllPvs) Operation 'lvm 
> invalidate operation' got the operation mutex
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,400::lvm::462::OperationMutex::(_invalidateAllPvs) Operation 'lvm 
> invalidate operation' released the operation mutex
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,401::lvm::472::OperationMutex::(_invalidateAllVgs) Operation 'lvm 
> invalidate operation' got the operation mutex
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,401::lvm::474::OperationMutex::(_invalidateAllVgs) Operation 'lvm 
> invalidate operation' released the operation mutex
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,402::lvm::493::OperationMutex::(_invalidateAllLvs) Operation 'lvm 
> invalidate operation' got the operation mutex
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,403::lvm::495::OperationMutex::(_invalidateAllLvs) Operation 'lvm 
> invalidate operation' released the operation mutex
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,403::misc::1027::SamplingMethod::(__call__) Returning last result
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,404::lvm::352::OperationMutex::(_reloadvgs) Operation 'lvm reload 
> operation' got the operation mutex
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,408::lvm::287::Storage.Misc.excCmd::(cmd) '/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%1IET_00010001|35000cca5b8f23d69|35000cca5b8f24114%\\", 
> \\"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-304::DEBUG::2012-06-08 
> 10:24:37,686::lvm::287::Storage.Misc.excCmd::(cmd) SUCCESS: <err> = ''; <rc> 
> = 0
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,690::lvm::379::OperationMutex::(_reloadvgs) Operation 'lvm reload 
> operation' released the operation mutex
> Thread-304::INFO::2012-06-08 
> 10:24:37,695::logUtils::39::dispatcher::(wrapper) Run and protect: 
> getStorageDomainsList, Return response: {'domlist': []}
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,695::task::1174::TaskManager.Task::(prepare) 
> Task=`dd15ba58-669e-443e-83cd-2f3492a32c24`::finished: {'domlist': []}
> Thread-304::DEBUG::2012-06-08 
> 10:24:37,696::task::588::TaskManager.Task::(_updateState) 
> Task=`dd15ba58-669e-443e-83cd-2f3492a32c24`::moving from state preparing -> 
> state finished
> 
> Regards, 
> 
> José García
> 
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to