[ClusterLabs] Warning (SLES 12 SP4): ocf:heartbeat:CTDB does not work any more

Alex Crow alex at nanogherkin.com
Thu Apr 25 10:11:06 EDT 2019


On 25/04/2019 14:35, Ulrich Windl wrote:
> Hi!
>
> I managed to get my cluster up again after upgrading from SLES11 SP4 to SLES12 SP4, but my CTDB Samba won't start any more. The problem is:
> CTDB(prm_s02_ctdb)[30904]: ERROR: Failed to execute /usr/sbin/ctdbd.
> lrmd[27341]:   notice: prm_s02_ctdb_start_0:30857:stderr [ Invalid option --logfile=/var/log/ctdb/log.ctdb: unknown option ]
>
> That option comes from /usr/lib/ocf/resource.d/heartbeat/CTDB:
> : ${OCF_RESKEY_ctdb_logfile:=/var/log/ctdb/log.ctdb}
>
> log_option="--logging=file:$OCF_RESKEY_ctdb_logfile"
>
> So the RA and the binary don't match! The binary seems to lack a --logging option.
> ctdb-4.6.16+git.133.479a9537a28-3.35.4.x86_64
> resource-agents-4.1.9+git24.9b664917-3.3.3.x86_64
>
> Regards,
> Ulrich
>
>
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/

Ulrich,

There have been some IMHO silly changes in CTDB lately. My least 
favourite is changing the output of ctdb scriptstatus to fixed-width 
columns instead of machine-readable colon-separated data, but left a 
completely non-functional option to use a user-provided delimiter, thus 
completely breaking the nagios monitoring plugin. I complained, and 
simply said it was "as designed". I felt like replying, "so, stupidly 
designed then".

Cheers

Alex



More information about the Users mailing list