Friday, 2015-08-14

*** kevinc_ has quit IRC00:12
*** haigang has joined #openstack-ceilometer00:26
*** ankita_w_ has joined #openstack-ceilometer00:28
*** _cjones_ has quit IRC00:31
*** ankita_wagh has quit IRC00:32
*** ankita_w_ has quit IRC00:32
*** thorst has quit IRC00:37
*** haigang has quit IRC00:50
*** hhuang has joined #openstack-ceilometer01:11
*** liusheng has joined #openstack-ceilometer01:14
*** ankita_wagh has joined #openstack-ceilometer01:27
*** haigang has joined #openstack-ceilometer01:39
*** haigang has quit IRC01:56
*** haigang has joined #openstack-ceilometer01:59
*** ankita_w_ has joined #openstack-ceilometer02:09
*** Ephur has quit IRC02:11
*** ankita_wagh has quit IRC02:13
openstackgerritliusheng proposed openstack/ceilometer-specs: Improve Nova Instance metering  https://review.openstack.org/20979902:15
*** boris-42 has quit IRC02:20
*** julim has quit IRC03:03
*** jwcroppe has joined #openstack-ceilometer03:29
*** ankita_w_ has quit IRC03:57
*** ankita_wagh has joined #openstack-ceilometer03:58
*** ankita_wagh has quit IRC04:02
*** ankita_wagh has joined #openstack-ceilometer04:09
*** dobson has quit IRC04:42
*** dobson has joined #openstack-ceilometer04:48
openstackgerritMerged openstack/aodh: devstack: use $API_WORKERS to set the number of WSGI workers in Apache  https://review.openstack.org/21006404:58
*** ankita_wagh has quit IRC05:02
*** ankita_wagh has joined #openstack-ceilometer05:02
*** yprokule has joined #openstack-ceilometer05:04
*** ankita_w_ has joined #openstack-ceilometer05:04
*** ankita_wagh has quit IRC05:05
*** boris-42 has joined #openstack-ceilometer05:06
*** ankita_w_ has quit IRC05:07
*** ankita_wagh has joined #openstack-ceilometer05:08
*** ankita_wagh has quit IRC05:12
*** yprokule has quit IRC05:18
*** yprokule has joined #openstack-ceilometer05:20
*** rjaiswal has quit IRC05:20
*** ankita_wagh has joined #openstack-ceilometer05:45
*** haigang has quit IRC05:45
*** haigang has joined #openstack-ceilometer05:46
*** haigang has quit IRC05:47
*** haigang has joined #openstack-ceilometer05:47
*** fawadkhaliq has joined #openstack-ceilometer05:48
*** yprokule has quit IRC06:14
*** nadya has joined #openstack-ceilometer06:18
*** yprokule has joined #openstack-ceilometer06:20
*** ildikov has quit IRC06:25
*** ildikov has joined #openstack-ceilometer07:02
*** haigang has quit IRC07:21
*** afazekas_ has joined #openstack-ceilometer07:24
openstackgerritNadya Shakhat proposed openstack/ceilometer: Make it possible to run postgresql functional job  https://review.openstack.org/21165107:26
openstackgerritNadya Shakhat proposed openstack/ceilometer: Make it possible to run postgresql functional job  https://review.openstack.org/21165107:27
*** jwcroppe has quit IRC07:33
*** ankita_wagh has quit IRC07:42
*** ankita_wagh has joined #openstack-ceilometer07:43
*** ankita_wagh has quit IRC07:47
*** IBerezovskiy has quit IRC07:52
*** ityaptin has quit IRC07:52
*** cdent has joined #openstack-ceilometer07:55
*** jwcroppe has joined #openstack-ceilometer07:59
*** exploreshaifali has joined #openstack-ceilometer08:14
*** yassine__ has joined #openstack-ceilometer08:18
*** exploreshaifali has quit IRC08:23
*** IBerezovskiy has joined #openstack-ceilometer08:27
*** ityaptin has joined #openstack-ceilometer08:28
openstackgerritMerged openstack/aodh: Refactor api tests (_update_alarm)  https://review.openstack.org/21260408:34
*** yassine__ has quit IRC08:38
*** yassine__ has joined #openstack-ceilometer08:39
*** nadya has quit IRC08:41
*** nadya_ has joined #openstack-ceilometer08:41
openstackgerritNadya Shakhat proposed openstack/ceilometer: Make it possible to run postgresql functional job  https://review.openstack.org/21165108:59
*** jwcroppe has quit IRC09:00
openstackgerritNadya Shakhat proposed openstack/ceilometer: Make it possible to run postgresql functional job  https://review.openstack.org/21165109:01
*** jwcroppe has joined #openstack-ceilometer09:01
*** jwcroppe has quit IRC09:03
jd__cdent: I've put a comment on the bug report related to the orphaned metrics, I'm still struggling to see where it comes from09:03
*** jwcroppe has joined #openstack-ceilometer09:03
jd__I need a hint :(09:03
*** jwcroppe has quit IRC09:05
*** jwcroppe has joined #openstack-ceilometer09:05
cdentjd__: uh, hmmm09:05
* cdent looks09:05
cdentjd__: have you actually tried it? spinning up a devstack etc, or are you still working at it from an inspecting the code standpoint09:09
jd__cdent: no I didn't try09:11
jd__cdent: is there any particular setup I should use or the default one does that?09:11
jd__I was hoping not to have to do that but if you don't have any hint I'll give it a run09:11
cdentIn my tests I just turn on the gnocchi plugin and set file as the backend (in local.conf)09:12
cdentlet me look at the code a sec09:12
cdentyou should probably run ceilo+gnocchi devstack and just state at the logs for a while09:12
cdentstare09:13
cdentit is rather revealing/interesting/mesmerizing09:13
jd__ack09:13
* jd__ running ./stack.sh09:13
jd__I miss dope'n stack09:13
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/21273609:14
cdentjd__: my read of the code is:09:18
cdentgroup stuff by resource09:18
cdentpost a measure for a resource09:18
cdentpost the resource09:18
cdentif there is a "workflow error" (whatever that is) it is ignored09:18
jd__that's also what I read, so no metric are created09:19
cdentno sorry, I got it slightly wrong09:19
cdentactually, I don't know09:20
* cdent needs more coffee09:20
cdentit should be this hard09:20
cdentshouldn't09:20
cdenti'm going to make that coffee and will come back and make a devstack of my own and we can compare notes09:21
* jd__ nods09:22
openstackgerritliusheng proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/21306109:27
cdenti'm on a different machine now, I hope this doesn't turn out to be "that other machine is just weird"09:28
cdentjd__: now I have a different problem: no metrics or resources are being saved at all09:46
* cdent cleans his configs09:46
*** ildikov has quit IRC09:49
*** haigang has joined #openstack-ceilometer09:56
cdentand now keystone is not working10:00
*** haigang has quit IRC10:03
jd__cdent: you're doomed10:08
cdentyeah, it seems that today is going to be one of those days where nothing works10:08
cdentyou making any progress?10:08
openstackgerritChris Dent proposed openstack/ceilometer: Revert "Remove version from os_auth_url in service_credentials"  https://review.openstack.org/21307210:15
cdentjd__: ^10:16
openstackgerritChris Dent proposed openstack/ceilometer: Revert "Remove version from os_auth_url in service_credentials"  https://review.openstack.org/21307210:18
jd__cdent: slowly stacking10:20
cdentwhen i put that fix in place I finally start getting some metrics, and I'm seeing orphans10:21
jd__so I just stack and ceilometer-collector gets 500 from gnocchi-api, why I'm looking for10:21
jd__where the hell are those gnocchi api logs I wonder10:26
cdentwherever you apache logs live10:27
jd__lol10:28
jd__yeah except that it's actually overriden by Horizon10:29
jd__anyway the problem is that Horizon was broken I just disabled it10:29
cdentu88iiiiiiiiiiiiiiiiiiiiioooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo10:29
cdentoooooooooooooooooooooooooooo810:29
cdentthat was my cat10:29
openstackgerritNadya Shakhat proposed openstack/ceilometer: Make it possible to run postgresql functional job  https://review.openstack.org/21165110:29
jd__now I got 400 \o/10:29
jd__Unknown archive policy low !? grr10:30
cdentjd__: see: https://review.openstack.org/#/c/206263/10:30
jd__I guess horizon being broken broke the creation of the AP at stacking time10:30
jd__damn it10:30
cdentjust disable horizon in local.conf, do you ever actually use it10:30
jd__right, I'll do that for the next stack10:31
* jd__ restacks10:31
cdentalso make sure you set the keystone stuff (a la my revision above)10:32
cdentor the services won't be able to query for meters etc10:32
jd__everyday I'm devstacking https://www.youtube.com/watch?v=54lmikcFbAo10:33
*** exploreshaifali has joined #openstack-ceilometer10:33
jd__cdent: gni didn't this keystone stuff got merged in ceilo?10:33
jd__ah I thought aodh was wrong, it's actually Ceilo10:34
jd__ actually I might not be impacted I've enabled ceilo from devstack10:35
jd__not from the plugin10:35
jd__old school10:35
cdentyeah, it is just the plugin where things go boom10:41
cdentjd__: I've found a trigger for the NULL stuff:10:43
cdentbasically each time a new something (such as an instance) there is a burst of activity which creates the orphaned metrics10:44
cdentso I ought to be able to instrument the collector to see what's going on, and then pull the trigger10:44
*** haigang has joined #openstack-ceilometer10:55
*** ildikov has joined #openstack-ceilometer10:56
cdentjd__: I've narrowed it down a little bit11:11
cdentnope, no i haven't11:25
*** Kennan2 has joined #openstack-ceilometer11:36
*** exploreshaifali has quit IRC11:36
*** Kennan has quit IRC11:37
jd__:(11:38
jd__I'm afk a while for lunch and I'll be back11:38
*** thorst has joined #openstack-ceilometer11:43
*** afazekas_ has quit IRC11:47
*** gordc has joined #openstack-ceilometer12:01
*** haigang has quit IRC12:05
*** liusheng has quit IRC12:16
openstackgerritMerged openstack/ceilometer: Revert "Remove version from os_auth_url in service_credentials"  https://review.openstack.org/21307212:19
gordccdent: curious but do you know why our functional gate tests spin up a devstack too?12:19
gordcnadya_: ^12:19
*** edmondsw has joined #openstack-ceilometer12:29
nadya_gordc: hmm, we only need vm with needed backend installed indeed12:30
gordcnadya_: so i guess we can probably disable nova and everything else.12:33
gordci wonder why we didn't need to do it originally when unit/functional tests were all together12:33
nadya_gordc: illustrates the importance of question "why we are here" :)12:35
gordclol12:36
gordci'll just go back to sleep12:36
*** exploreshaifali has joined #openstack-ceilometer12:44
cdentgordc: I don't really understand your question12:45
gordccdent: ... why does this exist. http://logs.openstack.org/51/211651/9/check/gate-ceilometer-dsvm-functional-mongodb/fc020cc/logs/12:46
gordcnadya_ already told me it's because we need vm with our backend.12:46
gordci just asked because it's strange to see functional tests testing less, but taking longer now (after we split unit and functional)12:48
cdentthe job definition presumably sets up a default devstack + ceilometer, thus the nova etc, as a way of providing future functionality for intergration tests too?12:48
cdentthey take less if you run them locally, which is kind of the point12:48
cdentyou can tox -epy27,functional12:49
cdentor tox -epy27,py-pgsql12:49
gordccdent: yeah, just asked out of curiosity... it's fine when i run locally12:49
cdentI don't know who set up the jenkins defintion for those tests12:49
cdenton the aodh and gnocchi versions of the same thing we run what would presumably be called integration tests of sorts12:50
gordcah, got it. i was going to say i saw it in aodh too so i assumed it was something required.12:50
openstackgerritIgor Degtiarov proposed openstack/ceilometer: Avoid from storing samples with empty or not numerical volumes  https://review.openstack.org/21261013:05
*** yassine__ has quit IRC13:07
*** rodrigods has quit IRC13:13
*** julim has joined #openstack-ceilometer13:16
*** yassine__ has joined #openstack-ceilometer13:17
openstackgerritMerged openstack/ceilometer: Updated from global requirements  https://review.openstack.org/21273613:21
openstackgerritMerged openstack/ceilometer: Make it possible to run postgresql functional job  https://review.openstack.org/21165113:21
*** gordc has quit IRC13:32
*** yassine__ has quit IRC13:36
*** yassine__ has joined #openstack-ceilometer13:38
*** exploreshaifali has quit IRC13:53
*** exploreshaifali has joined #openstack-ceilometer13:55
*** rbak_ has joined #openstack-ceilometer13:59
*** gordc has joined #openstack-ceilometer14:05
*** prad_ has joined #openstack-ceilometer14:16
*** prad_ is now known as pradk14:17
openstackgerritRohit Jaiswal proposed openstack/ceilometer: Fixed event requeuing/ack on publisher failure  https://review.openstack.org/21177914:20
*** fawadkhaliq has quit IRC14:22
jd__cdent: so no news on that bug?14:22
cdentjd__: not really14:23
jd__cdent: do you know what configures [keystone_authtoken] in gnocchi?14:26
cdentthere's a function call hosted by devstack itself that the plugin uses14:27
jd__hm14:27
cdentwhat's going on?14:27
jd__looks like it's using a deprecated alias for an option14:27
cdentyes, that's a devstack buglet14:28
jd__ok then I'll ignore it's probably already in a patch waiting to be merged14:28
jd__or not? cannot find anything that looks like that14:29
cdentas far as I can tell, jd__, unless stuff is actively broken it rarely gets fixed :(14:30
jd__yeah :/14:30
jd__I sent https://review.openstack.org/#/c/213173/ we'll see14:31
jd__back to our Gnocchi business now…14:32
cdentI have no clue what's going on with the dispatcher and I've given myself a delightful headache trying to unwind things. I'm going to need to take a bit of a break soon.14:32
cdentThe theory I was operating with was that somehow a create_metric is eventually called on the gnocchi side, without a resource14:32
cdentbut actually tracing back to something that does that is not working out14:32
jd__I thought about that but Gnocchi is raising the 400 error very soon14:33
jd__way before creating any metric14:33
cdentthe 400 may be a red herring14:33
cdentit is supposed to happen14:33
cdentand may have nothing to do with the problm14:33
cdentthat's just gnocchi saying: that id is no good, I reject you14:33
jd__I lol at MySQL printing me binary strings in my terminal when doing SELECT * FROM metric; :(14:34
cdentat that point that whole set of metrics should be dropped14:34
cdentand maybe it is14:34
cdentI don't know _what_ is actually creating the metrics because they have no name14:34
jd__I only polled images and I have orphaned metrics on my brand new devstack14:35
jd__and I don't have any 400 in logs14:35
cdentyeah that's what I was trying to say above14:35
cdentthe 400 is not relevant14:35
jd__understood indeed14:35
jd__it was a wrong lead!14:36
jd__I think Ceilometer is trying to lose us14:36
jd__it might be listening what we're saying… shhhht14:36
cdentnot that there was really any doubt, but the orphans are created by the ceilometer keystone user and the service project14:37
*** alejandrito has joined #openstack-ceilometer14:44
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Update install docs with gnocchi dispatcher info  https://review.openstack.org/20611014:53
pradknadya_, ^^ can you see if this helps.. I added a gnocchi lines two lines below where I talked about the backend. Also extended the note about url to say its gnocchi endpoint14:54
pradks/lines/links14:54
*** r-daneel has joined #openstack-ceilometer14:55
nadya_pradk: yes, thank you!14:55
pradkcool14:55
jd__I'm considering restacking with PG http://stackoverflow.com/questions/9842250/does-the-mysql-cli-tool-provide-a-way-to-display-binary-data-in-a-console-friend14:59
jd__grrrr15:00
cdenthe15:00
cdentI just did the HEX trick in my selects15:00
cdentbut as far as I can tell there's not much the database can tell us other than the fact the data is there15:00
cdents/data is/orphans are/15:01
*** exploreshaifali has quit IRC15:01
*** rjaiswal has joined #openstack-ceilometer15:02
*** lsmola has quit IRC15:13
cdentgordc: I'm as off the net as possible for the next 4 days. I've got some grenade-related infra stuff pending. Do you want to keep an eye on that, or should I -workflow it?15:14
jd__I'm making progress cdent15:14
cdenthuzzah!15:14
cdentwhat do you see jd__15:14
jd__it's too soon to tell but I know that the problem is triggered by _ensure_resource_and_metric() in the dispatcher15:15
jd__I'm still going down that rabbit hole15:15
jd__I'll report later15:15
jd__jd__ over15:15
cdentfor a little while I though that the decorator was causing issues, so you might try removing that. I was convinced that not having it there was removing the problem, but then when I tried to replicate it reliably, it didn't. Later I realized that I had twiddled some other knobs at the same time, so it may still be an issue15:16
gordccdent: which grenade stuff?15:17
cdentgordc: https://review.openstack.org/#/c/213036/15:17
gordccdent: what do i need to do? revert it if it breaks?15:18
cdentit has a dependency on removing ceilometer from grenade itself15:18
cdentso you'd have to revert two things15:18
cdentbut yeah, basically15:19
gordcerr maybe -workflow... i don't think i'll be tracking much things this weekend.15:19
cdentno prob, that was kind of what I was thinking too15:19
gordccool. thanks.15:20
gordcenjoy your escape from technology15:20
cdentI hope so. I've lost any capacity for thought15:21
*** prad_ has joined #openstack-ceilometer15:21
gordc"things devs say after working on openstack"15:21
gordci'll start a tumblr... that still exists right?15:22
*** prad_ has quit IRC15:29
jd__ooohhh I smell a race condition15:30
openstackgerritgordon chung proposed openstack/ceilometer: handle list payloads in notifications  https://review.openstack.org/21320215:31
cdentoh dear15:31
*** openstackgerrit has quit IRC15:31
*** openstackgerrit has joined #openstack-ceilometer15:31
*** nadya_ has quit IRC15:39
*** wayneeseguin has quit IRC15:40
jd__cdent: definitely a race :) I set executor_thread_pool_size = 1 in ceilometer.conf and the problem disapear entirely15:45
jd__now I need to wire my brain in concurrency mode to understand where the race is15:46
jd__but it should be pretty obvious15:46
jd__haha found it I guess15:50
cdenti would translate this as: eventlet is not actually your friend15:50
cdent(but maybe it has nothing to do with eventlet, I just felt like saying that)15:51
jd__it never has been15:51
jd__but it's not a problem with eventlet itself, just with concurrency and the way the code is written15:51
jd__so the following happen15:51
jd__(rubber duck mode)15:51
jd__the problem is very visible if you start the collector with 64 threads (the default) and a lot of samples in the queue15:52
jd__because you have suddenly a bunch of threads starting to handle the sample15:52
openstackgerritIgor Degtiarov proposed openstack/ceilometer: Avoid from storing samples with empty or not numerical volumes  https://review.openstack.org/21261015:52
jd__what they do, pretty much all at the same time is try to post the mesure to <resource_id>/metric/<metric_name>15:52
jd__they all get 40415:53
jd__ok so they all try to create the resource15:53
jd__only one will succeed (highlander mode)15:53
jd__the resource is created with ALL the metrics (e.g. image, image.size, image.send, etc)15:53
openstackgerritIgor Degtiarov proposed openstack/ceilometer: [WIP]Avoid from storing samples with empty or not numerical volumes  https://review.openstack.org/21261015:53
jd__the others threads got a 409 Conflict15:53
jd__they think that well, the resource exists, but probably not the metric, I'll create it15:53
jd__but wait… the first thread already created the resource and ALL the metrics!15:54
jd__anyway they go ahead and create the metric, which oprhans the previous one15:54
jd__tada (sound of victory)15:54
cdentah ha15:54
jd__now, how to fix that, missa think…15:55
cdentso that never crossed my mind because I hadn't realized that a subsequent association would break a previous one. I thought there would be some kind of error. I was assume that something, somehow, must be doing create_metric (whether client or server) and I just could not find it15:55
cdentno wonder15:55
jd__maybe we should not allow to replace a metric if it already exists15:57
jd__the call POST /v1/resource/generic/<id>/metric does not do any check if the metrics exist or not, it just does what is said15:57
jd__it if would refuse the call, that'd fix the issue15:58
jd__saying "nah that already exist" because it has been created in the meantime15:58
jd__yeah we could return 40915:59
jd__let's try that15:59
cdentis it gnocchi code that is causing the association to break, and if so, where?15:59
gordcdoes it make sense to hide all this in a client? wondering if it's easier to manage all the connections that way.16:02
cdentgordc: there's a client growing next to the dispatcher which will presumably be extracted when it is shown to be a proper thing16:03
cdentclearly it is not quite there yet16:03
jd__ok so we actually already return 409 where I thought we didn't16:03
gordccdent: yeah. that's what i noticed... i guess we need a few more features to justify breaking it out.16:03
openstackgerritJulien Danjou proposed openstack/gnocchi: gabbi: fix a typo in name of a test  https://review.openstack.org/21322216:04
*** ankita_wagh has joined #openstack-ceilometer16:10
openstackgerritgordon chung proposed openstack/ceilometer: handle list payloads in notifications  https://review.openstack.org/21320216:13
jd__cdent: ok I found the bug I can reproduce it with curl finally16:20
jd__it's in Gnocchi16:20
jd__if you create a resource a first time => 20116:20
jd__if you create a resource a second time => 40916:21
jd__well 409… but it actually changed the metric :->16:21
cdentoh noes!16:22
cdentI looked for that but I could not for the life of me trace the code16:23
cdentwhich is why I'm making gordc give me half his salary16:23
gordcjokes on you.16:24
cdentoh yeah, communism16:24
gordci have a gambling problem. it's all gone.16:24
cdenthow very canadian of you16:25
gordcenjoy your probing when you travel16:25
jd__I'm writing a unit test16:26
cdentagain with the inscrutability, gordc, the therapy is not working16:26
gordchmmm... there's only four countries according to wikipedia... this don't seem right16:26
jd__then I push it then I'm off drinking mojitoS16:26
cdentjd__++16:26
gordcto a onlooker it seems we have massive addiction problems in Ceilometer.16:27
cdenti blame society!16:27
cdentit's the system man16:27
jd__ok so the 409 does not change the metric16:28
* cdent is ever more confused16:28
jd__it just created new metrics that will stay orphan due to the call convert_metric_list()16:28
jd__I'll show you the code16:28
jd__it's just a plain dumb bug lol16:29
cdenti see it now16:29
cdentconvert_mertric is before update_resource16:29
jd__https://git.openstack.org/cgit/openstack/gnocchi/tree/gnocchi/rest/__init__.py#n89016:29
jd__so that creates brand new metric16:29
jd__with no parent16:29
jd__and since 409 will be returned, well, the metric stays orphan16:30
jd__but we never saw that because well it does not break anything16:30
jd__it just creates orphan metrics16:30
jd__pollution!16:30
cdentweird, I swear I looked at that code multiple times16:30
jd__so we need to either 1. delete those orphan metrics before abort()ing 2. not create them in the first place16:30
gordccoding is harder when you boozing16:31
jd__and it's hard to see that bug with a unit test since it's just well, pollution16:31
cdentis there a reason convert_metric_list is called before update_resource?16:31
cdent(and create_resource)16:31
jd__cdent: convert_metric_list() is used to create the resource in the storage and metric layers first if you pass not a metric uuid but a {16:31
cdenteach time it is called, it is called before the associated indexer resource method16:31
jd__but a {"archive_policy_name": foobar} to create one dynamically16:32
jd__it's a 2 pass process, 1. create the metrics in storage+indexer 2. create/update the resource with those new metrics16:32
jd__but if 2. fails we never rollback 1.16:32
* cdent boggles16:32
cdentno wonder I didn't get it16:32
jd__I'll add that as a note in the bug report and I'll fix it tomorrow-monday16:33
openstackgerritgordon chung proposed openstack/ceilometer: full multi-meter support  https://review.openstack.org/21281516:33
cdentcool16:33
cdentit will be nice to have that one out of the way: it was confusing other digging around quite a lot16:34
jd__comment added, taking off :)16:38
cdentme too16:38
cdentthanks for the digging16:39
*** cdent has quit IRC16:40
*** nadya has joined #openstack-ceilometer16:41
*** ankita_wagh has quit IRC16:45
*** exploreshaifali has joined #openstack-ceilometer16:45
*** ankita_wagh has joined #openstack-ceilometer16:46
*** nadya has quit IRC16:46
*** yprokule has quit IRC16:49
*** ankita_wagh has quit IRC16:50
*** yassine__ has quit IRC16:59
*** _cjones_ has joined #openstack-ceilometer17:00
*** Kennan2 has quit IRC17:05
*** ankita_wagh has joined #openstack-ceilometer17:14
*** david-lyle is now known as cbrown17:17
*** Kennan has joined #openstack-ceilometer17:21
*** rbak_ has quit IRC17:39
*** rbak_ has joined #openstack-ceilometer17:39
*** nadya has joined #openstack-ceilometer17:41
*** rbak has joined #openstack-ceilometer17:48
*** rbak_ has quit IRC17:49
*** boris-42 has quit IRC17:50
*** Ephur has joined #openstack-ceilometer17:51
openstackgerritClément Contini proposed openstack/ceilometermiddleware: HTTP_X_TENANT_ID is deprecated and replaced by HTTP_X_PROJECT_ID  https://review.openstack.org/21327617:55
*** nadya has quit IRC17:57
pradkgordc, did you have any luck with jsonpath matching static values? one way i'm able to get it working is if i explicitly define names as a list for each unit18:07
pradki dint really find a way to lookup what unit is for meter as thats not in the notification its part of the definition18:08
pradkwhich wont work for us18:08
openstackgerritClément Contini proposed openstack/ceilometermiddleware: HTTP_X_TENANT_ID is deprecated and replaced by HTTP_X_PROJECT_ID  https://review.openstack.org/21327618:09
openstackgerritClément Contini proposed openstack/ceilometermiddleware: HTTP_X_TENANT_ID is deprecated and replaced by HTTP_X_PROJECT_ID  https://review.openstack.org/21327618:11
*** ankita_w_ has joined #openstack-ceilometer18:17
*** nadya has joined #openstack-ceilometer18:20
*** ankita_wagh has quit IRC18:21
*** nadya has quit IRC18:25
*** fawadkhaliq has joined #openstack-ceilometer18:30
gordcpradk: hmm. i'll look now18:36
*** exploreshaifali has quit IRC18:41
gordcpradk: hmm. it's doable i think but it requires a regex to match .*\.percent meters18:50
gordcpradk: i think the easier way is to have a specific definition for each.18:51
pradkgordc, yea i originally had the definitions separate, but the volume still needs to be acquired from the payload list18:52
pradkone way i was thinking is we have the multi meter logic handle list of names and look up corresponding attrs18:53
gordchttp://paste.openstack.org/show/414681/18:53
gordcthat should work18:54
pradkgordc, yea i was hoping to leverage multi meters here, but i guess thats too complex18:55
gordcpradk: yeah... we'd have to regex on names that end with percent18:55
gordcand then assume those that don't are have ns units... it'll get messy.18:55
gordci think this is actually a cleaner/better way... to tackle each one individually.18:56
pradkyea my motivation was to reduce verbosity but seems like it isnt worth the complexity18:56
pradkyea i'll revert back to individual18:56
pradki'll poke some more at multi meter approach and see if i can get regex working18:57
gordci wonder if it's worth changing my other multi-meter back.18:57
pradkwhich one?18:57
gordcthe ceilometermiddleware one18:57
*** ankita_wagh has joined #openstack-ceilometer18:57
gordci actually like being explicit... it's less guessing from reader pov18:58
pradkyou mean the swift middleware one18:58
gordcyeah. well swift in ceilometermiddleware18:59
pradkyea from readability standpoint it does help.. but the file is growing huge18:59
pradkhopefully in M we can split is into projects18:59
gordcthat'll convince ildikov to accept our idea to split and let projects own ;)18:59
gordcwe'll make it really massive.18:59
pradkhehe yea, good idea19:00
openstackgerritRohit Jaiswal proposed openstack/ceilometer: Fixed event requeuing/ack on publisher failure  https://review.openstack.org/21177919:00
*** ankita_w_ has quit IRC19:01
gordcthe resource stuff is still super weird though... is the 'separator' attr for concatenating the resource_id?19:02
pradkgordc, yea it is, i thought about this and discussed with cdent as well.. the question is do we want to make the yaml look like how its represented or do we want yaml to achieve what we want it to look like19:05
pradkgordc, we leaned toward the latter .. if we start making the yaml match how it looks, its going to compromise the simplicity19:06
pradkgordc, we could move the separator under resource id if that makes it cleaner, something like:19:12
pradkresource_id:19:12
pradk  attr: - foo -bar19:12
pradk  separator: '_'19:12
gordcyeah, that'd be better from grouping pov19:13
gordci agree with what you and cdent reached... some of the stuff we have probably ain't meant for declarative meters.19:13
*** fawadkhaliq has quit IRC19:14
gordcit'll help teach ppl to make simple notifications if they want simple meters.19:14
pradkyea agreed19:14
*** nadya has joined #openstack-ceilometer19:19
*** boris-42 has joined #openstack-ceilometer19:24
*** nadya has quit IRC19:31
*** ankita_wagh has quit IRC19:34
*** ankita_wagh has joined #openstack-ceilometer19:34
*** ankita_wagh has quit IRC19:38
pradkgordc, argh bummer jsonpath-rw doesnt support ?19:42
gordc...well that blows19:44
*** nadya has joined #openstack-ceilometer19:58
*** alejandrito has quit IRC20:04
gordcpradk: that's very frustrating jsonpath-rw doesn't work... we can try adding it... or we can switch to objectpath (which has this fancy webpage).20:25
pradkgordc, yea thats what i'm trying .. objectpath has different format so something like:20:25
gordcf* never mind objectpath has bs license20:26
*** ankita_wagh has joined #openstack-ceilometer20:26
pradkd.execute('payload.metrics.*[@['name'] is 'cpu.frequency'].value')20:26
pradkah bs wont work wrt licensing for openstack?20:26
gordcit won't pass openstack licensing.20:26
pradkgotcha20:26
*** kevinc_ has joined #openstack-ceilometer20:26
pradkgordc, there is a enhancement request in place https://github.com/kennknowles/python-jsonpath-rw/issues/820:27
pradki guess they never got to it20:27
gordcor i don't think it's kosher... it's got same license as mongo20:27
*** nadya has quit IRC20:28
gordci'll look at it over weekend... going to pack and move boxes... office moving day20:28
gordchave a good weekend.20:28
*** gordc has quit IRC20:28
pradklaters20:28
kevinc_Is there an example of a sample list query using the python-ceilometerclient (in python, not on the command line) that shows a query using a filter together with orderby?20:30
openstackgerritMerged openstack/gnocchi: gabbi: fix a typo in name of a test  https://review.openstack.org/21322220:48
*** pradk has quit IRC21:04
*** jwcroppe_ has joined #openstack-ceilometer21:11
*** jwcroppe has quit IRC21:13
*** jwcroppe has joined #openstack-ceilometer21:15
*** jwcroppe_ has quit IRC21:16
*** cbrown is now known as david-lyle21:20
*** thorst has quit IRC21:42
*** ankita_w_ has joined #openstack-ceilometer21:46
*** ankita_wagh has quit IRC21:49
*** jwcroppe_ has joined #openstack-ceilometer21:55
*** jwcroppe has quit IRC21:58
*** jwcroppe has joined #openstack-ceilometer21:59
*** jwcroppe_ has quit IRC22:01
openstackgerritMerged openstack/ceilometer: Update install docs with gnocchi dispatcher info  https://review.openstack.org/20611022:04
*** jwcroppe_ has joined #openstack-ceilometer22:14
*** jwcroppe has quit IRC22:16
*** nadya has joined #openstack-ceilometer22:20
*** nadya has quit IRC22:25
*** ankita_wagh has joined #openstack-ceilometer22:27
*** ankita_w_ has quit IRC22:30
*** ankita_w_ has joined #openstack-ceilometer22:42
*** ankita_wagh has quit IRC22:42
*** ankita_wagh has joined #openstack-ceilometer22:44
*** ankita_w_ has quit IRC22:44
*** edmondsw has quit IRC22:51
*** nadya has joined #openstack-ceilometer23:01
*** r-daneel has quit IRC23:01
*** nadya has quit IRC23:06
*** jwcroppe has joined #openstack-ceilometer23:19
*** jwcroppe_ has quit IRC23:21
*** ankita_wagh has quit IRC23:22
*** ankita_wagh has joined #openstack-ceilometer23:23
*** gordc has joined #openstack-ceilometer23:24
*** gordc has quit IRC23:24
*** ankita_wagh has quit IRC23:27
*** julim has quit IRC23:30

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