Tuesday, 2025-03-25

*** mhen_ is now known as mhen02:30
opendevreviewArtem Goncharov proposed openstack/keystone master: Prevent MFA bypass  https://review.opendev.org/c/openstack/keystone/+/94542908:17
*** ykarel_ is now known as ykarel11:12
opendevreviewMerged openstack/keystone master: Remove leftovers for SQLAlchemy < 2  https://review.opendev.org/c/openstack/keystone/+/92938715:55
stephenfingtema: fyi https://github.com/gophercloud/gophercloud/issues/333717:17
gtemahow cool17:18
stephenfinbefore we file a keystone bug and work on a fix, that's not an expected change, right? I don't see anything in the release notes (and would expect this to be behind a microversion if so)17:18
gtemaI think I recently found those absolutely undocumented query parameters17:19
gtemahonestly I am not 100% sure how to deal with that. Technically Keystone would allow XXX_contains and some other query params, but that is not documented anywhere17:20
gtemaso is it a documentation bug, jsonschema introduced incpmpatibility or it is a user issue of using undocumented things17:21
stephenfinIMO, we need additionalProperties=True right now at a minimum17:21
stephenfingoing forward, we can either (a) document these in the schema/api-ref and tighten up comparator validation, or (b) decide we no longer want to support them and drop additionalProperties=True in a microversion17:22
gtemayeah, but we tried to prevent doing them since we were able to catch so many issues by restricting it17:22
gtemaKeystone does not support microversions17:22
stephenfinoh, then s/decide we no longer want to support them and drop additionalProperties=True in a microversion/or (b) decide we no longer want to support them and drop additionalProperties=True in a release/17:23
stephenfinat the moment we're kind of stuck in limbo though, as the clients are using these filters and keystone doesn't say it doesn't support them/no longer supports them, but it also doesn't say it does17:24
gtemahow is contains used at the moment? What uses it?17:26
stephenfindoes you mean how is it implemented, or what clients are using it?17:27
gtemawhich clients 17:28
stephenfinOh, in real life, I have no idea. Obviously Gophercloud is using it in tests which is how we spotted the issue17:28
gtemasince it is till now not documented I hope nobody uses it17:30
gtemaand so far we got no other reports, but maybe after release we will have some17:30
stephenfinOkay, if you're inclined to keep this, can we at least document it?17:33
stephenfinand it seems like keystone doesn't do real microversions, but they do "fake" ones? https://docs.openstack.org/api-ref/identity/v3/ Can we introduce 3.15?17:33
gtemathose are not microversions, this is simply the api version17:34
stephenfinokay, then can we bump the API version?17:34
stephenfin...to signal something has changed17:34
gtemaI said some lines above that keystone does not support MV at all17:34
gtemawe can bump it, but I would prefer if we could do this once we finish the jsonschema works17:35
stephenfinyeah, but I saw 3.14 and thought "that looks like a microversion but gtema said they don't support microversions so that must be a microversion-lookalike"17:35
stephenfin:)17:35
gtemacause we eventually will land other similar things17:35
stephenfinokay, then in that case can we set additionalProperties=True?17:36
stephenfinand remove it when we land the other similar things?17:36
gtematemporary - yes17:36
stephenfinokay, I'll send the patch17:36
gtemathks. The point is that it is a general thing that is applied to all apis, so the patch is also going to be big17:37
opendevreviewStephen Finucane proposed openstack/keystone master: api: Don't restrict unknown querystring parameters yet  https://review.opendev.org/c/openstack/keystone/+/94550418:11
opendevreviewStephen Finucane proposed openstack/keystone master: api: Correct query string schema for access rules API  https://review.opendev.org/c/openstack/keystone/+/94550518:11
stephenfingtema: ^ Just running unit tests locally to ensure I didn't break anything18:11
gtemathks18:12
stephenfinIt should go without saying, but I think that should be backported to stable/2025.1 :D I'll propose that pre-emptively shortly18:15
gtemaagreed18:16
opendevreviewStephen Finucane proposed openstack/keystone master: api: Don't restrict unknown querystring parameters yet  https://review.opendev.org/c/openstack/keystone/+/94550418:25
opendevreviewStephen Finucane proposed openstack/keystone master: api: Correct query string schema for access rules API  https://review.opendev.org/c/openstack/keystone/+/94550518:25
stephenfinWeird: I proposed backports but they didn't get logged here...18:33
gtemaweird, but np 18:34
stephenfinhttps://review.opendev.org/c/openstack/project-config/+/94551218:35

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!