Add a set of Fuel Tools for operators and developers
Let's add several tools that would help developers and operators to debug the cluster by providing them with status information in a convenient form.
CRM_OPS
This tools takes Pacemaker status data, parses it and outputs as a report.
It's intended to make working with Pacemaker and finding problems easier.
* Display each service status on nodes
* Display last operations in lrm log and their result
* Display timings
* Other debugging modes
* Output as json and yaml
* Color coded statuses
* Filter by node or by resource
Example output:
=======
node-1.domain.tld
=======
> p_haproxy (ocf::mirantis:
* monitor (20s) Success
* stop Success
> p_mysql (ocf::mirantis:
* monitor Success
* monitor (60s) Success
> p_openstack-
* monitor Success
* monitor (20s) Success
> p_rabbitmq-server (ocf::mirantis:
* monitor Success
* promote Success
* monitor (27s) Master Running
> vip__management_old (ocf::mirantis:
* monitor Success
* monitor (2s) Success
* stop Success
> vip__public_old (ocf::mirantis:
* monitor Success
* monitor (2s) Success
* stop Success
CIB_CHECK
Uses same code base as crm_ops to implement a cib status checked for Haproxy. Returns HTTP codes to indicate is resource running on this node. These codes are used by Haproxy checker to divert connections to nodes that have working services.
* Using Haproxy status can be an alternative to implementing all this monitors as checker scripts for haproxy again.
* Supports any Pacemaker resource
* Works either as CGI script or as XINETD script
HAPROXY-STATUS
Console interface to view the status of Haproxy backends, frontends and services
* Works either by http or through the stats socket
* Filters by service, node,type
Example output:
* Stats UP (0:0)
* cinder-api UP (0:0)
node-1 UP L4OK (0:0) node-2 UP L4OK (0:0) node-3 UP L4OK (0:0)
* glance-api UP (0:0)
node-1 UP L4OK (0:0) node-2 UP L4OK (0:0) node-3 UP L4OK (0:0)
* glance-registry UP (0:0)
node-1 UP L4OK (0:0) node-2 UP L4OK (0:0) node-3 UP L4OK (0:0)
* heat-api UP (0:0)
node-1 UP L4OK (0:0) node-2 UP L4OK (0:0) node-3 UP L4OK (0:0)
GALERA-STATUS
Helper scripts that gets information about the status of Galera cluster and outputs the report.
Allows a user to see the complete picture of the cluster on the single page.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Dmitry Ilyin
- Direction:
- Needs approval
- Assignee:
- Dmitry Ilyin
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- 6.1
- Started by
- Completed by
- Dmitry Ilyin