Wednesday, 2020-06-17

*** gyee has quit IRC00:01
*** Liang__ has joined #openstack-glance01:15
*** wxy has quit IRC02:21
*** rcernin has quit IRC02:49
*** rcernin has joined #openstack-glance02:54
*** rcernin has quit IRC03:08
*** rcernin has joined #openstack-glance03:45
*** rcernin has quit IRC03:45
*** rcernin has joined #openstack-glance03:50
*** Liang__ has quit IRC04:19
*** Liang__ has joined #openstack-glance04:23
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-glance04:33
*** ratailor has joined #openstack-glance05:10
*** threestrands has joined #openstack-glance05:27
*** threestrands has quit IRC05:33
*** udesale has joined #openstack-glance05:33
*** m75abrams has joined #openstack-glance06:00
*** rcernin has quit IRC07:47
*** Liang__ has quit IRC08:01
*** Liang__ has joined #openstack-glance08:02
*** priteau has joined #openstack-glance08:50
*** tkajinam has quit IRC08:57
*** wxy has joined #openstack-glance09:31
*** Liang__ has quit IRC09:33
openstackgerritSean McGinnis proposed openstack/glance master: Drop use of third party mock  https://review.opendev.org/73614609:42
*** ratailor has quit IRC12:11
*** jmlowe has quit IRC12:29
*** jmlowe has joined #openstack-glance12:32
*** udesale_ has joined #openstack-glance13:26
*** udesale has quit IRC13:28
*** priteau has quit IRC13:40
*** CeeMac has joined #openstack-glance13:44
dansmithabhishekk: woot13:44
CeeMachi#13:45
CeeMaci've got an odd issue13:45
CeeMactrying to upload a new image to the admin project and its failing with a 'broken pipe' error, looking at the glance-api debug logs its saying "VolumeLimitExceeded: Maximum number of volumes allowed (50) exceeded for quota 'volumes'"13:46
CeeMacthere are no volumes in the admin project, and i've set the quota for volumes in the admin project to -1 and still get the same error13:47
CeeMacI've tried the same to other projects from the admin context and keep getting the same error13:47
CeeMacsame if I use Horizon or openstack client13:48
*** Liang__ has joined #openstack-glance13:52
CeeMacok. More oddness, I just altered the 'default' quota from 50 to -113:52
CeeMacand now the image uploads13:52
CeeMacany thoughts on why the system default quota is being used for glance image upload?13:53
CeeMacanything to do with having volume backed images?13:53
*** Liang__ is now known as LiangFang13:53
*** lpetrut has joined #openstack-glance13:56
*** priteau has joined #openstack-glance13:56
*** LiangFang has quit IRC13:57
*** rchurch has quit IRC14:14
*** rchurch has joined #openstack-glance14:16
abhishekkdansmith, yep, thanks for initiating the discussion :D14:37
dansmithabhishekk: I put a WIP on top of your "use glance for import" patch to try to unify that a bit.. waiting to see if it works :)14:37
dansmiththat whole upload_image() function in devstack is an exercise in silliness14:38
abhishekkdansmith, ack, agree14:38
*** m75abrams has quit IRC14:56
*** ratailor has joined #openstack-glance15:05
rosmaitaCeeMac: if you use volume-backed images, then in addition to the glance limit (which i think is unlimited by default), you have to worry about the limit in cinder, since you need a volume for each image15:41
CeeMacrosmaita: I would have assumed the quota limit would be attached to the project the image is being created in though. That doesn't appear to be the case?15:48
CeeMacI checked the quota on the service project as well which is the tenant linked to volume backed images etc15:49
rosmaitawell, that is weird15:50
CeeMacThe only thing that fixed it was increasing the System Default Volume quota15:50
CeeMacYeah, that's what I thought too :/15:50
rosmaitabut i think the default for the cinder glance_store is that all volumes are owned by the 'glance' user or something like that15:51
rosmaitaso even though the admin project owns the image, the image isn't being stored in the admin project in the backend15:51
rosmaitai think there's an option like there is for the swift glance_store about whether glance owns the image data or whether the individual tenant does15:52
CeeMacI seem to recall that too actually15:52
*** udesale_ has quit IRC15:53
CeeMacBut I'm pretty sure the glance user is default to the service tenant which has -1 quota for volumes15:53
CeeMacI'll have to dig in to my config again later15:54
rosmaitagood luck!15:54
CeeMacLooks like we just ran into the same issue with neutron rbac.15:56
CeeMacI'm beginning to think 'System Defaults' doesn't mean what I think it means, to paraphrase Fezzik15:57
*** gyee has joined #openstack-glance15:58
CeeMacrosmaita: thanks for the replies anyway, I'll do some more digging15:58
*** ratailor has quit IRC16:04
*** lpetrut has quit IRC17:02
abhishekkdansmith, yours patch also fails with same error, https://zuul.opendev.org/t/openstack/build/4c425432ed22467390e96fda43d1566a17:35
dansmithabhishekk: yep, it didn't even get to my new code of course18:20
dansmithabhishekk: I wrote that up to unify the upload commands, not to try to fix your problem18:20
dansmither, I guess it did get to my new code, but yeah.. that patch was not intended to fix your race18:21
*** CeeMac has quit IRC20:04
*** CeeMac has joined #openstack-glance20:15
*** gyee has quit IRC20:17
*** irclogbot_2 has quit IRC20:18
*** irclogbot_0 has joined #openstack-glance20:20
*** gyee has joined #openstack-glance20:31
*** PrinzElvis has quit IRC20:49
*** priteau has quit IRC20:49
*** PrinzElvis has joined #openstack-glance20:52
*** PrinzElvis has quit IRC20:57
*** PrinzElvis has joined #openstack-glance21:35
*** rcernin has joined #openstack-glance22:42
*** gyee has quit IRC22:52
*** tkajinam has joined #openstack-glance22:54
*** hoonetorg has quit IRC23:10
*** hoonetorg has joined #openstack-glance23:23
*** CeeMac has quit IRC23:34

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