Monday, 2016-08-15

*** zhurong has quit IRC00:03
*** adrian_otto has joined #heat01:12
*** bana_k has joined #heat01:21
*** zh has joined #heat01:33
*** adrian_otto1 has joined #heat01:33
*** adrian_otto has quit IRC01:34
*** vishwanathj has joined #heat01:43
*** vishwanathj has quit IRC01:43
*** yanyanhu has joined #heat01:44
*** elynn has joined #heat01:54
*** adrian_otto1 has quit IRC01:59
*** jamielennox is now known as jamielennox|away02:10
*** steveg_afk has quit IRC02:28
*** jamielennox|away is now known as jamielennox02:30
openstackgerritRico Lin proposed openstack/heat: Handle stop rpc service at engine listener service  https://review.openstack.org/35390902:30
*** bana_k has quit IRC02:40
*** bana_k has joined #heat02:53
openstackgerritMerged openstack/heat: Catch NotSupported when cancelling a nested stack  https://review.openstack.org/35298902:55
*** zhurong has joined #heat02:59
*** bana_k has quit IRC03:08
*** ramishra has quit IRC03:49
*** ramishra has joined #heat03:51
*** sabeen has joined #heat03:58
*** sabeen1 has joined #heat04:00
openstackgerritMerged openstack/heat: Add support for a resource level external_id  https://review.openstack.org/13549204:00
*** sabeen has quit IRC04:02
*** chlong has joined #heat04:21
*** vishwanathj has joined #heat04:25
*** elynn has quit IRC04:27
*** bana_k has joined #heat04:30
*** Drago1 has joined #heat04:41
*** Drago1 has quit IRC04:41
*** Drago1 has joined #heat04:42
*** zhurong has quit IRC04:43
*** zhurong has joined #heat04:44
*** Drago1 has quit IRC04:45
*** bana_k has quit IRC04:46
*** jaosorior has joined #heat04:47
*** elynn has joined #heat04:50
*** elynn has quit IRC04:55
*** vishwanathj has quit IRC04:55
*** elynn has joined #heat04:56
*** crose has quit IRC05:15
*** rook has quit IRC05:15
*** vishwanathj has joined #heat05:15
*** vishwanathj is now known as vishwanathj_zzz05:16
*** rook has joined #heat05:17
*** rook is now known as Guest1403905:18
*** crose has joined #heat05:18
*** rcernin has joined #heat05:25
openstackgerritshizhihui proposed openstack-dev/heat-cfnclient: Delete openstack/common in tox  https://review.openstack.org/35530205:35
*** elynn has quit IRC05:55
*** elynn has joined #heat05:59
*** elynn has quit IRC06:04
openstackgerrithuangtianhua proposed openstack/heat: Provides 'if' intrinsic function  https://review.openstack.org/28347906:12
openstackgerrithuangtianhua proposed openstack/heat: Support condition for output  https://review.openstack.org/34718206:12
openstackgerrithuangtianhua proposed openstack/heat: Add a Macro class to heat.engine.function  https://review.openstack.org/32224806:12
openstackgerrithuangtianhua proposed openstack/heat: Add validating of section 'conditions'  https://review.openstack.org/34597506:12
*** zhurong has quit IRC06:15
*** zhurong has joined #heat06:16
openstackgerrithuangtianhua proposed openstack/heat: Add validating of section 'conditions'  https://review.openstack.org/34597506:19
openstackgerrithuangtianhua proposed openstack/heat: Support condition for resource  https://review.openstack.org/34712306:26
*** david-lyle has joined #heat06:36
*** david-lyle_ has quit IRC06:39
openstackgerrithuangtianhua proposed openstack/heat: Support condition for output  https://review.openstack.org/34718206:40
*** rwsu has joined #heat06:44
*** sabeen1 has quit IRC06:44
openstackgerrithuangtianhua proposed openstack/heat: Provides 'if' intrinsic function  https://review.openstack.org/28347906:44
openstackgerrithuangtianhua proposed openstack/heat: Add a Macro class to heat.engine.function  https://review.openstack.org/32224806:44
openstackgerritRico Lin proposed openstack/heat: Handle stop rpc service at engine listener service  https://review.openstack.org/35390906:47
*** skraynev has joined #heat06:56
*** chlong has quit IRC07:08
*** jpich has joined #heat07:21
*** skraynev has quit IRC07:24
openstackgerritshizhihui proposed openstack-dev/heat-cfnclient: Add Python 3.5 classifier and venv  https://review.openstack.org/35530207:25
*** skraynev has joined #heat07:25
*** chlong has joined #heat07:26
*** akuznetsov has joined #heat07:29
*** duvarenkov has joined #heat07:38
*** svkr_ has joined #heat07:45
*** dimtruck is now known as zz_dimtruck07:59
*** zzzeek has quit IRC08:00
*** sorantis has joined #heat08:00
*** sdake has joined #heat08:01
*** zzzeek has joined #heat08:02
*** svkr_ has quit IRC08:04
*** chlong has quit IRC08:07
*** sorantis has quit IRC08:12
*** sdake has quit IRC08:15
*** svkr_ has joined #heat08:16
*** sorantis has joined #heat08:17
*** ccamacho has joined #heat08:26
*** ccamacho has quit IRC08:26
*** ccamacho has joined #heat08:26
openstackgerrithuangtianhua proposed openstack/heat: Support condition for resource  https://review.openstack.org/34712308:29
openstackgerrithuangtianhua proposed openstack/heat: Provides 'if' intrinsic function  https://review.openstack.org/28347908:33
openstackgerrithuangtianhua proposed openstack/heat: Support condition for output  https://review.openstack.org/34718208:33
openstackgerrithuangtianhua proposed openstack/heat: Add a Macro class to heat.engine.function  https://review.openstack.org/32224808:33
*** sdake has joined #heat08:35
*** bana_k has joined #heat08:37
*** sdake has quit IRC08:43
*** prazumovsky has joined #heat09:14
*** elynn has joined #heat09:20
openstackgerritRico Lin proposed openstack/heat: Support exponential backoff retry on resource sync  https://review.openstack.org/32861309:23
*** elynn has quit IRC09:27
*** elynn has joined #heat09:28
*** sshnaidm has quit IRC09:29
*** jaosorior is now known as jaosorior_brb09:38
*** bana_k has quit IRC09:41
*** sdake has joined #heat09:46
*** sorantis has quit IRC09:58
*** elynn has quit IRC10:16
*** zz_dimtruck is now known as dimtruck10:18
*** yanyanhu has quit IRC10:22
openstackgerritMerged openstack/heat: Add validating of section 'conditions'  https://review.openstack.org/34597510:27
*** dimtruck is now known as zz_dimtruck10:28
*** jaosorior_brb is now known as jaosorior10:31
*** KanagarajM has joined #heat10:53
*** evilt0ne has joined #heat10:58
*** zhurong has quit IRC11:05
*** skraynev is now known as skraynev__11:05
*** sorantis has joined #heat11:18
*** jaosorior has quit IRC11:34
*** jaosorior has joined #heat11:35
*** dprince has joined #heat11:52
*** sdake has quit IRC12:02
*** sorantis_ has joined #heat12:06
*** sdake has joined #heat12:06
*** sorantis has quit IRC12:08
*** sorantis_ is now known as sorantis12:08
openstackgerritPeter Razumovsky proposed openstack/heat: Keystone::Endpoint observe reality implementation  https://review.openstack.org/30097312:10
openstackgerritshizhihui proposed openstack/python-heatclient: Updeate the home-page in setup.cfg  https://review.openstack.org/35543512:13
*** zz_dimtruck is now known as dimtruck12:18
*** sshnaidm|afk has joined #heat12:26
*** dimtruck is now known as zz_dimtruck12:28
*** steveg_afk has joined #heat12:30
*** pradk has joined #heat12:33
openstackgerritPeter Razumovsky proposed openstack/heat: Nova::Server observe reality implementation  https://review.openstack.org/24406612:35
*** dyasny has joined #heat12:37
*** sdake has quit IRC12:38
*** elynn has joined #heat12:40
*** zh has quit IRC12:41
*** elynn has quit IRC12:45
*** elynn has joined #heat12:46
openstackgerritPeter Razumovsky proposed openstack/heat: Neutron::Net observe reality implementation  https://review.openstack.org/25528712:49
*** elynn_ has joined #heat12:54
*** elynn has quit IRC12:55
openstackgerritPeter Razumovsky proposed openstack/heat: Neutron::FloatingIP observe reality implement  https://review.openstack.org/25626413:03
*** zz_dimtruck is now known as dimtruck13:04
*** ccamacho has quit IRC13:05
*** alee has quit IRC13:08
*** elynn_ has quit IRC13:13
*** jcoufal has joined #heat13:13
openstackgerritPeter Razumovsky proposed openstack/heat: Neutron::FloatingIP observe reality implement  https://review.openstack.org/25626413:24
openstackgerritPeter Razumovsky proposed openstack/heat: Neutron::Subnet observe reality implementation  https://review.openstack.org/25575313:37
*** sorantis has quit IRC13:42
openstackgerritPeter Razumovsky proposed openstack/heat: Neutron::Router observe reality implementation  https://review.openstack.org/25577613:43
*** KanagarajM has quit IRC13:47
*** sorantis has joined #heat13:50
*** jasond has joined #heat13:50
*** chlong has joined #heat13:52
*** dyasny has quit IRC13:54
*** ayoung has joined #heat13:55
*** dprince has quit IRC13:55
openstackgerritPeter Razumovsky proposed openstack/heat: Neutron::Net observe reality implementation  https://review.openstack.org/25528713:55
openstackgerritAlexander Ignatyev proposed openstack/heat: Support new osprofiler API  https://review.openstack.org/34451413:55
*** prazumovsky has quit IRC13:56
*** sorantis has quit IRC13:56
*** sorantis has joined #heat13:59
*** adrian_otto has joined #heat14:01
*** dyasny has joined #heat14:03
*** sorantis has quit IRC14:05
*** sorantis has joined #heat14:06
*** sdake has joined #heat14:10
*** adrian_otto has quit IRC14:13
*** adrian_otto has joined #heat14:15
*** adrian_otto has quit IRC14:20
*** fragatina has joined #heat14:20
*** fragatina has quit IRC14:21
*** sorantis has quit IRC14:21
*** fragatina has joined #heat14:21
*** jtomasek is now known as jtomasek|biab14:23
*** KanagarajM has joined #heat14:24
*** spotz_zzz is now known as spotz14:26
*** spotz is now known as spotz_zzz14:26
*** dprince has joined #heat14:27
*** spotz_zzz is now known as spotz14:27
*** akuznetsov has quit IRC14:28
*** dimtruck is now known as zz_dimtruck14:29
*** spedione|AWAY is now known as spedione14:31
*** vijendar has joined #heat14:32
*** jasond has quit IRC14:33
*** jasond has joined #heat14:34
*** zz_dimtruck is now known as dimtruck14:34
*** zaneb has joined #heat14:36
*** zhurong has joined #heat14:37
*** zhurong has quit IRC14:39
*** vishwanathj_zzz is now known as vishwanathj14:40
*** akuznetsov has joined #heat14:43
*** charlesr has joined #heat14:47
*** sdake has quit IRC14:48
*** elynn has joined #heat14:51
*** sabeen has joined #heat14:59
*** dyasny has quit IRC15:00
*** spzala has joined #heat15:01
*** akuznetsov has quit IRC15:04
*** dyasny has joined #heat15:05
*** rcernin has quit IRC15:06
*** dprince has quit IRC15:12
*** sabeen1 has joined #heat15:15
*** elynn has quit IRC15:15
*** sabeen has quit IRC15:17
*** elynn has joined #heat15:18
*** jtomasek|biab is now known as jtomasek15:20
*** svkr_ has quit IRC15:20
*** jasond has quit IRC15:23
*** elynn has quit IRC15:25
*** Drago has joined #heat15:31
*** Drago1 has joined #heat15:32
*** Drago1 has quit IRC15:32
*** charlesr has quit IRC15:32
*** Drago1 has joined #heat15:33
*** Drago has quit IRC15:35
*** Drago1 has quit IRC15:36
*** Drago has joined #heat15:36
*** harlowja_at_home has joined #heat15:40
*** bana_k has joined #heat15:54
*** spotz is now known as spotz_zzz15:55
*** jpich has quit IRC16:00
*** adrian_otto has joined #heat16:02
*** KanagarajM has quit IRC16:07
*** cwolferh has joined #heat16:09
*** jtomasek is now known as jtomasek|afk16:10
*** dyasny has quit IRC16:21
*** dprince has joined #heat16:24
*** spedione is now known as spedione|AWAY16:25
*** harlowja_at_home has quit IRC16:28
*** Drago has quit IRC16:31
*** bana_k has quit IRC16:31
*** bwallis has quit IRC16:36
*** daneyon_ has joined #heat16:38
*** daneyon has quit IRC16:40
*** dyasny has joined #heat16:40
*** Drago has joined #heat16:45
*** dyasny has quit IRC16:45
*** spedione|AWAY is now known as spedione16:49
*** dyasny has joined #heat16:50
*** adrian_otto has quit IRC16:54
*** adrian_otto has joined #heat16:57
*** sdake has joined #heat17:00
*** bwallis has joined #heat17:02
*** daneyon has joined #heat17:03
*** jaosorior has quit IRC17:06
*** daneyon_ has quit IRC17:06
*** daneyon_ has joined #heat17:07
*** harlowja has joined #heat17:08
*** dprince has quit IRC17:09
*** bana_k has joined #heat17:09
*** daneyon has quit IRC17:09
*** wirehead_ has quit IRC17:15
*** sabeen1 has quit IRC17:15
*** wirehead_ has joined #heat17:18
*** vijendar has quit IRC17:19
*** daneyon has joined #heat17:22
*** ayoung has quit IRC17:25
*** vijendar has joined #heat17:25
*** daneyon_ has quit IRC17:26
*** adrian_otto1 has joined #heat17:31
*** adrian_otto has quit IRC17:35
*** iurygregory has quit IRC17:36
*** dprince has joined #heat17:36
*** rcernin has joined #heat17:37
*** GonZo2000 has joined #heat17:38
*** sabeen has joined #heat17:39
*** ayoung has joined #heat17:41
*** vijendar has quit IRC17:42
*** GonZo2K has joined #heat17:44
*** GonZo2000 has quit IRC17:44
*** iurygregory has joined #heat17:53
*** vijendar has joined #heat17:56
openstackgerritZane Bitter proposed openstack/heat: Do str_replace in a single pass  https://review.openstack.org/35558318:01
*** GonZo2K has quit IRC18:10
*** GonZo2K has joined #heat18:10
*** GonZo2K has quit IRC18:10
*** GonZo2K has joined #heat18:10
*** GonZo2K has quit IRC18:12
*** GonZo2K has joined #heat18:12
*** GonZo2K has quit IRC18:13
*** dyasny has quit IRC18:21
*** neophy has joined #heat18:33
*** dyasny has joined #heat18:36
*** dyasny has quit IRC18:36
*** ayoung has quit IRC18:37
*** dyasny has joined #heat18:37
*** rcernin has quit IRC18:42
*** spzala has quit IRC18:48
*** spzala has joined #heat18:48
*** spzala has quit IRC18:51
*** spzala has joined #heat18:52
*** pt_15 has joined #heat18:57
*** dyasny has quit IRC19:00
*** vijendar has quit IRC19:01
*** vijendar has joined #heat19:07
*** Drago has quit IRC19:23
*** dyasny has joined #heat19:30
*** adrian_otto1 has quit IRC19:31
*** rajpatel has joined #heat19:38
*** blomquisg_gone is now known as blomquisg19:40
*** coreyob has quit IRC19:40
*** spotz_zzz is now known as spotz19:41
*** ayoung has joined #heat19:48
*** fragatina has quit IRC19:53
*** daneyon_ has joined #heat19:55
*** daneyon has quit IRC19:58
*** jasond has joined #heat20:00
openstackgerritJulian proposed openstack/heat-specs: New Resource Type OS::Cinder::Quota  https://review.openstack.org/35562720:02
openstackgerritJulian proposed openstack/heat-specs: New Resource Type OS::Cinder::Quota  https://review.openstack.org/35562720:03
*** coreyob has joined #heat20:05
*** neophy has quit IRC20:14
*** dyasny has quit IRC20:17
*** Drago has joined #heat20:24
*** sdake has quit IRC20:32
*** fragatina has joined #heat20:41
*** fragatina has quit IRC20:42
*** fragatina has joined #heat20:43
*** adrian_otto has joined #heat20:44
stevebakermorning20:49
openstackgerritZane Bitter proposed openstack/heat: Do str_replace in a single pass  https://review.openstack.org/35558320:54
*** sdake has joined #heat20:57
*** vijendar has quit IRC20:58
*** dprince has quit IRC20:59
stevebakerzaneb: hey, this may well be ready for review https://review.openstack.org/#/c/27823121:06
*** spedione is now known as chris_hultin21:06
*** spzala has quit IRC21:07
*** spzala has joined #heat21:07
zanebstevebaker: no thoughts on my comment?21:08
stevebakeroh yeah, that21:08
*** sdake has quit IRC21:08
zaneber, this one specifically https://review.openstack.org/#/c/278231/16/heat/tests/engine/service/test_stack_resources.py21:09
stevebakerwhat you really want from a deleted stack is the event list, not the resource list21:09
zanebhmmm... fair21:10
zanebso our position is that it doesn't matter, and deleted stacks will only have events and not resources? (and specifically, there's no way to filter the events down to a particular resource)21:12
zanebI think I can buy that21:12
stevebakerthat sounds reasonable to me. client side filtering only21:12
*** adrian_otto has quit IRC21:12
*** spzala has quit IRC21:13
*** GonZo2K has joined #heat21:13
*** GonZo2K has quit IRC21:13
*** GonZo2K has joined #heat21:13
*** sdake has joined #heat21:17
stevebakerI wonder if zzzeek is about? I think zaneb and I both have misunderstandings about the sqlalchemy identity map which would be good to clarify21:20
zzzeekstevebaker: hi21:20
stevebakerzzzeek: ye21:20
stevebakerzzzeek: heyt21:20
zaneblol21:20
stevebakeralskdh21:20
zanebis it Friday yet?21:21
stevebakerI have a cold21:21
stevebakerzzzeek: so some context, I'm building off the enginefacade change https://review.openstack.org/#/c/330800 to try some caching strategies which reduce the number of sql queries in a request21:22
zzzeekstevebaker: OK is there code here trying to do that yet21:23
stevebakerzzzeek: One case is where I know individual stack records will be fetched, so I do a query to get them all, I hold a reference to the results so that the identity map stays hot, then I expect no individual fetches to happen - but I'm not seeing that21:24
stevebakerzzzeek: https://review.openstack.org/#/c/31722121:24
zzzeekstevebaker: ok by "fetch" the only "fetch" you won't see is a get() of those identities21:25
zzzeekstevebaker: it will not cache a collection of those objects, or if you said query(MyObject).filter(<whatever>), etc.21:25
stevebakerzzzeek: thats right, I want my get() calls to not result in sql being logged21:26
zzzeekstevebaker: so, if you have a Session, and load objects into a persistent collection, then you use that same session for a get() later, and also the object isn't expired, you wont see SQL21:26
zzzeekso you need to check 1. same session 2. definitely a get and 3. object is not expired21:27
*** adrian_otto has joined #heat21:27
zzzeekalso you can look in the identity map directly session.identity_map,21:27
stevebakerzzzeek: and I'm wondering if the identity map is scoped to the session, which is scoped to the @db_context.reader annotated function - which makes it not useful for this situation21:27
*** chris_hultin is now known as spedione|AWAY21:27
zzzeekstevebaker: the identity map is local to a session.   there's no other scope that would be appropriate21:28
zzzeekhowever, @db_context.reader is using a single Session that came up from the top-level @db_context decorator in the request21:29
zzzeekunless you are breaking out @writer and @reader in different databases21:29
*** rajpatel has quit IRC21:29
zanebistr I checked and they were all using the same session21:30
zzzeekzaneb: OK so you'd want to peek in session.identity_map as you pdb through and see it's there21:31
zanebby 'checked' I mean I read the code ;)21:31
*** Zer0Byte__ has joined #heat21:32
stevebakerzzzeek: I don't think there is a "top level" @db_context reader, just a series of calls to @db_context.reader functions. Should I be doing something to ensure there is a default session on the context?21:32
stevebakerzzzeek: like annotating our service methods?21:32
stevebakerfor example, list_stack_resources https://review.openstack.org/#/c/317221/15/heat/engine/service.py21:33
zzzeekstevebaker: OK, so, if there are sibling calls to @db_context.reader and there's no db_context enclosing it, then it would be making a new session / transaction in each call, becasue there's not an existing one.  though that contradicts what zaneb just said21:33
zzzeekoh21:33
zzzeek"read the code" :)  yeah you can't see it by reading :)21:33
zanebI probably remembered wrong then21:33
*** adrian_otto has quit IRC21:34
zanebzzzeek: I dispute that. all the computer does is read the code ;)21:34
stevebakerzaneb: I think https://review.openstack.org/#/c/330800 changes that21:34
zzzeekstevebaker: do you ultimately want there to be just one database transaction for this whole operation?21:34
stevebakerzzzeek: for read-only calls yeah. otherwise it would depend21:35
*** jcoufal has quit IRC21:35
zzzeekstevebaker: so you'd want to have some top level "@db_context" that frames where the transaction is.   now this is kind of a thing I've seen, where we all have our RPC-style object interfaces that don't know anthing about the DB as the "top level"21:37
zzzeekim assumign thats the case here?21:37
stevebakerzzzeek: exactly, list_stack_resources is an RPC interface21:38
zanebwe ought to be setting up a session in service.py (when we get an RPC message and create the context). then we want to start a transaction when we call the db code. IIUC.21:38
stevebakermaybe we've discovered the use for this https://review.openstack.org/#/c/330800/9/heat/db/api.py21:38
*** sdake has quit IRC21:39
zzzeekzaneb: yeah, that's kind of what you'd need to do21:39
zzzeekso, enginefacade is tricky, but this is one of the patterns it hoped to "force".  e.g., lets know where our transactions are demarcated21:40
zzzeekand lets not over-demarcate21:40
zanebhttp://git.openstack.org/cgit/openstack/heat/tree/heat/common/context.py#n14121:41
zzzeekzaneb: in your "let's do a request!" it would just be doing "with enginefacade.writer():" before it calls down further.21:41
zzzeekzaneb: assuming the API is RESTful you could discern reader/writer by GET/PUT/POST/etc21:41
stevebakerzaneb: that goes away https://review.openstack.org/#/c/330800/9/heat/common/context.py21:42
zzzeekzaneb: or jsut use writer() in all cases21:42
zanebstevebaker: ah, that'll be the trouble then21:43
stevebakerzzzeek: what is the tradeoff of having a default reader vs a default writer21:45
zzzeekstevebaker: it is only meant to apply a hint in the use case that an application is routing "read only" SQL to a read slave DB21:45
zzzeeki dont think anyone's doing that, however when i first did enginefacade poeple were proposing reader/writer separation on the mailing list21:46
zzzeekit's really not very critical except at like...you know Web Scale :)21:47
stevebakerisn't that how our galera clusters are set up?21:47
zzzeekgaleras are multi master.  so there's no "read slave" concept21:47
zzzeekreader/writer can stil be used to route write transactions vs. readers to different galera nodes21:47
stevebakerI thought we configured to write to one master to work around that "deadlock" pattern21:48
zzzeekstevebaker: i guess in theory, enginefacade would need some kind of "wrap this block in sibling support" type of feature21:48
zzzeekstevebaker: yeah we do.  but all the "readers" go to the same DB also21:48
*** adrian_otto has joined #heat21:51
stevebakerzzzeek: so it sounds like decorating here isn't actually the right solution for us https://review.openstack.org/#/c/330800/12/heat/db/sqlalchemy/api.py instead we should decorate our entry points - which will either be our RPC object interface or the starting point of the async jobs they spawn?21:52
zzzeekstevebaker: IMO you should decorate regardless, but if you did have a global "make sure the context has the Session" then yes, I suppose you wouldn't need all the decorators on each method21:53
*** sdake has joined #heat21:54
stevebakerzzzeek: I'm fine with leaving them there too21:54
zzzeekstevebaker: if you are changing transaction scope to be at the top of all your requests, that's fine but you'd want to make sure there's no weird side effects of that.  nova etc. hvae some spots where they retry transactions and such21:54
stevebakerok21:55
*** harlowja has quit IRC21:55
zanebI don't think we want to change transaction scope22:04
*** GonZoPT has joined #heat22:05
*** GonZo2K has quit IRC22:05
zzzeekzaneb: so, the other way to "cache" things is just to cache them anywhere.  to get them into the Session that you're querying against you can get them in there using merge()22:06
zzzeekor even add().22:06
zzzeekmerge(obj, dont_load=True) is more the "I've pulled this object from a cache" function22:07
zanebplease no ;)22:07
stevebakerzzzeek, zaneb: I'm suggesting we cache at our versioned object layer, here is a case which can't use the identity map because its caching filter() calls22:09
stevebakerhttps://review.openstack.org/#/c/317220/1422:09
zzzeekstevebaker: coarse-grained caching is usually better, yup22:09
stevebakerzzzeek: I looked into implementing a sqlalchemy query cache but the dogpile example hurt my brain and I just couldn't see the advantage22:10
*** fragatin_ has joined #heat22:10
zzzeekstevebaker: yeah that is a thing I worked up at a gig some years ago where we really needed to cache everythign everywhere for a website22:10
zzzeekand it was like big object graphs22:10
zzzeekopenstack doesn't seem to do much with deep graphs22:10
zzzeekI think a coarse grained cache thing is easier, dogpile has that with just the regalar function cache decorators22:11
zzzeekkeystone shoudl be using it via oslo.cache22:11
stevebakerzzzeek: we wouldn't use dogpile, I just didn't see a benefit of caching one layer lower than what anybody in heat is familiar with ;)22:11
zzzeekstevebaker: sure22:11
*** fragatina has quit IRC22:13
*** fragatin_ has quit IRC22:14
*** fragatina has joined #heat22:15
*** jistr has quit IRC22:18
*** jistr has joined #heat22:19
*** sdake has quit IRC22:20
*** GonZoPT has quit IRC22:22
*** GonZo2000 has joined #heat22:24
*** jasond has quit IRC22:24
*** sabeen has quit IRC22:32
*** evilt0ne has quit IRC22:32
*** sdake has joined #heat22:35
*** Drago has quit IRC22:42
*** GonZo2000 has quit IRC22:48
*** GonZo2000 has joined #heat22:50
*** elynn has joined #heat22:55
*** elynn_ has joined #heat22:56
*** sdake has quit IRC22:57
*** elynn has quit IRC23:00
*** Drago has joined #heat23:10
*** Drago has quit IRC23:10
*** Drago has joined #heat23:10
*** elynn_ has quit IRC23:12
*** GonZo2000 has quit IRC23:22
*** tochi has joined #heat23:29
*** GonZo2000 has joined #heat23:31
*** bwallis has quit IRC23:33
*** harlowja has joined #heat23:36
*** zhurong has joined #heat23:49
*** bwallis has joined #heat23:55
openstackgerritMerged openstack/heat: Add version keyword argument to RAX glanceclient  https://review.openstack.org/34305423:55
*** GonZo2000 has quit IRC23:57
*** zhurong has quit IRC23:57

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