Friday, 2015-07-17

*** openstack has joined #openstack-ceilometer00:03
*** boris-42 has quit IRC00:12
*** promulo__ has joined #openstack-ceilometer00:21
*** promulo_ has quit IRC00:25
openstackgerritMerged openstack/ceilometermiddleware: Drop use of 'oslo' namespace package  https://review.openstack.org/20272000:26
*** ankita_wagh has quit IRC00:29
*** barra204 has quit IRC00:39
*** cing has joined #openstack-ceilometer00:45
*** jruano has quit IRC01:04
*** _cjones_ has quit IRC01:12
*** deepthi has joined #openstack-ceilometer01:31
*** ddieterl_ has joined #openstack-ceilometer01:39
*** ddieterly has quit IRC01:43
*** jdandrea has quit IRC01:46
*** ankita_wagh has joined #openstack-ceilometer01:51
*** ankita_wagh has quit IRC01:52
*** liusheng has quit IRC01:53
*** ankita_wagh has joined #openstack-ceilometer01:53
*** thorst has joined #openstack-ceilometer02:01
*** thorst has quit IRC02:06
*** ddieterl_ has quit IRC02:10
*** ddieterly has joined #openstack-ceilometer02:14
*** jruano has joined #openstack-ceilometer02:20
*** jruano has quit IRC02:22
*** jruano has joined #openstack-ceilometer02:43
*** pauldix has joined #openstack-ceilometer02:46
*** ankita_wagh has quit IRC02:47
*** jruano has quit IRC02:52
*** pauldix has quit IRC02:55
*** boris-42 has joined #openstack-ceilometer03:14
*** julim has quit IRC03:18
*** Kennan has quit IRC03:20
*** Kennan has joined #openstack-ceilometer03:20
*** liusheng has joined #openstack-ceilometer03:25
*** nsaje has joined #openstack-ceilometer03:28
*** nsaje_ has joined #openstack-ceilometer03:31
*** nsaje____ has quit IRC03:31
*** nsaje has quit IRC03:34
*** ildikov has quit IRC03:40
*** jruano has joined #openstack-ceilometer03:42
*** jruano has quit IRC03:52
*** ddieterl_ has joined #openstack-ceilometer03:57
*** ddieterly has quit IRC04:01
*** yprokule has joined #openstack-ceilometer04:21
*** ddieterl_ has quit IRC05:06
*** ankita_wagh has joined #openstack-ceilometer05:14
*** boris-42_ has joined #openstack-ceilometer05:20
*** boris-42 has quit IRC05:23
*** chinmay_g has quit IRC05:23
*** ondergetekende has quit IRC05:23
*** cing has quit IRC05:23
*** cing has joined #openstack-ceilometer05:23
*** ondergetekende has joined #openstack-ceilometer05:24
*** boris-42_ is now known as boris-4205:24
*** chinmay_g has joined #openstack-ceilometer05:27
*** _nadya_ has joined #openstack-ceilometer05:31
*** _nadya_ has quit IRC05:34
*** _nadya_ has joined #openstack-ceilometer05:34
*** _nadya_ has quit IRC05:38
*** ddieterly has joined #openstack-ceilometer06:07
*** ig0r_ has joined #openstack-ceilometer06:08
*** ddieterly has quit IRC06:11
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Imported Translations from Transifex  https://review.openstack.org/20289106:12
*** _nadya_ has joined #openstack-ceilometer06:18
*** _nadya_ has quit IRC06:19
*** _nadya_ has joined #openstack-ceilometer06:20
*** _nadya_ has quit IRC06:21
*** _nadya_ has joined #openstack-ceilometer06:21
*** jaosorior has joined #openstack-ceilometer06:43
*** ig0r_ has quit IRC06:45
*** ig0r_ has joined #openstack-ceilometer06:51
*** belmoreira has joined #openstack-ceilometer06:51
*** ankita_wagh has quit IRC07:05
*** ankita_wagh has joined #openstack-ceilometer07:05
*** afazekas has joined #openstack-ceilometer07:06
*** boris-42 has quit IRC07:12
*** Ala has joined #openstack-ceilometer07:20
openstackgerritRen Qiaowei proposed openstack/ceilometer: Add necessary executable permission  https://review.openstack.org/20235307:33
*** shardy has joined #openstack-ceilometer07:33
*** safchain has joined #openstack-ceilometer07:54
*** eglynn has quit IRC07:55
*** ankita_wagh has quit IRC08:00
*** shardy_ has joined #openstack-ceilometer08:00
*** shardy has quit IRC08:02
*** shardy_ has quit IRC08:06
*** shardy has joined #openstack-ceilometer08:06
*** eglynn has joined #openstack-ceilometer08:17
*** yassine has joined #openstack-ceilometer08:31
*** eglynn has quit IRC08:38
*** ddieterly has joined #openstack-ceilometer08:38
*** ddieterly has quit IRC08:43
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: return 410 is only Gnocchi is enabled  https://review.openstack.org/20292508:49
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292608:49
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292608:50
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: return 410 is only Gnocchi is enabled  https://review.openstack.org/20292508:51
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292608:51
*** promulo__ has quit IRC09:02
*** promulo_ has joined #openstack-ceilometer09:02
* sileht just got heat working with aodh without anychange to heat or ceiloclient, thanks to https://review.openstack.org/#/c/202926/09:03
silehtjd__, ^09:03
jd__sileht: good news09:04
jd__I'm just back from PTO so I'm catching up with email09:04
*** eglynn has joined #openstack-ceilometer09:06
openstackgerritliusheng proposed openstack/python-ceilometerclient: (WIP) Add support for client redirecting to aodh endpoint if available  https://review.openstack.org/20293809:18
*** liusheng has quit IRC09:18
*** liusheng has joined #openstack-ceilometer09:19
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: return 410 is only Gnocchi is enabled  https://review.openstack.org/20292509:29
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292609:29
*** Kennan2 has joined #openstack-ceilometer09:33
*** Kennan has quit IRC09:33
*** ddieterly has joined #openstack-ceilometer09:39
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: return 410 is only Gnocchi is enabled  https://review.openstack.org/20292509:43
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292609:43
*** ddieterly has quit IRC09:44
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: return 410 is only Gnocchi is enabled  https://review.openstack.org/20292509:46
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292609:46
*** nsaje__ has joined #openstack-ceilometer09:50
*** nsaje_ has quit IRC09:52
*** fabian4 has quit IRC09:53
*** liusheng has quit IRC09:59
*** openstackgerrit has quit IRC10:31
*** openstackgerrit has joined #openstack-ceilometer10:31
*** jaosorior has quit IRC10:36
*** ddieterly has joined #openstack-ceilometer10:40
*** lsmola has joined #openstack-ceilometer10:40
*** thorst has joined #openstack-ceilometer10:40
*** ddieterly has quit IRC10:44
*** thorst has quit IRC10:45
*** cing has quit IRC11:00
*** shardy_ has joined #openstack-ceilometer11:09
*** shardy has quit IRC11:11
*** shardy_ has quit IRC11:15
*** shardy has joined #openstack-ceilometer11:15
*** cdent has joined #openstack-ceilometer11:16
*** lexholden has quit IRC11:29
*** ddieterly has joined #openstack-ceilometer11:40
*** ddieterly has quit IRC11:45
*** ddieterly has joined #openstack-ceilometer11:50
*** deepthi has quit IRC11:53
*** jruano has joined #openstack-ceilometer11:56
*** bdossant has joined #openstack-ceilometer11:59
*** cing has joined #openstack-ceilometer12:03
openstackgerritJulien Danjou proposed openstack/aodh: Move aodh.alarm.rpc to aodh.rpc  https://review.openstack.org/20059812:17
openstackgerritJulien Danjou proposed openstack/aodh: Move alarm.service to service  https://review.openstack.org/20059312:17
*** lsmola has quit IRC12:21
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: return 410 is only Gnocchi is enabled  https://review.openstack.org/20292512:21
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292612:21
*** lsmola has joined #openstack-ceilometer12:23
*** edmondsw has joined #openstack-ceilometer12:23
*** gordc has joined #openstack-ceilometer12:26
*** thorst has joined #openstack-ceilometer12:33
*** thorst has quit IRC12:35
*** julim has joined #openstack-ceilometer12:52
*** julim has quit IRC12:53
*** julim has joined #openstack-ceilometer12:53
openstackgerritMerged openstack/gnocchi: In devstack use our own install redis command  https://review.openstack.org/20256312:54
gordcsileht: quick question: even with this patch https://review.openstack.org/#/c/202926, it won't impact any redirect we do in client either right?12:56
silehtgordc, I think we need both patches:12:59
sileht- ceilometerclient update to:12:59
sileht  * not load ceilometer-api if aodh present12:59
sileht  * allow to remove ceilometer-api if gnocchi+aodh is used12:59
sileht- server side redirection to:12:59
sileht  * allow old ceilometerclient to transparantly works12:59
sileht  * not break non-python client library12:59
gordcsileht:sounds good. that was the idea i had as well. thanks for confirming :)13:00
cdentare gate jobs running different olso.messaging from check jobs?13:05
silehtcdent, I hope not13:06
gordccdent: you asking because of random failures on TestRealNotification?13:06
cdentyes13:06
cdentseems it happens it gate but not check13:06
cdentbut that may just be chance13:06
gordcyeah, i'm sort of hoping it gets randomly fixed by next release.13:06
cdentTOO MUCH MAGIC13:07
* cdent sighs13:07
gordcdon't question magic!13:07
cdentIs there anything worth investigating or just wait?13:07
gordcmaybe wait for harlowja's patch that fixed the issues we found13:08
gordci don't think the memory leak fix will do anything but maybe the first one? regarding duplicate ACK message13:09
cdentgordc, sileht: does it make any sense in the dispatcher to mainaint a long running resource metadata cache (if we don't already)?13:10
* sileht hates cache13:11
gordcwhat does cache do?13:11
cdentthis seems like the ideal case for one though13:11
cdentcache holds resource info13:11
gordcso we don't store it again?13:11
silehtcdent, how to make sure it is value ?13:11
gordcor query?13:11
cdentgordc: so we only try to PATCH if there is a change13:11
*** shardy_ has joined #openstack-ceilometer13:12
cdentsileht: you mean how do we compare two different metadata's for sameness?13:12
silehtcdent,I means how we store this cache ? a shared memcached between all collectors ?13:12
gordccdent: https://github.com/openstack/ceilometer/blob/master/ceilometer/storage/impl_sqlalchemy.py#L26813:13
gordci think dogpile.cache has a lru implementation now.13:13
cdentsileht: that would certainly be one option, but even if it were local to just this collector that would be better than nothing13:13
*** shardy has quit IRC13:13
gordcyou'll need to check with zzzzeek (i have no idea how many 'z','e','k')13:13
cdenta full on distributed cache would be best13:13
cdentwe use cache far too little13:13
cdent(real cache)13:14
silehtIf we are ok to use dogpile on the dispatcher, I'm ok too13:14
cdentI think we should get used to the idea of having caches13:14
cdentwe don't have to require them13:14
gordccdent: local cache was the problem, if you don't have coordination at collector, your cache will probably clear before you see value again13:14
silehtbut that can work only if the cache is shared between controller (and if noone change the resource metadata outside the dispatcher)13:14
cdentbut these are the exact sort of scenarios where having them is good13:14
cdentsileht: ?13:15
cdentyou only write into the cache when you have do a write to gnocchi13:15
* Beetnik is away: Not around13:16
cdentlater when you want to do a write you see if what you have is in the cache, if it is, you don't write13:16
cdentthat's all13:16
cdentcool thanks for the update Beetnik13:16
* cdent sighs13:16
gordcsileht: i think everything will now go through collector (even api)13:16
cdentwhy does it matter whether things don't go through the collector?13:16
cdentall your asking is "has this already been dispatched"13:17
gordccdent:if you patch resource outside of collector, your collector cache will be different than db13:17
cdentif the answer is no, then you write13:17
*** shardy_ has quit IRC13:17
silehtso no cache exists :p13:17
*** shardy has joined #openstack-ceilometer13:18
* cdent is missing something, or is not communicating well13:18
* sileht just remembers that gnocchi support etag13:18
cdentyou never use the value in the cache13:18
cdentyou mean the client isn't already etagging?13:18
silehtcdent, yes the client doesn't send etag13:19
gordccdent: ie. metadata comes in, checks cache, it's the same, don't patch. but in reality, the db metadata is different from cache and does need to be patched.13:19
silehtgordc, that where etag help13:19
silehtgordc, collector think it have the last version in cache (with the etag), it will try to patch with the etag13:20
cdentgordc, what is reality in that case? reality, to me, is that we have a sample with some reasource metadata and we need to know whether to write it or not13:20
cdentif we have already written it (which is what the cache says) then we don't need to write it13:20
silehtgordc, and gnocchi will reject the PATCH because the etag is outdated13:20
cdentit has _nothing_ do with someone manipulating the db13:20
gordcwhat's the etag? a hash of record?13:21
cdentsileht: that's a great thing, but even better is never trying the patch in the first place13:21
cdentbrb13:21
gordccdent: that's the thing, how do you nkow it's written, the resource might exist but a metadata value might have changed. it really depends on how you decide whether something is written or not.13:23
cdenthuh? you know it is written because that's the definition of the cache "I wrote this metadata"13:24
*** jruano has quit IRC13:25
*** primechuck has joined #openstack-ceilometer13:26
gordccdent:yeah, that's why i mentioned everything goes through collector. the api can write something and the collector (where cache is) will never know.13:26
cdentright, so the collector will just write it again, which is not a problem, it is just a history add13:27
gordccdent: or it will think it won't need to write it.13:27
cdenthow can it think that?13:27
gordcheading out. got a team building team...13:27
silehtgordc, as I said, gnocchi will reject the PATCH becaues the etag in the collector cache doesn't match the etag in database13:27
*** gordc has quit IRC13:27
* cdent remains confused13:28
*** cing has quit IRC13:28
*** cing has joined #openstack-ceilometer13:29
* Beetnik is back (gone 00:15:51)13:32
*** ccrouch has joined #openstack-ceilometer13:36
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Convert identity, sahara and image to meters yaml  https://review.openstack.org/20303113:38
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Enable entry points for new declarative meters  https://review.openstack.org/20303213:38
cdentgreat, now the gate can't reach git.openstack13:43
cdentBefore openstack my experience of networks was fairly reliable, even when I used to work for an ISP. Clearly I was blessed.13:44
*** jaosorior has joined #openstack-ceilometer13:49
*** jruano has joined #openstack-ceilometer13:54
*** jdandrea has joined #openstack-ceilometer13:56
*** shardy_ has joined #openstack-ceilometer14:04
*** jruano has quit IRC14:04
*** shardy has quit IRC14:04
*** julim_ has joined #openstack-ceilometer14:05
*** _nadya_ has quit IRC14:06
*** _nadya_ has joined #openstack-ceilometer14:06
*** julim has quit IRC14:08
*** shardy_ has quit IRC14:09
*** shardy has joined #openstack-ceilometer14:10
*** _nadya_ has quit IRC14:11
*** rbak has joined #openstack-ceilometer14:12
*** ddieterly has quit IRC14:24
*** Kennan2 has quit IRC14:32
*** Kennan has joined #openstack-ceilometer14:33
openstackgerritMerged openstack/ceilometer: Clean the re-implemented serializers in Ceilometer  https://review.openstack.org/19414814:38
openstackgerritMerged openstack/ceilometer: gnocchi: Remove useless resources patching  https://review.openstack.org/20250714:41
*** tongli has joined #openstack-ceilometer14:42
*** mgarza_ has joined #openstack-ceilometer14:43
*** ddaskal has joined #openstack-ceilometer14:53
openstackgerritMehdi Abaakouk (sileht) proposed openstack/aodh: Add devstack plugin  https://review.openstack.org/20046714:58
openstackgerritMehdi Abaakouk (sileht) proposed openstack/aodh: api: Add location alarm creation  https://review.openstack.org/20242714:58
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Enable entry points for new declarative meters  https://review.openstack.org/20303215:06
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: return 410 if only Gnocchi is enabled  https://review.openstack.org/20292515:22
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292615:22
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292615:28
*** tongli has quit IRC15:30
*** tongli has joined #openstack-ceilometer15:31
*** belmoreira has quit IRC15:43
*** ildikov has joined #openstack-ceilometer15:47
*** shardy has quit IRC15:47
*** ankita_wagh has joined #openstack-ceilometer15:51
*** bdossant has quit IRC15:53
*** jfluhmann has joined #openstack-ceilometer15:58
*** afazekas has quit IRC15:58
openstackgerritMerged openstack/aodh: api: Add location alarm creation  https://review.openstack.org/20242716:01
openstackgerritChris Dent proposed openstack/ceilometer: [WIP] Demonstrate dogpile cache of gnocchi resources  https://review.openstack.org/20310916:09
cdentsileht: that's ^ sort of what I was talking about before16:10
*** ankita_wagh has quit IRC16:10
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/20065916:11
openstackgerritChris Dent proposed openstack/ceilometer: [WIP] Demonstrate dogpile cache of gnocchi resources  https://review.openstack.org/20310916:12
silehtcdent, that looks good to me if we use dogpile16:15
cdentdogpile was just the easiest to make go16:15
cdentcould have been anything16:15
openstackgerritJulien Danjou proposed openstack/aodh: Move aodh.alarm.rpc to aodh.rpc  https://review.openstack.org/20059816:15
openstackgerritJulien Danjou proposed openstack/aodh: Move alarm.service to service  https://review.openstack.org/20059316:15
openstackgerritJulien Danjou proposed openstack/aodh: trust: remove useless conf imports  https://review.openstack.org/20311716:15
silehtcdent, your change caches the create_resource, but should be the update_resource16:16
cdentevidently should be both then16:16
cdentbecause create_resource gets called several times16:16
cdentwhen an instance is created16:16
cdent(for example)16:16
silehtyou just need to cache the hash, not to check it in case of create16:17
openstackgerritOpenStack Proposal Bot proposed openstack/python-ceilometerclient: Updated from global requirements  https://review.openstack.org/20183416:17
cdentno, I think you're missing the point16:17
cdentI want to avoid the _create_resource call ever being called if it has already been called once, correctly16:17
cdentwithout my code it gets called some number > 1 times16:18
cdentfor single resource16:18
silehtoh I got it16:18
cdentif there's a similar thing possible for _update_resource than that ought be add too16:18
cdentwill look16:18
cdentactually that part of the code is a bit confusing: Am I right that if the metric updates properly then resource_needs_to_be_udpated will remain true, so update_resource will be called?16:20
silehtcdent, if by 'metric updates' you means 'post_measure', yes16:21
cdentk16:21
*** ildikov_ has joined #openstack-ceilometer16:21
*** _cjones_ has joined #openstack-ceilometer16:23
silehtthe annoying thing is that for ~ each sample we do a POST or PATCH on the resource (sometimes both in the specail case you point to me)16:24
*** ildikov has quit IRC16:24
*** Ala has quit IRC16:25
*** jaosorior has quit IRC16:26
silehton monday I will rewrite https://review.openstack.org/#/c/202589/ to clearly separate the code that create/update resource and the one that post measurement16:26
cdentthat's an excellent idea16:26
cdentright now it is a bit murky16:26
*** yprokule has quit IRC16:33
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292616:37
openstackgerritChris Dent proposed openstack/ceilometer: [WIP] Demonstrate dogpile cache of gnocchi resources  https://review.openstack.org/20310916:37
cdentsileht:  ^ adds _upate_resource16:37
pradquestion: im seeing an issue where when stevedor loads up my extension, it cant resolve the config path for cfg_definition.. how does oslo resolve the default paths? for example i ahve default=meters.yaml in cfg opts16:43
pradwhich doesnt resolve via stevedor extension16:43
pradthe file is in /etc/ceilo16:43
pradthis worked fine until i loaded the class via entry points16:44
cdentare you using find_file?16:44
pradyea16:44
*** ankita_wagh has joined #openstack-ceilometer16:45
* cdent thinks16:45
pradcdent, so when stevedore loads this entry point .. this ling blows up with config_dir not defined https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/notifications.py#L14716:49
*** cdent has quit IRC16:49
*** cdent has joined #openstack-ceilometer16:50
cdentsorry prad apparently I thought so hard I made the power go out16:50
pradthis is weird, dont thinl i'm doing anything fancy16:50
cdentbut it wasn't hard enough, I didn't have any idea16:50
cdents16:50
pradhaha16:50
prad so when stevedore loads this entry point .. this line blows up with config_dir not defined https://github.com/openstack/ceilometer/blob/master/ceilometer/meter/notifications.py#L14716:51
pradlike any other definitions config we load i'm just using the file and let it fine it16:51
pradunless things are different loading the extension directly where something is not getting initialized16:52
cdentis the write intiial conf stuff getting imported? (I don't even know what I really mean by that)16:53
pradhmm not sure16:55
* cdent sighs16:56
cdentmy typing is getting worse and worse16:56
pradhttps://jenkins06.openstack.org/job/gate-ceilometer-python27/1913/console is what i'm debugging16:57
*** Ephur has joined #openstack-ceilometer16:57
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292616:57
cdentprad the thing I see is that c.service.prepare_service is called by a lot of stuff that is sort "independent" and in there is: cfg.CONF(argv[1:], project='ceilometer', validate_default_values=True)16:58
cdentthat's the thing that tells oslo config that /etc/ceilometer is the place to look16:58
cdentwhy your extension doesn't know that is unclear16:59
*** ankita_w_ has joined #openstack-ceilometer16:59
pradyea saw that , but it feels weird to do that again here16:59
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: Redirect request to aodh if available  https://review.openstack.org/20292616:59
cdentagreed, is there some way you can trace it back to see why that has gotten lost?16:59
*** ankita_w_ has quit IRC17:00
*** ankita_w_ has joined #openstack-ceilometer17:00
pradcdent, the trace in the log seems to indicate, stevedore is loading this class directly.. which it doesnt do for other config file defined modules17:01
pradso perhaps when i have it load direclty i need to indeed explicitly define it? i'm just guessing here17:01
*** ankita_wagh has quit IRC17:02
pradtrying service.prepare_Service() .. dont see any other way out17:05
praddonno if this even works17:05
*** _nadya_ has joined #openstack-ceilometer17:07
cdentprad its amazing how much of this stuff is just cargo17:07
*** _nadya_ has quit IRC17:12
*** MVenesio has joined #openstack-ceilometer17:17
silehtprad, perhaps you need to do this:17:23
openstackgerritMerged openstack/ceilometer: Delay the start of the collector until after apache restart  https://review.openstack.org/20219217:23
silehthttps://review.openstack.org/#/c/202500/7/ceilometer/tests/dispatcher/test_gnocchi.py17:23
silehtL5717:23
*** _nadya_ has joined #openstack-ceilometer17:23
sileht(in additionnal of prepare_service())17:26
*** harlowja has quit IRC17:26
silehtbbl17:26
*** harlowja has joined #openstack-ceilometer17:26
openstackgerritSergey Vilgelm proposed openstack/ceilometer: Switch to the oslo_utils.fileutils  https://review.openstack.org/19951517:30
openstackgerritSergey Vilgelm proposed openstack/ceilometer: Remove openstack.common package  https://review.openstack.org/20317917:30
*** ankita_wagh has joined #openstack-ceilometer17:32
*** ankita_w_ has quit IRC17:32
openstackgerritSergey Vilgelm proposed openstack/ceilometer: Remove openstack.common package  https://review.openstack.org/20317917:33
openstackgerritSergey Vilgelm proposed openstack/ceilometer: Switch to the oslo_utils.fileutils  https://review.openstack.org/19951517:33
*** rbak has quit IRC17:37
*** lexholden has joined #openstack-ceilometer17:38
openstackgerritMerged openstack/aodh: Add devstack plugin  https://review.openstack.org/20046717:41
*** boris-42 has joined #openstack-ceilometer17:44
pradsileht, hmm i do that in the tests, but this seems to fail even before the tests kick in.. fails as soon as the extension is loaded17:53
pradadding prepare_service in the handler directly seem to had some bad implications17:54
*** rbak has joined #openstack-ceilometer17:54
*** ankita_wagh has quit IRC18:02
*** ankita_wagh has joined #openstack-ceilometer18:02
*** Kennan2 has joined #openstack-ceilometer18:04
*** Kennan has quit IRC18:05
*** rjaiswal has joined #openstack-ceilometer18:11
rjaiswalgordc: Do the meter/sample/resource query limit change qualify for a kilo backport?18:12
*** yassine has quit IRC18:25
*** Beetnik has quit IRC18:33
*** eglynn has quit IRC18:36
openstackgerritRohit Jaiswal proposed openstack/ceilometer: Fixes querying alarm history with severity field  https://review.openstack.org/20023818:43
*** gordc has joined #openstack-ceilometer18:47
*** ildikov_ has quit IRC18:49
*** _nadya_ has quit IRC18:56
*** _nadya_ has joined #openstack-ceilometer18:57
*** _nadya_ has quit IRC19:01
*** cdent has quit IRC19:07
pradgordc, you around?19:09
gordcyep19:11
gordcrain made me work19:12
gordcprad ^19:12
pradah :)19:12
pradgordc, k so we were discussing this earlier on the channel with chris and mehdi .. so when i enabled the entry points for the new meter i get this: https://jenkins06.openstack.org/job/gate-ceilometer-python27/1913/console19:13
pradi tried adding prepare_Service to see if picks it up, but it doesnt seem to like it19:13
pradseems like its not able to find the file in relation to ceilo name space when loading it directly from stevedore19:14
gordcthe no such option error?19:18
pradyea19:18
gordchmm.. i wonder how i did event_pipeline19:19
pradgordc, its not able to find the yaml file looks like19:19
*** ankita_wagh has quit IRC19:19
*** ankita_wagh has joined #openstack-ceilometer19:20
pradgordc, but thats not loaded as a  stevedor extension is it?19:20
gordcprad: what's the difference between loading file in extension or outside extension?19:21
pradthe cfg path arent initialized when invoked directly via extension? and hence it cant find the file?19:22
gordci guess the next question is, why does it need to be an extension19:22
pradgordc, so it works the same as before except for in this case there is just one extension  to load .. i'm open to changing it if there is a better way19:23
*** edmondsw has quit IRC19:24
gordcwell we can just create the endpoint like event endpoint. i don't know if it resolves this stevedore thing. (i'd have to debug)19:25
pradgordc, yea we might ave the same issue19:26
gordci don't think it should be an extension anyways tbh19:26
gordcthe ultimate goal is just to kill everything under that namespace anyways19:27
gordcprad: i'll try pulling in your patch. will take a look.19:28
pradgordc, cool, lemme know if anything stands out19:29
rjaiswalgordc: Does the meter/sample/resource query limit change qualify for a kilo backport?19:30
*** ddaskal has quit IRC19:31
gordcrjaiswal: probably not, it's arguably a 'feature' (but it's stopping breaking queries.)19:31
rjaiswalgordc: isnt breaking queries a bug that needs to be fixed19:32
gordcrjaiswal: i'd think we need a lot of requests to make that a backport.19:32
rjaiswalgordc: ok19:32
gordcrjaiswal: yeah. but it's only breaking if user isn't aware of what they're doing.19:32
gordcit's sort of debatable terrority i think. it's a really jarring backport if all of a sudden, queries are limited19:33
gordcmaybe something to poll community on. (or just backport it internally)19:33
rjaiswalgordc: hmm19:34
rjaiswalgordc: probably get more feedback in weekly meeting?19:34
rjaiswalgordc: we can backport it internally as last resort19:35
gordcrjaiswal: sounds reasonable to me.19:35
rjaiswalgordc: thanks19:36
*** jfluhmann has quit IRC19:39
*** ankita_wagh has quit IRC19:40
gordcprad: what happens when you add https://github.com/openstack/ceilometer/blob/master/ceilometer/tests/test_notification.py#L228-L23119:42
*** ddaskal has joined #openstack-ceilometer19:42
gordctbh, it's very strange you are fixing tests that you will delete.lol19:44
*** _nadya_ has joined #openstack-ceilometer19:46
*** ig0r_ has quit IRC19:47
pradgordc, i do that in the tests19:48
pradgordc, but this happens when the extensions is loaded19:48
pradgordc, for example, 2015-07-17 15:50:25.205 | 2015-07-17 15:50:25.188 5844 ERROR stevedore.extension [req-2f7e9900-0902-4cff-8404-917c42e27dfe admin - - - -] Could not load 'meter': no such option: config_dir19:49
prad2015-07-17 15:50:25.206 | 2015-07-17 15:50:25.188 5844 ERROR stevedore.extension [req-2f7e9900-0902-4cff-8404-917c42e27dfe admin - - - -] no such option: config_dir19:49
pradgordc, the tests havent even kicked in yet.. in the tests i do what you mentioned above19:50
*** ddaskal has quit IRC19:50
rjaiswalgordc: on https://review.openstack.org/#/c/197356/, just added a comment but found its WIP, so asking here - does sqlalchemy sharding supports replication across the databases, i.e. having more than one copy of the shard for a set of data - replica shards and be compatible with mysql Percona clustering?19:51
rjaiswalgordc: http://docs.sqlalchemy.org/en/rel_1_0/orm/extensions/horizontal_shard.html doesnt mention whether horizontal sharding support replicas19:54
gordcrjaiswal: no. it's pretty basic support in sqlalchemy. ie. define a your databases, define shard/distribution logic. done. not replica, no ability to reconfigure/add dbs19:54
gordcrjaiswal: your HAalchmey solution might be more full featured19:54
rjaiswalgordc: haalchemy serves fail-over and distribution of requests, i think its based on fact that the database is clustered; for sharding to work in clustered setup and still be highly available, the shards need to have replicas on different instances, but as you mentioned, sqlachemy sharding is pretty basic19:59
gordcprad: when i add override it's fine.20:01
gordcit doesn't like event_types=None though20:01
pradgordc, yea i changed that to []20:01
pradgordc, override where?20:02
pradgordc, there is a debug statement that does a join on event_types20:02
pradgordc, it doesnt like none20:02
gordcprad: am i looking at an old patch?20:04
gordcprad: i still see None20:04
pradgordc, i just fixed it, yet to push..figuring out the config issue.. here is the patch i have locally https://gist.github.com/pkilambi/5f7fd0d0d1cc79f1a47020:06
pradgordc, where did you add the override, in the tests?20:06
gordcyeah, right after that link i sent ^20:06
openstackgerritMerged openstack/ceilometer: Store and restore the xtrace option in devstack plugin  https://review.openstack.org/20256120:06
gordcrjaiswal: yeah, i posted it as a quick solution. i started to notice sql backen was way way more efficient than mongo20:07
gordcbut it'd be a solution that could be applied to gnocchi as well.20:07
gordcsharding that is... not necessarily the sqlalchemy functionality20:07
gordcprad: if you can see that far, that means the entry_point is already loaded20:08
pradgordc, hmm interesting, lemme try20:09
*** ankita_wagh has joined #openstack-ceilometer20:22
*** ddieterly has joined #openstack-ceilometer20:23
*** tongli has quit IRC20:34
*** lsmola has quit IRC20:35
pradgordc, cool that seems to help, its moving forward20:40
*** safchain has quit IRC20:41
*** julim_ has quit IRC20:43
*** _nadya_ has quit IRC20:45
*** _nadya_ has joined #openstack-ceilometer20:45
gordcprad: good to hear. i'm going to head off. ttyl20:47
*** gordc has quit IRC20:47
*** _nadya_ has quit IRC20:49
*** jwcroppe_ has joined #openstack-ceilometer20:54
*** jwcroppe has quit IRC20:56
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Convert identity, sahara and image to meters yaml  https://review.openstack.org/20303120:56
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Enable entry points for new declarative meters  https://review.openstack.org/20303220:56
*** edmondsw has joined #openstack-ceilometer20:59
*** htruta has quit IRC21:12
*** htruta has joined #openstack-ceilometer21:12
*** jwcroppe has joined #openstack-ceilometer21:14
*** jwcroppe_ has quit IRC21:16
*** jwcroppe_ has joined #openstack-ceilometer21:17
*** jwcroppe has quit IRC21:19
*** jwcroppe has joined #openstack-ceilometer21:23
*** rbak has quit IRC21:24
*** jwcroppe_ has quit IRC21:25
*** primechuck has quit IRC21:25
*** jwcroppe_ has joined #openstack-ceilometer21:28
*** jwcroppe has quit IRC21:30
*** eglynn has joined #openstack-ceilometer21:35
*** jwcroppe has joined #openstack-ceilometer21:35
*** jwcroppe_ has quit IRC21:37
*** eglynn has quit IRC21:38
*** eglynn has joined #openstack-ceilometer21:38
*** jwcroppe_ has joined #openstack-ceilometer21:40
*** jwcroppe has quit IRC21:42
*** jwcroppe has joined #openstack-ceilometer21:43
*** jwcroppe_ has quit IRC21:45
*** eglynn has quit IRC21:48
*** eglynn has joined #openstack-ceilometer21:50
*** nsaje__ has quit IRC21:52
*** eglynn_ has joined #openstack-ceilometer21:52
*** eglynn has quit IRC21:55
*** MVenesio has quit IRC22:26
*** edmondsw has quit IRC22:28
*** ankita_w_ has joined #openstack-ceilometer22:30
*** ankita___ has joined #openstack-ceilometer22:31
*** ankit____ has joined #openstack-ceilometer22:32
*** ankita___ has quit IRC22:32
*** ankita_wagh has quit IRC22:34
*** ankita_w_ has quit IRC22:35
*** mgarza_ has quit IRC22:49
*** eglynn_ has quit IRC22:53
*** ddieterl_ has joined #openstack-ceilometer22:53
*** ddieterly has quit IRC22:56
*** ankita_wagh has joined #openstack-ceilometer23:00
*** ankit____ has quit IRC23:03
*** ankita_w_ has joined #openstack-ceilometer23:10
*** ankita_wagh has quit IRC23:13
*** MVenesio has joined #openstack-ceilometer23:21
*** MVenesio has quit IRC23:22
*** cing has quit IRC23:26
*** ankita_w_ has quit IRC23:50
*** rjaiswal has quit IRC23:54

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