trento
trento copied to clipboard
DA114A -- Corosync has at least 2 rings configured
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.
As discussed I like to help here with the scanner for the project.