[Bugs] [Bug 11661] Update python-rtslib
bugzilla
bugzilla на rosalinux.ru
Вт Ноя 30 18:44:21 MSK 2021
https://bugzilla.rosalinux.ru/show_bug.cgi?id=11661
Dmitry Postnikov <pastordidi на gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pastordidi на gmail.com
--- Comment #1 from Dmitry Postnikov <pastordidi на gmail.com> ---
По этой инструкции для проверки, не отрабатывается
https://github.com/open-iscsi/rtslib-fb/blob/master/doc/getting_started.md
==============
Python 3.8.11 (default, Nov 30 2021, 04:55:04)
[GCC 11.2.0 20210728 (ROSA)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from rtslib_fb import FileIOStorageObject
>>> f = FileIOStorageObject("test1", "/tmp/test.img", 100000000)
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/rtslib_fb/node.py", line 71, in
_create_in_cfs_ine
os.mkdir(self.path)
FileNotFoundError: [Errno 2] No such file or directory:
'/sys/kernel/config/target/core/fileio_0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/rtslib_fb/tcm.py", line 610, in
__init__
super(FileIOStorageObject, self).__init__(name, 'create', index)
File "/usr/lib/python3.8/site-packages/rtslib_fb/tcm.py", line 66, in
__init__
self._backstore = _Backstore(name, type(self), mode, index)
File "/usr/lib/python3.8/site-packages/rtslib_fb/tcm.py", line 1009, in
__init__
self._create_in_cfs_ine(mode)
File "/usr/lib/python3.8/site-packages/rtslib_fb/node.py", line 73, in
_create_in_cfs_ine
raise RTSLibError("Could not create %s in configFS"
rtslib_fb.utils.RTSLibError: Could not create _Backstore in configFS
>>>
==========
По всей видимости надо подгружать модуль ядра configfs.
Но он загружается и сразу выгружается. Что-то не то с ним.
==========
ноя 30 19:26:29 myhome2 systemd[1]: Starting Load Kernel Module configfs...
ноя 30 19:26:29 myhome2 systemd[1]: modprobe на configfs.service: Deactivated
successfully.
ноя 30 19:26:29 myhome2 systemd[1]: Finished Load Kernel Module configfs.
==========
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://lists.rosalinux.ru/pipermail/bugs/attachments/20211130/a4ea2609/attachment-0001.html>
Подробная информация о списке рассылки Bugs