Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Error on postgres pod (mounting error) #137

@CGHoussem

Description

@CGHoussem

I am facing an issue with the version v0.2.3 of the chart where when I deploy using only these values:

opencloud:
  persistence:
    storageClass: longhorn
  storage:
    mode: posixfs
postgres:
  persistence:
    storageClass: longhorn

I get the following kubelet error on postgres pod:

Error: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/var/lib/kubelet/pods/4cb5c327-9a0b-4caf-bfc6-47428a84aff0/volumes/kubernetes.io~csi/pvc-2f648142-d671-4749-8e92-baabef8bdfc8/mount" to rootfs at "/var/lib/postgresql/data": change mount propagation through procfd: open o_path procfd: open /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/postgres/rootfs/var/lib/postgresql/data: no such file or directory

FYI, I am on a freshly deployed k3s cluster on version v1.33.4+k3s1 and using Longhorn as CSI; I see that the pvc is created without a problem

Image
NAME                          STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   VOLUMEATTRIBUTESCLASS   AGE
opencloud-onlyoffice-data     Bound    pvc-88e86968-50ca-431a-b335-57caa52eeab1   2Gi        RWO            longhorn       <unset>                 8m19s
opencloud-opencloud-config    Bound    pvc-95e4b5ad-340a-4311-b1db-b1f5784720d0   5Gi        RWO            longhorn       <unset>                 8m19s
opencloud-opencloud-data      Bound    pvc-afe0ca5b-1dae-46ea-8467-9d5b0b538f0d   30Gi       RWO            longhorn       <unset>                 8m19s
opencloud-opencloud-posixfs   Bound    pvc-dc86ddb7-ab0a-4296-9343-21eb0f68ba51   30Gi       RWX            longhorn       <unset>                 8m19s
opencloud-postgres-data       Bound    pvc-2f648142-d671-4749-8e92-baabef8bdfc8   1Gi        RWO            longhorn       <unset>                 8m19s

What can I do in this situation ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions