heketi vol info is not working: [root@dhcp42-41 ~]# heketi-cli volume info heketidbstorage Error: 404 page not found
(In reply to Anoop from comment #0) > heketi vol info is not working: > > [root@dhcp42-41 ~]# heketi-cli volume info heketidbstorage > Error: 404 page not found @Anoop, can you provide the volume ID of 'heketidbstorage' instead of 'name'. afaict, the 'info' commands in heketi works only with 'IDs'. That is causing this behaviour.
That is not the way it works, you must provide the volume id. Also, I do see a bug, where it should say, "Not Found" instead of 404 page not found. I will create a new bug for that.
New bug for error: BZ 1353257
Dupe it instead of closing it as "Not a bug"
*** This bug has been marked as a duplicate of bug 1353257 ***
This is the original bug (filed by QE),hence re-opening. 1353257 was filed pos that.
Same applicable for cluster/device/node #heketi-cli cluster info t Error: 404 page not found # heketi-cli device info t Error: 404 page not found #heketi-cli node info t Error: 404 page not found
*** Bug 1353257 has been marked as a duplicate of this bug. ***
Patch exists upstream by virtue of https://github.com/heketi/heketi/pull/548
(In reply to Luis Pabón from comment #3) > Also, I do see a bug, where it should say, "Not Found" instead of 404 page > not found. > This does not seems to be fixed properly in the latest build (heketi-client-3.0.0-2.el7rhgs.x86_64). See below: ###### # heketi-cli volume info heketidbstorage Error: 404 page not found # heketi-cli cluster info t Error: 404 page not found # heketi-cli device info t Error: 404 page not found # heketi-cli node info t Error: 404 page not found ###### Moving it back to Assigned.
Ashiq is looking into this bug. He will give an update soon.
Hi, PR fixing this issue is available upstream under review. The issue is unexpected as it passed all the test-case. https://github.com/heketi/heketi/pull/573 -- Ashiq
Ashiq and I debugged this. The required patch is missing downstream at https://code.engineering.redhat.com/gerrit/#/q/status:merged+project:heketi+branch:cns-3.4 branch. Have sent the patch at https://code.engineering.redhat.com/gerrit/90437
Verified as fixed in heketi-client-3.1.0-3.el7rhgs.x86_64 It's now returning the error message as "Error: Invalid path or request". ####### # heketi-cli volume info heketidbstorage Error: Invalid path or request # heketi-cli cluster info t Error: Invalid path or request # heketi-cli device info t Error: Invalid path or request # heketi-cli node info t Error: Invalid path or request #######
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