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

What's error:*** CONTAINER_LOG_LEVEL = 5 (trace) *** Run commands before finish... *** Killing all processes... #77

Open
zzguang520 opened this issue Jul 14, 2020 · 1 comment

Comments

@zzguang520
Copy link

Hi team,

I want to deploy phpldapadmin in cluster, phpldapadmin.yaml as:

kind: ServiceAccount
apiVersion: v1
metadata:
name: ldap-sa

kind: Deployment
apiVersion: v1
metadata:
name: ldap-ui
labels:
app: ldap-ui
spec:
replicas: 1
template:
metadata:
labels:
app: ldap-ui
spec:
containers:
- name: ldap-ui
image: osixia/phpldapadmin:latest
arg: ['--loglevel','trace']
env:
- name: PHPLDAPADMIN_HTTPS
value: "false"
- name: PHPLDAPADMIN_LDAP_HOSTS
value: ldap-service.default.svc.cluster.local
ports:
- containerPort: 80
resources:
limits:
cpu: 200m
memory: 512Mi
serviceAccount: ldap-sa

kind: Service
apiVersion: v1
metadata:
name: ldap-ui-service
spec:
ports:
- port: 80
selector:
app: ldap-ui

but error in pod logs:
*** CONTAINER_LOG_LEVEL = 5 (trace)
*** Run commands before finish...
*** Killing all processes...

Very simple operation:
1.create namespace
2.apply -f phpldapadmin.yaml -n namespace

@zzguang520
Copy link
Author

I have tried to change images: osixia/phpldapadmin:0.7.1

*** CONTAINER_LOG_LEVEL = 5 (trace)
*** Run commands before finish...
*** Killing all processes...
Traceback (most recent call last):
File "/container/tool/run", line 890, in
main(args)
File "/container/tool/run", line 775, in main
setup_run_directories(args)
File "/container/tool/run", line 361, in setup_run_directories
os.makedirs(directory)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/container/run'

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

1 participant