-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Milestone
Description
Loki restore with "Replace" flag fails.
Steps to reproduce
- Attempt to restore a Loki instance using the "Replace" flag in the UI.
- Observe the restore process and any resulting logs.
Expected behavior
The "Replace" flag should not be available for restoring Loki, as it leads to unexpected behavior.
As alternative the flag should be ignored.
Actual behavior
The restore fails when the "Replace" flag is set in the UI.
Without the "Replace" flag, the restore works, and Loki becomes the active instance, as intended.
System logs indicate errors such as:
Apr 14 11:25:52 debianns8test systemd[808]: Starting prometheus.service - Prometheus server...
Apr 14 11:25:52 debianns8test promtail[811]: /var/lib/nethserver/node/bin/generate-promtail-config:21: UserWarning: Could not resolve loki@cluster to an agent_id
Apr 14 11:25:52 debianns8test promtail[811]: loki_agent_id = agent.resolve_agent_id("loki@cluster")
Apr 14 11:25:52 debianns8test promtail[811]: No client configuration found. Is Loki installed?
Apr 14 11:25:52 debianns8test podman[928]: 2025-04-14 11:25:52.973332656 +0200 CEST m=+0.062825357 system refresh
Apr 14 11:25:52 debianns8test systemd[1]: promtail.service: Control process exited, code=exited, status=1/FAILURE
Apr 14 11:25:52 debianns8test podman[944]: 2025-04-14 11:25:52.997050095 +0200 CEST m=+0.041535293 system refresh
Apr 14 11:25:53 debianns8test promtail[959]: Error: reading CIDFile: open /run/promtail.cid: no such file or directory
Apr 14 11:25:53 debianns8test systemd[809]: Created slice session.slice - User Core Session Slice.
Apr 14 11:25:53 debianns8test systemd[1]: promtail.service: Control process exited, code=exited, status=125/n/a
Apr 14 11:25:53 debianns8test systemd[1]: promtail.service: Failed with result 'exit-code'.
Apr 14 11:25:53 debianns8test systemd[809]: Starting dbus.service - D-Bus User Message Bus...
Apr 14 11:25:53 debianns8test systemd[1]: Failed to start promtail.service - Promtail logs collector for Loki.
Components
NethServer core: 3.6.3
See also
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
verifiedAll test cases were verified successfullyAll test cases were verified successfully
Type
Projects
Status
Done