Don't log exception for special non-existing methods
Bug #1857319 reported by
Oleg Bondarev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
Undecided
|
Oleg Bondarev |
Bug Description
Some systems may want to check openstack services readiness/liveness by sending some "health probe" RPC messages. However not all services do support such health probe methods in their RPC API.
So for example current implementation of probes in openstack-
While working OK, it fills logs of pods with errors.
The proposal is to check method name and not log errors in case name ends with 'ignore_errors'.
This small handler on oslo.messaging side will let avoid changes in multiple services.
Changed in oslo.messaging: | |
assignee: | nobody → Oleg Bondarev (obondarev) |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/700384
Review: https:/