On 12 Jun 2019, at 01:40, Olivier JUDITH <gnulux(a)gmail.com>
wrote:
Hi,
Thank for the link ,
i tried to run your image but the container fails after few seconds .
Seems that you forgot to create /var/run/dirsrv folder in Dockerfile .
There are some other errors in it too which I have found :)
the server crashes with :
DEBUG: DEBUG: starting with ['/usr/sbin/ns-slapd', '-D',
'/etc/dirsrv/slapd-localhost', '-i',
'/var/run/dirsrv/slapd-localhost.pid']
CRITICAL: Error: Failed to start DS, removing incomplete installation...
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/lib389/instance/setup.py", line 654, in
create_from_args
self._install_ds(general, slapd, backends)
File "/usr/lib/python3.6/site-packages/lib389/instance/setup.py", line 862, in
_install_ds
ds_instance.start(timeout=60)
File "/usr/lib/python3.6/site-packages/lib389/__init__.py", line 1170, in
start
raise ValueError('Failed to start DS')
ValueError: Failed to start DS
It works fine now,
I start to write my k8s configuration .
Fantastic - can you post to me what you are doing with k8s so I can review?
If you can just remind me where i can find documentation on lib389
used in your dscontainer python script ?
There is not documentation today as it's designed for system integrators, and it's
still a bit work in progress - I'm actually planning to work on it this week and I
will resolve this issue and others ASAP.
I can write something for the wiki this week to help :)
Keep you informed
_______________________________________________
389-users mailing list -- 389-users(a)lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproje...
—
Sincerely,
William Brown
Senior Software Engineer, 389 Directory Server
SUSE Labs