Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442512 - Stabilize sys-cluster/cman-3.1.5-r1 and co.
Summary: Stabilize sys-cluster/cman-3.1.5-r1 and co.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: STABLEREQ
: 442508 (view as bug list)
Depends on:
Blocks: 435076
  Show dependency tree
 
Reported: 2012-11-09 21:52 UTC by Pacho Ramos
Modified: 2013-01-18 08:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2012-11-09 21:52:37 UTC
Needed by newer lvm2:

sys-cluster/cman-3.1.5
sys-cluster/libccs-3.1.5
sys-cluster/libfence-3.1.5
sys-cluster/libdlm-3.1.5
sys-cluster/libcman-3.1.5
sys-cluster/liblogthread-3.1.5

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2012-11-09 21:52:49 UTC
*** Bug 442508 has been marked as a duplicate of this bug. ***
Comment 2 Pacho Ramos gentoo-dev 2012-11-17 19:44:21 UTC
sys-cluster/cman-3.1.5         amd64 hppa x86
sys-cluster/libccs-3.1.5       amd64 hppa x86
sys-cluster/libfence-3.1.5     amd64 hppa x86
sys-cluster/libdlm-3.1.5       amd64 hppa x86
sys-cluster/libcman-3.1.5      amd64 hppa x86
sys-cluster/liblogthread-3.1.5 amd64 hppa x86
Comment 3 Agostino Sarubbo gentoo-dev 2012-11-18 21:38:45 UTC
I receive this output when I'm trying to start the cman daemon:

amd64box tmp # /etc/init.d/cman start
 * Loading dlm kernel module ...
FATAL: Could not load /lib/modules/3.2.30-hardened/modules.dep: No such file or directory
 * Failed to load dlm kernel module                                                                                                                                           [ !! ]
 * Loading configfs kernel module ...
FATAL: Could not load /lib/modules/3.2.30-hardened/modules.dep: No such file or directory
 * Failed to load configfs kernel module                                                                                                                                      [ !! ]
 * Mounting ConfigFS ...
mount: il mount point /sys/kernel/config non esiste                                                                                                                           [ !! ]
 * Starting cman ...
 * Failed to start cman                                                                                                                                                       [ !! ]
 * Starting fenced ...                                                                                                                                                        [ ok ]
/usr/sbin/cman_tool: Cannot open connection to cman, is it running ?
 * Joining fence domain ...
Comment 4 Pacho Ramos gentoo-dev 2012-11-18 22:12:57 UTC
I have modules.dep file on my modules dirs:
/lib64/modules/3.6.6-gentoo/modules.dep

are you sure your case (missing file) is "normal"?
Comment 5 Agostino Sarubbo gentoo-dev 2012-11-19 09:37:35 UTC
(In reply to comment #4)
> I have modules.dep file on my modules dirs:
> /lib64/modules/3.6.6-gentoo/modules.dep
> 
> are you sure your case (missing file) is "normal"?

I don't have support for modules, so it should be handled before doing this?
Comment 6 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-11-27 16:57:28 UTC
(In reply to comment #3)

Same problem here.

# zgrep MODULES /proc/config.gz 
CONFIG_MODULES=y
# /etc/init.d/cman start
 * Caching service dependencies ...                                                                                                       [ ok ]
 * Loading dlm kernel module ...
FATAL: Module dlm not found.
 * Failed to load dlm kernel module                                                                                                       [ !! ]
 * Loading configfs kernel module ...
FATAL: Module configfs not found.
 * Failed to load configfs kernel module                                                                                                  [ !! ]
 * Mounting ConfigFS ...
mount: el punto de montaje /sys/kernel/config no existe                                                                                   [ !! ]
 * Starting cman ...
 * Failed to start cman                                                                                                                   [ !! ]
 * Starting fenced ...                                                                                                                    [ ok ]
/usr/sbin/cman_tool: Cannot open connection to cman, is it running ?
 * Joining fence domain ...

^C * cman: caught SIGINT, aborting
Comment 7 Agostino Sarubbo gentoo-dev 2012-12-02 14:52:26 UTC
CC back us when you provide a response
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-12-11 22:18:08 UTC
ago:
I have added sanity checks for DLM/configfs, so you don't get the error spew, and you just get the errors instead because your kernel doesn't have them.

Please move forward with stabilization.

cman-3.1.5-r1 has the updated init.d.
Comment 9 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-12-11 22:47:43 UTC
(In reply to comment #8)

quad ~ # zgrep CONFIGFS /proc/config.gz 
CONFIG_CONFIGFS_FS=y
quad ~ # zgrep DLM /proc/config.gz 
CONFIG_DLM=m
CONFIG_DLM_DEBUG=y
quad ~ # lsmod | grep dlm
dlm                   145251  0 
sctp                  187455  3 dlm
quad ~ # /etc/init.d/cman start
 * Starting cman ...
 * Failed to start cman                                                                                                                                                                          [ !! ]
 * Starting fenced ...                                                                                                                                                                           [ ok ]
/usr/sbin/cman_tool: Cannot open connection to cman, is it running ?
 * Joining fence domain ...
^C * cman: caught SIGINT, aborting
quad ~ # qlist -Iev cman
sys-cluster/cman-3.1.5-r1
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-12-12 00:09:15 UTC
Added more checks for bad cman
Comment 11 Vicente Olivert Riera (RETIRED) gentoo-dev 2012-12-12 09:21:23 UTC
(In reply to comment #10)
> Added more checks for bad cman

Same result: * Failed to start cman
Comment 12 Agostino Sarubbo gentoo-dev 2012-12-29 13:14:36 UTC
(In reply to comment #8)
> ago:
> I have added sanity checks for DLM/configfs, so you don't get the error
> spew, and you just get the errors instead because your kernel doesn't have
> them.
> 
> Please move forward with stabilization.
> 
> cman-3.1.5-r1 has the updated init.d.

Robin:

The service still fails to start but:

vbp ~ # /usr/sbin/cman_tool -t 120 -w join
I/O warning : failed to load external entity "/etc/cluster/cluster.conf"                                                                                                            
                                                                                                                                                                                    
Unable to get the configuration                                                                                                                                                     
/usr/sbin/cman_tool: Not joining, configuration is not valid


Launching manually the service we can see that missing cluster.conf file, so you need to add another check in the initscript and provide a valid cluster.conf.
Comment 13 Agostino Sarubbo gentoo-dev 2013-01-09 12:49:37 UTC
any news here?
Comment 14 Agostino Sarubbo gentoo-dev 2013-01-18 08:25:51 UTC
Reopen when we can do anything here