Bug 1482527 - [RFE] [ODL] Tool to monitor ODL cluster
Summary: [RFE] [ODL] Tool to monitor ODL cluster
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: opendaylight
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Upstream M2
: ---
Assignee: Tim Rozet
QA Contact: Toni Freger
URL:
Whiteboard:
Depends On: 1580518
Blocks: 1569858
TreeView+ depends on / blocked
 
Reported: 2017-08-17 13:19 UTC by Itzik Brown
Modified: 2019-03-06 16:17 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-06 16:16:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 562729 0 None ABANDONED Adds re-factored clustering monitoring tool 2020-02-04 16:10:42 UTC

Description Itzik Brown 2017-08-17 13:19:35 UTC
Description of problem:
Currently the only way to monitor the cluster status is to use a REST API call 

For example:
curl -u admin:admin http://10.0.0.2:8081/jolokia/read/org.opendaylight.controller:Category=Shards,name=member-1-shard-default-config,type=DistributedConfigDatastore | python -m json.tool 

The output is in the JSON format and includes information such as who's the leader etc.
(Replacing the IP and the member name for each node in the cluster)

We need a tool to ease the monitoring of the cluster (CLI or GUI based)


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Itzik Brown 2017-08-17 13:38:11 UTC
There is a tool used in u/s testing - https://github.com/opendaylight/integration-test/tree/master/tools/clustering/cluster-monitor

Comment 3 Daniel Farrell 2017-08-17 13:40:05 UTC
+1, I suggest using the Int/Test cluster-monitor tool.

https://git.opendaylight.org/gerrit/gitweb?p=integration/test.git;a=tree;f=tools/clustering/cluster-monitor

If after using it you find it needs enhancements we can address those upstream/in different bugs. I don't think this tool should be packaged. So is this done?

Comment 18 Stephen Kitt 2017-12-20 20:33:37 UTC
With the upstream patch queue ending in https://git.opendaylight.org/gerrit/66680 (most of which has been merged), the upstream monitor.py tool is now stable and usable. We still need to package it.

Comment 36 Tim Rozet 2018-04-19 20:42:38 UTC
Posted a patch to networking-odl that will be installed as an executable in default PATH on the overcloud nodes.  I took the liberty of rewriting most of it as it did not conform to pep8, and also had a bunch of issues with exception handling, as well as corrupting a user's terminal on exit.

I'm not sure if this will be backportable or not to queens.  If not we may need to re-target this BZ.

Comment 40 Tim Rozet 2018-05-23 16:22:57 UTC
PR submitted:
https://github.com/shague/odltools/pull/14

Comment 42 Franck Baudin 2019-03-06 16:16:37 UTC
As per depreciation notice [1], closing this bug. Please reopen if relevant for RHOSP13, as this is the only version shipping ODL.

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html-single/release_notes/index#deprecated_functionality

Comment 43 Franck Baudin 2019-03-06 16:17:46 UTC
As per depreciation notice [1], closing this bug. Please reopen if relevant for RHOSP13, as this is the only version shipping ODL.

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/14/html-single/release_notes/index#deprecated_functionality


Note You need to log in before you can comment on or make changes to this bug.