Bug 677135 - [vdsm] unable to discover iSCSI targets using CHAP.
Summary: [vdsm] unable to discover iSCSI targets using CHAP.
Keywords:
Status: CLOSED DUPLICATE of bug 677237
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 6.1
Assignee: Cyril Plisko
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-13 15:57 UTC by David Naori
Modified: 2016-04-18 06:38 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-14 07:58:04 UTC
Target Upstream Version:


Attachments (Terms of Use)
vdsm-log (15.28 MB, application/octet-stream)
2011-02-13 15:57 UTC, David Naori
no flags Details

Description David Naori 2011-02-13 15:57:21 UTC
Created attachment 478485 [details]
vdsm-log

Description of problem:
error occours when trying to discover iscsi targets using CHAP.

Version-Release number of selected component (if applicable):

*vdsm-4.9-48.el6.x86_64
*iscsi-initiator-utils-6.2.0.872-16.el6.x86_64


Relevant part of vdsm log:

Thread-880::ERROR::2011-02-13 17:45:11,226::task::854::TaskManager.Task::(_setError) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 862, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/hsm.py", line 1533, in public_discoverSendTargets
    targets = iscsi.discoverSendTargets(ip=ip, port=port, username=username, password=password)
  File "/usr/share/vdsm/storage/iscsi.py", line 398, in discoverSendTargets
    rc, out = addiSCSIPortal(ip, port, username, password)
  File "/usr/share/vdsm/storage/iscsi.py", line 366, in addiSCSIPortal
    _configureAuthInformation(cmd, username, password)
  File "/usr/share/vdsm/storage/iscsi.py", line 422, in _configureAuthInformation
    (rc, out, err) = misc.execCmd(cmd[0],printable=cmd[1])
  File "/usr/share/vdsm/storage/misc.py", line 163, in execCmd
    env=env)
  File "/usr/lib64/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
TypeError: execv() arg 2 must contain only strings

Actual results: No targets are displayed.


attached full vdsm log.

Comment 2 Cyril Plisko 2011-02-14 07:58:04 UTC

*** This bug has been marked as a duplicate of bug 677237 ***


Note You need to log in before you can comment on or make changes to this bug.