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

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

    <bug>
          <bug_id>57305</bug_id>
          
          <creation_ts>2025-12-20 20:12:58 +0300</creation_ts>
          <short_desc>Возвращает null в REST-запросе PUT /nodes/{node}/qemu/{vmid}/resize</short_desc>
          <delta_ts>2025-12-20 20:12:58 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p11</product>
          <component>pve-cluster</component>
          <version>unspecified</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Evgeny Shesteperov">alimektor</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          
          
          <qa_contact name="qa-p11@altlinux.org">qa-p11</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>279323</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Shesteperov">alimektor</who>
    <bug_when>2025-12-20 20:12:58 +0300</bug_when>
    <thetext>Версия

- pve-cluster-9.0.6-alt1

Шаги воспроизведения

    # qm create 54321 --name testvm --memory 1024 --cores 1 --sockets 1 --vga qxl --agent 1
    # qm disk import 54321 /etc/alt-server-11.0-p11-cloud-x86_64.qcow2 rbd
    # qm set 54321 --ide0 rbd:vm-54321-disk-0 --ide1 rbd:cloudinit --ciuser test --cipassword 1 --ipconfig0 ip=dhcp,ip6=auto --serial0 socket --net0 virtio,bridge=vmbr1
    # qm cloudinit update 54321
    # pvesh set /nodes/pve03/qemu/54321/resize -disk &apos;ide0&apos; -size &apos;10G&apos;
    # curl --insecure -H &quot;Content-Type: application/json&quot; -H &apos;CSRFPreventionToken: &lt;CSRFPreventionToken&gt;&apos; -b &apos;&lt;PVEAuthCookie&gt;&apos; -d &apos;{&quot;disk&quot;: &quot;ide0&quot;, &quot;size&quot;: &quot;10G&quot;}&apos; -X PUT &apos;https://10.88.14.176:8006/api2/json/nodes/pve03/qemu/54321/resize&apos;

Ожидаемый результат: возвращает строковое значение.

    {
      &quot;data&quot;: &quot;Some String&quot;
    }

В документации https://docs.altlinux.org/pve-api/v7 сказано так.

Фактический результат: возвращает null.

    {
        &quot;data&quot;: null
    }

Для LXC всё корректно.

Воспроизводится в P10.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>