Comment 9 for bug 1828228

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote : Re: corosync fails to start in container (armhf) bump some limits

## unprivileged x64:

root@corosync:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Eoan Ermine (development branch)
Release: 19.10
Codename: eoan
root@corosync:~# uname -a
Linux corosync 5.0.0-21-generic #22-Ubuntu SMP Tue Jul 2 13:27:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

root@corosync:~# corosync -f
Jul 21 04:20:38 notice [MAIN ] Corosync Cluster Engine 3.0.1 starting up
Jul 21 04:20:38 info [MAIN ] Corosync built-in features: dbus monitoring watchdog augeas systemd xmlconf snmp pierelro bindnow
Jul 21 04:20:38 warning [MAIN ] Could not set SCHED_RR at priority 99: Operation not permitted (1)
Jul 21 04:20:38 warning [MAIN ] Could not set priority -2147483648: Permission denied (13)
Jul 21 04:20:38 notice [TOTEM ] Initializing transport (Kronosnet).
Jul 21 04:20:38 crit [TOTEM ] knet_handle_new failed: Cannot allocate memory (12)
Jul 21 04:20:38 error [MAIN ] Can't initialize TOTEM layer
Jul 21 04:20:38 error [MAIN ] Corosync Cluster Engine exiting with status 15 at main.c:1529.

## unprivileged armhf

root@corosync:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Eoan Ermine (development branch)
Release: 19.10
Codename: eoan

root@corosync:~# uname -a
Linux corosync 5.0.0-21-generic #22-Ubuntu SMP Tue Jul 2 13:27:45 UTC 2019 armv8l armv8l armv8l GNU/Linux

root@corosync:~# corosync -f
Jul 21 04:21:35 notice [MAIN ] Corosync Cluster Engine 3.0.1 starting up
Jul 21 04:21:35 info [MAIN ] Corosync built-in features: dbus monitoring watchdog augeas systemd xmlconf snmp pierelro bindnow
Jul 21 04:21:35 warning [MAIN ] Could not set SCHED_RR at priority 99: Operation not permitted (1)
Jul 21 04:21:35 warning [MAIN ] Could not set priority -2147483648: Permission denied (13)
Jul 21 04:21:35 notice [TOTEM ] Initializing transport (Kronosnet).
Jul 21 04:21:35 crit [TOTEM ] knet_handle_new failed: Resource temporarily unavailable (11)
Jul 21 04:21:35 error [KNET ] handle: Unable to allocate memory for link to datafd buffer: Resource temporarily unavailable
Jul 21 04:21:35 error [MAIN ] Can't initialize TOTEM layer
Jul 21 04:21:35 error [MAIN ] Corosync Cluster Engine exiting with status 15 at main.c:1529.