Oh. You got that error and want to know why?
Short answer: The heketi credentials you submitted does not match with the credential specified in heketi configuration file.
Long answer:
1) How did you deploy heketi ?
As a service using service file ? If yes, check the entries in `/etc/heketi/heketi.json` file for admin password.
or
As a pod running inside kubernetes/openshift ? then get the entries of `/etc/heketi/heketi.json` file by `describing` the pod and decode the same. Refer decode heketi.json or topology file
2) How are you creating your volume ?
using heketi-cli ? then use the password retrieved above.
using provisioner? then check your secret file for the key/password you submitted, it will be `base64` encoded value, decode the same and compare it with the password you retrieved from above.
The submitted password will be different compared to the password which heketi server is running, you need to match these passwords and you will be done!!
If not, please let me know…
Copyright secured by Digiprove © 2018-2020 Humble Chirammal