Bug 1276330

Summary: [heketi-cli] Incorrect error message when storage-host-name is missing while adding a node
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Anush Shetty <ashetty>
Component: heketiAssignee: Luis Pabón <lpabon>
Status: CLOSED ERRATA QA Contact: Anush Shetty <ashetty>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: asrivast, madam, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: heketi-1.0.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-01 05:48:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1260783    

Description Anush Shetty 2015-10-29 13:30:48 UTC
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:

Comment 2 Luis Pabón 2015-10-30 01:30:03 UTC
Github issue: https://github.com/heketi/heketi/issues/235

Comment 4 Anush Shetty 2015-12-01 13:01:42 UTC
Verified with heketi-1.0.1-1.el7rhgs.x86_64

Comment 6 errata-xmlrpc 2016-03-01 05:48:42 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/RHBA-2016-0193.html