Wednesday, 2013-11-20

*** thomasem has joined #openstack-metering00:17
*** thomasem has quit IRC00:26
*** matsuhashi has joined #openstack-metering00:29
*** fnaval_ has quit IRC00:42
*** matsuhashi has quit IRC00:48
*** matsuhashi has joined #openstack-metering00:49
*** matsuhashi has quit IRC00:53
*** matsuhashi has joined #openstack-metering01:08
*** nosnos has joined #openstack-metering01:09
*** shakayumi has joined #openstack-metering01:20
*** matsuhashi has quit IRC01:34
*** matsuhashi has joined #openstack-metering01:35
*** fandikurnia01 has quit IRC01:38
*** fandikurnia01 has joined #openstack-metering01:39
*** matsuhashi has quit IRC01:40
*** matsuhashi has joined #openstack-metering01:43
*** bingbu has joined #openstack-metering01:55
*** nati_ueno has joined #openstack-metering01:59
*** shakayumi has quit IRC02:06
*** changbl has joined #openstack-metering02:09
*** dperaza has left #openstack-metering02:17
*** jsergent has quit IRC02:18
*** changbl has quit IRC02:19
*** mirrorbox has quit IRC02:25
*** dperaza has joined #openstack-metering02:30
*** lrsmith has joined #openstack-metering02:48
*** lrsmith has quit IRC02:55
*** d34dh0r53 has joined #openstack-metering02:59
*** herndon_ has quit IRC03:02
*** changbl has joined #openstack-metering03:02
*** fandikurnia01 has quit IRC03:07
*** fandikurnia01 has joined #openstack-metering03:08
*** nati_ueno has quit IRC03:14
*** nati_ueno has joined #openstack-metering03:16
*** sileht has quit IRC03:17
*** suo has joined #openstack-metering03:19
*** nati_ueno has quit IRC03:20
*** fandikurnia01 has quit IRC03:26
*** fandikurnia01 has joined #openstack-metering03:26
*** matsuhashi has quit IRC03:31
*** matsuhashi has joined #openstack-metering03:31
*** matsuhashi has quit IRC03:36
*** matsuhashi has joined #openstack-metering03:41
*** SergeyLukjanov has joined #openstack-metering04:01
*** boris-42 has joined #openstack-metering04:03
*** suo has quit IRC04:05
*** suo has joined #openstack-metering04:13
*** fnaval has joined #openstack-metering04:14
*** fandikurnia01 has quit IRC04:14
*** fandikurnia01 has joined #openstack-metering04:14
*** mgagne has joined #openstack-metering04:22
*** mgagne has joined #openstack-metering04:22
*** fandikurnia01 has quit IRC04:24
*** mirrorbox has joined #openstack-metering04:24
*** fandikurnia01 has joined #openstack-metering04:24
*** mgagne1 has joined #openstack-metering04:28
*** mgagne1 has joined #openstack-metering04:28
*** mgagne has quit IRC04:31
AnjuEmilienM:  can I use this with swift04:36
*** SergeyLukjanov has quit IRC04:37
*** fnaval_ has joined #openstack-metering04:39
*** fnaval has quit IRC04:39
*** sandywalsh has quit IRC04:49
*** boris-42 has quit IRC04:53
*** boris-42 has joined #openstack-metering04:55
*** boris-42 has joined #openstack-metering04:56
*** nati_ueno has joined #openstack-metering05:02
*** sdake_ has joined #openstack-metering05:11
*** nprivalova has joined #openstack-metering05:30
*** nprivalova has quit IRC05:41
*** mgagne1 is now known as mgagne05:44
*** SergeyLukjanov has joined #openstack-metering05:50
*** sdake_ has quit IRC05:59
*** sdake_ has joined #openstack-metering05:59
*** sdake_ has joined #openstack-metering05:59
*** d34dh0r53 has quit IRC05:59
*** nati_ueno has quit IRC06:03
*** nati_ueno has joined #openstack-metering06:04
openstackgerritJenkins proposed a change to openstack/ceilometer: Imported Translations from Transifex  https://review.openstack.org/5448206:06
*** matsuhashi has quit IRC06:08
*** matsuhashi has joined #openstack-metering06:08
*** matsuhashi has quit IRC06:13
*** nadya_ has joined #openstack-metering06:20
*** suo has quit IRC06:22
*** nosnos_ has joined #openstack-metering06:25
*** nosnos has quit IRC06:29
*** matsuhashi has joined #openstack-metering06:29
*** suo has joined #openstack-metering06:39
*** fnaval has joined #openstack-metering06:43
*** sdake_ has quit IRC06:44
*** fnaval_ has quit IRC06:47
*** ildikov has joined #openstack-metering06:51
*** SergeyLukjanov has quit IRC06:52
*** ildikov has quit IRC06:52
*** ildikov has joined #openstack-metering06:52
*** nadya_ has quit IRC06:58
*** sdake_ has joined #openstack-metering07:00
*** nosnos_ has quit IRC07:05
*** nosnos has joined #openstack-metering07:05
*** mgagne1 has joined #openstack-metering07:08
*** mgagne1 has joined #openstack-metering07:08
*** mgagne has quit IRC07:09
*** fandikurnia01 has quit IRC07:10
*** fandikurnia01 has joined #openstack-metering07:11
*** matsuhashi has quit IRC07:22
*** matsuhashi has joined #openstack-metering07:23
*** nadya_ has joined #openstack-metering07:23
*** matsuhas_ has joined #openstack-metering07:30
*** taplax has quit IRC07:30
*** bingbu has quit IRC07:31
*** bingbu has joined #openstack-metering07:32
*** matsuhashi has quit IRC07:34
*** nsaje has joined #openstack-metering07:34
*** eglynn has joined #openstack-metering07:35
*** nsaje has quit IRC07:35
*** fandikurnia01 has quit IRC07:38
*** fandikurnia01 has joined #openstack-metering07:38
*** nadya_ has quit IRC07:43
*** taplax has joined #openstack-metering07:44
*** mgagne1 has quit IRC07:45
*** sileht has joined #openstack-metering07:55
*** sileht_ has joined #openstack-metering07:55
*** sileht_ is now known as sileht07:56
*** sdake_ has quit IRC07:56
*** SergeyLukjanov has joined #openstack-metering08:04
*** nsaje has joined #openstack-metering08:14
*** matsuhas_ has quit IRC08:18
*** yfujioka has joined #openstack-metering08:19
*** matsuhashi has joined #openstack-metering08:19
*** matsuhashi has quit IRC08:24
openstackgerritChenZheng proposed a change to openstack/ceilometer: Add i18n warpping for all LOG messages  https://review.openstack.org/5468308:24
*** boris-42 has quit IRC08:26
*** boris-42 has joined #openstack-metering08:28
*** matsuhashi has joined #openstack-metering08:31
*** shardy_afk is now known as shardy08:46
*** nprivalova has joined #openstack-metering08:48
*** boris-42 has quit IRC08:49
*** suo has quit IRC08:52
*** nati_ueno has quit IRC08:59
*** lsmola has joined #openstack-metering09:02
*** suo has joined #openstack-metering09:16
*** dperaza has quit IRC09:17
*** bingbu has quit IRC09:25
openstackgerritJulien Danjou proposed a change to openstack/ceilometer: Move dispatcher a level up  https://review.openstack.org/5694909:26
openstackgerritJulien Danjou proposed a change to openstack/ceilometer: Use map_method from stevedore 0.12  https://review.openstack.org/5689709:26
openstackgerritJulien Danjou proposed a change to openstack/ceilometer: Simplify the dispatcher method prototype  https://review.openstack.org/5722109:26
openstackgerritJulien Danjou proposed a change to openstack/ceilometer: Remove the collector submodule  https://review.openstack.org/5715109:26
*** nprivalova has quit IRC09:52
*** nprivalova has joined #openstack-metering10:00
openstackgerritChenZheng proposed a change to openstack/ceilometer: Add i18n warpping for all LOG messages  https://review.openstack.org/5468310:02
nprivalovajd__, hi!10:06
*** nprivalova is now known as nadya_10:06
jd__hi nadya_10:07
nadya_jd__, did you see my bp https://blueprints.launchpad.net/python-ceilometerclient/+spec/proxy-support ?10:09
nadya_jd__, I just wanted to be sure that I can start uploading patches10:10
jd__let me check10:10
jd__nadya_: sure approved, though I wonder if that's not somethign that could go into oslo10:10
jd__I think oslo has now a few common code for client10:11
nadya_jd__, I'll check oslo code. but didn't see examples in nova or  swift client. anyway,  we will upload a patch and will have a chance to -1 :)10:14
*** matsuhashi has quit IRC10:14
jd__nadya_: there's apiclient in oslo-incubator, I think sending your patch on this would be useful too10:16
jd__ceilometerclient should switch to apiclient at some point10:16
jd__(hint hint)10:16
*** SergeyLukjanov is now known as _SergeyLukjanov10:16
*** _SergeyLukjanov has quit IRC10:17
*** egallen has joined #openstack-metering10:20
*** SergeyLukjanov has joined #openstack-metering10:21
*** ruhe has joined #openstack-metering10:21
*** ruhe has quit IRC10:22
*** ityaptin has joined #openstack-metering10:24
*** SergeyLukjanov is now known as _SergeyLukjanov10:24
*** SergeyLukjanov has joined #openstack-metering10:24
*** nsaje has quit IRC10:26
*** nsaje has joined #openstack-metering10:27
*** SergeyLukjanov has quit IRC10:30
*** nsaje has quit IRC10:31
nadya_guys, I have one more question about resource and resource_metadata storing in dbs. I was trying to understand why list is thrown away from resource_metadata. And now I do. As it turned out all info about resources are stored in db. But when resource is fetched Resource instance is created and _flatten_metadata is called. During this method we just remove all lists and sets. Question: why do we store resource in normal way and "flat" it on ever10:31
nadya_request? Can we store flatten metadata?10:31
*** fandikurnia01 has quit IRC10:32
*** egallen has quit IRC10:33
*** taplax has quit IRC10:37
nadya_the problem in this approach is in HBase support. I cannot store lists or dicts directly, only unicode(list). So every time during flattening I need to guess is the unicode string from HBase dict or list10:37
jd__nadya_: I think flatten move nested data structure into something like key1.key2 = value, that should work for HBase too, no?10:41
nadya_jd__, yes, but HBase cannot keep dict or list. only string or unicode. So there is a code https://github.com/openstack/ceilometer/blob/master/ceilometer/api/controllers/v2.py#L502 . To make it work with HBase I need to add some additional check to "if type(v) not in set([list, set]))". It should be like "if type(v) not in set([list, set])) or (type(v) is string and (v.contains('{') or v.contains(']'))" and so on. Looks very awful10:46
jd__I see, so 'value' can't be a list neither, so sad10:49
jd__so it's key/value both strings? brrr10:49
*** ruhe has joined #openstack-metering10:50
nadya_jd__, yes. And during flattening we just throw sets and lists away. We store them in db but do not use this info (at least during resource fetching)10:51
*** taplax has joined #openstack-metering10:53
jd__I see, I'm not sure how to fix this though10:53
nadya_jd__, I have only one question for now: why we keep original data and flatten it every time? can we keep flatten data in db?10:54
nadya_as I see from git dhellmann has created "flatten" method. maybe he may help me here :)?10:57
jd__nadya_: good question, not sure about that actually; I think it's mainly historical and related to the MongoDB driver10:58
*** ruhe has quit IRC10:58
*** SergeyLukjanov has joined #openstack-metering10:59
nadya_jd__, I'll try to implementing storing flatten metadata directly. If successful, I'll just ask community to review it. I think this patch will not contain 100s of lines.11:08
*** ruhe has joined #openstack-metering11:09
*** sandywalsh has joined #openstack-metering11:12
*** lsmola has quit IRC11:24
nadya_jd__, I decided to store flatten data to Mongo. InvalidDocument: key 'dict_properties.key' must not contain '.' . hehe. So looks like flattening was created for Mongo to avoid this 'dot' problem11:26
*** taplax has quit IRC11:29
nadya_jd__, but if any field contains '.' the problem came back. E.g. https://bugs.launchpad.net/ceilometer/+bug/124626411:30
*** lsmola has joined #openstack-metering11:36
openstackgerritEoghan Glynn proposed a change to openstack/python-ceilometerclient: Avoid reset of repeat_actions attribute on alarm update  https://review.openstack.org/5742311:36
*** taplax has joined #openstack-metering11:46
*** yfujioka has quit IRC11:52
*** lsmola has quit IRC11:53
jd__nadya_: yeah the thing is that MongoDB has no problem storing nested data structure and we can build queries around that without much problem11:56
jd__nadya_: I think we should let the driver handle that internally actually11:56
openstackgerritCyril Roelandt proposed a change to openstack/ceilometer: Add a get_resources() method to the pollsters  https://review.openstack.org/5315012:00
*** lsmola has joined #openstack-metering12:06
*** Shaan7 has quit IRC12:08
*** Shaan7 has joined #openstack-metering12:08
*** nosnos_ has joined #openstack-metering12:09
*** nosnos has quit IRC12:12
*** nosnos_ has quit IRC12:14
*** nadya_ has quit IRC12:16
*** nsaje has joined #openstack-metering12:16
*** ruhe has quit IRC12:21
*** nsaje has quit IRC12:23
*** nsaje has joined #openstack-metering12:23
eglynnjd__: I've restored the expired https://review.openstack.org/53889 ...12:24
eglynnjd__: could you take a look at my latest comment in gerrit?12:24
eglynn(the argument against fixing on the oslo side in the first instance, i.e. consumability by distros via stable/havana)12:25
*** ruhe has joined #openstack-metering12:26
*** chuck__ is now known as zul12:26
*** ruhe has quit IRC12:27
*** nsaje has quit IRC12:28
*** boris-42 has joined #openstack-metering12:30
*** ruhe has joined #openstack-metering12:31
*** egallen has joined #openstack-metering12:35
openstackgerritChenZheng proposed a change to openstack/ceilometer: Add i18n warpping for all LOG messages  https://review.openstack.org/5468312:42
*** egallen has quit IRC12:48
*** egallen has joined #openstack-metering12:49
*** changbl has quit IRC12:57
*** nsaje has joined #openstack-metering13:05
*** ruhe has quit IRC13:08
*** suo has quit IRC13:10
*** thomasem has joined #openstack-metering13:12
*** taplax has quit IRC13:15
*** boris-42 has quit IRC13:17
*** nprivalova has joined #openstack-metering13:18
*** boris-42 has joined #openstack-metering13:18
*** nsaje has quit IRC13:18
*** nsaje has joined #openstack-metering13:19
*** gordc has joined #openstack-metering13:19
*** herndon_ has joined #openstack-metering13:24
*** nsaje has quit IRC13:24
herndon_silhet: are you around?13:24
herndon_err, sileht13:24
openstackgerritEoghan Glynn proposed a change to openstack/ceilometer: Selectively import RPC backend retry config  https://review.openstack.org/5388913:26
*** zoresvit has quit IRC13:27
*** bogdando has quit IRC13:28
silehtherndon_, o/13:29
*** bogdando has joined #openstack-metering13:30
*** zoresvit has joined #openstack-metering13:30
*** taplax has joined #openstack-metering13:30
herndon_hi! - I'm just curious what's going on with replacing oslo.rpc with oslo.messaging, and if there's any help you need?13:30
*** egallen has quit IRC13:31
*** egallen has joined #openstack-metering13:32
silehtherndon_, I have made a good progress, I have proposed a patch oslo.messaging for what we needs for consuming notifications13:33
silehtherndon_, I have a working ceilometer with oslo.messaging, I have some remaining tests to convert to submit the patch13:33
herndon_cool!13:34
*** ruhe has joined #openstack-metering13:34
*** ruhe has quit IRC13:34
herndon_sileht: so you've got an oslo patch right now that needs to land before the ceilo one can make it in, is that right?13:35
*** ruhe has joined #openstack-metering13:35
silehtherndon_, yes13:35
herndon_sileht, great thanks for the info.13:36
silehtherndon_, but perhaps the oslo.messaging patch doesn't perfectly fit  for now, I have some interrogation about how oslo.messaging works13:36
silehtherndon_, for example the current implentation I have made for notification consuming create many connnections insteads of one13:37
silehtherndon_, or for the rpc part, we are no more allowed to have topic/queue name different13:38
silehtherndon_, when I have finished the ceilometer patch I will start some discustions on those subjects13:39
herndon_ok, not sure I completely understand the implications of a matching topic/queue names, is that going to be a big problem?13:40
*** zul has quit IRC13:41
thomasemhey all13:41
*** zul has joined #openstack-metering13:41
silehtherndon_, not really, but this is a behavior change, so that needs discution13:41
herndon_sileht, Ok. I'll keep my ears open13:42
thomasemMatching topic to queue names creates rigidity around how multiple consumers can use the same topic.13:42
thomasemSo, for us we have downstream listening to one topic, StackTach listening to another, and soon we'll have to tell other openstack components to emit notifications on an additional topic in order to stand up Ceilometer for load testing and what-not.13:43
silehtthomasem, yes, oslo.messaging needs to allow this13:43
thomasemCurrent oslo.rpc allows it on the consumer side with the pool_name option.13:43
thomasemCeilo doesn't allow a deployer to alter that config, though, which I'm thinking of patching.13:44
thomasemCurrently it just assumes the topic/queue name in the collector.13:44
*** Shaan7 has quit IRC13:45
thomasemSorry, I mean it just assume the queue name is the same as the topic and sets it that way in the collector without allowing us to configure whether we use a different queue.13:45
thomasemI think the reason for having topic = queue name on the producing side is so we never drop a notification on the floor.13:45
thomasemThat way no, say notification.info, will ever be missed on the notification.info queue, because the producer stands it up along with binding it to the producer's exchange.13:46
thomasemAm I saying something you already know, though? :)13:47
herndon_makes sense to me13:47
silehtsure13:47
*** ityaptin has quit IRC13:48
thomasemYeah, I spent about 2 weeks digging into that with my optional samples branch that I abandoned for Dragon's changes.13:48
*** ityaptin has joined #openstack-metering13:48
thomasemSo, anywho - I think there ought to be more configuration on the producing side to allow us to force other queues open, so we can cause no notifications to be dropped at restart for multiple consuming services. :)13:50
thomasemOf course, the dangerous side effect being an unused queue would overflow.13:50
*** nsaje has joined #openstack-metering13:51
*** nsaje has quit IRC13:51
thomasemBut, I'd rather call that out in documentation and warn.13:51
thomasemSometimes the best approach is to just say "Hey, if you do this, you're going to have a bad time."13:52
*** nsaje has joined #openstack-metering13:52
*** nsaje has quit IRC13:52
*** nsaje has joined #openstack-metering13:52
herndon_doesn't that mean you'd have to configure the notification driver in nova to know all about the queues that ceilometer will be reading from?13:55
*** julim has joined #openstack-metering14:04
*** ruhe has quit IRC14:10
*** ruhe has joined #openstack-metering14:12
thomasemherndon_, if you wanted to guarantee no messages were dropped at restart.14:13
thomasemherndon_, If Ceilometer isn't already listening, that is.14:13
thomasemherndon_, otherwise, nah14:13
thomasemSo, if you were to restart Nova and Ceilometer wasn't already listening for notifications.* on some arbitrary queue, the messages wouldn't start flowing in until Ceilometer establishes its queue.14:14
thomasemmeaning all of the messages before Ceilometer setting up that queue would never make it to that queue.14:15
*** ruhe has quit IRC14:16
thomasemherndon_, Sorry, I was off getting an omelet. :)14:17
*** jergerber has joined #openstack-metering14:18
*** thomasm has joined #openstack-metering14:22
*** thomasm is now known as Guest9840814:23
*** thomasem has quit IRC14:23
*** Guest98408 is now known as thomasem14:23
thomasemand my cable popped out of my laptop. :(14:24
*** r4nd_ has joined #openstack-metering14:27
*** dperaza has joined #openstack-metering14:34
*** Shaan7 has joined #openstack-metering14:37
*** boris-42_ has joined #openstack-metering14:40
*** boris-42 has quit IRC14:41
openstackgerritNadya Privalova proposed a change to openstack/ceilometer: Insertion in HBase should be fixed  https://review.openstack.org/5267014:42
*** thomasem has quit IRC14:44
*** thomasem has joined #openstack-metering14:44
*** ekarlso has quit IRC14:51
*** ekarlso has joined #openstack-metering14:52
*** ekarlso has quit IRC14:52
*** ekarlso has joined #openstack-metering14:53
*** gordc has quit IRC14:55
*** changbl has joined #openstack-metering14:55
*** sandywalsh has quit IRC15:00
*** egallen has quit IRC15:01
*** sandywalsh has joined #openstack-metering15:03
*** nati_ueno has joined #openstack-metering15:03
lsmolaeglynn, hello15:11
eglynnlsmola: hey15:11
lsmolaeglynn, would you have time to look at https://bugs.launchpad.net/horizon/+bug/1249279 ?15:11
eglynnlsmola: one sec15:11
lsmolaeglynn, it would be maybe also good to add to documentation how to use each meter15:12
*** herndon_ has quit IRC15:12
lsmolaeglynn, I guess not it can be pretty hard for users to get stats from the samples15:12
eglynnlsmola: add documentation where? http://docs.openstack.org/developer/ceilometer or?15:13
lsmolaeglynn, yeah probably, it would be for whole statistics section15:13
*** egallen has joined #openstack-metering15:14
eglynnlsmola: not sure what you mean by "for whole statistics section"15:14
lsmolaeglynn, e.g. how to get average value of some time span from cumulative meter15:14
eglynnlsmola: a-ha, got it15:14
lsmolaeglynn, or how to get duration of instance from the instance meter15:14
lsmolaeglynn, this is also kind of stuff somebody was asking me15:14
eglynnlsmola: actually it would be good also to guide the user around which aggregates make no sense for a a cumulative meter15:16
lsmolaeglynn, yes15:16
*** ruhe has joined #openstack-metering15:17
eglynnlsmola: e.g. sum ... that's what I was trying to get at with this bug https://bugs.launchpad.net/horizon/+bug/124369415:18
eglynnlsmola: (... suggesting such meaningless aggregates are excluded from the dashboard, though the concept could also be explained in docco)15:18
eglynnlsmola: anyway, gimme a couple mins to finish up what I'm doing and I'll look at the bug15:18
lsmolaeglynn, cool15:19
*** ruhe has quit IRC15:25
*** nprivalova has quit IRC15:25
openstackgerritMehdi Abaakouk proposed a change to openstack/ceilometer: [WIP] replace oslo.rpc by oslo.messaging  https://review.openstack.org/5745715:26
openstackgerritMehdi Abaakouk proposed a change to openstack/ceilometer: [WIP] replace oslo.rpc by oslo.messaging  https://review.openstack.org/5745715:32
*** egallen_ has joined #openstack-metering15:35
*** egallen has quit IRC15:36
*** egallen_ is now known as egallen15:36
*** nsaje has quit IRC15:38
*** nsaje has joined #openstack-metering15:39
*** fnaval has quit IRC15:39
*** fnaval has joined #openstack-metering15:40
eglynnlsmola: can you define what you mean by "Global" in the context of https://bugs.launchpad.net/horizon/+bug/1249279 ?15:41
*** gordc has joined #openstack-metering15:42
lsmolaeglynn, oh, it's naming from the guy who had that patch before15:43
*** nsaje has quit IRC15:43
lsmolaeglynn, I guess it doesn't mean anything :-)15:43
lsmolaeglynn, just maybe that it shows statistics over all tenants, each tenant for one table line15:44
*** fnaval has quit IRC15:44
eglynnlsmola: I don't have the dashboard panels in front on me now, but isn't there a dropdown box that allows selection of 'Group by' as either project_id or resource_id?15:46
*** nprivalova has joined #openstack-metering15:46
eglynnlsmola: (or is that just for the line-charting panel as opposed to the table view?)15:46
lsmolaeglynn, nope for tables, there is group by Tenant, AVG in 30 days15:46
lsmolaeglynn, that approach doesn;t fit well15:47
*** boris-42_ is now known as boris-4215:47
eglynnlsmola: so the choice of per-tenant and average is *fixed* for that view?15:47
lsmolaeglynn, we can probably yes15:48
lsmolaeglynn, sorry, I haven't finished the question15:48
lsmolaeglynn, yes15:48
eglynnlsmola: hmmm, making it fixed in one view and selectable in other seems very odd to me15:49
lsmolaeglynn, and we can probably add some selectbox to switch date range, and group_by15:49
lsmolaeglynn, yeah, it is plan to make it switchable15:49
eglynnlsmola: yep, I think that would lead to a much more consistent UX15:49
lsmolaeglynn, though that page was waiting for UX review, so it was possible ot will be reworked totally15:50
*** nati_ueno has quit IRC15:50
eglynnlsmola: sure, but in our ignorance as non-UX-experts, we can still make incremental improvements to what's there15:50
eglynnlsmola: (pending any major rework that may not occur for a long time ...)15:51
lsmolaeglynn, I guess, as it seems there is no UX coming soon15:51
eglynnlsmola: one sec15:51
lsmolaeglynn, exactly15:51
eglynnlsmola: so on the issue of calculating "computing (min - max) for each resource" ...15:55
eglynnlsmola: there's a wrinkle there in that these cumulative values are in general not strictly monotonic15:55
lsmolaeglynn, hmm15:56
eglynnlsmola: I was just explaining this to a colleague wrt to cpu time, so I'll be lazy and copy'n'paste that for background ...15:56
lsmolaeglynn, I do see in my test data that it is not strictly rising15:56
eglynnlsmola: http://fpaste.org/55446/13849628/raw/15:56
eglynnlsmola: so (max - min) over a long period may not be accurate if the instance restarts or pause/resume cycle occurred15:57
lsmolaeglynn, hmm, that is not very good15:58
lsmolaeglynn, is there some way how to get it?15:58
eglynnlsmola: it would be more accurate to take the sum of the local maxima minus the first value15:58
eglynnlsmola: that would require a fine-grained statistics query (e.g. period=60s) then some local calculation15:59
lsmolaeglynn, how can you get this using API? given I want to do it via one aggregate query15:59
eglynnlsmola: you can't currently, IIUC15:59
lsmolaeglynn, hmm, ok16:00
eglynnlsmola: (i.e. can't get that directly from the API as an built-in aggregate)16:00
lsmolaeglynn, does it act the same for all cumulative values?16:00
eglynnlsmola: I think that it's an artifact of how libvirt does its accounting for cumulative values16:00
eglynnlsmola: it certainly occurs for CPU time16:01
*** Ruetobas has quit IRC16:01
eglynnlsmola: you'd need to check individually for the other meters ... spin up an instance, pause, resume, then check how the values progressed over that period16:01
lsmolaeglynn, right, is it possible somebody already did that? if not I will do it and describe it to documentation16:02
lsmolaeglynn, this is very needed documentation feature, given not all stats of the same type acts uniform16:03
*** Ruetobas has joined #openstack-metering16:03
eglynnlsmola: "somebody already did that" == "somebody already figured out the logic needed to accurately sum resetable cumulative meters over long durations"?16:04
lsmolaeglynn, yes16:04
eglynnlsmola: IIRC yolanda was looking at this towards the end of the grizzly cycle / start of havana16:05
lsmolaeglynn, if the behaviour is somewhere docuemnted, it would be great16:05
lsmolaeglynn, where can I find him..her?16:05
eglynnlsmola: I'm not sure if yolanda's work on that saw the light of day16:05
lsmolahehe16:05
lsmolaeglynn, well I am poking about deleting those tables, until I figure it out, now it's there only to confuse users :-)16:06
eglynnlsmola: https://launchpad.net/~yolanda.robla16:06
*** nprivalova has quit IRC16:06
*** Ruetobas has quit IRC16:08
lsmolaeglynn, it is the last thing I had kept from the previous owner of the patch :-) so I wanted keep at least anything :-D16:08
lsmolaeglynn, though the general chart might be enough for now16:08
lsmolaeglynn, + integration of the sparklines to each tab16:09
eglynnlsmola: I agree, especially if the choice of aggregates is made made meter-specific16:09
eglynn(as per  https://bugs.launchpad.net/horizon/+bug/1243694)16:09
lsmolaeglynn, ok, i think it was even previously mentioned that it make more sense to have table stats in the sections of openstak where it belongs16:11
lsmolaeglynn, rather than have it all together16:11
eglynnlsmola: yeah, in context with the rest of the instance info for example16:11
lsmolaeglynn, ok, I will tell Horizon guys I will delete the tables until i figure it out16:12
lsmolaeglynn, yeah16:12
eglynnlsmola: fair enough16:12
lsmolaeglynn, also having it as sparklines is much better then just one aggregate value16:12
lsmolaeglynn, s/then/than16:12
*** fnaval has joined #openstack-metering16:13
*** egallen has quit IRC16:13
*** Ruetobas has joined #openstack-metering16:13
lsmolaeglynn, ok maybe you can just reasure me with the approach on gauge16:15
lsmolaeglynn, it's just so I know for a future16:15
lsmolaeglynn, I will be doing enhancement of overview pages soon16:15
eglynnlsmola: not sure what you mean by reassure you with the approach on gauge16:16
eglynnlsmola: what particular aspect?16:16
lsmolaeglynn, "network" - Gauge - Duration , in the bug16:16
lsmolaeglynn, those are the stat that just shows 1 or 0, even in the chart, I suspect the timestamp is most important here16:17
eglynnlsmola: one sec16:18
lsmolaeglynn, it's basically whole NetworkUsage in the bug, or e.g. instance meter16:18
eglynnlsmola: it's emitted as a constant 1 ... https://github.com/openstack/ceilometer/blob/master/ceilometer/network/notifications.py#L8716:22
eglynnlsmola: ... presumably to indicate existence16:22
eglynnlsmola: the duration can then be inferred from the first and last timestamps16:23
lsmolaeglynn, yes16:25
*** nsaje has joined #openstack-metering16:25
lsmolaeglynn, but first and last of row of 116:25
lsmolaeglynn, so counting the real duration would require to go through the samples16:26
lsmolaeglynn, or use (number of 1  - and number of 0) * some sort of period of sample16:27
eglynnlsmola: the duration is returned in the statistics response16:27
lsmolaeglynn, so it is like duration of that particular state?16:27
lsmolaeglynn, or duration of that sample16:28
eglynnlsmola: duration_start and duration_end of all the samples that were rolled into the aggregates reported for that statistics query16:28
eglynnlsmola: i.e. first timestampt, last timestamp16:29
lsmolaeglynn, hm16:29
lsmolaeglynn, so for 11111111000111111100000000111116:29
lsmolaeglynn, does it returns duration of 1?16:30
lsmolaeglynn, or of all together?16:30
eglynnlsmola: each 1 is an aggregate statistic right?16:30
*** nprivalova has joined #openstack-metering16:31
eglynnlsmola: each statistic has a duration_start & duration_end16:31
eglynnlsmola: (rolling up all the samples that fed into that period)16:31
lsmolaeglynn, well that is the thing, I cant get it by aggregate16:31
lsmolaeglynn, I can get soemthin like sum 8, count 10 > means there was 8 ones and 2 zeros16:32
lsmolaeglynn, with aggregate of some time16:32
eglynnlsmola: what period are you using?16:33
eglynnlsmola: and what kind of group-by?16:33
eglynnlsmola: per tenant, per resource, what?16:33
lsmolaeglynn, for the chart, the period is computed16:33
lsmolaeglynn, yeah for chart, it is everything16:34
eglynnlsmola: this isn't the chart, right?16:34
eglynnlsmola: this is the table view, no?16:34
lsmolaeglynn, yeah, both I guess16:34
lsmolaeglynn, for table it's avg value, so it doesnt make sense16:34
lsmolaeglynn, it will return you like 0.516:35
eglynnlsmola: for the chart, say you group by project16:35
lsmolaeglynn, which mean it was off half of the month16:35
eglynnlsmola: then you can all the networks for that tenant right?16:35
lsmolaeglynn, right16:35
lsmolaeglynn, the it doesnt make sense to show any of the sum, avg, min ,max16:36
eglynnlsmola: right, in plain English what do you want to display ... "the total number of network-hours for that tenant"?16:36
lsmolaeglynn, it has to be more complex computation considering count and sum probably16:36
lsmolaeglynn, yes, it should be all duration16:37
lsmolaeglynn, that is waht is in the description of the meters16:37
eglynnlsmola: I think "duration" was overloaded there16:38
eglynnlsmola: it would be more accurate to say it represents existence16:38
lsmolaeglynn, yeah16:38
lsmolaeglynn, and duration can be inferred from it16:38
eglynnlsmola: exactly16:39
lsmolaeglynn, well, I will probably deep dive into docs :-D16:39
eglynnlsmola: right, if you want that total to be accurate, I think you'd need two things:16:39
lsmolaeglynn, ach, it will be much easier with the hardware stats :-D16:39
eglynn(1) a relatively short period16:39
eglynn(2) walk the list of stats, and sum the volume * period length16:40
eglynnthe relatively short period means the (duration_end-duration_start) is approximated by the period length16:40
*** jsergent has joined #openstack-metering16:41
lsmolaeglynn, yeah16:41
eglynnlsmola: cool, I think we were talking past each other earlier16:41
eglynnlsmola: prolly my fault, I'm trying to hold two conversations at once16:42
eglynnlsmola: all straightened out now?16:42
lsmolaeglynn, :-)16:42
lsmolaeglynn, yes, thank you, it is much clearer now16:42
eglynnlsmola: cool, laters then ...16:42
lsmolaeglynn, later16:42
*** nsaje has quit IRC16:47
*** nsaje has joined #openstack-metering16:47
*** nprivalova has quit IRC16:49
eglynnnprivalova: FYI I finally got to looking at https://etherpad.openstack.org/p/ceilometer-aggregation and left a few comments on the etherpad16:50
*** nsaje has quit IRC16:52
*** nprivalova has joined #openstack-metering16:56
nprivalovaeglynn, thanks for comments! will look at this by tomorrow16:56
eglynnnprivalova: cool, np!16:56
*** nprivalova has quit IRC17:09
*** nsaje has joined #openstack-metering17:25
*** jonnalley has joined #openstack-metering17:26
*** Bada has joined #openstack-metering17:32
*** sileht is now known as sileht_17:40
*** sileht_ is now known as sileht17:40
*** jonnalley has quit IRC17:41
*** boris-42 has quit IRC17:42
*** nprivalova has joined #openstack-metering17:47
*** SergeyLukjanov has quit IRC17:48
*** nprivalova has quit IRC17:58
*** ruhe has joined #openstack-metering17:59
*** mirrorbox has quit IRC18:02
*** ruhe has quit IRC18:04
*** mirrorbox has joined #openstack-metering18:04
*** nprivalova has joined #openstack-metering18:04
*** sdake_ has joined #openstack-metering18:11
*** sdake_ has joined #openstack-metering18:11
*** eglynn is now known as eglynn-afk18:20
*** nprivalova has quit IRC18:21
*** ildikov has quit IRC18:26
*** nsaje has quit IRC18:32
*** nsaje has joined #openstack-metering18:33
*** nsaje has quit IRC18:33
*** nsaje has joined #openstack-metering18:33
*** Bada has quit IRC18:35
*** mgagne has joined #openstack-metering18:35
*** sandywalsh has quit IRC18:52
*** sandywalsh has joined #openstack-metering19:08
*** nadya_ has joined #openstack-metering19:14
*** nsaje has quit IRC19:41
*** nadya_ has quit IRC19:49
openstackgerritJohn Herndon proposed a change to openstack/ceilometer: Add a specialized Event Type model and db table  https://review.openstack.org/4131620:00
*** nadya_ has joined #openstack-metering20:01
*** SergeyLukjanov has joined #openstack-metering20:08
*** r4nd_ has quit IRC20:10
*** sdake_ is now known as randallburt20:10
*** nadya_ has quit IRC20:12
*** randallburt is now known as sdkae20:19
*** ildikov has joined #openstack-metering20:19
*** sdkae is now known as sdake_20:19
*** asalkeld is now known as are_we_all_chang20:20
*** are_we_all_chang is now known as angusss20:20
*** sdake_ is now known as randallburt20:21
*** angusss is now known as asalkeld20:26
*** randallburt is now known as sdake_20:26
*** sandywalsh has quit IRC20:30
*** r4nd_ has joined #openstack-metering20:35
*** sandywalsh has joined #openstack-metering20:44
*** SergeyLukjanov has quit IRC20:49
openstackgerritClaudiu Belu proposed a change to openstack/ceilometer: Fixes Hyper-V Inspector disk metrics bug  https://review.openstack.org/5701420:50
*** jergerber has quit IRC20:57
*** eglynn-afk is now known as eglynn20:58
*** shardy has quit IRC21:01
*** terriyu has joined #openstack-metering21:01
*** shardy has joined #openstack-metering21:03
*** litong has joined #openstack-metering21:06
*** herndon_ has joined #openstack-metering21:12
*** nati_ueno has joined #openstack-metering21:46
*** sdake_ has quit IRC21:57
*** zul has quit IRC22:00
dragondmErf, it looks like next weeks Ceilometer meeting is on Thanksgiving day?  US folks might miss out on that...22:05
*** ryanpetrello has quit IRC22:05
*** ryanpetrello has joined #openstack-metering22:12
thomasemYeah, is there any way we can shift that around? I know that's abnormal.22:13
*** ekarlso has quit IRC22:15
*** terriyu has quit IRC22:15
*** ekarlso has joined #openstack-metering22:17
gordcthanksgiving was last month ;)22:19
*** ryanpetrello_ has joined #openstack-metering22:23
*** ryanpetrello has quit IRC22:26
*** ryanpetrello_ is now known as ryanpetrello22:26
*** ildikov has quit IRC22:30
*** thomasem has quit IRC22:36
*** changbl has quit IRC22:38
*** gordc has quit IRC22:42
*** zul has joined #openstack-metering22:45
*** litong has quit IRC22:46
*** eglynn has quit IRC22:56
*** changbl has joined #openstack-metering23:17
*** herndon_ has quit IRC23:20
openstackgerritJohn Herndon proposed a change to openstack/ceilometer: Add a specialized Event Type model and db table  https://review.openstack.org/4131623:26
openstackgerritJohn Herndon proposed a change to openstack/ceilometer: Add a Trait Type model and db table  https://review.openstack.org/4240723:33
*** sdake_ has joined #openstack-metering23:37
*** yfujioka has joined #openstack-metering23:43
*** thomasem has joined #openstack-metering23:53
*** julim has quit IRC23:55

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