Friday, 2021-07-16

*** bhagyashris_ is now known as bhagyashris|ruck08:24
abhishekkAs there are no objections about, https://review.opendev.org/c/openstack/glance-specs/+/800688 (Removing sqlalchemy migrate support) I am approving the spec13:36
opendevreviewDan Smith proposed openstack/glance master: Make our functional tests compatible with RBAC  https://review.opendev.org/c/openstack/glance/+/80082213:57
opendevreviewDan Smith proposed openstack/glance master: Make property protection tests use member role  https://review.opendev.org/c/openstack/glance/+/78991413:57
opendevreviewDan Smith proposed openstack/glance master: Move lazy store update to locations layer  https://review.opendev.org/c/openstack/glance/+/79772213:57
opendevreviewDan Smith proposed openstack/glance master: Remove dead 403->404 code  https://review.opendev.org/c/openstack/glance/+/79969913:57
opendevreviewDan Smith proposed openstack/glance master: Refactor gateway get_repo auth layer  https://review.opendev.org/c/openstack/glance/+/78991313:57
opendevreviewDan Smith proposed openstack/glance master: POC: Make image update check policy at API layer  https://review.opendev.org/c/openstack/glance/+/78991513:57
opendevreviewDan Smith proposed openstack/glance master: POC: Add a member field to Image when appropriate  https://review.opendev.org/c/openstack/glance/+/79606613:57
opendevreviewDan Smith proposed openstack/glance master: POC: Check get_image(s) in the API  https://review.opendev.org/c/openstack/glance/+/79606713:57
opendevreviewDan Smith proposed openstack/glance master: POC: Check delete_image policy in the API  https://review.opendev.org/c/openstack/glance/+/79807313:57
opendevreviewDan Smith proposed openstack/glance master: POC: Check deactivate, reactivate policy in the API  https://review.opendev.org/c/openstack/glance/+/79826613:57
opendevreviewDan Smith proposed openstack/glance master: POC Refactor gateway auth layer for metadef APIs  https://review.opendev.org/c/openstack/glance/+/79963213:57
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef namepsace policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963313:57
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef object policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963413:57
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef property policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963513:57
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef tag policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963613:57
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef resource type association policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963713:57
dansmithcroelandt: can you hit this? https://review.opendev.org/c/openstack/glance/+/800822/213:57
abhishekkdansmith, if you can have a look at metadef related changes, then I can move to tasks API if there is no modification required in metadef13:58
dansmithcroelandt: the bottom four patches in that stack are prep work and should be ready to go, so we can reduce the size of that stack13:58
dansmithabhishekk: okay13:58
abhishekkthanks13:58
dansmithabhishekk: policy burn down sheet looks awesome btw13:59
abhishekkthank you 13:59
croelandtlet me look13:59
dansmithabhishekk: if you think we're good to go now that the spec has merged I can try to work on fleshing out tests in the update patch and we can actually start merging some things13:59
abhishekk++14:00
abhishekkthis is a go now, no turning back :D14:00
dansmithheh okay14:01
opendevreviewMerged openstack/glance-specs master: Add remove-sqlalchemy-migrate  https://review.opendev.org/c/openstack/glance-specs/+/80068814:01
croelandtwhy is there a "FIXME(danms)" in a patch written by abhishekk 14:14
dansmithcroelandt: because he copied it from one of my patches I guess14:14
abhishekkyeah14:14
dansmithabhishekk: some questions on the first metadef patch for you14:16
abhishekkdansmith, ack, looking14:17
abhishekkwill reply shortly14:18
opendevreviewPranali Deore proposed openstack/glance master: Add functional tests for metadef resource types  https://review.opendev.org/c/openstack/glance/+/80107414:52
opendevreviewPranali Deore proposed openstack/glance master: Add functional tests for metadef resource types  https://review.opendev.org/c/openstack/glance/+/80107415:08
abhishekkdansmith, around?15:16
dansmith...yep :)15:16
abhishekkSo the current policy changes for metadef are just migration of existing policy checks to API15:17
abhishekkI think you are reviewing with prospect of RBAC as well15:18
abhishekkearlier the enforcement was not passing any resource to for visibility check15:18
dansmithyeah, you're right15:19
dansmithI'm not just reviewing this for rbac, but rather for "how it should have been from the beginning" but agree15:19
abhishekkRight, so I can make changes as per your suggestion to make it right15:19
abhishekkI was confused, how I missed these things :D then I remember 15:20
dansmithyeah, well, it's worth thinking about how it should be, even if we don't do that now (or ever)15:21
abhishekkYeah, I think I need to add lots of comments to explain why I am doing this to avoid confusion of other reviewers15:22
abhishekkWill make changes accordingly to metadefs and then move to tasks API15:22
dansmithyup, sounds good15:22
abhishekkcool15:22
abhishekkRemoving 404 exposed another issue :D15:24
dansmithyeah, just looking at that15:24
dansmithoh, I wonder if this is in db simple15:25
dansmithyeah15:25
dansmithsimple db api doesn't pass the image id15:26
abhishekkhmm15:26
* abhishekk dinner break15:28
opendevreviewDan Smith proposed openstack/glance master: Remove dead 403->404 code  https://review.opendev.org/c/openstack/glance/+/79969915:30
opendevreviewDan Smith proposed openstack/glance master: Refactor gateway get_repo auth layer  https://review.opendev.org/c/openstack/glance/+/78991315:30
opendevreviewDan Smith proposed openstack/glance master: POC: Make image update check policy at API layer  https://review.opendev.org/c/openstack/glance/+/78991515:30
opendevreviewDan Smith proposed openstack/glance master: POC: Add a member field to Image when appropriate  https://review.opendev.org/c/openstack/glance/+/79606615:30
opendevreviewDan Smith proposed openstack/glance master: POC: Check get_image(s) in the API  https://review.opendev.org/c/openstack/glance/+/79606715:31
opendevreviewDan Smith proposed openstack/glance master: POC: Check delete_image policy in the API  https://review.opendev.org/c/openstack/glance/+/79807315:31
opendevreviewDan Smith proposed openstack/glance master: POC: Check deactivate, reactivate policy in the API  https://review.opendev.org/c/openstack/glance/+/79826615:31
opendevreviewDan Smith proposed openstack/glance master: POC Refactor gateway auth layer for metadef APIs  https://review.opendev.org/c/openstack/glance/+/79963215:31
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef namepsace policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963315:31
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef object policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963415:31
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef property policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963515:31
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef tag policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963615:31
opendevreviewDan Smith proposed openstack/glance master: POC: Move metadef resource type association policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963715:31
opendevreviewMerged openstack/glance master: Make our functional tests compatible with RBAC  https://review.opendev.org/c/openstack/glance/+/80082216:18
opendevreviewMerged openstack/glance master: Make property protection tests use member role  https://review.opendev.org/c/openstack/glance/+/78991416:18
abhishekkdansmith, I guess I should remove dependencies of metadef patches on yours to make them short, I don't think it needed lazy loading, 404 > 403 etc (Other than just your glance/api/v2/policy.py file)16:57
dansmithyou need the authorization layer change patch though right?16:58
abhishekkno, it just adds one flag to decide whether to include it or not16:59
dansmithyou don't need this? https://review.opendev.org/c/openstack/glance/+/789913/1317:00
dansmithohh,17:00
dansmithyour repo is different, not ImageRepo17:00
abhishekkyes17:00
dansmithright, right, makes sense then17:00
abhishekkJust we need to figure out how to avoid conflicts in glance/api/v2/policy.py17:01
dansmithI'm working on new tests for modify_image, which I think will be a good base for further things,17:01
abhishekkcool17:01
dansmithbut it will be a little bit before I have something up17:01
abhishekkack, I guess by Monday EOD I will have metadefs in good shape17:02
dansmithcool17:02
abhishekkok, over and out!!17:02
dansmithokay I'll delete your metadef patches from my stack when I push up (i.e. orphan them)17:03
dansmithcool, enjoy the weekend17:03
abhishekksounds good, same to you o/~17:03
dansmitho/17:03
abhishekkjust before signing out if you have a look this patch then it will avoid conflicts with mine17:04
abhishekkhttps://review.opendev.org/c/openstack/glance/+/80107417:04
dansmithokay in the queue but haven't looked yet17:06
abhishekkack17:07
opendevreviewDan Smith proposed openstack/glance master: Make image update check policy at API layer  https://review.opendev.org/c/openstack/glance/+/78991517:50
opendevreviewDan Smith proposed openstack/glance master: POC: Add a member field to Image when appropriate  https://review.opendev.org/c/openstack/glance/+/79606617:50
opendevreviewDan Smith proposed openstack/glance master: POC: Check get_image(s) in the API  https://review.opendev.org/c/openstack/glance/+/79606717:50
opendevreviewDan Smith proposed openstack/glance master: POC: Check delete_image policy in the API  https://review.opendev.org/c/openstack/glance/+/79807317:50
opendevreviewDan Smith proposed openstack/glance master: POC: Check deactivate, reactivate policy in the API  https://review.opendev.org/c/openstack/glance/+/79826617:50
opendevreviewDan Smith proposed openstack/glance master: Add api_patch() to SynchronousAPIBase  https://review.opendev.org/c/openstack/glance/+/80111917:50
opendevreviewDan Smith proposed openstack/glance master: Add api_patch() to SynchronousAPIBase  https://review.opendev.org/c/openstack/glance/+/80111918:29
opendevreviewDan Smith proposed openstack/glance master: Make image update check policy at API layer  https://review.opendev.org/c/openstack/glance/+/78991518:29
opendevreviewDan Smith proposed openstack/glance master: POC: Add a member field to Image when appropriate  https://review.opendev.org/c/openstack/glance/+/79606618:30
opendevreviewDan Smith proposed openstack/glance master: POC: Check get_image(s) in the API  https://review.opendev.org/c/openstack/glance/+/79606718:30
opendevreviewDan Smith proposed openstack/glance master: POC: Check delete_image policy in the API  https://review.opendev.org/c/openstack/glance/+/79807318:30
opendevreviewDan Smith proposed openstack/glance master: POC: Check deactivate, reactivate policy in the API  https://review.opendev.org/c/openstack/glance/+/79826618:30
opendevreviewAbhishek Kekane proposed openstack/glance master: POC: Move metadef namepsace policy checks in the API  https://review.opendev.org/c/openstack/glance/+/79963319:48
opendevreviewAbhishek Kekane proposed openstack/glance master: Add base poloicy check module  https://review.opendev.org/c/openstack/glance/+/80112919:48
abhishekkspelling mistake in title :/19:49
abhishekkdansmith, ^^ something like this, still need to work for objects, resrource, properties and tags APIs19:51
* abhishekk signing out for the day19:54
dansmithokay will look later.. still have to get to that func test patch19:56
opendevreviewMerged openstack/glance master: Add functional tests for metadef resource types  https://review.opendev.org/c/openstack/glance/+/80107422:37

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