Add a set of Fuel Tools for operators and developers

Registered by Dmitry Ilyin

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::ns_haproxy) Stop
                * monitor (20s) Success
                * stop Success
        > p_mysql (ocf::mirantis::mysql-wss) Start
                * monitor Success
                * monitor (60s) Success
        > p_openstack-heat-engine (ocf::mirantis::openstack-heat-engine) Start
                * monitor Success
                * monitor (20s) Success
        > p_rabbitmq-server (ocf::mirantis::rabbitmq-server) Start
                * monitor Success
                * promote Success
                * monitor (27s) Master Running
        > vip__management_old (ocf::mirantis::ns_IPaddr2) Stop
                * monitor Success
                * monitor (2s) Success
                * stop Success
        > vip__public_old (ocf::mirantis::ns_IPaddr2) Stop
                * 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:
milestone icon 6.1
Completed by
Dmitry Ilyin

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.