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

[ENG-94] Issue with running Infisical backend in OpenShift due to permissions issues #984

Closed
xphyr opened this issue Sep 14, 2023 · 1 comment

Comments

@xphyr
Copy link
Contributor

xphyr commented Sep 14, 2023

Describe the bug

While attempting to deploy Infisical to OpenShift using the helm charts provided, I am having issues getting the backend running due to permissions issues. Note that this is similar, but NOT THE SAME as bug #840

If you build a container for the backend, publish it and deploy it in OpenShift it will work, but only for a few days. At some point (based on the timestamp on the files) it would appear that npm attempts to access the /home/node/.npm/_cache files to update/validate them and it will then fail:

Screenshot 2023-09-13 at 3 41 04 PM

There is additional discussion on this bug here where we also discuss a fix:
https://infisical-users.slack.com/archives/C04BSBMQAQ7/p1694706353813279?thread_ts=1694636663.038499&cid=C04BSBMQAQ7

PR soon to follow to address this issue.

To Reproduce

Steps to reproduce the behavior:

  1. Use the helm chart to deploy Infisical to an OpenShift cluster
  2. backend pod will start to crash due to file permission issues as outlined above

Expected behavior

Application should deploy without issues.

Platform you are having the issue on:

OpenShift

ENG-94

@vmatsiiako vmatsiiako changed the title Issue with running Infisical backend in OpenShift due to permissions issues [ENG-94] Issue with running Infisical backend in OpenShift due to permissions issues Sep 14, 2023
maidul98 added a commit that referenced this issue Sep 14, 2023
changing CMD for Dockerfile  to address issue #984
@xphyr
Copy link
Contributor Author

xphyr commented Sep 18, 2023

With the release of v0.35.1 of the docker images, this problem appears to be solved, and I am able to deploy Infisical to OpenShift with no errors/issues. Thanks for the support. This can be closed out

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

2 participants