----- Original Message -----
From: "Justin Clacherty" <justin(a)redfish.com.au>
To: "Simone Tiraboschi" <stirabos(a)redhat.com>
Cc: "Donny Davis" <donny(a)cloudspin.me>, users(a)ovirt.org
Sent: Wednesday, February 25, 2015 5:26:37 AM
Subject: Re: [ovirt-users] Problem deploying ovirt-hosted-engine to iSCSI
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.
Could you please upload somewhere your VDSM logs (/var/log/vdsm/vdsm.log)?
[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