<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>46245</bug_id>
          
          <creation_ts>2023-05-24 16:09:09 +0300</creation_ts>
          <short_desc>Ошибка при создании ресурса</short_desc>
          <delta_ts>2023-05-25 09:18:55 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>linstor-client</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Makeenkov">amakeenk</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>andy</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>226360</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2023-05-24 16:09:09 +0300</bug_when>
    <thetext>Версия пакета:
linstor-client-1.18.0-alt1

Шаги воспроизведения:
# apt-get install linstor-controller linstor-client
# systemctl start linstor-controller
# linstor resource-definition create myres

Получаемый результат:
# linstor resource-definition create myres
Traceback (most recent call last):
  File &quot;/usr/bin/linstor&quot;, line 24, in &lt;module&gt;
    linstor_client_main.main()
  File &quot;/usr/lib/python3/site-packages/linstor_client_main.py&quot;, line 691, in main
    LinStorCLI().run()
  File &quot;/usr/lib/python3/site-packages/linstor_client_main.py&quot;, line 656, in run
    rc = self.parse_and_execute(sys.argv[1:])
  File &quot;/usr/lib/python3/site-packages/linstor_client_main.py&quot;, line 366, in parse_and_execute
    rc = args.func(args)
  File &quot;/usr/lib/python3/site-packages/linstor_client/commands/rsc_dfn_cmds.py&quot;, line 230, in create
    replies = self._linstor.resource_dfn_create(
TypeError: Linstor.resource_dfn_create() got an unexpected keyword argument &apos;peer_slots&apos;

Ожидаемый результат:
SUCCESS:
Description:
    New resource definition &apos;myres&apos; created.
Details:
    Resource definition &apos;myres&apos; UUID is: f1963ae6-f2f9-49b5-acbe-771441a3c27d

Не воспроизводится в p10 (linstor-client-1.15.1-alt1)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226403</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2023-05-25 09:18:55 +0300</bug_when>
    <thetext>Не воспроизводится с новой версией python3-module-linstor-1.18.0-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>