Your message dated Wed, 02 Sep 2026 11:07:34 +0000
with message-id <[email protected]>
and subject line Bug#1145850: fixed in python-rtslib-fb 2.2.3-6
has caused the Debian Bug report #1145850,
regarding targetcli-fb: cannot create block backstore: BlockStorageObject()
rejects exclusive keyword
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1145850: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145850
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: targetcli-fb
Version: 3.0.2-2
Severity: normal
Package: targetcli-fb
Version: 1:3.0.2-2
Severity: normal
Tags: patch
Dear Maintainer,
On Debian testing, targetcli-fb is unable to create a block backstore.
The "create" command under /backstores/block always fails because
targetcli passes the keyword argument "exclusive" to
rtslib_fb.BlockStorageObject(), but the installed class constructor does
not accept this argument.
This makes a central targetcli-fb operation unusable without locally
modifying a file installed by the package.
Steps to reproduce
==================
Create a block backstore using a valid unused block device:
/backstores/block> create name=vol0
dev=/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_feedcafe09452f116c49
Actual result
=============
targetcli aborts with the following traceback:
Traceback (most recent call last):
File "/usr/bin/targetcli", line 8, in <module>
sys.exit(main())
~~~~^^
File "/usr/lib/python3/dist-packages/targetcli/targetcli_shell.py", line 313,
in main
shell.run_interactive()
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/configshell/shell.py", line 906, in
run_interactive
self._cli_loop()
~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/configshell/shell.py", line 733, in
_cli_loop
self.run_cmdline(cmdline)
~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/configshell/shell.py", line 845, in
run_cmdline
self._execute_command(path, command, pparams, kparams)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/configshell/shell.py", line 820, in
_execute_command
result = target.execute_command(command, pparams, kparams)
File "/usr/lib/python3/dist-packages/configshell/node.py", line 1392, in
execute_command
return method(*pparams, **kparams)
File "/usr/lib/python3/dist-packages/targetcli/ui_backstore.py", line 568, in
ui_command_create
so = BlockStorageObject(name, dev, readonly=readonly, wwn=wwn,
exclusive=exclusive)
TypeError: BlockStorageObject.__init__() got an unexpected keyword argument
'exclusive'
Cause
=====
The installed targetcli code calls:
so = BlockStorageObject(name, dev, readonly=readonly, wwn=wwn,
exclusive=exclusive)
However, the installed rtslib_fb.BlockStorageObject constructor does not
accept the "exclusive" keyword argument.
Package versions
================
python3 3.14.6-1 amd64
python3-configshell-fb 1:2.0.3-1 all
python3-rtslib-fb 2.2.3-5 all
targetcli-fb 1:3.0.2-2 all
The constructor signature can be checked with:
python3 -c 'from rtslib_fb import BlockStorageObject; import inspect;
print(inspect.signature(BlockStorageObject))'
System information
==================
Debian testing
Architecture: amd64
Kernel: Linux target 7.1.8+deb14.1-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian
7.1.8-2 (2026-08-15) x86_64 GNU/Linux
libc6: 2.43-4
Proposed patch
==============
Removing the obsolete "exclusive" keyword argument allows block backstore
creation to succeed:
--- a/targetcli/ui_backstore.py
+++ b/targetcli/ui_backstore.py
@@ -565,8 +565,7 @@
- so = BlockStorageObject(name, dev, readonly=readonly, wwn=wwn,
- exclusive=exclusive)
+ so = BlockStorageObject(name, dev, readonly=readonly, wwn=wwn)
After applying this change, the following command succeeds:
/backstores/block> create name=vol0
dev=/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_feedcafe09452f116c49
Regards,
--- End Message ---
--- Begin Message ---
Source: python-rtslib-fb
Source-Version: 2.2.3-6
Done: Thomas Goirand <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-rtslib-fb, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-rtslib-fb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 02 Sep 2026 12:42:52 +0200
Source: python-rtslib-fb
Architecture: source
Version: 2.2.3-6
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1145850
Changes:
python-rtslib-fb (2.2.3-6) unstable; urgency=medium
.
* Add Allow_user_to_control_exclusive_ownership_for_iblock.patch
(Closes: #1145850).
Checksums-Sha1:
6db9f52f4806cec1d3799d655fed384423c7338d 2210 python-rtslib-fb_2.2.3-6.dsc
0a8fcb1366eaa5001abb48094b0d82757e77b984 7188
python-rtslib-fb_2.2.3-6.debian.tar.xz
2e961c5bf649d897e5a57f4bf028a893e875840b 7303
python-rtslib-fb_2.2.3-6_amd64.buildinfo
Checksums-Sha256:
1e72c5892eb02b795614aba2d4a1909c16ce2ab14f338d9f64c71b7341a8afba 2210
python-rtslib-fb_2.2.3-6.dsc
634e8ed72b2e334a130a91d219794ba19fce748db7bb97cbe14d1882a4b4c460 7188
python-rtslib-fb_2.2.3-6.debian.tar.xz
c3f4d62d60416b3af3e245c189ae3bc9ecd3b8a7474ee67f619c9c727dc21202 7303
python-rtslib-fb_2.2.3-6_amd64.buildinfo
Files:
a6db3e85f39c5186f15c48174378cde3 2210 python optional
python-rtslib-fb_2.2.3-6.dsc
40e7b9779fa8096c18a341d74ef42369 7188 python optional
python-rtslib-fb_2.2.3-6.debian.tar.xz
0f29ed7f1129720f8601c70fd80f14db 7303 python optional
python-rtslib-fb_2.2.3-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmqX/gEACgkQ1BatFaxr
Q/5pDw/9GRSH/xbTTYM02g+HeHWTq6zve39aS2v2YYAdqeyapnH9z3PTYfzPKoje
rrjXoNEjoltlYkPKRYP9oWbM95WWcZA2U4omEKElT39RM4GtEZ+reJbYUmnCyIDZ
mcv72czdV7IoZ4kXdf85stpwO4OVBv2o4AC30I5f2ji2IRF6P5pcPnadR0VFIbDo
O0ABeXeXwS96AUj+B8xuEcd1zWkeiETlYZjy489YEiXGLyWw0W61iMTO5DLOhrEJ
qB1c9fTtW5HyaZkC4rCevo7dOlululwdaxMLKNYrTXZ8n5xA5BB4tz1Wm4zqe3HZ
3dUZluJ1kXmzvYLT1zAgtZC1Y3JyvqjVSn8iEQnzuAE4FzlAOFPQEoTh1cg2tVgu
9/w773XmL+ColKTGCVoDG+kPYxIz+dabtX6OpAle1PtGl0yrbJGNVxEAUWR8w1Sp
XdXt83lBAmC4BvawGl+ASsK4AIqeoYRVihH2yZKBuj2XAJ/jE6/oATO1DnoBfvOm
PYrk/bZrrfYnqpDrqMeH4QU7FdWX2qWLmdgcBhMME0/uY1pATFCxb0laQcZUs7V+
ya9AoJ+pOMa/MVRO8G4zMxiHiHXcsEV9BxAVP/tcjCJG4uklhQuWjoHttIwRkCKe
EPMfAm2yYnMHzbtojk9CVcqpzazz1JOkhxeQ/xx2YoRIpyTggIo=
=yhdc
-----END PGP SIGNATURE-----
pgpJj8RXe6Ng7.pgp
Description: PGP signature
--- End Message ---