Loki-write is failing because it can't delete file from NFS #8

Closed
opened 2025-09-29 06:25:56 +00:00 by mrtz-j · 11 comments
mrtz-j commented 2025-09-29 06:25:56 +00:00 (Migrated from gitlab.com)

Upon startup, the loki-write pod always creates an empty WAL file, which it attempts to remove during shutdown. When the new pod starts and accesses the same PVC/storage, it crashes immediately because it can't delete the WAL dir.

It seems to be a NFS file:

image

Related issue from upstream ref

Upon startup, the `loki-write` pod always creates an empty WAL file, which it attempts to remove during shutdown. When the new pod starts and accesses the same PVC/storage, it crashes immediately because it can't delete the WAL dir. It seems to be a NFS file: ![image](/uploads/bdd8aa165bcbd2969729ea49c8172262/image.png) Related issue from upstream [ref](https://github.com/grafana/loki/issues/13923)
mrtz-j commented 2025-09-29 06:25:57 +00:00 (Migrated from gitlab.com)

set status to To do

set status to **To do**
mrtz-j commented 2025-09-29 06:26:41 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
mrtz-j commented 2025-09-29 06:29:11 +00:00 (Migrated from gitlab.com)

changed title from Loki is failing because it can't delete NFS file to Lok-writei is failing because it can't delete file from NFS

<p>changed title from <code class="idiff">Loki is failing because it can&#39;t delete <span class="idiff left right deletion">NFS </span>file</code> to <code class="idiff">Lok<span class="idiff left addition">-write</span>i is failing because it can&#39;t delete file<span class="idiff right addition"> from NFS</span></code></p>
mrtz-j commented 2025-09-29 06:29:34 +00:00 (Migrated from gitlab.com)

changed title from Lok-writei is failing because it can't delete file from NFS to Loki-write is failing because it can't delete file from NFS

<p>changed title from <code class="idiff">Lok-write<span class="idiff left right deletion">i</span> is failing because it can&#39;t delete file from NFS</code> to <code class="idiff">Lok<span class="idiff left right addition">i</span>-write is failing because it can&#39;t delete file from NFS</code></p>
mrtz-j commented 2025-09-29 06:31:58 +00:00 (Migrated from gitlab.com)

assigned to @mrtz-j

assigned to @mrtz-j
mrtz-j commented 2025-09-29 06:32:01 +00:00 (Migrated from gitlab.com)

set status to In progress

set status to **In progress**
mrtz-j commented 2025-09-29 08:38:48 +00:00 (Migrated from gitlab.com)

The pod is back up after manually deleting the file and removing the old PVC. Will keep the issue up on lower priority just in case.

The pod is back up after manually deleting the file and removing the old PVC. Will keep the issue up on lower priority just in case.
mrtz-j commented 2025-10-04 08:02:34 +00:00 (Migrated from gitlab.com)

unassigned @mrtz-j

unassigned @mrtz-j
mrtz-j commented 2025-10-04 08:02:37 +00:00 (Migrated from gitlab.com)

set status to On hold

set status to **On hold**
mrtz-j commented 2025-10-25 20:51:38 +00:00 (Migrated from gitlab.com)

set status to Done

set status to **Done**
mrtz-j (Migrated from gitlab.com) closed this issue 2025-10-25 20:51:38 +00:00
mrtz-j commented 2025-10-25 21:07:01 +00:00 (Migrated from gitlab.com)

mentioned in merge request !44

mentioned in merge request !44
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/manifests#8