Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

DA114A -- Corosync has at least 2 rings configured #892

Open
pirat013 opened this issue Apr 1, 2022 · 1 comment
Open

DA114A -- Corosync has at least 2 rings configured #892

pirat013 opened this issue Apr 1, 2022 · 1 comment

Comments

@pirat013
Copy link
Contributor

pirat013 commented Apr 1, 2022

My corosync.conf is created from the example file what is shipped with the package. The check is reported green even if the runtime check is in warning.
Running the documented command from the check on my system shows this:
# cat /etc/corosync/corosync.conf | grep interface | wc -l 7
The issue here is the grep for the word interface. Since we are using udpu the interface section of corosync.conf doesn't need to be maintained. The important parts for a two ring configuration are:
rrp_mode: passive
transport: udpu
nodelist {
node {
...

All of that information are independent from the interface section.
https://github.com/corosync/corosync/blob/needle/man/corosync.conf.5#L77-L81

For UDPU transport, an
.B interface
section is not needed and it is recommended that the
.B nodelist
is used to define cluster nodes.

I would suggest to change to search string and check the nodelist section instead.

@fmherschel
Copy link

As discussed I like to help here with the scanner for the project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants