Bug 1169753 - [abrt] targetcli: module.pyx:139:kmod.module.Module.insert (kmod/module.c:2723):KmodError: Could not load module
Summary: [abrt] targetcli: module.pyx:139:kmod.module.Module.insert (kmod/module.c:272...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: targetcli
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andy Grover
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:34dcef5071cb4bafeb0bb838d00...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-02 11:25 UTC by Michal Kovarik
Modified: 2014-12-13 09:48 UTC (History)
1 user (show)

Fixed In Version: python-rtslib-2.1.fb51-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-13 09:39:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.34 KB, text/plain)
2014-12-02 11:25 UTC, Michal Kovarik
no flags Details
File: environ (2.92 KB, text/plain)
2014-12-02 11:25 UTC, Michal Kovarik
no flags Details

Description Michal Kovarik 2014-12-02 11:25:12 UTC
Description of problem:
run targetcli as user (without root permissions)

Version-Release number of selected component:
targetcli-2.1.fb37-1.fc21

Additional info:
reporter:       libreport-2.3.0
cmdline:        /usr/bin/python /usr/bin/targetcli
dso_list:       python-rtslib-2.1.fb50-1.fc21.noarch
executable:     /usr/bin/targetcli
kernel:         3.17.4-300.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
module.pyx:139:kmod.module.Module.insert (kmod/module.c:2723):KmodError: Could not load module

Traceback (most recent call last):
  File "/usr/bin/targetcli", line 121, in <module>
    main()
  File "/usr/bin/targetcli", line 78, in main
    root_node = UIRoot(shell, as_root=is_root)
  File "/usr/lib/python2.7/site-packages/targetcli/ui_root.py", line 44, in __init__
    self.rtsroot = RTSRoot()
  File "/usr/lib/python2.7/site-packages/rtslib/root.py", line 68, in __init__
    modprobe('target_core_mod')
  File "/usr/lib/python2.7/site-packages/rtslib/utils.py", line 364, in modprobe
    kmod.Kmod().modprobe(module)
  File "kmod/kmod.pyx", line 107, in kmod.kmod.Kmod.modprobe (kmod/kmod.c:2822)
  File "kmod/module.pyx", line 139, in kmod.module.Module.insert (kmod/module.c:2723)
KmodError: Could not load module

Local variables in innermost frame:
_list: <module 'kmod.list' from '/usr/lib64/python2.7/site-packages/kmod/list.so'>
_collections: <module 'collections' from '/usr/lib64/python2.7/collections.pyc'>
__builtins__: <module '__builtin__' (built-in)>
_KmodError: <class 'kmod.error.KmodError'>
Module: <type 'kmod.module.Module'>
__package__: 'kmod'
__file__: '/usr/lib64/python2.7/site-packages/kmod/module.so'
__test__: {}
_util: <module 'kmod._util' from '/usr/lib64/python2.7/site-packages/kmod/_util.so'>
__name__: 'kmod.module'
__doc__: None

Comment 1 Michal Kovarik 2014-12-02 11:25:14 UTC
Created attachment 963651 [details]
File: backtrace

Comment 2 Michal Kovarik 2014-12-02 11:25:15 UTC
Created attachment 963652 [details]
File: environ

Comment 3 Fedora Update System 2014-12-02 18:56:22 UTC
python-rtslib-2.1.fb51-1.fc20,python-configshell-1.1.fb16-1.fc20,targetcli-2.1.fb38-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/python-rtslib-2.1.fb51-1.fc20,python-configshell-1.1.fb16-1.fc20,targetcli-2.1.fb38-1.fc20

Comment 4 Fedora Update System 2014-12-02 18:56:31 UTC
python-rtslib-2.1.fb51-1.fc21,python-configshell-1.1.fb16-1.fc21,targetcli-2.1.fb38-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-rtslib-2.1.fb51-1.fc21,python-configshell-1.1.fb16-1.fc21,targetcli-2.1.fb38-1.fc21

Comment 5 Fedora Update System 2014-12-03 06:05:18 UTC
Package python-rtslib-2.1.fb51-1.fc21, python-configshell-1.1.fb16-1.fc21, targetcli-2.1.fb38-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-rtslib-2.1.fb51-1.fc21 python-configshell-1.1.fb16-1.fc21 targetcli-2.1.fb38-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16136/python-rtslib-2.1.fb51-1.fc21,python-configshell-1.1.fb16-1.fc21,targetcli-2.1.fb38-1.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-12-13 09:39:52 UTC
python-rtslib-2.1.fb51-1.fc21, python-configshell-1.1.fb16-1.fc21, targetcli-2.1.fb38-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2014-12-13 09:48:04 UTC
python-rtslib-2.1.fb51-1.fc20, python-configshell-1.1.fb16-1.fc20, targetcli-2.1.fb38-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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