Your message dated Sat, 26 Jul 2025 17:01:16 +0000
with message-id <[email protected]>
and subject line Bug#1109887: fixed in targetcli-fb 1:2.1.53-1.3
has caused the Debian Bug report #1109887,
regarding targetcli-fb: Creation of Node ACL mappings fails with Python 'no 
attribute' exception when creating LUN
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.)


-- 
1109887: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: targetcli-fb
Version: 1:2.1.53-1.2
Severity: important
Tags: upstream

Dear Maintainer,

when Node ACLs and pre-existing LUNs are present, then creation of a
new LUN will lead to a Python exception:

type object 'MappedLUN' has no attribute 'MAX_LUN'

and non-zero exit status.

Steps to reproduce the issue:

# targetcli /iscsi create
Created target iqn.2003-01.org.linux-iscsi.dev9.x8664:sn.e4440d89a838.
Created TPG 1.
Global pref auto_add_default_portal=true
Created default portal listening on all IPs (0.0.0.0), port 3260.

# ./targetcli-repro.sh iqn.2003-01.org.linux-iscsi.dev9.x8664:sn.e4440d89a838 
tpg1
Created fileio file0 with size 1048576
/tmp/disk1.img exists, using its size (209715200 bytes) instead
Created fileio file1 with size 209715200
Created Node ACL for iqn.1993-08.org.debian:01:00000000000
Created LUN 0.
Created LUN 0->0 mapping in node ACL iqn.1993-08.org.debian:01:00000000000
Created LUN 1.
type object 'MappedLUN' has no attribute 'MAX_LUN'

# cat targetcli-repro.sh 
#!/usr/bin/bash
targetcli /backstores/fileio create file0 /tmp/disk0.img 1M
targetcli /backstores/fileio create file1 /tmp/disk1.img 1M
targetcli /iscsi/$1/$2/acls/ create iqn.1993-08.org.debian:01:00000000000
targetcli /iscsi/$1/$2/luns create /backstores/fileio/file0
targetcli /iscsi/$1/$2/luns create /backstores/fileio/file1

While the LUN is created successfully, the mapped LUN for each ACL is
not. Since this is a very common use-case, I went with severity
'important', hope that is okay.

Picking up commits db153aa ("target: remove the reference to MAX_LUN")
and 23f2e2f ("Fix mapping the new LUN to the node ACL") from upstream
fixes the issue.

Best Regards,
Fiona


-- System Information:
Debian Release: 13.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.14.8-2-pve (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages targetcli-fb depends on:
ii  python3                 3.13.5-1
ii  python3-configshell-fb  1:2.0.0-2
ii  python3-gi              3.50.0-4+b1
ii  python3-rtslib-fb       2.1.76-3
ii  python3-six             1.17.0-1

targetcli-fb recommends no packages.

targetcli-fb suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: targetcli-fb
Source-Version: 1:2.1.53-1.3
Done: Fabian Grünbichler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
targetcli-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.
Fabian Grünbichler <[email protected]> (supplier of updated 
targetcli-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: Sat, 26 Jul 2025 09:27:03 +0200
Source: targetcli-fb
Architecture: source
Version: 1:2.1.53-1.3
Distribution: unstable
Urgency: medium
Maintainer: Debian LIO Target Packagers <[email protected]>
Changed-By: Fabian Grünbichler <[email protected]>
Closes: 1109887
Changes:
 targetcli-fb (1:2.1.53-1.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [Fiona Ebner]
   * fix Python exception when creating LUNs with ACLs present (Closes: 
#1109887)
Checksums-Sha1:
 bdcf9f89a0129d84f13843b895c4bbf37c5fd5ae 2385 targetcli-fb_2.1.53-1.3.dsc
 9a82073e2dce8b8c4c885e0af9df61e6edff8e97 5700 
targetcli-fb_2.1.53-1.3.debian.tar.xz
Checksums-Sha256:
 97896d5b07d87c3f720fd7d0891c65ad18fac94582b89318d62eb4d8fe747eff 2385 
targetcli-fb_2.1.53-1.3.dsc
 8d499ebd62b4643d12fff27e1846365ffbd664fc3d35671ec03fa8683747af32 5700 
targetcli-fb_2.1.53-1.3.debian.tar.xz
Files:
 ef5b3a3557d9671e17b85ea6e57d3492 2385 admin optional 
targetcli-fb_2.1.53-1.3.dsc
 45702a4ac96c2ea9b7dfb4a38116189c 5700 admin optional 
targetcli-fb_2.1.53-1.3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJVBAEBCgA/FiEEbdkGe7ToK0Amc9ppdh5TKjcTRTAFAmiFAikhHGRlYmlhbkBm
YWJpYW4uZ3J1ZW5iaWNobGVyLmVtYWlsAAoJEHYeUyo3E0UwtWEP+gJ3BmehLNYg
QJG7J5dC+WOUGS5FHfskFqX34GKZ5ZauHIUfeBVRDJmYntG8E9DBISix4wE8+Kvy
IfitZ1//3VFmCfvM9U1W5qoPvUvsaxsNkX1O1OzVQXEfqmpUDPiRE6oUoQPSXSry
0foIvPLglxadaLfdgL2wtpX0V3ho5k7p2jTDa72IY+ggwIny+JE2va0eIiyKUSoT
hl2qBa1pE7A4546zRxKFUgKBGpagavDOQwry0iQVrTJwoAOmqayqn6Bfu+QXtgj2
auYq0OyxDLUbDyQfLNpf3IDEgWOTb05rtuUnSyJOF7b8x/Ygy7jUIG2WI+rsMMPI
KEPq/8InqkFMLMRtpqMJTzTmSxvDqF5FIH5dymImHFOSbhyEAQ0Qq0wIAMC7QmxV
ZuOKp6OxDkZlTNqrlMJpRJVEmv6rvRLegYX6dZkNaGWQERI5iaJCIt7cUtJyOuri
Yy3pBbJkUePsakxweZTaAOj0kgFFXaDZsn3N0lJRQGVOS4Ibg1unSa7DYnc2LwEb
9JE2sL1pegYKFnHsrnDDo8ftGvrGkaUlwo+icZ3cwqJsspvR6jgUwjh2bg6lMyjd
Eo4Gc1Dnn8LaBy/a/DWW0m0Sa1Dj2eO20lWEwMUyIL5jkwDsDs8Peo6/fPcuZqtv
wKE7jXuEOwdcFr9WIO71gqGww2zhnJ+w
=J9Pc
-----END PGP SIGNATURE-----

Attachment: pgp33sl0ZPTxk.pgp
Description: PGP signature


--- End Message ---

Reply via email to