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: CLI: # 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": [ "rhshdp04.lab.eng.blr.redhat.com" ], "storage": [ "rhshdp04.lab.eng.blr.redhat.com" ] } }, "devices": [ "/dev/vdb", "/dev/vdc", "/dev/vdd" ] } ] } ] }
Github issue: https://github.com/heketi/heketi/issues/236
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