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

Avoid os error #95

Merged
merged 1 commit into from
Jun 1, 2021
Merged

Avoid os error #95

merged 1 commit into from
Jun 1, 2021

Conversation

mmacata
Copy link
Collaborator

@mmacata mmacata commented Jun 1, 2021

When deploying with kubernetes, the config is mounted as a configmap. This way, it is mounted read only and on startup the following error appears:

OSError: [Errno 30] Read-only file system: '/etc/default/openeo-grassgis-driver/openeo-grassgis-driver.cfg'

This PR comments according code out. It was only used for debugging reasons. Maybe a better solution can be found.

@mmacata
Copy link
Collaborator Author

mmacata commented Jun 1, 2021

As only minor, I merge directly.

@mmacata mmacata merged commit 5a0fe3c into Open-EO:master Jun 1, 2021
@metzm
Copy link
Collaborator

metzm commented Jun 2, 2021

TODO: don't use potential read-only input config path for output config path. Alternative: always write generated config to /etc/default/openeo-grassgis-driver ?

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

Successfully merging this pull request may close these issues.

2 participants