| Summary: | Возвращает null в REST-запросе PUT /nodes/{node}/qemu/{vmid}/resize | ||
|---|---|---|---|
| Product: | Branch p11 | Reporter: | Evgeny Shesteperov <alimektor> |
| Component: | pve-cluster | Assignee: | Alexey Shabalin <shaba> |
| Status: | NEW --- | QA Contact: | qa-p11 <qa-p11> |
| Severity: | normal | ||
| Priority: | P5 | ||
| Version: | unspecified | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
Версия - 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 'ide0' -size '10G' # curl --insecure -H "Content-Type: application/json" -H 'CSRFPreventionToken: <CSRFPreventionToken>' -b '<PVEAuthCookie>' -d '{"disk": "ide0", "size": "10G"}' -X PUT 'https://10.88.14.176:8006/api2/json/nodes/pve03/qemu/54321/resize' Ожидаемый результат: возвращает строковое значение. { "data": "Some String" } В документации https://docs.altlinux.org/pve-api/v7 сказано так. Фактический результат: возвращает null. { "data": null } Для LXC всё корректно. Воспроизводится в P10.