Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

401 with latest heketi:dev image #637

Open
StodaraHodan opened this issue Jan 29, 2020 · 1 comment
Open

401 with latest heketi:dev image #637

StodaraHodan opened this issue Jan 29, 2020 · 1 comment

Comments

@StodaraHodan
Copy link

With the latest heketi:dev images i get an 401 from the api.

Log of heketi pod:

[negroni] 2020-01-29T15:23:46Z | 401 | 88.364µs | 10.110.48.193:8080 | POST /volumes

I tried this heketi/heketi#1664 but this would only fix heketi-cli access.
Downgrade also did not work because database is not compatible anymore.

I tried enabling auth in heketi.json, also didn't work.

tried redeploying heketi with new database but couldn't use volumes as there are already volumes on there.

Any idea on how to get it to work in an kubernetes deployment?

@phlogistonjohn
Copy link
Contributor

Newer versions of heketi always require authentication unless you add a command line option to the heketi command at start up. Make sure auth is set up correctly in your configuration and that your clients are passing their auth tokens to the server as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants