[Samba] Does CTDB run under LXC containers?
psteele at peaxy.net
Tue Aug 4 17:11:56 UTC 2015
We're transitioning from a VM based environment to one that uses LXC
based containers running under CentOS 7. CTDB runs fine under our CentOS
7 VMs. The same packages running under LXC however seem to have issues:
# systemctl start ctdb.service
Job for ctdb.service failed. See 'systemctl status ctdb.service' and
'journalctl -xn' for details.
# systemctl status ctdb.service
ctdb.service - CTDB
Loaded: loaded (/usr/lib/systemd/system/ctdb.service; disabled)
Active: failed (Result: exit-code) since Tue 2015-08-04 10:09:06
PDT; 5s ago
Process: 9023 ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid
start (code=exited, status=1/FAILURE)
Aug 04 10:09:04 pws-01 ctdbd: CTDB starting on node
Aug 04 10:09:04 pws-01 ctdbd: Starting CTDBD (Version 2.5.4) as
Aug 04 10:09:04 pws-01 ctdbd: Created PID file /run/ctdb/ctdbd.pid
Aug 04 10:09:04 pws-01 ctdbd: Unable to set scheduler to
SCHED_FIFO (Operation not permitted)
Aug 04 10:09:04 pws-01 ctdbd: CTDB daemon shutting down
Aug 04 10:09:06 pws-01 ctdbd_wrapper: CTDB exited during
initialisation - check logs.
Aug 04 10:09:06 pws-01 systemd: ctdb.service: control process exited,
Aug 04 10:09:06 pws-01 systemd: Failed to start CTDB.
Aug 04 10:09:06 pws-01 systemd: Unit ctdb.service entered failed state.
I haven't dug too deeply into this, but I was wondering if anyone has
any experience with running CTDB inside an LXC container? I have a
suspicion that this is the culprit.
More information about the samba