check_corosync_rings results in check_cororings CRITICAL - No Rings Found on jammy

Bug #2011836 reported by Diko Parvanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack HA Cluster Charm
New
Undecided
Unassigned
charm-infra-node
Fix Released
Medium
Unassigned

Bug Description

Starting with jammy the corosync version (exhibited on 3.1.6-1ubuntu1) upgraded how corosync-cfgtool -s displays information about the rings, e.g.:

corosync 3.0.3-2ubuntu2.1
$ corosync-cfgtool -s
Printing link status.
Local node ID 1000
LINK ID 0
 addr = 10.10.12.10
 status = OK

corosync 3.1.6-1ubuntu1
$ /usr/sbin/corosync-cfgtool -s
Local node ID 1000, transport udpu
LINK ID 0
 addr = 10.140.48.13
 status:
  nodeid: 1000: localhost
  nodeid: 1001: connected
  nodeid: 1002: connected

The perl script fails to parse this new way and results in errors.

Tags: bseng-1014
Diko Parvanov (dparv)
summary: check_corosync_rings results in check_cororings CRITICAL - No
- Rings Found on
+ Rings Found on jammy
Eric Chen (eric-chen)
tags: added: bseng-1014
Revision history for this message
Andrea Ieri (aieri) wrote :

Added the charm-hacluster project as the same nrpe check exists in that repo.

After a cursory check it seems like there is no upstream for this nrpe plugin, so I'd suggest moving the plugin to a separate repo and importing it back as a submodule.

Andrea Ieri (aieri)
Changed in charm-infra-node:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
JamesLin (jneo8) wrote (last edit ):

The check_corosync_rings checks was removed if distrib codename > eoan in ha-cluster

See: https://bugs.launchpad.net/charm-hacluster/+bug/1902919

Revision history for this message
Andrea Ieri (aieri) wrote :

@jneo8 Focal already uses corosync 3.0 and since this charm is used on deployments that are always configured with transport=udpu I think we should simply remove the check (and mark the hacluster portion of this bug report as a duplicate)

Revision history for this message
Billy Olsen (billy-olsen) wrote :

We can't mark the hacluster portion of the bug as duplicate but we can remove it as an affected project or mark it as invalid.

Changed in charm-infra-node:
milestone: none → 23.04
status: Triaged → Fix Committed
assignee: nobody → Mert Kirpici (mertkirpici)
assignee: Mert Kirpici (mertkirpici) → nobody
Changed in charm-infra-node:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.