--------------010707070800020208070509
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 8bit
On 25/02/2015 12:35 AM, Simone Tiraboschi wrote:
Can you please paste here the output of vdsClient -s 0 getDeviceList
3
thanks
Sure. Once the iscsi target is logged in the call to vdsClient never
returns. After a few minutes I hit ctrl-c, that's what caused the
traceback. See below for the output.
[root@host0 ~]# vdsClient -s 0 getDeviceList 3
[]
[root@host0 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 55.9G 0 disk
├─sda1 8:1 0 500M 0 part /boot
├─sda2 8:2 0 5.6G 0 part [SWAP]
└─sda3 8:3 0 49.8G 0 part /home
sr0 11:0 1 1024M 0 rom
[root@host0 ~]# iscsiadm -m session
iscsiadm: No active sessions.
[root@host0 ~]# iscsiadm --mode discovery --type sendtargets --portal
10.50.0.200
10.51.0.200:3260,1 iqn.2015-02.local.redfish:san0
10.50.0.200:3260,1 iqn.2015-02.local.redfish:san0
[root@host0 ~]# iscsiadm --mode node --targetname
iqn.2015-02.local.redfish:san0 --portal 10.50.0.200 --login
Logging in to [iface: default, target: iqn.2015-02.local.redfish:san0,
portal: 10.50.0.200,3260] (multiple)
Login to [iface: default, target: iqn.2015-02.local.redfish:san0,
portal: 10.50.0.200,3260] successful.
[root@host0 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 55.9G 0 disk
├─sda1 8:1 0 500M 0 part /boot
├─sda2 8:2 0 5.6G 0 part [SWAP]
└─sda3 8:3 0 49.8G 0 part /home
sdb 8:16 0 30G 0 disk
sr0 11:0 1 1024M 0 rom
[root@host0 ~]# vdsClient -s 0 getDeviceList 3
^CTraceback (most recent call last):
File "/usr/share/vdsm/vdsClient.py", line 2683, in <module>
code, message = commands[command][0](commandArgs)
File "/usr/share/vdsm/vdsClient.py", line 626, in getDeviceList
devices = self.s.getDeviceList(*args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1294, in single_request
response = h.getresponse(buffering=True)
File "/usr/lib64/python2.7/httplib.py", line 1045, in getresponse
response.begin()
File "/usr/lib64/python2.7/httplib.py", line 409, in begin
version, status, reason = self._read_status()
File "/usr/lib64/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "/usr/lib64/python2.7/socket.py", line 476, in readline
data = self._sock.recv(self._rbufsize)
File "/usr/lib64/python2.7/ssl.py", line 241, in recv
return self.read(buflen)
File "/usr/lib64/python2.7/ssl.py", line 160, in read
return self._sslobj.read(len)
KeyboardInterrupt
--------------010707070800020208070509
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 25/02/2015 12:35 AM, Simone Tiraboschi wrote:<br>
<blockquote
cite="mid:100281481.10146472.1424788516161.JavaMail.zimbra@redhat.com"
type="cite">Can you please paste here the output of
vdsClient -s 0 getDeviceList 3
thanks<br>
</blockquote>
<br>
Sure. Once the iscsi target is logged in the call to vdsClient never
returns. After a few minutes I hit ctrl-c, that's what caused the
traceback. See below for the output.<br>
<br>
<font face="Courier New, Courier, monospace">[root@host0 ~]#
vdsClient -s 0 getDeviceList 3<br>
[]<br>
<br>
[root@host0 ~]# lsblk<br>
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT<br>
sda 8:0 0 55.9G 0 disk<br>
├─sda1 8:1 0 500M 0 part /boot<br>
├─sda2 8:2 0 5.6G 0 part [SWAP]<br>
└─sda3 8:3 0 49.8G 0 part /home<br>
sr0 11:0 1 1024M 0 rom<br>
[root@host0 ~]# iscsiadm -m session<br>
iscsiadm: No active sessions.<br>
[root@host0 ~]# iscsiadm --mode discovery --type sendtargets
--portal 10.50.0.200<br>
10.51.0.200:3260,1 iqn.2015-02.local.redfish:san0<br>
10.50.0.200:3260,1 iqn.2015-02.local.redfish:san0<br>
[root@host0 ~]# iscsiadm --mode node --targetname
iqn.2015-02.local.redfish:san0 --portal 10.50.0.200 --login<br>
Logging in to [iface: default, target:
iqn.2015-02.local.redfish:san0, portal: 10.50.0.200,3260]
(multiple)<br>
Login to [iface: default, target: iqn.2015-02.local.redfish:san0,
portal: 10.50.0.200,3260] successful.<br>
[root@host0 ~]# lsblk<br>
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT<br>
sda 8:0 0 55.9G 0 disk<br>
├─sda1 8:1 0 500M 0 part /boot<br>
├─sda2 8:2 0 5.6G 0 part [SWAP]<br>
└─sda3 8:3 0 49.8G 0 part /home<br>
sdb 8:16 0 30G 0 disk<br>
sr0 11:0 1 1024M 0 rom<br>
[root@host0 ~]# vdsClient -s 0 getDeviceList 3<br>
^CTraceback (most recent call last):<br>
File "/usr/share/vdsm/vdsClient.py", line 2683, in
<module><br>
code, message = commands[command][0](commandArgs)<br>
File "/usr/share/vdsm/vdsClient.py", line 626, in
getDeviceList<br>
devices = self.s.getDeviceList(*args)<br>
File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in
__call__<br>
return self.__send(self.__name, args)<br>
File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in
__request<br>
verbose=self.__verbose<br>
File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in
request<br>
return self.single_request(host, handler, request_body,
verbose)<br>
File "/usr/lib64/python2.7/xmlrpclib.py", line 1294, in
single_request<br>
response = h.getresponse(buffering=True)<br>
File "/usr/lib64/python2.7/httplib.py", line 1045, in
getresponse<br>
response.begin()<br>
File "/usr/lib64/python2.7/httplib.py", line 409, in begin<br>
version, status, reason = self._read_status()<br>
File "/usr/lib64/python2.7/httplib.py", line 365, in
_read_status<br>
line = self.fp.readline(_MAXLINE + 1)<br>
File "/usr/lib64/python2.7/socket.py", line 476, in readline<br>
data = self._sock.recv(self._rbufsize)<br>
File "/usr/lib64/python2.7/ssl.py", line 241, in recv<br>
return self.read(buflen)<br>
File "/usr/lib64/python2.7/ssl.py", line 160, in read<br>
return self._sslobj.read(len)<br>
KeyboardInterrupt<br>
<br>
<br>
<br>
</font><br>
</body>
</html>
--------------010707070800020208070509--