Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin weed mount exit: 255 when running Nodejs/Turborepo #119

Open
Jackbennett opened this issue May 17, 2023 · 0 comments
Open

Plugin weed mount exit: 255 when running Nodejs/Turborepo #119

Jackbennett opened this issue May 17, 2023 · 0 comments

Comments

@Jackbennett
Copy link
Contributor

I'm trying the starter template for PNPM, Turborepo and Storybook. I have another nodejs project just using vite and that doesn't have an issue when running.

The problem is as soon as I turbo run dev to start storybook once the server comes up the storage detaches.

Below are the logs from seaweedfs-csr-plugin leading to the exit;

csi-seaweedfs-plugin I0516 14:48:01.940819 wfs_filer_client.go:31 WithFilerClient 0 filer01.d.example.com:18888: delete directory /buckets/pvc-a7967c32-b9fd-45e1-9453-88908bbe26de/cwa-components/apps/docs/node_modules/.cache/.vite-storybook/deps_temp_3591cb39: fail to delete non-empty folder: /buckets/pvc-a7967c32-b9fd-45e1-9453-88908bbe26de/cwa-components/apps/docs/node_modules/.cache/.vite-storybook/deps_temp_3591cb39

csi-seaweedfs-plugin I0516 14:48:01.940851 weedfs_dir_mkrm.go:109 remove /buckets/pvc-a7967c32-b9fd-45e1-9453-88908bbe26de/cwa-components/apps/docs/node_modules/.cache/.vite-storybook/deps_temp_3591cb39: delete directory /buckets/pvc-a7967c32-b9fd-45e1-9453-88908bbe26de/cwa-components/apps/docs/node_modules/.cache/.vite-storybook/deps_temp_3591cb39: fail to delete non-empty folder: /buckets/pvc-a7967c32-b9fd-45e1-9453-88908bbe26de/cwa-components/apps/docs/node_modules/.cache/.vite-storybook/deps_temp_3591cb39

csi-seaweedfs-plugin I0516 14:48:01.941386 weedfs_dir_mkrm.go:62 mkdir: directory:"/buckets/pvc-a7967c32-b9fd-45e1-9453-88908bbe26de/cwa-components/apps/docs/node_modules/.cache/.vite-storybook"  entry:{name:"deps_temp_cd5a7e59"  is_directory:true  attributes:{mtime:1684248481  file_mode:2147484141  crtime:1684248481}}  signatures:-658795329

csi-seaweedfs-plugin I0516 14:48:01.945071 weedfs_file_mkrm.go:84 mknod: directory:"/buckets/pvc-a7967c32-b9fd-45e1-9453-88908bbe26de/cwa-components/apps/docs/node_modules/.cache/.vite-storybook/deps_temp_cd5a7e59"  entry:{name:"package.json"  attributes:{mtime:1684248481  file_mode:420  crtime:1684248481  inode:9946031166172834110}}  signatures:-658795329  skip_check_parent_directory:true node:17821459538464454256}}  signatures:-115808621  skip_check_parent_directory:true

csi-seaweedfs-plugin F0516 14:48:02.627714 inode_to_path.go:153 MarkChildrenCached not found inode /buckets/pvc-a7967c32-b9fd-45e1-9453-88908bbe26de/cwa-components/packages/eslint-config-acme/node_modules/doctrine/lib csi-seaweedfs-plugin E0516 14:48:02.663052 mounter.go:75 weed mount exit, pid: 1362, path: /var/lib/kubelet/plugins/kubernetes.io/csi/seaweedfs-csi-driver/62141be8c3cf89b61603aad317c27efe3ea10fc91c10fc69a4d1a0a8edc59d65/globalmount, error: exit status 255  

So once this exits, just restarting the pod doesn't re-attach, I need to scale to zero and wait for the plugin to detach the pvc.

Hopefully there's a useful thing to fix in Seaweed, In the meantime I will try to get the .cache folders off the PVC, maybe even all of node_modules.

Using seaweed 3.43. CSI v1.1.3, little bit out of date I know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant