Description of problem: heketi-cli exits with an incorrect error message when the value storage-host-name is missing while adding a node. Version-Release number of selected component (if applicable): heketi-1.0.0-1.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1. heketi-cli -user="admin" -secret="Top Secret" node add -cluster=fe5f47e19eaafb538baa429c734a647c -zone=2 -management-host-name=hostname 2. 3. Actual results: Error: Missing management hostname Expected results: Should error saying that the storage hostname is missing. Additional info:
Github issue: https://github.com/heketi/heketi/issues/235
Verified with heketi-1.0.1-1.el7rhgs.x86_64
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/RHBA-2016-0193.html