Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: heketi device add fails with the following error # heketi-cli device add --name=/dev/sdg --node=93250f0fc54117eb73fb30aefe5f6e54 Error: Failed to get list of pods [negroni] Started POST /devices [heketi] INFO 2017/07/07 04:33:25 Adding device /dev/sdg to node 93250f0fc54117eb73fb30aefe5f6e54 [negroni] Completed 202 Accepted in 344.896022ms [asynchttp] INFO 2017/07/07 04:33:25 asynchttp.go:125: Started job 9cb56f03d04a56c7f09d8303fef30c22 [negroni] Started GET /queue/9cb56f03d04a56c7f09d8303fef30c22 [negroni] Completed 200 OK in 51.425µs [kubeexec] ERROR 2017/07/07 04:33:25 /src/github.com/heketi/heketi/executors/kubeexec/kubeexec.go:302: User "system:serviceaccount:storage-project:heketi-service-account" cannot list pods in project "OpenShift project or Kubernetes namespace" [kubeexec] ERROR 2017/07/07 04:33:25 /src/github.com/heketi/heketi/executors/kubeexec/kubeexec.go:303: Failed to get list of pods [asynchttp] INFO 2017/07/07 04:33:25 asynchttp.go:129: Completed job 9cb56f03d04a56c7f09d8303fef30c22 in 148.686243ms [negroni] Started GET /queue/9cb56f03d04a56c7f09d8303fef30c22 Version-Release number of selected component (if applicable): rhgs3/rhgs-volmanager-rhel7:3.3.0-5 heketi-client-5.0.0-4.el7rhgs.x86_64 How reproducible: Always Steps to Reproduce: 1. With the above mentioned version of cns, try to add device Actual results: device add fails Expected results: device add should succeed Additional info:
Well, all the heketi-cli command fails! #heketi-cli blockvolume create --size=10 Error: Failed to get list of pods
Issues looks like in the heketi image. Thanks karthick for all the support on testing this issues and finding the RC.
This issue is not seen anymore with heketi image rhgs-volmanager-docker-3.3.0-6 Moving the bug to verified.
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://access.redhat.com/errata/RHEA-2017:2879