I installed targetd but fail to get a connection from the server, the client script return the following:
++++++++++++++++++++ export_list Traceback (most recent call last): File "client", line 83, in <module> results = jsonrequest("export_list") File "client", line 66, in jsonrequest response_obj = urllib2.urlopen(request) File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/lib64/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 111] Connection refused>
running /usr/bin/targetd just returns without printing anything, I cannot find a targetd process.
Is this is the right way to run this?
CentOS 6.5 rtslib.fb2.1.47 3.14.2-1.el6.elrepo.x86_6
Moussa
On 05/01/2014 04:14 PM, Moussa Ba (moussaba) wrote:
I installed targetd but fail to get a connection from the server, the client script return the following:
++++++++++++++++++++ export_list Traceback (most recent call last): File "client", line 83, in <module> results = jsonrequest("export_list") File "client", line 66, in jsonrequest response_obj = urllib2.urlopen(request) File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/lib64/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 111] Connection refused>
running /usr/bin/targetd just returns without printing anything, I cannot find a targetd process.
Is this is the right way to run this?
CentOS 6.5 rtslib.fb2.1.47 3.14.2-1.el6.elrepo.x86_6
Hi Moussa,
You installed targetd from an rpm, or what exactly?
Thanks -- Andy
I installed it from the gitrepo. I think it seems to be a python version issue...Seems like rtslib-fb requires python >= 2.7. Is that correct?
Moussa
-----Original Message----- From: Andy Grover [mailto:agrover@redhat.com] Sent: Friday, May 02, 2014 10:01 AM To: Moussa Ba (moussaba); targetd-devel@lists.fedorahosted.org Subject: Re: Starting targetd
On 05/01/2014 04:14 PM, Moussa Ba (moussaba) wrote:
I installed targetd but fail to get a connection from the server, the
client script return the following:
++++++++++++++++++++ export_list Traceback (most recent call last): File "client", line 83, in <module> results = jsonrequest("export_list") File "client", line 66, in jsonrequest response_obj = urllib2.urlopen(request) File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.6/urllib2.py", line 391, in open response = self._open(req, data) File "/usr/lib64/python2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib64/python2.6/urllib2.py", line 1190, in http_open return self.do_open(httplib.HTTPConnection, req) File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 111] Connection refused>
running /usr/bin/targetd just returns without printing anything, I
cannot find a targetd process.
Is this is the right way to run this?
CentOS 6.5 rtslib.fb2.1.47 3.14.2-1.el6.elrepo.x86_6
Hi Moussa,
You installed targetd from an rpm, or what exactly?
Thanks -- Andy
On 05/02/2014 10:38 AM, Moussa Ba (moussaba) wrote:
I installed it from the gitrepo. I think it seems to be a python version issue...Seems like rtslib-fb requires python >= 2.7. Is that correct?
Yes I think it is. That's one of many reasons why targetd won't work on RHEL 6, but it would be nice if it failed in a more informative way.
Regards -- Andy
Which distribution do you recommend?
Moussa
-------- Original message -------- From: Andy Grover agrover@redhat.com Date: 05/02/2014 10:53 (GMT-08:00) To: "Moussa Ba (moussaba)" moussaba@micron.com,targetd-devel@lists.fedorahosted.org Subject: Re: Starting targetd
On 05/02/2014 10:38 AM, Moussa Ba (moussaba) wrote:
I installed it from the gitrepo. I think it seems to be a python version issue...Seems like rtslib-fb requires python >= 2.7. Is that correct?
Yes I think it is. That's one of many reasons why targetd won't work on RHEL 6, but it would be nice if it failed in a more informative way.
Regards -- Andy
Thanks. I had been struggling with recent versions of rtslib with openstack icehouse as well. Can't wait for centos7...
Tgtadm does not cut it for the level of IOPS we are trying to push hence our work with LIO.
Thank you
-------- Original message -------- From: Andy Grover agrover@redhat.com Date: 05/02/2014 11:12 (GMT-08:00) To: "Moussa Ba (moussaba)" moussaba@micron.com,targetd-devel@lists.fedorahosted.org Subject: Re: Starting targetd
On 05/02/2014 11:11 AM, Moussa Ba (moussaba) wrote:
Which distribution do you recommend?
I recommend Fedora 20 or RHEL/CentOS 7, when released. -- Andy
targetd-devel@lists.fedorahosted.org