heketi-cli should at least display help, when invoked. Presently, you get nothing in the o/p, should give usage/help. [root@dhcp42-41 ~]# heketi-cli [root@dhcp42-41 ~]#
Yes, by default it can list the the commands and options, in short '--help' o/p.
Good catch: https://github.com/heketi/heketi/issues/415
PR : https://github.com/heketi/heketi/pull/410
Verified as Fixed. ######### # rpm -qa |grep heketi-client heketi-client-3.0.0-1.el7rhgs.x86_64 # heketi-cli Usage: heketi-cli [flags] heketi-cli [command] Examples: $ export HEKETI_CLI_SERVER=http://localhost:8080 $ heketi-cli volume list Available Commands: cluster Heketi cluster management device Heketi device management node Heketi Node Management setup-openshift-heketi-storage Setup OpenShift/Kubernetes persistent storage for Heketi topology Heketi Topology Management volume Heketi Volume Management Flags: -h, --help help for heketi-cli --json Print response as JSON --log-flush-frequency duration Maximum number of seconds between log flushes (default 5s) --secret string Secret key for specified user. Can also be set using the environment variable HEKETI_CLI_KEY -s, --server string Heketi server. Can also be set using the environment variable HEKETI_CLI_SERVER --user string Heketi user. Can also be set using the environment variable HEKETI_CLI_USER -v, --version Print version Use "heketi-cli [command] --help" for more information about a command. #########
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