Thursday, 2021-07-22

opendevreviewMerged openstack/glance master: db: Move 'schema' module up a level  https://review.opendev.org/c/openstack/glance/+/76040803:24
opendevreviewMerged openstack/glance master: Ignore stale image property removal  https://review.opendev.org/c/openstack/glance/+/78366803:42
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870007:11
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef resource-type and object  https://review.opendev.org/c/openstack/glance/+/79967107:11
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef property and tags APIs  https://review.opendev.org/c/openstack/glance/+/79991207:11
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870007:47
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef resource-type and object  https://review.opendev.org/c/openstack/glance/+/79967107:49
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef property and tags APIs  https://review.opendev.org/c/openstack/glance/+/79991207:49
opendevreviewMerged openstack/glance master: db: Replace sqlalchemy-migrate call with alembic equivalent  https://review.opendev.org/c/openstack/glance/+/76053107:57
*** bhagyashris_ is now known as bhagyashris08:05
opendevreviewMerged openstack/glance master: db: Stop checking for DB under sqlalchemy-migrate control  https://review.opendev.org/c/openstack/glance/+/76040908:08
opendevreviewMerged openstack/glance master: db: Remove old sqlalchemy-migrate migrations  https://review.opendev.org/c/openstack/glance/+/76041008:18
opendevreviewAbhishek Kekane proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870008:43
opendevreviewAbhishek Kekane proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870008:47
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef resource-type and object  https://review.opendev.org/c/openstack/glance/+/79967108:56
stephenfinabhishekk++ croelandt++ Thanks for the reviews!09:07
abhishekkstephenfin, np, thank you for the patience :D09:07
*** bhagyashris_ is now known as bhagyashris09:35
opendevreviewAbhishek Kekane proposed openstack/glance master: DB layer suppress Forbidden to NotFound error  https://review.opendev.org/c/openstack/glance/+/80137309:46
opendevreviewAbhishek Kekane proposed openstack/glance master: Add base policy check module  https://review.opendev.org/c/openstack/glance/+/80112909:46
opendevreviewAbhishek Kekane proposed openstack/glance master: Refactor gateway auth layer for metadef APIs  https://review.opendev.org/c/openstack/glance/+/79963209:46
opendevreviewAbhishek Kekane proposed openstack/glance master: Move metadef namepsace policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963309:46
opendevreviewAbhishek Kekane proposed openstack/glance master: Move metadef object policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963409:46
opendevreviewAbhishek Kekane proposed openstack/glance master: Move metadef resource type association policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963709:46
*** mabrams is now known as mabrams|afk11:42
*** mabrams|afk is now known as mabrams11:43
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef namespaces  https://review.opendev.org/c/openstack/glance/+/79870013:06
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef resource-type and object  https://review.opendev.org/c/openstack/glance/+/79967113:06
opendevreviewPranali Deore proposed openstack/glance master: Implement project personas for metadef property and tags APIs  https://review.opendev.org/c/openstack/glance/+/79991213:07
abhishekkjokke_, croelandt, dansmith, smcginnis glance weekly meeting in 4 minutes at #openstack-meeting13:56
dansmithcroelandt: if you could hit the bottom two patches here, it'd help: https://review.opendev.org/c/openstack/glance/+/801373/314:10
dansmithso I can rebase on abhishekk's work14:10
abhishekkjokke_, smcginnis, croelandt we wrapped up today's meeting early as nothing much there to discuss, if you have any questions then we can discuss here14:12
abhishekkdansmith, just FYI I have managed to finish work for namespace, objects and resource types, now working on properties and next tags. Hopefully tomorrow or on Monday I will start on tasks APIs14:29
dansmithcool, I guess I'll keep working up the stack of image patches14:30
abhishekksounds good14:30
dansmithabhishekk: can you throw your +2 on the 403->404 one and maybe I can get croelandt to hit that one too to drop a patch out of my stack?14:31
dansmithhttps://review.opendev.org/c/openstack/glance/+/799699/614:31
dansmithhe had a question, which you answered, but never circled back14:31
abhishekklooking14:32
abhishekkDone14:33
dansmiththanks14:33
abhishekkjust to update everyone, rosmaita is on vacation this week15:25
opendevreviewAbhishek Kekane proposed openstack/glance master: Add base policy check module  https://review.opendev.org/c/openstack/glance/+/80112915:38
* abhishekk going for dinner15:38
opendevreviewMerged openstack/glance master: DB layer suppress Forbidden to NotFound error  https://review.opendev.org/c/openstack/glance/+/80137316:15
opendevreviewMerged openstack/glance master: trivial: Remove references to sqlalchemy-migrate  https://review.opendev.org/c/openstack/glance/+/76041116:16
opendevreviewMerged openstack/glance master: db: Remove "support" for configurable migration backends  https://review.opendev.org/c/openstack/glance/+/76042116:16
abhishekkdansmith, replied to your comment on PolicyBase patch16:51
dansmithabhishekk: yeah replying16:51
abhishekkack16:52
dansmiththere's one other crufty thing in there I noticed while looking closer16:55
abhishekklooking16:55
dansmithIt seems to me that having Forbidden->HTTPForbidden in 20 places is less good than doing it in the single place we hit it now, so I was expecting to DRY that up, but if you want to just keep it the way it is, then I shan't argue16:56
abhishekkack16:57
abhishekkwill revert it16:57
abhishekkdo you know any shortcuts for rebasing :P16:57
dansmithshortcut for doing what exactly?16:57
abhishekknah, just kidding16:58
abhishekkI need to rebase this change to all other commits 16:58
dansmithyou're using "git rebase -i" right?16:59
abhishekkyes16:59
abhishekkdansmith, one question though17:11
abhishekkwhat about the forbidden we raising from db layer ?17:11
dansmithmany of those can go away right?17:12
dansmithwe'll still have some I'm sure, but I would think most of the current ones would be generated in the api layer going forward, especially when the secure rbac stuff is implemented,17:13
dansmithas it should allow multiple things that the DB layer wouldn't right/17:13
abhishekkhmm17:13
dansmithno?17:14
abhishekkyes17:14
dansmithI don't mean to make a huge deal out of this, so if you're prefer to just remove the translation from the new policy thing and deal with it later, we can just do that17:15
abhishekkbut at the moment If I caught and translate it from policy module and remove those from controllers then how to handle exception raised from db layer ?17:15
dansmiththat's why I didn't remove it from the controllers yet :)17:16
abhishekkhmm, ack I need to fix my tests differently then 17:16
abhishekkwill check and let you know shortly17:17
dansmithrgr17:18
abhishekkdansmith, any suggestion for this failure, https://paste.opendev.org/show/807660/ ?17:47
dansmithum17:49
dansmiththat second exception is you raising the HTTPForbidden right?17:49
abhishekkyes17:51
abhishekksecond means from controller, right ?17:51
dansmithyeah, raising the HTTP error there should not trigger the InternalError case17:52
dansmithI'm a bit lost where these things have been changed.. which patch should I look at to see this test?17:52
dansmithI thought it was the "namespace policy" one but I don't see that test being modified there17:53
abhishekkhttps://review.opendev.org/c/openstack/glance/+/799633/917:53
dansmithohhh17:53
dansmiththat API case catches *any* other exception and translates it to internalerror!17:54
dansmitheven if you raise a webob.Exception class17:54
dansmithhttps://review.opendev.org/c/openstack/glance/+/799633/9/glance/api/v2/metadef_namespaces.py L22517:54
dansmithcripes17:55
abhishekk:P17:55
dansmithwell, in that case, adding HTTPForbidden to the Forbidden handler for now would get you past it17:55
dansmithor17:55
dansmithjust remove that "except exception" as I think the wsgi layer will do that itself, right?17:56
abhishekkyes, later sounds good17:56
dansmithyeah, we shouldn't need to be doing that everywhere.. that's silly17:56
abhishekk:D17:56
abhishekkthank you17:56
opendevreviewAbhishek Kekane proposed openstack/glance master: Add base policy check module  https://review.opendev.org/c/openstack/glance/+/80112918:13
opendevreviewAbhishek Kekane proposed openstack/glance master: Refactor gateway auth layer for metadef APIs  https://review.opendev.org/c/openstack/glance/+/79963218:13
opendevreviewAbhishek Kekane proposed openstack/glance master: Move metadef namepsace policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963318:13
opendevreviewAbhishek Kekane proposed openstack/glance master: Move metadef namepsace policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963318:20
opendevreviewAbhishek Kekane proposed openstack/glance master: Move metadef object policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963418:28
opendevreviewAbhishek Kekane proposed openstack/glance master: Move metadef resource type association policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963718:40
* abhishekk signing out for the day19:22

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