<html><head></head><body bgcolor="#FFFFFF"><div>Hi Jose,</div><div><br></div><div>Please provide the following output:</div><div><br></div><div>On storage server:</div><div><br></div><div>lvs command output</div><div><br></div><div>On host (vds):</div><div><br></div><div>perform manual login of the target, and run:</div><div><br></div><div>multipath -r</div><div>iscsiadm -m sessions</div><div>vdsClient -s 0 getDeviceList</div><div>vgs -o+pv_name<br><br>Haim</div><div><br>On Jun 8, 2012, at 13:38, jose garcia <<a href="mailto:johnny.cummings@gmail.com">johnny.cummings@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Good morning,<br>
<br>
I followed the procedure in<br>
<br>
<i><a class="moz-txt-link-freetext" href="https://fedorahosted.org/ovirt/wiki/ISCSISetup">https://fedorahosted.org/ovirt/wiki/ISCSISetup</a></i>,
with LV:<i> /dev/vg_iscsitest/iscsi1</i> as backing storage.<br>
<br>
When trying to import Export/ISCSI my volume discovery works, oVirt
makes login without problem but the lun defined does not show up.
Iptables<br>
and selinux are disabled.<br>
<i><br>
# tgtadm --mode target --op show </i><br>
<br>
Target 1: host:storage<br>
System information:<br>
Driver: iscsi<br>
State: ready<br>
I_T nexus information:<br>
LUN information:<br>
LUN: 0<br>
Type: controller<br>
SCSI ID: IET 00010000<br>
SCSI SN: beaf10<br>
Size: 0 MB, Block size: 1<br>
Online: Yes<br>
Removable media: No<br>
Readonly: No<br>
Backing store type: null<br>
Backing store path: None<br>
Backing store flags: <br>
LUN: 1<br>
Type: disk<br>
SCSI ID: IET 00010001<br>
SCSI SN: beaf11<br>
Size: 21475 MB, Block size: 512<br>
Online: Yes<br>
Removable media: No<br>
Readonly: No<br>
Backing store type: rdwr<br>
Backing store path: /dev/vg_iscsitest/iscsi1<br>
Backing store flags: <br>
Account information:<br>
ACL information:<br>
ALL<br>
<br>
output of <i>/var/log/vdsm/vdsm.log</i> is:<br>
<br>
Thread-301::DEBUG::2012-06-08
10:24:34,756::clientIF::261::Storage.Dispatcher.Protect::(wrapper)
[10.10.30.101]<br>
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<br>
Thread-301::<a class="moz-txt-link-freetext" href="INFO::2012-06-08">INFO::2012-06-08</a>
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)<br>
Thread-301::<a class="moz-txt-link-freetext" href="INFO::2012-06-08">INFO::2012-06-08</a>
10:24:34,758::storage_connection::188::Storage.ServerConnection::(validate)
Request to validate ISCSI storage server<br>
Thread-301::<a class="moz-txt-link-freetext" href="INFO::2012-06-08">INFO::2012-06-08</a>
10:24:34,759::logUtils::39::dispatcher::(wrapper) Run and protect:
validateStorageServerConnection, Return response: {'statuslist':
[{'status': 0, 'id': '00000000-0000-0000-0000-000000000000'}]}<br>
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'}]}<br>
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<br>
Thread-301::DEBUG::2012-06-08
10:24:34,761::resourceManager::806::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}<br>
Thread-301::DEBUG::2012-06-08
10:24:34,761::resourceManager::841::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}<br>
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<br>
Thread-302::DEBUG::2012-06-08
10:24:34,793::clientIF::261::Storage.Dispatcher.Protect::(wrapper)
[10.10.30.101]<br>
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<br>
Thread-302::<a class="moz-txt-link-freetext" href="INFO::2012-06-08">INFO::2012-06-08</a>
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)<br>
Thread-302::<a class="moz-txt-link-freetext" href="INFO::2012-06-08">INFO::2012-06-08</a>
10:24:34,795::storage_connection::146::Storage.ServerConnection::(connect)
Request to connect ISCSI storage server<br>
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)<br>
Thread-302::DEBUG::2012-06-08
10:24:34,821::iscsi::148::Storage.Misc.excCmd::(addiSCSIPortal)
SUCCESS: <err> = ''; <rc> = 0<br>
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)<br>
Thread-302::DEBUG::2012-06-08
10:24:34,840::iscsi::149::Storage.Misc.excCmd::(addiSCSIPortal)
SUCCESS: <err> = ''; <rc> = 0<br>
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)<br>
Thread-302::DEBUG::2012-06-08
10:24:35,379::iscsi::254::Storage.Misc.excCmd::(addiSCSINode)
SUCCESS: <err> = ''; <rc> = 0<br>
Thread-302::DEBUG::2012-06-08
10:24:35,380::lvm::460::OperationMutex::(_invalidateAllPvs)
Operation 'lvm invalidate operation' got the operation mutex<br>
Thread-302::DEBUG::2012-06-08
10:24:35,381::lvm::462::OperationMutex::(_invalidateAllPvs)
Operation 'lvm invalidate operation' released the operation mutex<br>
Thread-302::DEBUG::2012-06-08
10:24:35,382::lvm::472::OperationMutex::(_invalidateAllVgs)
Operation 'lvm invalidate operation' got the operation mutex<br>
Thread-302::DEBUG::2012-06-08
10:24:35,382::lvm::474::OperationMutex::(_invalidateAllVgs)
Operation 'lvm invalidate operation' released the operation mutex<br>
Thread-302::DEBUG::2012-06-08
10:24:35,383::lvm::493::OperationMutex::(_invalidateAllLvs)
Operation 'lvm invalidate operation' got the operation mutex<br>
Thread-302::DEBUG::2012-06-08
10:24:35,384::lvm::495::OperationMutex::(_invalidateAllLvs)
Operation 'lvm invalidate operation' released the operation mutex<br>
Thread-302::<a class="moz-txt-link-freetext" href="INFO::2012-06-08">INFO::2012-06-08</a>
10:24:35,385::logUtils::39::dispatcher::(wrapper) Run and protect:
connectStorageServer, Return response: {'statuslist': [{'status': 0,
'id': '00000000-0000-0000-0000-000000000000'}]}<br>
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'}]}<br>
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<br>
Thread-302::DEBUG::2012-06-08
10:24:35,386::resourceManager::806::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}<br>
Thread-302::DEBUG::2012-06-08
10:24:35,386::resourceManager::841::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}<br>
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<br>
Thread-304::DEBUG::2012-06-08
10:24:35,455::clientIF::261::Storage.Dispatcher.Protect::(wrapper)
[10.10.30.101]<br>
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<br>
Thread-304::<a class="moz-txt-link-freetext" href="INFO::2012-06-08">INFO::2012-06-08</a>
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)<br>
Thread-304::DEBUG::2012-06-08
10:24:35,457::misc::1017::SamplingMethod::(__call__) Trying to enter
sampling method (storage.sdc.refreshStorage)<br>
Thread-304::DEBUG::2012-06-08
10:24:35,458::misc::1019::SamplingMethod::(__call__) Got in to
sampling method<br>
Thread-304::DEBUG::2012-06-08
10:24:35,458::misc::1017::SamplingMethod::(__call__) Trying to enter
sampling method (storage.iscsi.rescan)<br>
Thread-304::DEBUG::2012-06-08
10:24:35,458::misc::1019::SamplingMethod::(__call__) Got in to
sampling method<br>
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)<br>
Thread-304::DEBUG::2012-06-08
10:24:35,481::iscsi::389::Storage.Misc.excCmd::(rescan) SUCCESS:
<err> = ''; <rc> = 0<br>
Thread-304::DEBUG::2012-06-08
10:24:35,482::misc::1027::SamplingMethod::(__call__) Returning last
result<br>
Thread-304::DEBUG::2012-06-08
10:24:37,320::multipath::71::Storage.Misc.excCmd::(rescan)
'/usr/bin/sudo -n /sbin/multipath' (cwd None)<br>
Thread-304::DEBUG::2012-06-08
10:24:37,398::multipath::71::Storage.Misc.excCmd::(rescan) SUCCESS:
<err> = ''; <rc> = 0<br>
Thread-304::DEBUG::2012-06-08
10:24:37,399::lvm::460::OperationMutex::(_invalidateAllPvs)
Operation 'lvm invalidate operation' got the operation mutex<br>
Thread-304::DEBUG::2012-06-08
10:24:37,400::lvm::462::OperationMutex::(_invalidateAllPvs)
Operation 'lvm invalidate operation' released the operation mutex<br>
Thread-304::DEBUG::2012-06-08
10:24:37,401::lvm::472::OperationMutex::(_invalidateAllVgs)
Operation 'lvm invalidate operation' got the operation mutex<br>
Thread-304::DEBUG::2012-06-08
10:24:37,401::lvm::474::OperationMutex::(_invalidateAllVgs)
Operation 'lvm invalidate operation' released the operation mutex<br>
Thread-304::DEBUG::2012-06-08
10:24:37,402::lvm::493::OperationMutex::(_invalidateAllLvs)
Operation 'lvm invalidate operation' got the operation mutex<br>
Thread-304::DEBUG::2012-06-08
10:24:37,403::lvm::495::OperationMutex::(_invalidateAllLvs)
Operation 'lvm invalidate operation' released the operation mutex<br>
Thread-304::DEBUG::2012-06-08
10:24:37,403::misc::1027::SamplingMethod::(__call__) Returning last
result<br>
Thread-304::DEBUG::2012-06-08
10:24:37,404::lvm::352::OperationMutex::(_reloadvgs) Operation 'lvm
reload operation' got the operation mutex<br>
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)<br>
Thread-304::DEBUG::2012-06-08
10:24:37,686::lvm::287::Storage.Misc.excCmd::(cmd) SUCCESS:
<err> = ''; <rc> = 0<br>
Thread-304::DEBUG::2012-06-08
10:24:37,690::lvm::379::OperationMutex::(_reloadvgs) Operation 'lvm
reload operation' released the operation mutex<br>
Thread-304::<a class="moz-txt-link-freetext" href="INFO::2012-06-08">INFO::2012-06-08</a>
10:24:37,695::logUtils::39::dispatcher::(wrapper) Run and protect:
getStorageDomainsList, Return response: {'domlist': []}<br>
Thread-304::DEBUG::2012-06-08
10:24:37,695::task::1174::TaskManager.Task::(prepare)
Task=`dd15ba58-669e-443e-83cd-2f3492a32c24`::finished: {'domlist':
[]}<br>
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<br>
<br>
Regards, <br>
<br>
José García<br>
<br>
<br>
<br>
<br>
<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Users mailing list</span><br><span><a href="mailto:Users@ovirt.org">Users@ovirt.org</a></span><br><span><a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></span><br></div></blockquote></body></html>