ronivay / xen-orchestra-docker

Xen Orchestra in a docker container
117 stars 41 forks source link

From docker compose on Rocky 9, container fails to start rpcbind service #46

Closed alexcrow1974 closed 2 weeks ago

alexcrow1974 commented 2 weeks ago

Hi, I'm getting repeated messages like this in the container logs:

xen-orchestra | [2024-09-24T17:41:21+0000] error : 'rpcbind' failed to start (exit status 0) -- no output xen-orchestra | [2024-09-24T17:41:21+0000] info : 'rpcbind' start action failed xen-orchestra | [2024-09-24T17:41:21+0000] error : 'rpcbind' process is not running xen-orchestra | [2024-09-24T17:41:21+0000] info : 'rpcbind' trying to restart xen-orchestra | [2024-09-24T17:41:21+0000] info : 'rpcbind' start: '/sbin/rpcbind' xen-orchestra | [2024-09-24T17:41:52+0000] error : 'rpcbind' failed to start (exit status 0) -- no output xen-orchestra | [2024-09-24T17:41:52+0000] info : '783b3d29d0ec' start action done xen-orchestra | [2024-09-24T17:41:52+0000] info : Awakened by User defined signal 1 xen-orchestra | [2024-09-24T17:41:52+0000] info : 'redis' start action done xen-orchestra | [2024-09-24T17:41:52+0000] error : 'rpcbind' process is not running xen-orchestra | [2024-09-24T17:41:52+0000] info : 'rpcbind' trying to restart xen-orchestra | [2024-09-24T17:41:52+0000] info : 'rpcbind' start: '/sbin/rpcbind' xen-orchestra | [2024-09-24T17:42:22+0000] error : 'rpcbind' failed to start (exit status 0) -- no output

The docker host is a VM under xcp-ng, with 4GB RAM and 1 CPU core. The journal logs on the host look like this:

Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: 5 callbacks suppressed Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private kernel: __vm_enough_memory: pid: 4181, comm: rpcbind, no enough memory for the allocation Sep 24 13:41:52 dhcp-guest-14.roadtech.private systemd[1]: Started Process Core Dump (PID 4183/UID 0). Sep 24 13:41:52 dhcp-guest-14.roadtech.private systemd-coredump[4184]: [🡕] Process 4182 (rpcbind) of user 101 dumped core.

                                                                   Stack trace of thread 185:
                                                                   #0  0x00007fe8a77e6d51 n/a (/lib/x86_64-linux-gnu/libc-2.31.so + 0x38d51)
                                                                   #1  0x0000000000000000 n/a (n/a + 0x0)
                                                                   #2  0x6f6e00646e696263 n/a (n/a + 0x0)
                                                                   ELF object binary architecture: AMD x86-64

I can't connect to the web UI - and even more odd, I've disabled all TLS stuff but the browser still tries to redirect to port 443 TLS, which isn't even listening!

Any ideas much appreciated!

Cheers.

alexcrow1974 commented 2 weeks ago

Adding a 3 more cores resolved this.