jmsperu commented on PR #13218:
URL: https://github.com/apache/cloudstack/pull/13218#issuecomment-7112278307
Tested on 4.22.1.1. To compile on the 4.22 tag I had to reduce the two new
Item constructors to the single argument form, since Item(name, help, type)
only exists on main; nothing else changed.
- With prometheus.exporter.enable=true, /metrics shows
cloudstack_virtualrouter_healthcheck_result and
cloudstack_virtualrouter_healthcheck_lastcheck for all 15 checks of every
router, with labels checkname, checktype, zone and virtualrouter. Checked for
an isolated network router and a VPC router.
- Failure case: stopped and masked dnsmasq on a router and called
getRouterHealthCheckResults with performfreshchecks=true. The API returned
dhcp.service success=false and the exporter showed
cloudstack_virtualrouter_healthcheck_result{checkname="dhcp.service",...} 0,
still 0 after 200 s; back to normal after restoring the service.
- Observation, not caused by the PR: with dnsmasq stopped, the advanced
checks dhcp_check.py and dns_check.py still report success, and if dnsmasq is
only stopped (not masked) it is restarted quickly, so a short outage is never
seen in the metric.
LGTM from a functional test.
---
# Part 2: our own fixes (branches ready locally, nothing pushed)
All four are committed on top of upstream main (caf1091aae7) and compile
there. Lab tests were done with the same change on tag 4.22.1.1.
| Branch (local) | For | Lab result |
|---|---|---|
| main-fix-9779 | issue #9779 | Works |
| main-fix-6718 | issue #6718 | Config check pending |
| main-fix-nic-deviceid | new bug found while testing #14640 | See below |
| main-fix-5739 | issue #5739 (prototype, ask maintainers first) | Unit
tests pass, lab test queued |
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]