Monday, 2025-06-30

*** mhen_ is now known as mhen01:17
croelandtReminder that we must merge https://review.opendev.org/q/topic:%22bug/2110185%22 today if we want it to be part of M2 :)12:25
croelandtdansmith: ^12:25
croelandtrosmaita: ^12:25
dansmithcroelandt: ack, was out friday, but I see there were changes13:54
dansmithabhishek_: around?14:01
abhishek_dansmith: yes14:05
dansmithabhishek_: on the s3 patch, several things seem ack'd but not changed or replied, I'm wondering if some comments got dropped?14:05
abhishek_let me check14:06
dansmithhttps://review.opendev.org/c/openstack/glance_store/+/949129/6..7/glance_store/_drivers/s3.py L667 ... why is image_size optional? it is only ever called from this file so we can just pass it as positional right?14:06
abhishek_ohh, I misread that14:08
dansmiththe name change is good though14:08
dansmithalso,14:08
abhishek_sorry, I was under impression that keep the param name same as multipart_upload14:08
dansmiththe param name is good, just no need to make it optional, especially defaulted to something we don't want14:09
abhishek_ack, I will work on that but will take some time as I need to step away atm :(14:10
dansmithalso, in the tests, try..except..assertIn is an anti-pattern because the wrong exception will cause the test to explode instead of report the exception14:10
dansmithassertRaisesRegex() is the standard14:10
dansmithabhishek_: ack, I will fix then14:10
abhishek_sorry for the trouble :/14:11
abhishek_I can send followup patch for changing assertIn to assertRaisesRagex 14:13
dansmithahh, I see.. because we pass all the other positionals as keyword (which we shouldn't) is probably why14:14
dansmithstill don't need to14:15
abhishek_ack14:16
* abhishek_ sorry, I need to step out, will be back in 3-4 hours14:21
dansmithargh, all the duplication in these tests means soooo much repeat fixing14:22
opendevreviewDan Smith proposed openstack/glance_store master: [s3] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94912914:40
opendevreviewDan Smith proposed openstack/glance_store master: [filesystem] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94912414:40
opendevreviewDan Smith proposed openstack/glance_store master: [swift] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94962614:40
opendevreviewDan Smith proposed openstack/glance_store master: [rbd] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94936214:40
opendevreviewDan Smith proposed openstack/glance_store master: [cinder] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94913714:40
dansmithcroelandt: I fixed the bottom one but am realizing the exception assertion runs through the whole stack, so I'll just have to review those on the grounds that they're going to get fixed later :/14:40
dansmithcroelandt: I'm +2 on the stack with followup reminders14:54
croelandtOK I guess I'll go have another look at those patches, we'll merge them and expect a followup fix15:08
croelandtdansmith: ^15:08
dansmithyep15:09
croelandthttps://review.opendev.org/c/openstack/glance_store/+/949124/9..11/glance_store/tests/unit/test_multistore_filesystem.py damn we went backwards here15:38
croelandtoh in Swift as well15:39
* croelandt is confused15:39
dansmithyep, I commented on a bunch of them and we discussed above15:51
opendevreviewTakashi Kajinami proposed openstack/glance_store master: Replace os-client-config  https://review.opendev.org/c/openstack/glance_store/+/95379615:53
opendevreviewTakashi Kajinami proposed openstack/glance_store master: Replace os-client-config  https://review.opendev.org/c/openstack/glance_store/+/95379615:56
dansmithcroelandt: I think we actually have until Jul 3 for this right?15:57
opendevreviewTakashi Kajinami proposed openstack/glance_store master: Replace os-client-config  https://review.opendev.org/c/openstack/glance_store/+/95379615:57
dansmithschedule shows this whole week is M215:57
opendevreviewTakashi Kajinami proposed openstack/python-glanceclient master: Replace os-client-config  https://review.opendev.org/c/openstack/python-glanceclient/+/95379915:58
croelandtdansmith: M2 is Jul 3, but I need to send the patch, and we need to get everything merged before then16:01
croelandtI'm trying not to wait for the last minute here :)16:02
opendevreviewTakashi Kajinami proposed openstack/glance_store master: Replace os-client-config  https://review.opendev.org/c/openstack/glance_store/+/95379616:04
opendevreviewTakashi Kajinami proposed openstack/python-glanceclient master: Replace os-client-config  https://review.opendev.org/c/openstack/python-glanceclient/+/95379916:05
dansmithcroelandt: ack, setting the deadline arbitrarily early for behavioral reasons is all good, just pointing out that you technically have more time....16:05
croelandtyep16:06
croelandtshould we use that time for something in particular?16:06
dansmithI just mean if abhi shows up a and re-re-factors the assertRaisesRegex stuff, we could potentially shove that in and still make the deadline16:10
dansmithbut otherwise, no, I was just noting the actual deadline "week"16:10
croelandtyeah I'm hoping to shove the Regex stuff in16:11
dansmithcool16:14
opendevreviewTakashi Kajinami proposed openstack/glance_store master: Replace os-client-config  https://review.opendev.org/c/openstack/glance_store/+/95379616:15
opendevreviewTakashi Kajinami proposed openstack/python-glanceclient master: Replace os-client-config  https://review.opendev.org/c/openstack/python-glanceclient/+/95379916:15
croelandttkajinam: what's going on here? :)16:17
tkajinamsorry for the noise. I messed up the fix while I'm distributing it...16:22
tkajinamwas trying to push updates after seeing https://review.opendev.org/c/openstack/os-client-config/+/953790 16:22
tkajinambefore it drops off form my memory...16:22
croelandtok ok16:33
croelandttkajinam: if you fix the typos from https://review.opendev.org/c/openstack/glance_store/+/932251 I will +2 and I think Abhishek will be around again in a few hours 16:33
croelandtso we can probably have this merged tonight16:33
opendevreviewTakashi Kajinami proposed openstack/glance_store master: swift: Drop support for v1/v2 auth  https://review.opendev.org/c/openstack/glance_store/+/93225116:34
tkajinamcroelandt, thanks !16:34
croelandtso quick16:35
tkajinam:-)16:36
opendevreviewMerged openstack/glance_store master: Add support for backend_defaults group  https://review.opendev.org/c/openstack/glance_store/+/94651218:05
opendevreviewMerged openstack/glance_store master: [s3] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94912920:42
opendevreviewMerged openstack/glance_store master: [filesystem] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94912421:08
opendevreviewMerged openstack/glance_store master: [swift] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94962621:28
opendevreviewMerged openstack/glance_store master: [rbd] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94936221:28
opendevreviewMerged openstack/glance_store master: [cinder] Add size validation for image uploads  https://review.opendev.org/c/openstack/glance_store/+/94913721:28

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