"Pacemaker is ready" spams logs

Bug #1889482 reported by Felipe Reyes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack HA Cluster Charm
Fix Released
Wishlist
Stephan Pampel

Bug Description

hacluster charm prints "Pacemaker is ready" on every execution of "update-status" hook which leads to an excessive amount of them in the log files.

$ grep "Pacemaker is ready" unit-hacluster-mysql-1.log | wc -l
15378
$ wc -l unit-hacluster-mysql-1.log
16285 unit-hacluster-mysql-1.log

The message is printed at debug level, probably should be moved to TRACE level instead.

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Thanks for reporting! I've just deployed a system with Juju 2.8 and this doesn't happen to me. In general, DEBUG traces don't show up in my logs. I suspect your Juju is configured to print DEBUG traces?

Setting to 'Incomplete'. Feel free to set back to 'New' with more infos, thanks!

Changed in charm-hacluster:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack hacluster charm because there has been no activity for 60 days.]

Changed in charm-hacluster:
status: Incomplete → Expired
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

It's valid to ask for the message to be at trace level; I'll switch this to wishlist and this would make a great first/easy contribution to the charm.

Changed in charm-hacluster:
importance: Undecided → Wishlist
status: Expired → Triaged
tags: added: onboarding
tags: added: good-first-bug
removed: onboarding
Changed in charm-hacluster:
status: Triaged → In Progress
Changed in charm-hacluster:
assignee: nobody → Stephan Pampel (stephanpampel)
Changed in charm-hacluster:
milestone: none → 21.10
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-hacluster (master)

Reviewed: https://review.opendev.org/c/openstack/charm-hacluster/+/805369
Committed: https://opendev.org/openstack/charm-hacluster/commit/e2249d05e1aa57a27415f4966221dc62b3b2b61e
Submitter: "Zuul (22348)"
Branch: master

commit e2249d05e1aa57a27415f4966221dc62b3b2b61e
Author: Stephan Pampel <email address hidden>
Date: Fri Aug 20 14:24:11 2021 +0200

    Set loglevel of "Pacemaker is ready" to TRACE

    Closes-Bug: #1889482
    Change-Id: Ie97d09f5bd319a4adf93abd44fc465c77fd20620

Changed in charm-hacluster:
status: In Progress → Fix Committed
Changed in charm-hacluster:
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.