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

All oCIS services rely on /tmp to be a read-write filesystem because of govips #10378

Closed
wkloucek opened this issue Oct 22, 2024 · 5 comments · Fixed by #10943
Closed

All oCIS services rely on /tmp to be a read-write filesystem because of govips #10378

wkloucek opened this issue Oct 22, 2024 · 5 comments · Fixed by #10943
Labels

Comments

@wkloucek
Copy link
Contributor

Describe the bug

Run oCIS 6.6 in Kubernetes, eg via owncloud/ocis-charts#778

Steps to reproduce

  1. install it
  2. look at the pods

Expected behavior

Pods are running

Actual behavior

Pods are crashing, eg:

+ nats-799bb65f6d-z7mwf › nats
nats-799bb65f6d-z7mwf nats panic: Couldn't create temporary directory: mkdir /tmp/govips-2656736891: read-only file system
nats-799bb65f6d-z7mwf nats 
nats-799bb65f6d-z7mwf nats goroutine 1 [running]:
nats-799bb65f6d-z7mwf nats github.com/davidbyttow/govips/v2/vips.temporaryDirectoryOrPanic()
nats-799bb65f6d-z7mwf nats 	github.com/davidbyttow/govips/[email protected]/vips/icc_profiles.go:671 +0x89
nats-799bb65f6d-z7mwf nats github.com/davidbyttow/govips/v2/vips.init()
nats-799bb65f6d-z7mwf nats 	github.com/davidbyttow/govips/[email protected]/vips/icc_profiles.go:647 +0x17
- nats-799bb65f6d-z7mwf › nats

If you switch to the external nats example, you're gonna see the same message on all other oCIS pods, too:

+ proxy-6c7d4846cc-p45zh › proxy
proxy-6c7d4846cc-p45zh proxy panic: Couldn't create temporary directory: mkdir /tmp/govips-3013908145: read-only file system
proxy-6c7d4846cc-p45zh proxy 
proxy-6c7d4846cc-p45zh proxy goroutine 1 [running]:
proxy-6c7d4846cc-p45zh proxy github.com/davidbyttow/govips/v2/vips.temporaryDirectoryOrPanic()
proxy-6c7d4846cc-p45zh proxy 	github.com/davidbyttow/govips/[email protected]/vips/icc_profiles.go:671 +0x89
proxy-6c7d4846cc-p45zh proxy github.com/davidbyttow/govips/v2/vips.init()
proxy-6c7d4846cc-p45zh proxy 	github.com/davidbyttow/govips/[email protected]/vips/icc_profiles.go:647 +0x17
- proxy-6c7d4846cc-p45zh › proxy

Setup

oCIS 6.6 in Kubernetes

Additional context

Add any other context about the problem here.

@wkloucek
Copy link
Contributor Author

Probably similar to #4894

@rhafer
Copy link
Contributor

rhafer commented Oct 22, 2024

This should fix it: davidbyttow/govips#442

@wkloucek
Copy link
Contributor Author

Ok, for now I'll look adding volumes to /tmp everywhere

wkloucek added a commit to owncloud/ocis-charts that referenced this issue Oct 22, 2024
@wkloucek
Copy link
Contributor Author

workaround in owncloud/ocis-charts@531a08d

@micbar micbar removed this from the Release 7.0.0 milestone Dec 19, 2024
@wkloucek
Copy link
Contributor Author

Will be fixed when we pull in https://github.com/davidbyttow/govips/releases/tag/v2.16.0

@wkloucek wkloucek mentioned this issue Jan 30, 2025
9 tasks
wkloucek added a commit to wkloucek/ocis-charts that referenced this issue Jan 30, 2025
@github-project-automation github-project-automation bot moved this from Qualification to Done in Infinite Scale Team Board Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants