openstackgerrit | Dan Smith proposed openstack/glance master: Test restarting glance for staging cleanup https://review.opendev.org/c/openstack/glance/+/777014 | 01:45 |
---|---|---|
*** benj_ has quit IRC | 01:53 | |
*** benj_ has joined #openstack-glance | 01:54 | |
*** ricolin has quit IRC | 03:15 | |
*** ricolin has joined #openstack-glance | 03:30 | |
*** udesale has joined #openstack-glance | 04:08 | |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Implement project personas for image actions https://review.opendev.org/c/openstack/glance/+/764754 | 04:37 |
lbragstad | abhishekk ^ that only contains the policy updates - i haven't completed the glance_tempest_plugin tests, yet | 04:37 |
lbragstad | that will pass tests, but it won't pass the glance_tempest_plugin tests because we'll need some changes from https://review.opendev.org/c/openstack/glance/+/775741 | 04:38 |
*** ratailor has joined #openstack-glance | 04:46 | |
*** rcernin has quit IRC | 05:15 | |
*** rcernin has joined #openstack-glance | 05:22 | |
*** udesale_ has joined #openstack-glance | 06:08 | |
*** udesale has quit IRC | 06:11 | |
*** gyee has quit IRC | 06:12 | |
*** m75abrams has joined #openstack-glance | 06:20 | |
*** zzzeek has quit IRC | 06:45 | |
*** zzzeek has joined #openstack-glance | 06:46 | |
*** rcernin has quit IRC | 07:15 | |
*** ralonsoh has joined #openstack-glance | 07:21 | |
*** udesale__ has joined #openstack-glance | 07:26 | |
*** udesale_ has quit IRC | 07:30 | |
*** smcginnis has quit IRC | 07:30 | |
*** smcginnis has joined #openstack-glance | 07:30 | |
*** hoonetorg has quit IRC | 07:38 | |
*** zzzeek has quit IRC | 07:39 | |
*** zzzeek has joined #openstack-glance | 07:40 | |
*** rcernin has joined #openstack-glance | 07:49 | |
*** udesale__ has quit IRC | 08:00 | |
*** rcernin has quit IRC | 08:06 | |
*** rcernin has joined #openstack-glance | 08:09 | |
*** rcernin has quit IRC | 08:23 | |
*** udesale has joined #openstack-glance | 09:06 | |
*** udesale has quit IRC | 09:17 | |
*** k_mouza has joined #openstack-glance | 09:27 | |
*** nikparasyr has joined #openstack-glance | 09:29 | |
*** lpetrut has joined #openstack-glance | 09:35 | |
*** udesale has joined #openstack-glance | 09:53 | |
*** udesale has quit IRC | 10:05 | |
abhishekk | lbragstad, ack | 10:07 |
*** ajitha has joined #openstack-glance | 10:35 | |
*** k_mouza has quit IRC | 10:49 | |
*** k_mouza has joined #openstack-glance | 10:59 | |
*** Luzi has joined #openstack-glance | 11:13 | |
*** smcginnis has quit IRC | 11:19 | |
*** smcginnis has joined #openstack-glance | 11:26 | |
*** nikparasyr has left #openstack-glance | 11:48 | |
*** jv_ has quit IRC | 11:52 | |
*** smcginnis has quit IRC | 12:01 | |
*** ratailor has quit IRC | 12:04 | |
*** jv_ has joined #openstack-glance | 12:05 | |
*** smcginnis has joined #openstack-glance | 12:07 | |
*** jv_ has quit IRC | 12:24 | |
openstackgerrit | Erno Kuvaja proposed openstack/glance master: WIP: Staging refactor https://review.opendev.org/c/openstack/glance/+/777018 | 12:26 |
openstackgerrit | Erno Kuvaja proposed openstack/glance master: WIP: Staging refactor https://review.opendev.org/c/openstack/glance/+/777018 | 12:30 |
*** rosmaita has quit IRC | 12:59 | |
*** rosmaita has joined #openstack-glance | 13:00 | |
aarents | Hi glance, We hit this small bug: https://bugs.launchpad.net/glance-store/+bug/1885651 and propose a fix: https://review.opendev.org/c/openstack/glance_store/+/776611 if someone can have a look | 13:45 |
openstack | Launchpad bug 1885651 in glance_store "swift_store_endpoint doesn't override keystone catalog" [Undecided,In progress] - Assigned to Alexandre arents (aarents) | 13:45 |
*** udesale has joined #openstack-glance | 14:07 | |
abhishekk | aarents, commented on the patch | 14:23 |
openstackgerrit | Pavlo Shchelokovskyy proposed openstack/glance_store master: Do not loose url queries on redirects https://review.opendev.org/c/openstack/glance_store/+/777138 | 14:43 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Bump requirements to prepare for secure RBAC https://review.opendev.org/c/openstack/glance/+/764236 | 14:48 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Explicitly unset tempest_roles in devstack plugin https://review.opendev.org/c/openstack/glance/+/774308 | 14:50 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Explicitly unset tempest_roles in devstack plugin https://review.opendev.org/c/openstack/glance/+/774308 | 14:51 |
openstackgerrit | Pavlo Shchelokovskyy proposed openstack/glance_store master: Do not lose url queries on redirects https://review.opendev.org/c/openstack/glance_store/+/777138 | 14:51 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Add basic/common personas to base policies https://review.opendev.org/c/openstack/glance/+/764241 | 14:54 |
*** jv_ has joined #openstack-glance | 14:58 | |
*** udesale has quit IRC | 14:59 | |
openstackgerrit | Dan Smith proposed openstack/glance master: Add housekeeping module and staging cleaner https://review.opendev.org/c/openstack/glance/+/777012 | 14:59 |
openstackgerrit | Dan Smith proposed openstack/glance master: Test restarting glance for staging cleanup https://review.opendev.org/c/openstack/glance/+/777014 | 14:59 |
aarents | abhishekk: thank you | 14:59 |
*** udesale has joined #openstack-glance | 15:00 | |
openstackgerrit | Dan Smith proposed openstack/glance master: Test restarting glance for staging cleanup https://review.opendev.org/c/openstack/glance/+/777014 | 15:14 |
*** Luzi has quit IRC | 15:15 | |
*** tosky has joined #openstack-glance | 15:58 | |
tosky | hi! Can I please get a quick and painless +2 on this stable/train backport which moves a legacy job to native zuulv3? https://review.opendev.org/c/openstack/glance_store/+/749235 | 15:58 |
* abhishekk away for dinner | 16:21 | |
*** jdillaman has quit IRC | 16:28 | |
*** lpetrut has quit IRC | 16:32 | |
openstackgerrit | Dan Smith proposed openstack/glance master: Add housekeeping module and staging cleaner https://review.opendev.org/c/openstack/glance/+/777012 | 16:33 |
openstackgerrit | Dan Smith proposed openstack/glance master: Test restarting glance for staging cleanup https://review.opendev.org/c/openstack/glance/+/777014 | 16:33 |
*** m75abrams has quit IRC | 16:39 | |
abhishekk | dansmith, o/ | 16:41 |
dansmith | abhishekk: heya | 16:41 |
abhishekk | I have one question related to housekeeping | 16:41 |
abhishekk | my staging directory has some data | 16:42 |
abhishekk | but image related to that is marked as deleted | 16:42 |
abhishekk | so it will raise not found here; | 16:42 |
abhishekk | https://review.opendev.org/c/openstack/glance/+/777012/5/glance/housekeeping.py#54 | 16:42 |
abhishekk | and then that data still remains there | 16:43 |
abhishekk | I think we should get the list with show deleted = True if possible and clean that data as well | 16:44 |
dansmith | abhishekk: if image_get() returns NotFound, we'll return False from that is_valid_image() and then go on to delete | 16:44 |
dansmith | right? | 16:44 |
abhishekk | i confused it with not self.is_image_id | 16:45 |
abhishekk | strange that till some data is remaining in my staging directory | 16:46 |
abhishekk | i will debug it and find out the reason | 16:46 |
dansmith | is it a valid uuid? | 16:47 |
abhishekk | yep | 16:47 |
abhishekk | 28b04fbd-d80f-44e3-a1bb-1e127dbad63d | 16:47 |
abhishekk | this for example | 16:47 |
dansmith | is that uuid in the database? | 16:47 |
abhishekk | that I need to check :D | 16:47 |
dansmith | maybe we're actually *not* getting not found there because we're using admin_context? | 16:47 |
abhishekk | yes it is | 16:48 |
dansmith | get_admin_context() has read_deleted=False by default, so I expect not, but you could check to see if you're actually hitting the NotFound there | 16:48 |
abhishekk | will check it | 16:48 |
dansmith | I can add a deleted image to the test to check this | 16:48 |
abhishekk | let me debug it quick | 16:49 |
abhishekk | though you might be faster than me | 16:49 |
dansmith | who me? :) | 16:51 |
abhishekk | :D | 16:51 |
dansmith | abhishekk: yep, looks like even with read_deleted=False, it's returning the image anyway | 16:52 |
abhishekk | is_valid_image is returning true | 16:52 |
dansmith | er, show_deleted I mean | 16:52 |
abhishekk | and adding it to ignore | 16:52 |
dansmith | ah, | 16:52 |
dansmith | can_see_deleted() is always true if admin | 16:53 |
dansmith | that's...odd | 16:53 |
abhishekk | I guess it is | 16:53 |
openstackgerrit | Dan Smith proposed openstack/glance master: Add housekeeping module and staging cleaner https://review.opendev.org/c/openstack/glance/+/777012 | 16:54 |
openstackgerrit | Dan Smith proposed openstack/glance master: Test restarting glance for staging cleanup https://review.opendev.org/c/openstack/glance/+/777014 | 16:54 |
dansmith | abhishekk: ^ | 16:54 |
abhishekk | dansmith, ack | 16:54 |
dansmith | lbragstad: are you going to rev your series for things like abhishekk's blueprint link? if so, I'll hold off on going through those again | 16:56 |
dansmith | also looks like maybe there's some rebasing needing to be done | 16:56 |
abhishekk | dansmith, now out of 5 2 were deleted, 1 was invalid image id and 2 are still there with one is uploading state and 1 is in queued state | 16:58 |
abhishekk | so that sounds like working | 16:58 |
abhishekk | i just need to figure out about queued state because for uploading I can issue import call | 16:59 |
dansmith | abhishekk: ack, cool | 16:59 |
dansmith | I put a note there about checking state, but I think that if the image is not deleted, then the user's delete call will clean the staging area, so probably not needed | 17:00 |
abhishekk | +1 | 17:00 |
abhishekk | Working in all aspects now | 17:01 |
dansmith | sweet, I'm really glad we came around to agreement on this approach | 17:01 |
abhishekk | same here | 17:02 |
openstackgerrit | Pavlo Shchelokovskyy proposed openstack/glance_store master: Do not loose url queries on redirects https://review.opendev.org/c/openstack/glance_store/+/777138 | 17:02 |
*** udesale has quit IRC | 17:03 | |
* abhishekk going offline for the day | 17:22 | |
lbragstad | dansmith yep - done | 17:31 |
lbragstad | the first 6 changes in that series (excluding yours) should be good to review | 17:31 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Bump requirements to prepare for secure RBAC https://review.opendev.org/c/openstack/glance/+/764236 | 17:31 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Explicitly unset tempest_roles in devstack plugin https://review.opendev.org/c/openstack/glance/+/774308 | 17:31 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Add basic/common personas to base policies https://review.opendev.org/c/openstack/glance/+/764241 | 17:31 |
dansmith | lbragstad: also just now saw your reply to my f-string hate.. didn't mean you had to change that, but amused that you did :P | 17:32 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Properly handle InvalidScope exceptions https://review.opendev.org/c/openstack/glance/+/774309 | 17:32 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Pass oslo.context RequestContext objects directly to policy enforcement https://review.opendev.org/c/openstack/glance/+/767425 | 17:32 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Log an experimental warning at startup for secure RBAC https://review.opendev.org/c/openstack/glance/+/776588 | 17:32 |
lbragstad | dansmith well - i actually pulled up a few articles trying to figure out why you hated them, so it was a learning experience | 17:32 |
dansmith | hah | 17:33 |
lbragstad | but - i'm willing to be enlightened, because the people writing about them don't share your opinion ;) | 17:33 |
dansmith | well, some people certainly like them | 17:33 |
dansmith | I think they make for crazy long strings and/or encourage you to use shorter less-clear variable names so that your strings won't be so long | 17:34 |
dansmith | which makes things hard to eye-format | 17:34 |
lbragstad | mmm - i can understand that | 17:34 |
dansmith | not to mention it seems dangerous to me, where if you typo something that doesn't format you might belch out some internal code you didn't mean to | 17:35 |
lbragstad | isn't that also try if you do 'something external: %s' % self._private instead of 'something external: %s' % self.public_var ? or are you not a fan that approach either? | 17:36 |
lbragstad | also true* | 17:36 |
dansmith | no, that's not what I meant | 17:37 |
dansmith | IIRC, you can do crazy things like this in an f-string: | 17:37 |
dansmith | f"Database error: server2_data[error.code].lie_about_forbidden" <- totally made up to look scary | 17:38 |
dansmith | er, | 17:38 |
lbragstad | with {}, right? | 17:38 |
dansmith | f"Database error: {server2_data[error.code].lie_about_forbidden}" <- totally made up to look scary | 17:38 |
lbragstad | ahh - sure | 17:39 |
dansmith | but if you do something like forget/typo the last } you might expose that *code* in the string because it's not formatted | 17:39 |
dansmith | whereas the worst you might do elsewhere is leave a % instead of %s somewhere, or maybe %(err)s or something | 17:39 |
lbragstad | got - yeah, that makes sense | 17:40 |
*** k_mouza has quit IRC | 17:49 | |
*** k_mouza has joined #openstack-glance | 17:49 | |
dansmith | lbragstad: I was previously +2 on that tempest plugin patch and abhi was already.. am I missing why that wasn't just +Wd at that point? | 18:15 |
lbragstad | dansmith which one? | 18:16 |
lbragstad | https://review.opendev.org/c/openstack/glance-tempest-plugin/+/773568/19 ? | 18:16 |
dansmith | oh maybe because at the time there was the config thing underneath it and we were unsure about that? | 18:16 |
dansmith | no, https://review.opendev.org/c/openstack/glance/+/774308 | 18:16 |
lbragstad | yeah - i rebased that because we pulled https://review.opendev.org/c/openstack/glance/+/776588/3 to the top of the stack instead of the bottom | 18:17 |
dansmith | yeah, okay so that must be why I didn't +W at the time | 18:18 |
dansmith | lbragstad: question here https://review.opendev.org/c/openstack/glance/+/774309 | 18:23 |
openstackgerrit | Erno Kuvaja proposed openstack/glance master: WIP: Staging refactor https://review.opendev.org/c/openstack/glance/+/777018 | 18:30 |
openstackgerrit | Erno Kuvaja proposed openstack/glance master: Distributed image import https://review.opendev.org/c/openstack/glance/+/777183 | 18:30 |
*** lpetrut has joined #openstack-glance | 18:34 | |
*** lpetrut has quit IRC | 18:40 | |
*** k_mouza_ has joined #openstack-glance | 19:14 | |
*** k_mouza_ has quit IRC | 19:17 | |
*** k_mouza has quit IRC | 19:18 | |
openstackgerrit | Merged openstack/glance master: Stop raising 403 when image is not found https://review.opendev.org/c/openstack/glance/+/775435 | 19:38 |
*** gmann is now known as gmann_lunch | 19:47 | |
*** gmann_lunch is now known as gmann | 20:07 | |
*** gyee has joined #openstack-glance | 20:14 | |
*** zzzeek has quit IRC | 20:29 | |
*** zzzeek has joined #openstack-glance | 20:31 | |
*** rcernin has joined #openstack-glance | 20:44 | |
*** sangeet has joined #openstack-glance | 20:56 | |
sangeet | I am trying to upload a large image (50GB) and I keep getting failure after some time. Seems one timeout is failing. Any idea how I can increase the timeout in glancelcient via cli command | 20:58 |
sangeet | https://github.com/openstack/python-glanceclient/blob/e8f427e1088b6de488bfa6af811d62415b073c34/glanceclient/common/http.py#L167 | 21:01 |
*** rajinir has quit IRC | 21:01 | |
sangeet | I want to increase to more than 600 | 21:01 |
*** rcernin has quit IRC | 21:01 | |
*** rajinir has joined #openstack-glance | 21:02 | |
*** knikolla has quit IRC | 21:11 | |
*** knikolla has joined #openstack-glance | 21:11 | |
*** k_mouza has joined #openstack-glance | 21:18 | |
*** k_mouza has quit IRC | 21:23 | |
*** ajitha has quit IRC | 21:24 | |
sangeet | Any help ^^ | 21:25 |
*** rcernin has joined #openstack-glance | 21:46 | |
*** sangeet has quit IRC | 21:57 | |
*** rcernin has quit IRC | 21:57 | |
*** rcernin has joined #openstack-glance | 21:57 | |
lbragstad | dansmith https://review.opendev.org/c/openstack/glance/+/774308/7 isn't needed anymore - but i'm ok with not disturbing the chain (again) and i can revert it - if that's cool | 22:06 |
dansmith | lbragstad: oh like you literally want to abandon that? | 22:21 |
dansmith | lbragstad: if so, just do it, rebase the stuff above and I'll re-+2 it | 22:21 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Add basic/common personas to base policies https://review.opendev.org/c/openstack/glance/+/764241 | 22:25 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Properly handle InvalidScope exceptions https://review.opendev.org/c/openstack/glance/+/774309 | 22:25 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Pass oslo.context RequestContext objects directly to policy enforcement https://review.opendev.org/c/openstack/glance/+/767425 | 22:25 |
openstackgerrit | Lance Bragstad proposed openstack/glance master: Log an experimental warning at startup for secure RBAC https://review.opendev.org/c/openstack/glance/+/776588 | 22:25 |
lbragstad | dansmith done - thanks for reapplying the +2s | 22:26 |
dansmith | lbragstad: okay I think I got em all | 22:28 |
lbragstad | awesome - glad to see this stuff moving :) | 22:30 |
*** ralonsoh has quit IRC | 22:31 | |
openstackgerrit | Merged openstack/glance master: Bump requirements to prepare for secure RBAC https://review.opendev.org/c/openstack/glance/+/764236 | 22:43 |
*** kgz has quit IRC | 22:46 | |
*** dansmith has quit IRC | 22:46 | |
*** kgz has joined #openstack-glance | 22:48 | |
*** dansmith has joined #openstack-glance | 22:48 | |
*** tkajinam has joined #openstack-glance | 22:51 | |
*** k_mouza has joined #openstack-glance | 23:19 | |
*** k_mouza has quit IRC | 23:23 | |
openstackgerrit | Dan Smith proposed openstack/glance master: Add housekeeping module and staging cleaner https://review.opendev.org/c/openstack/glance/+/777012 | 23:30 |
openstackgerrit | Dan Smith proposed openstack/glance master: Test restarting glance for staging cleanup https://review.opendev.org/c/openstack/glance/+/777014 | 23:30 |
openstackgerrit | Dan Smith proposed openstack/glance master: Test restarting glance for staging cleanup https://review.opendev.org/c/openstack/glance/+/777014 | 23:35 |
*** tkajinam has quit IRC | 23:40 | |
*** tkajinam has joined #openstack-glance | 23:40 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!