Red Hat Bugzilla – Bug 275821
qdiskd silently fails to register its node in cman
Last modified: 2009-04-16 18:30:12 EDT
Description of problem:
qdiskd fails to register its node with cman when qdisk device name is too long.
Version-Release number of selected component (if applicable):
100 % reproductible.
Steps to Reproduce:
Configure a qdisk device with a long name. This is very easy when using multipaths devices. For
The problem here is that once it has got a ready state, it tries to register itself as a node in cman in
order to add its voting scores to the cluster. To do so, it uses the device name as node name.
This hit a limitation in cman where MAX_CLUSTER_NAME_LEN is defined as 16.
qdiskd fails to register its node and its vote score in the cluster, but also do not report any error in the
different logs (even when starting qdiskd with "qdiskd -f -d"). It was very frustrating to found out what
was going on as qdiskd logic was good.
At a minimum, qdiskd should be patched in order to return an errors in the log when it fails to register
its node in cman.
Other approach are possible : define MAX_CLUSTER_NAME_LEN 32 in cman ? use a fixed name for the
node register by qdiskd ?
I think there's a bug against cman which has already been fixed for 5.1; Patrick
was working on it. The MAX_CLUSTER_NAME_LEN should have been CMAN_MAX_NODENAME_LEN
This is fixed in 5.1
*** This bug has been marked as a duplicate of 294351 ***