Monday, 2024-10-28

opendevreviewRajat Dhasmana proposed openstack/glance master: WIP: Test increasing per project quota to 50  https://review.opendev.org/c/openstack/glance/+/93355009:08
opendevreviewRajat Dhasmana proposed openstack/glance master: WIP: Test increasing per project quota to 50  https://review.opendev.org/c/openstack/glance/+/93355010:08
opendevreviewMarkus Hentsch proposed openstack/glance master: Standardization of encrypted images  https://review.opendev.org/c/openstack/glance/+/92629514:20
opendevreviewDan Smith proposed openstack/glance master: Make glance able to require disk_format match  https://review.opendev.org/c/openstack/glance/+/93049214:30
opendevreviewDan Smith proposed openstack/glance master: Run safety checks on uploaded content  https://review.opendev.org/c/openstack/glance/+/93064614:30
abhishekkdansmith: o/14:49
dansmitho/14:49
abhishekkregarding disk-format match where you are calling restore method to set image status to queued14:49
abhishekkis there any chance that image data is stored on actual backend?14:50
abhishekkbecause restore does not deletes it I guess14:50
dansmithabhishekk: not sure what you mean.. during image data upload, I'm just aborting the transfer, like if we failed to write14:51
abhishekk* partial image data I mean to say14:51
abhishekkyou are reading few chunks for this inspection right?14:51
dansmithyes14:52
dansmiththe behavior should be the same as if we transfer a few chunks and then swift goes down, or something like that14:52
abhishekkhmmm so stale data will be there or not, that is what I am suggesting14:53
abhishekkMay be I will configure file backend and verify 14:53
dansmithwhat does glance do if it reads a few chunks from the client and then the client dies? this should be the same behavior14:53
dansmithI would expect you have to delete the image and re-create to get the state back, no?14:54
abhishekklikely14:54
abhishekkrestore is not deleting it14:54
abhishekkAFAIK if glance client dies in between upload the image remains in uploading state14:55
dansmithsorry, is 'restore' a glance operation?14:57
abhishekkit's a method which sets back image status to queued, https://review.opendev.org/c/openstack/glance/+/930492/9/glance/api/v2/image_data.py line #27514:58
dansmithokay, but then if you have to upload again it should overwrite?14:59
abhishekkHope so, never tried that14:59
* abhishekk will verify it 15:01
dansmithcould be a problem if not, independent of this inspection P)15:01
abhishekkyes15:01
dansmithabhishekk: unrelated, but I just noticed that disk_format is allowed to be None in the API schema.. what happens if you create an image as None and upload15:10
dansmith?15:10
abhishekkIt does not allow to upload15:11
dansmithcreate but upload not allowed?15:12
dansmiththat's good, but.. why is that even allowed in the API?15:12
abhishekkcreate but upload not allowed, right15:13
abhishekksetting disk-format None?15:14
dansmithabhishekk: yeah, why doesn't API require a value there if it's required before upload?15:15
abhishekkI don't know the use case about that15:15
abhishekkalso upload call does not let you set the format so you need to use image-update patch call for it15:16
dansmithyeah, I'm just curious why we let a user create with disk_format=null at all.. seems like a bad thing that could allow something to slip in15:17
abhishekkhmm, may be rosmaita can shade some light on it15:19
dansmithspecifically this: https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L192015:21
abhishekkLet me try to dig a little15:22
dansmithit is not super important, I was just looking through where we enforce disk_format to be valid and noticed that we take CONF.disk_formats and explicitly add in None, which seems weird to me15:23
abhishekkhttps://bugs.launchpad.net/glance/+bug/139831315:26
abhishekkIt does not have any reason mentioned there though15:27
abhishekkmay be in client it is an optional value and that is why this weird solution IMO 15:29
dansmithuh15:33
dansmiththat seems like a "fix the symptom not the problem" sort of thing15:33
abhishekk:D 15:33
opendevreviewMarkus Hentsch proposed openstack/glance master: Standardization of encrypted images  https://review.opendev.org/c/openstack/glance/+/92629516:31
opendevreviewDan Smith proposed openstack/glance master: WIP: Add GPT disk_format  https://review.opendev.org/c/openstack/glance/+/93360117:24
abhishekkCurrently glance gate is failing for glance-cinder-multistore-import job with quota exceeding issue. The quota issue seems to be occurring from a recent change in devstack (removing volumev3 endpoint) causing issues with openstack client commands (set quotas). The details of the issue and fix are in this release patch https://review.opendev.org/c/openstack/releases/+/93357818:59
abhishekkUntil this release patch is merged, kindly avoid posting recheck on your patch.18:59
opendevreviewRajat Dhasmana proposed openstack/glance master: Increase per project quota to 50  https://review.opendev.org/c/openstack/glance/+/93355019:12
opendevreviewRajat Dhasmana proposed openstack/glance master: Add new glance.wsgi module  https://review.opendev.org/c/openstack/glance/+/93270119:12
*** whoami-rajat_ is now known as whoami-rajat19:31
opendevreviewCyril Roelandt proposed openstack/glance master: Doc: update "Running Glance in HTTPD" section  https://review.opendev.org/c/openstack/glance/+/93361319:39
opendevreviewCyril Roelandt proposed openstack/glance master: Do not test standalone deployments any more  https://review.opendev.org/c/openstack/glance/+/93361419:50

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