RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 896413 - python call trace when creating another block storage object with un-released storage object in bug 896409
Summary: python call trace when creating another block storage object with un-released...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fcoe-target-utils
Version: 6.4
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Andy Grover
QA Contact: Storage QE
URL:
Whiteboard:
Depends On: 854708 896409
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-17 09:19 UTC by Gris Ge
Modified: 2013-02-27 00:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-17 09:37:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Gris Ge 2013-01-17 09:19:57 UTC
Description of problem:
Got this call trace:
=====
/> ls /
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/configshell/shell.py", line 990, in run_interactive
    self._cli_loop()
  File "/usr/lib/python2.6/site-packages/configshell/shell.py", line 813, in _cli_loop
    self.run_cmdline(cmdline)
  File "/usr/lib/python2.6/site-packages/configshell/shell.py", line 934, in run_cmdline
    self._execute_command(path, command, pparams, kparams)
  File "/usr/lib/python2.6/site-packages/configshell/shell.py", line 909, in _execute_command
    result = target.execute_command(command, pparams, kparams)
  File "/usr/lib/python2.6/site-packages/targetcli/ui_node.py", line 84, in execute_command
    pparams, kparams)
  File "/usr/lib/python2.6/site-packages/configshell/node.py", line 1405, in execute_command
    result = method(*pparams, **kparams)
  File "/usr/lib/python2.6/site-packages/configshell/node.py", line 714, in ui_command_ls
    tree = self._render_tree(target, depth=depth)
  File "/usr/lib/python2.6/site-packages/configshell/node.py", line 857, in _render_tree
    + self._render_tree(children[i], margin, depth)
  File "/usr/lib/python2.6/site-packages/configshell/node.py", line 857, in _render_tree
    + self._render_tree(children[i], margin, depth)
  File "/usr/lib/python2.6/site-packages/configshell/node.py", line 857, in _render_tree
    + self._render_tree(children[i], margin, depth)
  File "/usr/lib/python2.6/site-packages/configshell/node.py", line 769, in _render_tree
    (description, is_healthy) = root.summary()
  File "/usr/lib/python2.6/site-packages/targetcli/ui_backstore.py", line 400, in summary
    if so.readonly:
  File "/usr/lib/python2.6/site-packages/rtslib/tcm.py", line 675, in _get_readonly
    return bool(int(self._parse_info('readonly')))
  File "/usr/lib/python2.6/site-packages/rtslib/tcm.py", line 130, in _parse_info
    % key, ' '.join(info.split())).group(1).lower()
AttributeError: 'NoneType' object has no attribute 'group'
=====


Targetcli commands are:
=====
yum install fcoe-target-utils -y
service fcoe-target start
targetcli
set global auto_add_mapped_luns=false

/tcm_fc/ create 20:00:00:1b:21:3f:a1:b6
/tcm_fc/ create 20:00:00:1b:21:3f:a1:b7
/tcm_fc/20:00:00:1b:21:3f:a1:b6/acls/ create 10:00:00:05:33:26:9e:4e
/tcm_fc/20:00:00:1b:21:3f:a1:b7/acls/ create 10:00:00:05:33:26:9e:4e

/backstores/block create bfa-st52-1 /dev/mapper/mpathamg
/tcm_fc/20:00:00:1b:21:3f:a1:b6/luns/ create /backstores/block/bfa-st52-1
/tcm_fc/20:00:00:1b:21:3f:a1:b6/acls/10:00:00:05:33:26:9e:4e create 0 0
/tcm_fc/20:00:00:1b:21:3f:a1:b7/luns/ create /backstores/block/bfa-st52-1
/tcm_fc/20:00:00:1b:21:3f:a1:b7/acls/10:00:00:05:33:26:9e:4e create 0 0

clearconfig confirm=True

set global auto_add_mapped_luns=false

/tcm_fc/ create 20:00:00:1b:21:3f:a1:b6
/tcm_fc/ create 20:00:00:1b:21:3f:a1:b7
/tcm_fc/20:00:00:1b:21:3f:a1:b6/acls/ create 10:00:00:05:33:26:9e:4e
/tcm_fc/20:00:00:1b:21:3f:a1:b7/acls/ create 10:00:00:05:33:26:9e:4e

/backstores/block create bfa-st52-1 /dev/mapper/mpathamg
/tcm_fc/20:00:00:1b:21:3f:a1:b6/luns/ create /backstores/block/bfa-st52-1
/tcm_fc/20:00:00:1b:21:3f:a1:b6/acls/10:00:00:05:33:26:9e:4e create 0 0
/tcm_fc/20:00:00:1b:21:3f:a1:b7/luns/ create /backstores/block/bfa-st52-1
/tcm_fc/20:00:00:1b:21:3f:a1:b7/acls/10:00:00:05:33:26:9e:4e create 0 0
ls /
====

Version-Release number of selected component (if applicable):
fcoe-target-utils-2.0rc1.fb16-3.el6.noarch
kernel -353

How reproducible:
100%

Steps to Reproduce:
Check above
  
Actual results:
python call trace

Expected results:
no python call trace

Additional info:
This bug depend on Bug #896409

Comment 1 Gris Ge 2013-01-17 09:37:41 UTC
Closed as not a bug.

Problem only exists when using old kernel. No such problem when using kernel -353.


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