<html>
<head>
<base href="https://bugzilla.rosalinux.ru/">
</head>
<body><span class="vcard"><a class="email" href="mailto:pastordidi@gmail.com" title="Dmitry Postnikov <pastordidi@gmail.com>"> <span class="fn">Dmitry Postnikov</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Update python-rtslib"
href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=11661">bug 11661</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>pastordidi@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Update python-rtslib"
href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=11661#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Update python-rtslib"
href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=11661">bug 11661</a>
from <span class="vcard"><a class="email" href="mailto:pastordidi@gmail.com" title="Dmitry Postnikov <pastordidi@gmail.com>"> <span class="fn">Dmitry Postnikov</span></a>
</span></b>
<pre>По этой инструкции для проверки, не отрабатывается
<a href="https://github.com/open-iscsi/rtslib-fb/blob/master/doc/getting_started.md">https://github.com/open-iscsi/rtslib-fb/blob/master/doc/getting_started.md</a>
==============
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.
<span class="quote">>>> from rtslib_fb import FileIOStorageObject
>>> f = FileIOStorageObject("test1", "/tmp/test.img", 100000000)</span >
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
<span class="quote">>>> </span >
==========
По всей видимости надо подгружать модуль ядра configfs.
Но он загружается и сразу выгружается. Что-то не то с ним.
==========
ноя 30 19:26:29 myhome2 systemd[1]: Starting Load Kernel Module configfs...
ноя 30 19:26:29 myhome2 systemd[1]: <a href="mailto:modprobe@configfs.service">modprobe@configfs.service</a>: Deactivated
successfully.
ноя 30 19:26:29 myhome2 systemd[1]: Finished Load Kernel Module configfs.
==========</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>