Tuesday, 2021-03-02

*** tosky has quit IRC00:17
*** k_mouza has joined #openstack-glance00:21
*** k_mouza has quit IRC00:25
*** jv_ has quit IRC01:07
*** zzzeek has quit IRC01:49
*** zzzeek has joined #openstack-glance01:51
*** rcernin has quit IRC02:34
*** rcernin has joined #openstack-glance02:47
abhishekklbragstad, ack, thank you04:03
*** zzzeek has quit IRC04:32
*** zzzeek has joined #openstack-glance04:33
*** udesale has joined #openstack-glance05:08
*** whoami-rajat_ has joined #openstack-glance05:25
*** m75abrams has joined #openstack-glance05:25
*** lbragstad_ has joined #openstack-glance06:03
*** lbragstad has quit IRC06:06
*** zzzeek has quit IRC06:10
*** zzzeek has joined #openstack-glance06:11
*** k_mouza has joined #openstack-glance06:21
*** k_mouza has quit IRC06:25
*** gyee has quit IRC06:47
*** whoami-rajat_ is now known as whoami-rajat06:54
*** ralonsoh has joined #openstack-glance06:55
*** rcernin has quit IRC06:57
*** m75abrams has quit IRC07:02
*** jawad_axd has joined #openstack-glance07:25
*** lpetrut has joined #openstack-glance07:27
openstackgerritAbhishek Kekane proposed openstack/python-glanceclient master: Get tasks associated with image  https://review.opendev.org/c/openstack/python-glanceclient/+/77640308:08
*** tosky has joined #openstack-glance08:35
*** udesale_ has joined #openstack-glance10:15
*** udesale has quit IRC10:19
*** m75abrams has joined #openstack-glance10:51
*** k_mouza has joined #openstack-glance10:56
*** dirtwash has quit IRC11:18
*** udesale_ has quit IRC11:40
*** udesale has joined #openstack-glance11:43
*** hoonetorg has quit IRC11:49
*** Luzi has joined #openstack-glance11:57
*** hoonetorg has joined #openstack-glance12:03
*** zzzeek has quit IRC12:20
*** zzzeek has joined #openstack-glance12:23
openstackgerritFelix Huettner proposed openstack/glance master: Fix missing backend deletion of disabled images  https://review.opendev.org/c/openstack/glance/+/77287212:54
*** jv_ has joined #openstack-glance13:05
openstackgerritLance Bragstad proposed openstack/glance master: Fail to start if authorization and policy is misconfigured  https://review.opendev.org/c/openstack/glance/+/77658813:30
openstackgerritLance Bragstad proposed openstack/glance master: Implement project personas for image actions  https://review.opendev.org/c/openstack/glance/+/76475413:30
openstackgerritLance Bragstad proposed openstack/glance master: Update default policies for task API  https://review.opendev.org/c/openstack/glance/+/76320813:30
openstackgerritLance Bragstad proposed openstack/glance master: Add glance functional protection tests to check and gate  https://review.opendev.org/c/openstack/glance/+/77807913:30
abhishekkjokke, rosmaita, smcginnis, dansmith, lbragstad_, https://etherpad.opendev.org/p/glance-wallaby-m3-status13:39
abhishekkEtherpad with list of patches to get merged before M313:40
rosmaitaack13:40
*** lbragstad_ is now known as lbragstad13:41
lbragstadthanks abhishekk13:43
abhishekkno problem, please check if I missed any of the rbac patches to list there13:43
lbragstadnope - i think it's just the four13:44
lbragstader - six rather13:44
lbragstadfour to glance proper - two to gtp13:44
abhishekkcool, thank you14:12
openstackgerritFelix Huettner proposed openstack/glance master: Fix missing backend deletion of disabled images  https://review.opendev.org/c/openstack/glance/+/77287214:23
*** jawad_axd has quit IRC14:31
*** jawad_axd has joined #openstack-glance14:32
*** Luzi has quit IRC14:36
openstackgerritDan Smith proposed openstack/glance master: Add administrator docs for distributed-import  https://review.opendev.org/c/openstack/glance/+/77807214:45
openstackgerritLance Bragstad proposed openstack/glance master: Update default policies for task API  https://review.opendev.org/c/openstack/glance/+/76320814:49
openstackgerritLance Bragstad proposed openstack/glance master: Add glance functional protection tests to check and gate  https://review.opendev.org/c/openstack/glance/+/77807914:49
openstackgerritLance Bragstad proposed openstack/glance master: Fail to start if authorization and policy is misconfigured  https://review.opendev.org/c/openstack/glance/+/77658814:54
openstackgerritLance Bragstad proposed openstack/glance master: Implement project personas for image actions  https://review.opendev.org/c/openstack/glance/+/76475414:54
openstackgerritLance Bragstad proposed openstack/glance master: Update default policies for task API  https://review.opendev.org/c/openstack/glance/+/76320814:54
openstackgerritLance Bragstad proposed openstack/glance master: Add glance functional protection tests to check and gate  https://review.opendev.org/c/openstack/glance/+/77807914:54
*** jawad_axd has quit IRC15:15
*** jawad_axd has joined #openstack-glance15:16
*** jawad_axd has quit IRC15:24
*** lpetrut has quit IRC15:34
*** openstackgerrit has quit IRC15:35
dansmithlbragstad: question for you here: https://review.opendev.org/c/openstack/glance/+/764754/19/glance/api/v2/image_data.py15:36
* abhishekk going for dinner break16:03
dansmithsmcginnis: maybe we could get you to +W this utility patch? It's been up for a long time, I think it's uncontroversial, and getting it merged will help reduce the load of what we're asking rosmaita to look at during cruch time here: https://review.opendev.org/c/openstack/glance/+/77068216:23
smcginnisdansmith: Sure will take a look after this meeting.16:24
dansmithsmcginnis: thanks16:24
dansmithlbragstad: I think the tempest plugin stuff probably covers my concern about not testing the actual protections, and will further convince myself of that after I'm done with my current call16:24
lbragstaddansmith cool - no worries16:25
lbragstadfwiw - i am working on a response to your comment16:25
dansmithlbragstad: I think we could have done that verification in functional tests without having to make it a tempest plugin.. glance's functional tests are very out of body and start a full api worker and use http against it16:25
* lbragstad nods16:28
lbragstaddansmith ok - i think i see what you mean with the upload_image policy16:55
*** m75abrams has quit IRC17:01
*** udesale has quit IRC17:04
dansmithlbragstad: is there some reason we can't run your base tests against glance as it is, and also against it after your changes to make sure we've got all the same holes and plugs?17:10
dansmithProjectMemberTests is basically just regular surface coverage that should work the same before and after, right?17:10
lbragstadbase tests?17:10
lbragstadoh - yeah17:10
lbragstadProjectMember is pretty much just testing end user API access17:11
lbragstadProjectReader won't work unless the new defaults are enabled17:11
dansmithso can we drop the Depends-On in that patch and throw another DNM on top with depends-on so we can see the before/after?17:11
dansmithoh okay17:11
lbragstadwithout the new defaults project-readers could do things like creating a private image17:12
dansmiththose could be skipped on the base patch and un-skipped in the upper one maybe with the depends-on?17:12
dansmithI know we're down to the wire here and I certainly don't want to get in the way, but this kind of stuff makes me super nervous, especially as a last-minute shoo-in, so I tend to be fairly cautuous17:12
dansmith*cautious17:12
lbragstadyep - that makes sense17:13
dansmithabhishekk: are you similarly wary of this, or are you all good?17:13
dansmithif we're revisiting why we broke something or opened a hole, I'd like to be able to point to the procedure we followed as "had tests before, confirmed tests after, but we missed a condition"17:14
dansmithinstead of "had almost no tests before and added them after making the change" :)17:14
abhishekkI guess it will be good verify before we go in17:14
abhishekk*good to verify17:14
lbragstadi'm in the middle of the keystone team meeting, but i can try and wip something up after17:15
abhishekkAlso in addition to these RBAC patches, we need a patch to Bump image API version to flag experimental rbac support17:17
dansmithabhishekk: do we? what changes about the api because of this?17:18
abhishekkdansmith, I think its a practice in glance to add experimental api version if we introduce any feature as experimental17:19
dansmithabhishekk: sure, for something the client can use or leverage,17:19
dansmithbut in this case, it's just about "can the operator enable persona things in the backend config"17:19
dansmithnot anything a user or client will do differently, right?17:20
abhishekkright17:20
dansmithlike, it's not that the client needs to know if /image/tasks is there or not17:20
dansmithand, AFAIK, we could _technically_ backport this to older APIs, which would make the version bump not make sense17:20
abhishekkHmm, we can take that off the list17:21
dansmithI mean, again, I'm not speaking definitively, and if glance just uses that version number to signal things to the client, then okay, but IMHO we don't need one for something like this17:22
dansmithack17:22
abhishekkyes17:22
dansmithabhishekk: very close on image tasks :)17:27
abhishekk:D, client remaining17:27
*** lpetrut has joined #openstack-glance17:28
dansmithoh yeah17:28
dansmithabhishekk: question on the client exception.. if you agree either needs changing, let me know and I can do it for you so you can go to sleep :)17:36
abhishekklooking17:37
lbragstaddansmith ok - i have an idea17:40
lbragstadlet me know if this seems reasonable to address your testing concerns17:40
lbragstadwhat if i squash https://review.opendev.org/c/openstack/glance-tempest-plugin/+/773568/20 and https://review.opendev.org/c/openstack/glance-tempest-plugin/+/775742/4 into one patch (/me cringes)17:41
lbragstadand then i can add two different test jobs - one for legacy-rbac and one for secure-rbac17:41
lbragstadthe legacy-rbac job can use a regex to only execute ProjectAdminTests and ProjectMemberTests17:42
lbragstadbut - it will be voting17:42
lbragstadthe secure-rbac protection jobs will run everything17:42
lbragstadand it will be non-voting17:42
dansmithwhy do we need to squash?17:42
lbragstadi guess we don't - i can tack the jobs on in a third patch17:43
dansmiththat addresses the config differences right?17:43
abhishekkdansmith, replied to your comment17:43
lbragstadyeah - https://review.opendev.org/c/openstack/glance-tempest-plugin/+/773568/20/.zuul.yaml#13 would be false17:44
dansmithlbragstad: I was more focused on trying to get a run (like even just a single one) asserting the tests pass *before* we go changing all the policy things17:44
lbragstadfor the legacy job17:44
abhishekkif you have time then kindly do the change otherwise I can take it tomorrow17:44
dansmithabhishekk: ack thanks17:45
dansmithlbragstad: yeah I was just hoping to make sure that the set of things we can assert about what is/isn't authorized is the same before and after the actual glance changes, since we're doing things like flipping the order of some of the policy checks and what not17:46
lbragstadright17:46
lbragstadi was thinking we could address that with two different jobs17:46
lbragstadone would be the legacy job and it would be voting, the other would be the secure-rbac job and it would be non-voting17:46
dansmithwell, that just doesn't mean as much to me because it's all still running after the changes to glance are made17:46
dansmithyou'd be assuming you haven't regressed anything in the legacy config, but you've still made a bunch of changes17:47
lbragstadwell - i was going to say we would merge the gtp patches first17:47
lbragstadthen add the same jobs to the glance gates17:47
lbragstadso - all my changes would be gated on a legacy rbac setup and test run17:47
dansmithoh, well, that's all I was asking for.. is to remove the depends-on so we could see the tests running before the glance things merge and then again after17:47
lbragstadyeah - that makes sense17:49
dansmithand fwiw,17:49
dansmithI wasn't even saying we needed to land them ahead of time, it would just be nice to see _a_ run before the changes are applied17:49
dansmithbut looking at your tests, I'm concerned that'll be invasive surgery17:49
dansmithbut if you think it's doable in short order that'd sure give me a lot more of the good feels17:50
abhishekkdoes depends-on tag restrict tempest-plugin test first?17:50
lbragstadok - let me try something quick17:51
lbragstaddansmith what invasive surgery are you seeing?17:51
jokkeIMO the version bump would be good as the API doe change, you need totally different set of tokens to interact with the API if the new rbac is eabled. And dansmith, yes it's purely there to signal the client that there's been changes in the API17:52
dansmithabhishekk: depends-on with required_projects will make sure glance is applied in front of the tests it's about to run yeah17:52
dansmithjokke: okay, but it doesn't actually mean that right? unless you know the configuration that the operator has selected, you don't know which tokens you need correct?17:53
* abhishekk time's up, will be back tomorrow17:54
abhishekkwe can use https://etherpad.opendev.org/p/glance-wallaby-m3-status to exchange status17:55
jokkedansmith: so having version bump for the experimental RBAC would signal to the user that they could use scoped tokens, the version being below that telling "don't bother, it will not work"17:55
dansmithjokke: yeah, I understand your point.. it tells them it's possible, but it doesn't tell them if they can or should17:56
jokkedansmith: that's been the glance API versioning always, it's just indication that the service is running version that supports api extensions xyz17:56
dansmithack17:56
jokkeit's not microversion you could request specific behaviour and we avoid breaking the API as much as possible17:57
*** openstackgerrit has joined #openstack-glance17:57
openstackgerritLance Bragstad proposed openstack/glance master: Implement project personas for image actions  https://review.opendev.org/c/openstack/glance/+/76475417:57
openstackgerritDan Smith proposed openstack/python-glanceclient master: Get tasks associated with image  https://review.opendev.org/c/openstack/python-glanceclient/+/77640318:02
openstackgerritMerged openstack/glance master: Fail to start if authorization and policy is misconfigured  https://review.opendev.org/c/openstack/glance/+/77658818:05
*** lpetrut has quit IRC18:07
abhishekkdansmith, before signing out, added one question on client patch18:14
abhishekksigning out now, have a good day ahead to all, o/~18:14
dansmithabhishekk: ack, will reply, g'nite18:17
*** ralonsoh has quit IRC18:29
*** k_mouza has quit IRC18:36
*** k_mouza_ has joined #openstack-glance18:36
*** k_mouza_ has quit IRC19:04
*** k_mouza has joined #openstack-glance19:05
*** k_mouza has quit IRC19:29
openstackgerritMerged openstack/glance master: Add get_ksa_client() helper  https://review.opendev.org/c/openstack/glance/+/77068219:42
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Implement API protection testing for images  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77356819:45
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Add tests for image membership, deactivation, and reactivation  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77574219:45
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Implement API protection testing for images  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77356819:46
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Add tests for image membership, deactivation, and reactivation  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77574219:46
openstackgerritLance Bragstad proposed openstack/glance master: Add glance functional protection tests to check and gate  https://review.opendev.org/c/openstack/glance/+/77807919:50
lbragstaddansmith ok - i reversed the order of thos19:50
lbragstadthose* ^19:50
openstackgerritDan Smith proposed openstack/glance master: Make functional tests set node_staging_uri  https://review.opendev.org/c/openstack/glance/+/77727719:51
openstackgerritDan Smith proposed openstack/glance master: Add housekeeping module and staging cleaner  https://review.opendev.org/c/openstack/glance/+/77701219:51
dansmithlbragstad: ack will look in a bit19:51
openstackgerritDan Smith proposed openstack/glance master: Distributed image import  https://review.opendev.org/c/openstack/glance/+/76997619:53
openstackgerritDan Smith proposed openstack/glance master: Enable second glance worker for import testing  https://review.opendev.org/c/openstack/glance/+/77062919:53
openstackgerritDan Smith proposed openstack/glance master: Add administrator docs for distributed-import  https://review.opendev.org/c/openstack/glance/+/77807219:53
openstackgerritLance Bragstad proposed openstack/glance master: Implement project personas for image actions  https://review.opendev.org/c/openstack/glance/+/76475419:54
openstackgerritLance Bragstad proposed openstack/glance master: Update default policies for task API  https://review.opendev.org/c/openstack/glance/+/76320819:54
openstackgerritLance Bragstad proposed openstack/glance master: Make secure RBAC protection job voting  https://review.opendev.org/c/openstack/glance/+/77825819:54
dansmithlbragstad: ah, okay so we'll see the results on the job patch first, cool19:55
lbragstadyeah - so if i understood your concern correctly, the legacy-rbac job is going to test what you want19:55
lbragstadso long as that is green throughout the changes, we should be good19:56
dansmithnot just that, but in the stack before the changes19:56
dansmithyeah19:56
dansmithexactly19:56
lbragstadright19:56
lbragstaddo you want to keep that job around after?19:56
dansmithwell, after the changes, it is probably best to just add that tempest plugin as a requirement for one of the other jobs, so we're running it alongside other stuff19:57
dansmithbut we can worry about that later, just to drop our gate footprint back down19:57
lbragstadand just run the secure-rbac job, you mean?19:57
dansmithyes, or configure one of our other-other jobs to run in secure-rbac mode, but.. either way19:57
lbragstadok - sure, that makes sense19:58
lbragstadi did drop the legacy-rbac job here https://review.opendev.org/c/openstack/glance/+/778258/119:58
lbragstadbut that's the last patch in the series19:58
dansmithyeah, fancy problems when we get there :)19:58
lbragstad++19:58
*** Underknowledge has quit IRC20:26
*** Underknowledge has joined #openstack-glance20:26
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Implement API protection testing for images  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77356820:50
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Add tests for image membership, deactivation, and reactivation  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77574220:50
dansmithsmcginnis: another sweet, sweet stats-padding opportunity for you: https://review.opendev.org/c/openstack/glance/+/77727720:50
*** abhishekk has quit IRC21:06
*** bhagyashri|rover has quit IRC21:06
*** abhishekk has joined #openstack-glance21:06
*** bhagyashris has joined #openstack-glance21:07
*** hoonetorg has quit IRC21:21
*** k_mouza has joined #openstack-glance21:29
*** k_mouza has quit IRC21:34
*** hoonetorg has joined #openstack-glance21:42
*** gyee has joined #openstack-glance21:43
lbragstaddansmith so https://review.opendev.org/c/openstack/glance-tempest-plugin/+/775742/7 passed the legacy bits, the first patch failed on a post-failure21:47
dansmithcool, I have to recheck something too, this reminds me21:47
dansmithlbragstad: looks like they all skipped though21:48
dansmithhttps://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_194/775742/7/check/glance-legacy-rbac-protection-functional/1941180/testr_results.html21:48
lbragstadbah - https://review.opendev.org/c/openstack/glance-tempest-plugin/+/773568/23/glance_tempest_plugin/tests/rbac/v2/base.py@2921:50
lbragstadi ran that locally with a tempest config that has enforce_scope set to true21:51
dansmithnice try lbragstad...nice try.21:51
lbragstadworks for me!21:51
dansmith+3: WFM!21:51
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Implement API protection testing for images  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77356821:56
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Add tests for image membership, deactivation, and reactivation  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77574221:56
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Implement API protection testing for images  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77356822:11
openstackgerritLance Bragstad proposed openstack/glance-tempest-plugin master: Add tests for image membership, deactivation, and reactivation  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/77574222:11
*** rcernin has joined #openstack-glance22:33
lbragstaddansmith looks like it's working now https://zuul.openstack.org/stream/e7aa2129c6064f46a6c9b1259c84d1e6?logfile=console.log22:41
openstackgerritMerged openstack/glance master: Make functional tests set node_staging_uri  https://review.opendev.org/c/openstack/glance/+/77727722:41
lbragstadhttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_a59/775742/9/check/glance-legacy-rbac-protection-functional/a5921b9/testr_results.html22:41
dansmithlbragstad: you mean now that you turned it on for realz? :)22:41
lbragstadi forgot to hit the go-baby-go button22:42
dansmithclassic mistake22:42
dansmithlbragstad:  okay so we need a patch in this series that *has* the Depends-On link right?22:43
lbragstadhttps://review.opendev.org/c/openstack/glance/+/778079/622:43
dansmithoh okay, that works too22:44
dansmithlbragstad: okay let me go through the tests we've got enabled right now in detail22:47
dansmithlbragstad: I'm already confused by https://review.opendev.org/c/openstack/glance-tempest-plugin/+/773568/25/glance_tempest_plugin/tests/rbac/v2/test_images.py  on L612ish,22:47
dansmither, wait22:48
dansmithyeah,22:48
dansmiththis is creating an image as a different tenant.. I see your note there, but .. why is that not 404 right now?22:48
lbragstadon line 618?22:48
dansmithyeah22:49
lbragstadbecause the user executing that test is a project admin22:49
lbragstador - more specifically, they have the 'admin' role22:49
dansmithoh, these are the admin tests, I see22:49
lbragstadyeah - i have the FIXMEs there to highlight places where "this will change when we adopt system-scope and actually implement tenancy"22:49
dansmithso there's some future when admins will be scoped such that they can see images they don't own, but with in their scope22:50
dansmithlbragstad: right, having them and me understanding them are different :)22:50
lbragstadyeah, so today most operators are anyone with an 'admin' role22:51
lbragstadin the future, that will be a system-admin (someone with the admin role on the system in keystone - or $ openstack role add --user alice --system all admin)22:52
dansmithL1022 is what I was looking for I think.. that one user's private image is not visible by another22:54
dansmithwell, L102522:54
lbragstadyeah - the ProjectMemberTests are pretty much testing what's supported by 99% of end users today22:54
dansmithyeah22:55
lbragstadand i didn't enable the ProjectReaderTests in the legacy tests because those are going to fail22:55
dansmithokay, so, today there's really nothing other than "admin", so the ProjectAdminTests are really testing today what the SystemAdminTests will confirm after the change, right?23:00
dansmithlike, you'll fix the fixmes in the projectadmin class to assert the right thing, and enable the systemadmin ones which should match (haven't looked) in the "I can do anything" sense23:01
dansmithlbragstad: is that right ^ ?23:04
dansmithman, bug 968696 is a serious who's who of openstack history.. hilarious.23:09
openstackbug 968696 in Glance ""admin"-ness not properly scoped" [High,In progress] https://launchpad.net/bugs/96869623:09
lbragstaddansmith yeah - you're right23:11
lbragstadthe ProjectAdminTests should just be updates to the expected status codes in the future23:11
dansmithyeah, it's a little confusing,23:11
lbragstadand pretty much copied to the SystemAdminClass23:11
dansmithbecause you'd think that SystemAdmin is what we would enable now, since that's all we have,23:11
dansmithand then enable ProjectAdmin once we have that distinction23:12
dansmithbut I assume there's some reason for why it's a bit upside down?23:12
lbragstadyeah - the only think you could have a role on initially was a project23:12
lbragstadso - project admins were the way to denote admin-ness23:12
lbragstadthe only thing*23:13
*** zzzeek has quit IRC23:13
dansmithokay, I think what you're saying is that the words in the patch are correct, but the words in real life have been improperly overloaded, which is why projectadmin is testing what the systemadmin behavior will be23:14
dansmithi.e. "project admin" is what we have today, but that was a terrible name, because it actually has permission to do anything *across* projects, not *within* projects23:15
lbragstadyes - exactly23:15
lbragstadand in the legacy rbac implementation - "project admin" is really an operator23:15
lbragstadand they have access to everything under the sun in the deployment23:16
dansmithokay, and the credentials = [ ... "project_admin"] matter in this case, depending on what the server config is?23:16
lbragstadso - that's wired up by tempest dynamic credentials23:16
dansmithright.. does that have some knob to tweak to tell it what the server is configured for?23:16
lbragstadusing "project_admin" will create a new user and project, then make sure that user has the 'admin' role on the project23:16
*** zzzeek has joined #openstack-glance23:17
lbragstadlike if glance knows what the difference is between a project-admin and a system-admin?23:17
dansmithwell, I guess I'm assuming that your secure-rbac job runs the SystemAdminTests with glance configured to enable it, but.. maybe that's a bad assumption?23:18
lbragstadwe have to set this https://review.opendev.org/c/openstack/glance-tempest-plugin/+/773568/25/.zuul.yaml@3923:19
lbragstadto run the rbac tests23:19
dansmithright, which allows the SystemAdminTests to run?23:19
lbragstadbut tempest, itself, doesn't monkey patch in a different client for project_admin depending on if the server understands secure RBAC or not23:20
lbragstadyes - https://review.opendev.org/c/openstack/glance-tempest-plugin/+/773568/25/glance_tempest_plugin/tests/rbac/v2/base.py@2823:20
lbragstadand the protection tests inherit that base class23:20
lbragstadhah - sweet https://review.opendev.org/c/openstack/glance/+/77807923:21
dansmithhrm, I'm a bit confused23:22
lbragstadabout the tempest credential bits?23:24
*** k_mouza has joined #openstack-glance23:30
*** k_mouza has quit IRC23:34

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