Bug 57291 - Нет индекса для /nodes/{node}/storage/{storage}/file-restore
Summary: Нет индекса для /nodes/{node}/storage/{storage}/file-restore
Status: NEW
Alias: None
Product: Branch p11
Classification: Unclassified
Component: pve-cluster (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-p11@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-20 12:26 MSK by Evgeny Shesteperov
Modified: 2025-12-20 12:26 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Shesteperov 2025-12-20 12:26:50 MSK
Версия

- pve-cluster-9.0.6-alt1

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

    # zpool create zfspool /dev/sde
    # zpool status zfspool
    # pvesh create /storage -type 'zfspool' -storage 'testzfs' -pool 'zfspool'
    # pvesh get /nodes/pve02/storage/testzfs/file-restore

Ожидаемый результат: Ответ с названием вложенных эндпоинтов: download,
list.

Фактический результат:
No 'get' handler defined for '/nodes/pve02/storage/testzfs/file-restore'

Дополнительная информация: для всех других присутствует хотя бы
GET-запрос с индексом вложенных запросов, например, см.
https://docs.altlinux.org/pve-api/v8/#/nodes/{node}/scan

Это единственное место в API, где ничего такого нет.

Воспроизводится в P10.