Bug 57268 - Ошибка при использовании /nodes/{node}/apt/repositories
Summary: Ошибка при использовании /nodes/{node}/apt/repositories
Status: NEW
Alias: None
Product: Branch p10
Classification: Unclassified
Component: pve-cluster (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-17 20:58 MSK by Evgeny Shesteperov
Modified: 2025-12-17 20:58 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-17 20:58:18 MSK
Версия

- pve-cluster-7.3.3-alt5

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

    # pvesh get /nodes/pve02/apt/repositories

или через API:

    $ curl --insecure -H 'CSRFPreventionToken: <token>' -b '<PVEAuthCookie>'  -X GET 'https://10.88.14.176:8006/api2/json/nodes/pve02/apt/repositories'`

Ожидаемый результат: получена информация об репозиториия, в API вернулся
object.

Фактический результат:
Can't use string ("1") as a HASH ref while "strict refs" in use at /usr/share/perl5/PVE/CLIFormatter.pm line 396.
при использовании консольной утилиты pvesh, в API возращается строка 1.

В P11 не воспроизводится.