targetcli crashes when sbp_target is loaded

Bug #1436158 reported by Christopher Fowler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
targetcli (Ubuntu)
New
Undecided
Unassigned

Bug Description

I installed targetcli to attempt building a disk array accessible to other machines via FireWire. After installation I found that the kernel module for sbp_target (which provides support for FireWire targets) was installed but disabled. Upon enabling sbp_target on start through /etc/modules, I found that targetcli (which worked previous) would crash while attempting to start.

Error output as follows:

sudo targetcli
targetcli GIT_VERSION (rtslib GIT_VERSION)
Copyright (c) 2011-2013 by Datera, Inc.
All rights reserved.
Traceback (most recent call last):
  File "/usr/bin/targetcli", line 76, in <module>
    main()
  File "/usr/bin/targetcli", line 69, in main
    root_node.refresh()
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_root.py", line 46, in refresh
    UIBackstores(self)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_backstore.py", line 50, in __init__
    self.refresh()
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_backstore.py", line 54, in refresh
    UIPSCSIBackstore(self)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_backstore.py", line 183, in __init__
    UIBackstore.__init__(self, 'pscsi', parent)
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_backstore.py", line 68, in __init__
    self.refresh()
  File "/usr/lib/python2.7/dist-packages/targetcli/ui_backstore.py", line 72, in refresh
    for so in RTSRoot().storage_objects:
  File "/usr/lib/python2.7/dist-packages/rtslib/root.py", line 67, in __init__
    self._create_in_cfs_ine('any')
  File "/usr/lib/python2.7/dist-packages/rtslib/node.py", line 71, in _create_in_cfs_ine
    os.mkdir(self.path)
OSError: [Errno 1] Operation not permitted: '/sys/kernel/config/target'

Revision history for this message
Christopher Fowler (mawnkey) wrote :

Oops, assigned to Cinder instead of just to Ubuntu.

affects: cinder → ubuntu
Quinn Balazs (qbalazs)
affects: ubuntu → targetcli (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.