Bug 1276340

Summary: [heketi-cli] Inconsistency with the requirement for zone value
Product: 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   
Fixed In Version: heketi-1.0.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-01 00:48:57 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1260783    

Description Anush Shetty 2015-10-29 09:41:43 EDT
Description of problem: When the nodes are added through a topology file, zone value isn't mandatory but adding a node through cli expects a zone value. 

Version-Release number of selected component (if applicable): heketi-devel-1.0.0-1.el7rhgs.noarch

How reproducible: Always

Additional info:


# heketi-cli -user="admin" -secret="Top Secret" node add -cluster=fe5f47e19eaafb538baa429c734a647c -management-host-name=hostname

Error: Missing zone

But this worked:

#heketi-cli load -json=topology.json

cat topology.json
    "clusters": [
            "nodes": [
                    "node": {
                        "hostnames": {
                            "manage": [
                            "storage": [

                    "devices": [
Comment 2 Luis Pabón 2015-10-29 21:32:42 EDT
Github issue: https://github.com/heketi/heketi/issues/236
Comment 4 Anush Shetty 2015-11-09 01:50:52 EST
Verified with heketi-1.0.1-1.el7rhgs.x86_64
Comment 6 errata-xmlrpc 2016-03-01 00:48:57 EST
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.