-
Notifications
You must be signed in to change notification settings - Fork 70
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
Running zammad as NONROOT still has issue in postgresql-init container #83
Comments
Can you please use code tags? The postgresql container is started via dependency chart. There were no changes related to the user. This also worked in the ci run: https://github.com/zammad/zammad-helm/actions/runs/624522521 |
Hi, I have updated the issue with code tags now. Sorry for the trouble. My guess, it could be due to access issue ? because we are trying as non root user and may be it is not able to either connect to volume or execute this db:migrate command. but I am not sure on this. |
Ok, so it's about the PostgreSQL init container. Does the postgres database container work? |
Yes, the postgres Database container is showing up as shown below in pod status.
|
Hi @monotek , Just want to check if any update on this issue or if you need any more information from my side. |
Hi, Just want to check if any update on this issue ? Any hint or suggestion will help us. |
Please stop spamming. |
I can't reproduce. Last ci job worked: https://github.com/zammad/zammad-helm/runs/2149306752 Also fresh install in a gke cluster worked without problems:
I can only guess that it's some connection problem to postgres. |
Hi @monotek , Thanks for all your help. |
Is this a request for help?: YES
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG
Version of Helm and Kubernetes:
helm version
kubectl version
What happened:
Trying to install zammad as NONROOT user in private cloud. It stuck in postgresql-init container at ruby related commands.
What you expected to happen:
Zammad should be installed successfully.
How to reproduce it (as minimally and precisely as possible):
Downloaded zammad-helm project from GIT to local.
created myValues.yaml file
Install zammad in private cloud using below helm command.
Anything else we need to know:
I am trying with latest zammad v3.6.0-65 which has fix for bug #82 in it.
First of all thanks for your fixes in bug #82 , the updated commands in zammad-init container are working fine now.
Now when it reaches postgresql-init, it stuck at "bundle exec rake db:migrate" step.
I have added few echo statements in templates/configmap-init.yaml file as shown below (in and around the if statement) :
If I check the logs, it print below two statement only, refer to echo statement in above file:
I even tried to execute it manually as shown below, but it will exit (with code 137) after long time (>10 mins) but nothing shows in logs.
This is pod status
when I am doing describe pod zammad-0 it is showing postgresql-init Terminated with Error code =1.
The text was updated successfully, but these errors were encountered: