hostmonitor can not monitor pacemaker_remote node via cibadmin query
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Rocky |
Won't Fix
|
Undecided
|
Unassigned | ||
Stein |
Fix Released
|
Undecided
|
Unassigned | ||
masakari-monitors |
Fix Released
|
Undecided
|
Liam Young | ||
masakari-monitors (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Disco |
Fix Released
|
High
|
James Page |
Bug Description
Currently Masakari host-monitor only grep the `crmd` status of real node via `cibadmin -Q` command.
In case of pacemaker_remote, the `crmd` attribute is not existed, so remote node always marked in `None` state.
Below is an example xml status of remote node:
<node_state remote_node="true" id="cpu1" uname="cpu1" crm-debug-
<
<
</node_state>
<node_state remote_node="true" id="cpu2" uname="cpu2" crm-debug-
And the log from masakari hostmonitor:
2017-10-30 14:15:44.679 1813 INFO masakarimonitor
Changed in masakari-monitors: | |
assignee: | nobody → takahara.kengo (takahara.kengo) |
Changed in masakari-monitors: | |
assignee: | takahara.kengo (takahara.kengo) → Hieu LE (hieulq) |
status: | New → In Progress |
Changed in masakari-monitors (Ubuntu Disco): | |
status: | New → Triaged |
status: | Triaged → New |
Changed in masakari-monitors (Ubuntu Disco): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → James Page (james-page) |
Changed in cloud-archive: | |
status: | New → Fix Committed |
Fix proposed to branch: master /review. openstack. org/647756
Review: https:/