以下的要求不是强制性的, 未按模板评论时对issue无任何影响
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, 缺陷严重等级, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后defect-manager将无法正常解析填写内容.
评论区可能使用到的指令说明:
| 指令 | 指令说明 | 使用权限 |
|---|---|---|
| /check-issue | 触发defect-manager校验 | 不限 |
| /reason xxx | /reason +挂起或取消条件 | 不限 |
影响性分析说明:
缺陷严重等级:(Critical/High/Moderate/Low)
缺陷根因说明:
受影响版本排查(受影响/不受影响):
- openEuler-20.03-LTS-SP4:
- openEuler-22.03-LTS-SP3:
- openEuler-22.03-LTS-SP4:
- openEuler-24.03-LTS:
- openEuler-24.03-LTS-SP1:
- openEuler-24.03-LTS-SP2:
abi变化(是/否):
- openEuler-20.03-LTS-SP4:
- openEuler-22.03-LTS-SP3:
- openEuler-22.03-LTS-SP4:
- openEuler-24.03-LTS:
- openEuler-24.03-LTS-SP1:
- openEuler-24.03-LTS-SP2:
缺陷issue处理具体操作请参考:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/defect-manager-manual.md
pr关联issue具体操作请参考:
https://docs.atomgit.com/docs/help/home/org_project/pullrequests/pr-related-issue


Welcome To openEuler Community
Hey @qianchen123321 , thanks for your contribution to the community.
Bot Usage Manual
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
Contact Guide
If you have any questions, please contact the SIG: Application ,
and any of the maintainers: @kaitiandu, @small_leek, @zhuchunyi ,
and any of the committers: @caodongxia, @starlet-dx, @wk333 .


根因:targetcli-fb 3.0.2 升级后引入了对 BlockStorageObject 的 exclusive 参数支持,但当前的 rtslib-fb 仍停留在 2.1.76,该版本的 BlockStorageObject.init 不接受 exclusive 参数,导致 TypeError。
rtslib-fb 2.2.x 版本才新增了 exclusive 参数(默认值为 True)
https://atomgit.com/src-openeuler/python-rtslib


@caodongxia 未对受影响版本排查/abi变化进行分析





@caodongxia 未对受影响版本排查/abi变化进行分析




【缺陷描述】:请补充详细的缺陷问题现象描述
安装targetcli-3.0.2-2.oe2609.noarch后,执行targetcli,在/backstores/block目录下执行create disk0 /dev/testvg/testlv,报错.
targetcli
targetcli shell version 3.0.2
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.
/backstores/block> pwd
/backstores/block
/backstores/block> create disk0 /dev/testvg/testlv
Traceback (most recent call last):
File "/usr/bin/targetcli", line 8, in
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/targetcli/targetcli_shell.py", line 313, in main
shell.run_interactive()
File "/usr/lib/python3.11/site-packages/configshell/shell.py", line 906, in run_interactive
self._cli_loop()
File "/usr/lib/python3.11/site-packages/configshell/shell.py", line 733, in _cli_loop
self.run_cmdline(cmdline)
File "/usr/lib/python3.11/site-packages/configshell/shell.py", line 845, in run_cmdline
self._execute_command(path, command, pparams, kparams)
File "/usr/lib/python3.11/site-packages/configshell/shell.py", line 820, in _execute_command
result = target.execute_command(command, pparams, kparams)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/configshell/node.py", line 1392, in execute_command
return method(*pparams, **kparams)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/targetcli/ui_backstore.py", line 568, in ui_command_create
so = BlockStorageObject(name, dev, readonly=readonly, wwn=wwn,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BlockStorageObject.init() got an unexpected keyword argument 'exclusive'
一、缺陷信息
targetcli-3.0.2-2.oe2609.noarch
【缺陷所属的os版本】
cat /etc/openEuler-latest
openeulerversion=openEuler-26.09-DevStation
compiletime=2026-07-31-11-13-43
gccversion=12.3.1-105.oe2609
kernelversion=6.6.0-163.0.0.1.oe2609
openjdkversion=1.8.0.492.b09-5.oe2609
rpm -q targetcli
targetcli-3.0.2-2.oe2609.noarch
【内核版本】
6.6.0-163.0.0.1.oe2609.x86_64
【缺陷所属软件及版本号】
6.6.0-163.0.0.1.oe2609.x86_64
【环境信息】
硬件信息
软件信息
网络信息
【问题复现步骤】
【实际结果】
【期望结果】
【其他相关附件信息】
【缺陷详情及分析指导参考链接】
二、缺陷分析结构反馈
影响性分析说明:
缺陷严重等级:(Critical/High/Moderate/Low)
缺陷根因说明:
受影响版本排查(受影响/不受影响):
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
修复是否涉及abi变化(是/否):
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2