Bug 50773 - Не запускается vmselect.service
Summary: Не запускается vmselect.service
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: victoriametrics-cluster-vmselect (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 16:46 MSK by Alexander Makeenkov
Modified: 2024-06-27 16: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 2024-06-27 16:46:15 MSK
Версия пакета:
victoriametrics-cluster-vmselect-1.101.0-alt2

Шаги воспроизведения:
# apt-get install victoriametrics-cluster-vmselect
# systemctl start vmselect.service
# journalctl -u vmselect.service

Получаемый результат:

vmselect[6339]: fatal VictoriaMetrics/app/vmselect/main.go:100 missing -storageNode arg

Причина:

Некорректное название sysconfig файла в юните:

# systemctl cat vmselect.service | grep EnvironmentFile
EnvironmentFile=-/etc/sysconfig/victoriametrics-vminsert

# rpm -ql victoriametrics-cluster-vmselect | grep sysconfig
/etc/sysconfig/victoriametrics-cluster-vmselect