Reload operation fails with timeout #1135
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1135
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected Behavior
Reload operation notifies systemd upon completion.
Current Behavior
Reload operation completes but does not notify systemd, which causes systemd to wait until it reaches timeout, after which the reload is reported as failed:
Possible Solution
No fix can be suggested by a QA engineer. Further solutions shall be up to developers.
Steps to Reproduce (for bugs)
systemdnotify.enabled: true
to its configuration.systemctl reload frostfs-storage
.Context
This problem prevents using "notify-reload" as the service type.
Regression
No.
Your Environment
Tatlin.Object cluster node, version v1.6.0-4 (CYP v4.1.0).
When sending an update directly, it doesn't work too:
I have also checked that metric was updated, and we send a message to systemd before we update the metric.
So it is reasonable to suggest this is a bug in the systemd itself.
@elebedeva on a side-note, I haven't found status updates for reloading configuration for the frostfs-ir, have we done them?
If I run
--reloading
and--ready
transition completely withsystemd-notify
everything works.If reload is done with the
systemctl reload
, then readiness is not updated neither viasystemd-notify
neither viafrostfs-storage
The problem may be that we do not send
MONOTONIC_USEC
:https://www.man7.org/linux/man-pages/man3/sd_notify.3.html
Upstream systemd-notify does:
https://github.com/systemd/systemd/blob/main/src/notify/notify.c#L351
Refs #552