Bug 41871 - Не запускается со стандартным конфигурационным файлом
Summary: Не запускается со стандартным конфигурационным файлом
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: prometheus-alertmanager (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-04 11:06 MSK by Alexander Makeenkov
Modified: 2024-03-01 11:46 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2022-02-04 11:06:33 MSK
-== Шаги воспроизведения ==-
# apt-get install prometheus-alertmanager && systemctl start prometheus-alertmanager; systemctl status prometheus-alertmanager
# journalctl -u prometheus-alertmanager

-== Получаемый результат ==-
Сервис не запускается. В логах ошибки:

alertmanager[7584]:
level=error ts=2022-02-04T07:56:37.846Z
caller=coordinator.go:124
component=configuration msg="Loading configuration file failed"
file=/etc/prometheus/alertmanager.yml err="yaml: unmarshal errors:
line 8: field hipchat_auth_token not found in type config.plain
line 10: field hipchat_api_url not found in type config.plain
line 120: field hipchat_configs not found in type config.plain"

Если удалить параметры, связанные с hipchat, то сервис запускается.

-== Версии пакетов ==-
Ошибка воспроизводится
в сизифе:
prometheus-common-2.28.0-alt1
prometheus-alertmanager-0.21.0-alt1

и в p10:
prometheus-common-2.24.1-alt1
prometheus-alertmanager-0.21.0-alt1

но не воспроизводится в p9:
prometheus-common-2.18.1-alt2
prometheus-alertmanager-0.20.0-alt1
Comment 1 Alexander Makeenkov 2024-03-01 11:46:31 MSK
prometheus-alertmanager-0.26.0-alt1 - ошибка не воспроизводится.