-
Notifications
You must be signed in to change notification settings - Fork 120
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
CrashLoopBackOff for nexus-iq pod after installing nexus-iq chart #220
Comments
Having the exact same issue here--not able to see anything missing in our configuration either. PVC/PV mounted properly, and we are running Nexus IQ in its own dedicated namespace |
To review the Nexus IQ Server logs, connect to the pod via bash shell. The logs are in /var/log/nexus-iq-server. Here are the commands I used to shell into a pod: $ kubectl get pods --all-namespaces |
We can't view the logs as the container comes up and immediately crashes. I think the filesystem permission error is a hard exit |
Right so I edited the startup command for the container so I could go in and manually try starting it to see what happens. The file permissions are set as follows: $ ls -la /var/log
total 292
drwxr-xr-x 1 root root 44 Jul 27 16:36 .
drwxr-xr-x 1 root root 30 May 3 08:55 ..
-rw-rw-r-- 1 root utmp 292292 Jul 27 16:36 lastlog
drwxr-xr-x 3 root root 4096 Aug 30 09:52 nexus-iq-server
$ whoami
nexus The |
Found the fix for this @grigoryevandrey, you need to set the https://github.com/sonatype/helm3-charts/pull/226/files |
I've installed repository manager and it works fine, but nexus-iq-server giving me troubles. I am not sure how to debug it since i can not check logs of nexus-iq-server pod because of
./start.sh: line 2: /var/log/nexus-iq-server/stderr.log: Permission denied
error.Both repository manager and nexus-iq are in one
nexus
namespace.RM storing data in one pv, and nexus-iq storing logs and error logs in different pvs.
I am not sure if this is an issue, or i am simply missing something in my configs.
Nexus IQ Config:
Nexus Repository Manager Config:
The text was updated successfully, but these errors were encountered: