Bug 1351893 - [RFE] Add "node list" option in heketi-cli
Summary: [RFE] Add "node list" option in heketi-cli
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: cns-3.4
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: CNS 3.4
Assignee: Raghavendra Talur
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks: 1385245
TreeView+ depends on / blocked
 
Reported: 2016-07-01 07:13 UTC by Neha
Modified: 2018-11-19 10:04 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
This version of heketi adds a new cli command called 'node list' which lists all the nodes in the clusters managed by Heketi. For ex: # heketi-cli -v heketi-cli 3.1.0 ####### # heketi-cli node list Id:7eeb9e50106439ae8f17dc88a7bce70c Cluster:c965921e9fa07098a98771a672f46a9c Id:9b5c6039643c0fa0052dc882731b7fb0 Cluster:c965921e9fa07098a98771a672f46a9c Id:fe696ad955c7c3e7e76128361498d463 Cluster:c965921e9fa07098a98771a672f46a9c Id:03e46278dc76a1e0125bd5274f1fb0ae Cluster:ff0688359f015e235c55c58caae02422 Id:2da3414f522c2ef1b1a5dc1913acbda0 Cluster:ff0688359f015e235c55c58caae02422 Id:57051936a3dbcc19b44910f80f9223dc Cluster:ff0688359f015e235c55c58caae02422
Clone Of:
Environment:
Last Closed: 2017-01-18 21:56:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/heketi heketi issues 405 0 None None None 2016-10-01 00:43:46 UTC
Red Hat Product Errata RHEA-2017:0148 0 normal SHIPPED_LIVE heketi bug fix and enhancement update 2017-01-19 02:53:24 UTC

Description Neha 2016-07-01 07:13:17 UTC
currently heketi has option to list cluster and volumes

there should be option to list nodes as well.

upstream issue: https://github.com/heketi/heketi/issues/405

Comment 2 Humble Chirammal 2016-07-04 10:58:14 UTC
@neha, are you saying 'node list' should list nodes in all the clusters ? Because node is attached to a cluster. So, if we do #cluster list, it list the nodes in the cluster. If this bz request is to list all the nodes in all the clusters that is what we have covered with 'topology info'. Luis can share his thoughts though.

Comment 4 Michael Adam 2016-10-01 00:31:49 UTC
This was fixed upstream in https://github.com/heketi/heketi/pull/514

Comment 12 Prasanth 2016-11-30 10:39:07 UTC
node list option is now available in heketi-cli:

# heketi-cli -v
heketi-cli 3.1.0

#######
# heketi-cli node list
Id:7eeb9e50106439ae8f17dc88a7bce70c     Cluster:c965921e9fa07098a98771a672f46a9c
Id:9b5c6039643c0fa0052dc882731b7fb0     Cluster:c965921e9fa07098a98771a672f46a9c
Id:fe696ad955c7c3e7e76128361498d463     Cluster:c965921e9fa07098a98771a672f46a9c
Id:03e46278dc76a1e0125bd5274f1fb0ae     Cluster:ff0688359f015e235c55c58caae02422
Id:2da3414f522c2ef1b1a5dc1913acbda0     Cluster:ff0688359f015e235c55c58caae02422
Id:57051936a3dbcc19b44910f80f9223dc     Cluster:ff0688359f015e235c55c58caae02422
#######

Verified.

Comment 14 errata-xmlrpc 2017-01-18 21:56:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2017-0148.html


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