Title
#help
t

Thomas Vander Wal

10/11/2022, 7:33 PM
Looks like updating policies is broken in
0.83.2
. When we go through the UI and chance a policy the backend is returning a
400 - Already exists
when trying to save
7:34 PM
My hunch was it was trying to post a new policy but looks like it’s using the expected put on
/auth/policies/{policyID}
n

Niro

10/11/2022, 7:47 PM
Hi @Thomas Vander Wal! Can you please describe the exact scenario which causes the error?
t

Thomas Vander Wal

10/11/2022, 7:50 PM
Of course! We have existing policies that give users access to specific repositories based on prefix. I went to add some additional actions but the save fails with that error after editing. I verified it in two separate environments running
0.83.2
n

Niro

10/11/2022, 7:51 PM
Do you see this failure only when updating the policy via UI?
t

Thomas Vander Wal

10/11/2022, 8:15 PM
I haven’t tried with postman directly yet, but I can do that later today
n

Niro

10/11/2022, 8:20 PM
That's fine, I'm looking into it and update in the following hour. Thanks!
8:42 PM
@Thomas Vander Wal I've verified there's indeed a bug in the underlying API. I've opened https://github.com/treeverse/lakeFS/issues/4354 to track and fix it and will release a fixed version in the following 24 hours. Thank you so much for bringing it to our attention!
5:49 PM
Hi @Thomas Vander Wal, Wanted to give you an update that lakeFS v0.83.3 was release with the required fix!https://lakefs.slack.com/archives/C017S6YFFSP/p1665596726271519 Let us know if there's anything else we can help with, and thanks again for reporting the issue! 🤘🏽
t

Thomas Vander Wal

10/13/2022, 2:49 AM
Thank you! Confirmed working on our environments now 🙂