| Summary: | Не создаётся resource-group в версии 1.22.0-alt1, во вложении версия 1.24.0-alt1, с которой работает. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Branch p11 | Reporter: | jz <j74> | ||||
| Component: | python3-module-linstor | Assignee: | Alexey Shabalin <shaba> | ||||
| Status: | NEW --- | QA Contact: | qa-p11 <qa-p11> | ||||
| Severity: | major | ||||||
| Priority: | P5 | CC: | alimektor, j74, shaba | ||||
| Version: | unspecified | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
Скачал с сайта разработчика https://linbit.gateway.scarf.sh//downloads/linstor/python_linstor-1.24.0.tar.gz, распаковал и заменил файлы на сервере - rg создалась без проблем. Не воcпроизводится в P10 и в Sisyphus:
# linstor resource-group create my_rg --place-count 3 --layer-list drbd
SUCCESS:
Description:
New resource group 'my_rg' created.
Details:
Resource group 'my_rg' UUID is: 48ebbed3-dd16-4d03-8600-121c357c73d1
# linstor resource-group list
╭─────────────────────────────────────────────────────────────╮
┊ ResourceGroup ┊ SelectFilter ┊ VlmNrs ┊ Description ┊
╞═════════════════════════════════════════════════════════════╡
┊ DfltRscGrp ┊ PlaceCount: 2 ┊ ┊ ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ my_rg ┊ PlaceCount: 3 ┊ ┊ ┊
┊ ┊ LayerStack: ['DRBD'] ┊ ┊ ┊
╰─────────────────────────────────────────────────────────────╯
Версия в P10: python3-module-linstor-1.18.0-alt1 Версия в P11: python3-module-linstor-1.22.0-alt1 Версия в Sisyphus: python3-module-linstor-1.24.0-alt1 Created attachment 17978 [details]
python3-module-linstor-1.24.0-alt1.noarch.rpm
Собрал модуль по из репо Сизифа для р11 руководству из wiki.
Прошу собрать новую версию пакета, та что в репозитории - не работает должным образом. |
linstor resource-group create my_rg --place-count 3 --layer-list drbd Traceback (most recent call last): File "/usr/bin/linstor", line 24, in <module> linstor_client_main.main() File "/usr/lib/python3/site-packages/linstor_client_main.py", line 691, in main LinStorCLI().run() File "/usr/lib/python3/site-packages/linstor_client_main.py", line 656, in run rc = self.parse_and_execute(sys.argv[1:]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/site-packages/linstor_client_main.py", line 366, in parse_and_execute rc = args.func(args) ^^^^^^^^^^^^^^^ File "/usr/lib/python3/site-packages/linstor_client/commands/rsc_grp_cmds.py", line 266, in create replies = self._linstor.resource_group_create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Linstor.resource_group_create() got an unexpected keyword argument 'x_replicas_on_different'