Friday, 2019-01-04

*** rosmaita has left #openstack-glance00:10
*** gyee has quit IRC00:45
*** Liang__ has joined #openstack-glance00:52
*** Liang__ is now known as LiangFang00:53
*** markvoelker has quit IRC00:54
*** markvoelker has joined #openstack-glance00:54
*** markvoelker has quit IRC00:59
*** sayalilunkad has quit IRC01:23
*** bhdn has quit IRC01:24
*** sayalilunkad has joined #openstack-glance01:28
*** bhdn has joined #openstack-glance01:32
*** szaher has quit IRC01:51
*** markvoelker has joined #openstack-glance01:55
*** markvoelker has quit IRC02:46
*** markvoelker has joined #openstack-glance02:46
*** lifeless has joined #openstack-glance03:10
*** abhishekk has joined #openstack-glance03:35
*** udesale has joined #openstack-glance04:52
*** rcernin has quit IRC06:47
*** dpawlik has joined #openstack-glance07:24
*** dpawlik has quit IRC07:34
*** brinzhang has joined #openstack-glance07:34
*** dpawlik has joined #openstack-glance07:38
*** brinzhang has quit IRC07:57
*** brinzhang has joined #openstack-glance07:58
*** markvoelker has quit IRC08:08
*** markvoelker has joined #openstack-glance08:08
*** markvoelker has quit IRC08:13
*** lpetrut has joined #openstack-glance08:15
*** udesale has quit IRC08:52
*** LiangFang has quit IRC08:53
*** udesale has joined #openstack-glance08:54
*** lpetrut has quit IRC09:18
*** udesale has quit IRC09:39
*** udesale has joined #openstack-glance09:40
*** markvoelker has joined #openstack-glance10:09
*** abhishekk has quit IRC10:18
*** brinzhang has quit IRC11:28
*** jokke_ has joined #openstack-glance12:08
*** rosmaita has joined #openstack-glance12:34
*** lifeless has quit IRC12:42
openstackgerritErno Kuvaja proposed openstack/glance master: Change default visibility to 'private'  https://review.openstack.org/62843012:43
jokke_rosmaita: you around?12:46
rosmaitayep12:46
rosmaitajokke_:  hope you're feeling better today12:46
jokke_I'm very close to explode12:46
jokke_physically better, yes.12:47
jokke_fecking half of our tests are still using is_public12:47
jokke_that and the tooling to work around it is making me crazy trying to get the default visibility changed12:48
rosmaitathat is a bummer12:49
jokke_I think what I uploaded now to gerrit narrows it down to like 4-5 failing tests12:49
jokke_that I just haven't got figured out how to work around other than throwing half of our tests away and all the BS that is handling the is_public cases12:50
jokke_btw it's not just this visibility change. I think we are currently ensuring that about half of the legacy stuff is totally broken if it's passed visibility instead of is_public ... like some of the context code, replicator and cache12:52
rosmaitathat sounds ... unpleasant.12:54
jokke_obviously most of it and the utility functions were necessary while we still supported the v1 but now when it's removed and we don't need to do it anymore it seems that internally it was deemed easier to write some utility functions to translate the v2 dicts to v1 instead of fixing the code that was actually consuming it12:55
jokke_and obviously shit starts breaking when it's not anymore just public_or_not12:55
rosmaitahere's an idea you'll love ... introduce a proxy class that has is_public and does the translation12:57
jokke_I'm quite sure these were few of those cases of "Lets just make this minimum viable and we can iterate from there" and those follow-ups just never happened12:58
jokke_I would even almost agree proxying some of this if it wasn't absolutely everywhere below API to DB that is doing this12:59
rosmaitagotcha12:59
rosmaitaso it was probably to keep the registry api working13:00
rosmaitabecause it hasn't been in the database since folsom or thereabouts13:00
jokke_some of it is related to the registry, but v2 registry is doing it as well, the db api's are handling it, most of the factory classes has some form of dealing with it and then lots of the context, cache etc. code is just using the utility function. Which btw is great, it checks if the is_public is passed and throws away visibility if so13:02
jokke_and removing thta blows up few other things as apparently it's not great idea to have both going :P13:02
rosmaitayuck13:02
jokke_oh and most of our testing fixtures can't handle visibility at all13:03
jokke_just those seems to be converted that are explicitly dealing with visibility or members13:04
rosmaitaoh boy13:05
jokke_was it this cycle we were able to get rid of registry all together?13:05
rosmaitai think that was the plan13:05
jokke_I thought so as well, just wasn't sure if we had to hang on the v2 registry still this cycle or not. I will have a look next week how much dumping all registry code and it's testing away will clean up that mess13:07
rosmaitajust checked, deprecated since Queens, so could be removed in Rocky13:10
rosmaitai mean Stein!13:10
jokke_yeah, hopefully that helps13:10
jokke_thanks for checking13:10
rosmaitathis says stein: http://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance/deprecate-registry.html13:10
rosmaitawell, the good thing is it's early enough in the cycle that if we can get the reg out in the next 2 weeks or so, we'll have time to catch any weirdness13:12
jokke_yeah, I think it's worth of tagging beta release if we get that out to see if it affects something that pulls tags13:13
jokke_even we're not tagging milestones13:13
rosmaitai agree13:13
jokke_well, I'll look at it Thursday. Now I'm gonna go and battle that fresh snow on the driveway :D13:14
jokke_have a great weekend when you get that far ;)13:14
rosmaitathanks, you too -- watch your back shoveling13:14
jokke_will do13:15
rosmaitaanything in particular you need me to look at today?13:16
*** markvoelker has quit IRC13:33
*** markvoelker has joined #openstack-glance13:33
*** mvkr has quit IRC13:57
*** mvkr has joined #openstack-glance14:12
*** zul has joined #openstack-glance14:51
*** udesale has quit IRC14:59
*** dpawlik has quit IRC15:25
openstackgerritzhulingjie proposed openstack/glance master: Update hacking version to latest  https://review.openstack.org/62850615:59
*** dpawlik has joined #openstack-glance16:11
*** dpawlik has quit IRC16:15
*** _alastor1 has joined #openstack-glance16:16
*** itlinux has joined #openstack-glance16:33
*** zul has quit IRC17:08
*** guilhermesp has joined #openstack-glance17:09
guilhermespHello everyone! Does anyone ever used glance to store images with cinder?17:09
*** imacdonn has quit IRC17:59
*** imacdonn has joined #openstack-glance18:00
*** gyee has joined #openstack-glance18:04
*** MattMan has quit IRC18:09
*** MattMan has joined #openstack-glance18:09
*** itlinux_ has joined #openstack-glance18:33
*** itlinux has quit IRC18:35
*** _alastor1 is now known as _alastor_18:40
*** itlinux_ has quit IRC19:40
*** lifeless has joined #openstack-glance20:12
*** itlinux has joined #openstack-glance20:43
*** itlinux_ has joined #openstack-glance21:56
*** itlinux has quit IRC21:59
*** itlinux_ has quit IRC22:24
*** rosmaita has left #openstack-glance23:31
*** openstack has joined #openstack-glance23:43
*** ChanServ sets mode: +o openstack23:43

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!