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

Open
wkloucek opened this issue Oct 22, 2024 · 4 comments

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/v2@v2.15.0/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/v2@v2.15.0/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/v2@v2.15.0/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/v2@v2.15.0/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

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

No branches or pull requests

3 participants