Monday, 2014-10-20

*** ddieterly has joined #openstack-ceilometer00:13
*** nealph_ has joined #openstack-ceilometer00:14
*** nealph_ has quit IRC00:20
*** Longgeek has joined #openstack-ceilometer00:23
*** sdake_ has quit IRC00:25
*** sdake_ has joined #openstack-ceilometer00:27
*** Longgeek has quit IRC00:27
*** mitz_ has joined #openstack-ceilometer00:33
*** ddieterly has quit IRC01:01
*** ddieterly has joined #openstack-ceilometer01:12
*** jruano has joined #openstack-ceilometer01:16
*** jruano has quit IRC01:18
*** jruano has joined #openstack-ceilometer01:21
*** jruano has quit IRC01:36
*** Longgeek has joined #openstack-ceilometer01:38
*** fnaval_ has quit IRC01:41
*** sbfox has joined #openstack-ceilometer01:42
*** Longgeek has quit IRC01:43
*** nosnos has joined #openstack-ceilometer01:54
*** sbfox has quit IRC02:06
*** nealph_ has joined #openstack-ceilometer02:17
*** fnaval has joined #openstack-ceilometer02:22
*** nealph_ has quit IRC02:23
*** zul has quit IRC02:30
*** fnaval has quit IRC02:43
*** ddieterly has quit IRC02:46
*** julim has quit IRC03:05
*** ddieterly has joined #openstack-ceilometer03:19
*** nealph_ has joined #openstack-ceilometer03:20
*** Longgeek has joined #openstack-ceilometer03:22
*** ddieterly has quit IRC03:23
*** sbfox has joined #openstack-ceilometer03:23
*** Longgeek has quit IRC03:24
*** Longgeek has joined #openstack-ceilometer03:24
*** nosnos has quit IRC03:24
*** nosnos has joined #openstack-ceilometer03:25
*** nealph_ has quit IRC03:25
*** flwang has quit IRC03:28
*** nosnos has quit IRC03:29
openstackgerritA change was merged to openstack/python-ceilometerclient: Add CONTRIBUTING.rst  https://review.openstack.org/10375103:37
*** ryanpetrello has quit IRC03:40
*** ryanpetrello has joined #openstack-ceilometer03:41
*** changbl has quit IRC03:42
*** ddieterly has joined #openstack-ceilometer03:47
*** nosnos has joined #openstack-ceilometer03:48
*** ddieterly has quit IRC03:51
*** deepthi has joined #openstack-ceilometer03:52
*** sbfox has quit IRC03:53
*** sbfox has joined #openstack-ceilometer03:54
*** ddieterly has joined #openstack-ceilometer04:01
*** ddieterly has quit IRC04:06
*** yatin has joined #openstack-ceilometer04:08
*** changbl has joined #openstack-ceilometer04:16
*** nealph_ has joined #openstack-ceilometer04:22
*** hhuang has joined #openstack-ceilometer04:25
*** nealph_ has quit IRC04:27
*** sbfox has quit IRC04:37
*** changbl has quit IRC04:39
*** sdake has quit IRC04:41
*** yatin has quit IRC04:50
*** hhuang has quit IRC04:53
*** vissborg has quit IRC04:58
*** vissborg has joined #openstack-ceilometer05:00
*** ddieterly has joined #openstack-ceilometer05:01
*** yatin has joined #openstack-ceilometer05:03
*** ddieterly has quit IRC05:05
*** Longgeek has quit IRC05:08
*** Longgeek has joined #openstack-ceilometer05:23
*** nealph_ has joined #openstack-ceilometer05:24
*** alexpilotti_ has joined #openstack-ceilometer05:28
*** alexpilotti has quit IRC05:29
*** alexpilotti_ is now known as alexpilotti05:29
*** nealph_ has quit IRC05:29
*** deepthi has quit IRC05:39
*** swamireddy has joined #openstack-ceilometer05:50
*** deepthi has joined #openstack-ceilometer05:52
*** nosnos has quit IRC05:59
*** nosnos has joined #openstack-ceilometer06:00
*** ddieterly has joined #openstack-ceilometer06:01
*** ddieterly has quit IRC06:06
*** k4n0 has joined #openstack-ceilometer06:11
*** ildikov has joined #openstack-ceilometer06:16
*** nealph_ has joined #openstack-ceilometer06:26
*** nealph_ has quit IRC06:31
*** nosnos has quit IRC06:39
*** nosnos has joined #openstack-ceilometer06:39
*** ddieterly has joined #openstack-ceilometer06:47
*** alexpilotti has quit IRC06:49
*** sdake_ has quit IRC06:50
*** ddieterly has quit IRC06:52
*** X019 has quit IRC07:02
*** admin0 has quit IRC07:06
*** nsaje has joined #openstack-ceilometer07:09
*** X019 has joined #openstack-ceilometer07:09
*** Longgeek has quit IRC07:16
*** Longgeek has joined #openstack-ceilometer07:19
*** Longgeek has quit IRC07:24
*** nealph_ has joined #openstack-ceilometer07:28
*** hhuang has joined #openstack-ceilometer07:31
*** nealph_ has quit IRC07:34
*** nellysmitt has joined #openstack-ceilometer07:49
*** Ala has joined #openstack-ceilometer08:01
*** swamireddy has quit IRC08:02
*** _nadya_ has joined #openstack-ceilometer08:07
*** Longgeek has joined #openstack-ceilometer08:20
*** safchain has joined #openstack-ceilometer08:23
*** Longgeek has quit IRC08:26
*** nealph_ has joined #openstack-ceilometer08:30
*** cdent has joined #openstack-ceilometer08:30
*** isviridov_away is now known as isviridov08:36
*** nealph_ has quit IRC08:36
*** admin0 has joined #openstack-ceilometer08:41
*** Longgeek has joined #openstack-ceilometer08:45
*** Longgeek has quit IRC08:47
*** Longgeek has joined #openstack-ceilometer08:47
openstackgerritA change was merged to openstack/ceilometer: Edits assert method  https://review.openstack.org/12947408:48
openstackgerritA change was merged to openstack/ceilometer: Edits assert methods  https://review.openstack.org/12948608:51
openstackgerritA change was merged to openstack/ceilometer: Edits assert methods  https://review.openstack.org/12948208:51
openstackgerritA change was merged to openstack/ceilometer: Edits assert methods  https://review.openstack.org/12948908:51
*** _nadya_ has quit IRC08:55
openstackgerritRui Chen proposed a change to openstack/ceilometer-specs: Adds memory stats meter to libvirt inspector  https://review.openstack.org/12955309:00
*** Ala has quit IRC09:04
*** Ala has joined #openstack-ceilometer09:05
*** cdent has quit IRC09:06
openstackgerritRui Chen proposed a change to openstack/ceilometer: Adds memory stats meter to libvirt inspector  https://review.openstack.org/9049809:18
*** k4n0 has quit IRC09:32
*** nealph_ has joined #openstack-ceilometer09:32
*** k4n0 has joined #openstack-ceilometer09:35
*** nealph_ has quit IRC09:38
*** ifarkas has joined #openstack-ceilometer09:43
*** deepthi has quit IRC09:47
*** deepthi has joined #openstack-ceilometer10:00
*** cdent has joined #openstack-ceilometer10:06
*** Ala has quit IRC10:10
*** hhuang has quit IRC10:11
*** swamireddy1 has joined #openstack-ceilometer10:13
*** Longgeek has quit IRC10:14
*** asalkeld has quit IRC10:14
*** Longgeek has joined #openstack-ceilometer10:14
*** eglynn-officeafk is now known as eglynn-office10:23
*** asalkeld has joined #openstack-ceilometer10:31
*** Ala has joined #openstack-ceilometer10:32
*** yasu_ has joined #openstack-ceilometer10:33
*** nealph_ has joined #openstack-ceilometer10:34
*** nealph_ has quit IRC10:40
*** _nadya_ has joined #openstack-ceilometer10:47
openstackgerritRui Chen proposed a change to openstack/ceilometer-specs: Adds memory stats meter to libvirt inspector  https://review.openstack.org/12955310:59
openstackgerritRui Chen proposed a change to openstack/ceilometer: Adds memory stats meter to libvirt inspector  https://review.openstack.org/9049811:07
*** Longgeek has quit IRC11:14
*** Longgeek has joined #openstack-ceilometer11:15
*** amalagon_ has joined #openstack-ceilometer11:21
*** amalagon has quit IRC11:24
*** amalagon_ is now known as amalagon11:24
*** Longgeek has quit IRC11:30
*** Longgeek has joined #openstack-ceilometer11:31
*** zul has joined #openstack-ceilometer11:32
*** Longgeek_ has joined #openstack-ceilometer11:32
*** Longgeek has quit IRC11:36
openstackgerritNelly Kuznetsova proposed a change to openstack/ceilometer: Edits assert methods  https://review.openstack.org/12958111:42
*** maishsk has joined #openstack-ceilometer11:47
maishskeglynn-office: Are you around?11:47
*** eglynn-office is now known as eglynn-office-af11:50
*** eglynn-office-af is now known as eglynn-reg-offic11:50
eglynn-reg-officmaishsk: yes11:50
maishsk^^^11:50
*** eglynn-reg-offic is now known as eglynn-office11:50
*** deepthi has quit IRC11:57
*** jmatthews has joined #openstack-ceilometer12:09
silehtjd__, It seems the release of pecan 0.8 break gnocchi: http://paste.openstack.org/show/122179/12:12
*** swamireddy1 has quit IRC12:22
*** asalkeld has quit IRC12:24
silehtjd__, this is due of the way we extends pecan.expose (vexpose)12:30
*** nealph_ has joined #openstack-ceilometer12:39
*** jaypipes has joined #openstack-ceilometer12:40
*** nellysmitt has quit IRC12:40
*** amalagon has quit IRC12:41
jd__sileht: scrogneugneu12:44
jd__sileht: is it a bug in our code or in Pecan?12:44
*** nealph_ has quit IRC12:44
*** yasu_ has quit IRC12:45
silehtjd__, I don't know yet12:45
silehtjd__, just god it !12:45
silehtgot*12:45
silehtjd__, pecan.utils.getargspec is looking for 'self' as first args to find the real decorated method12:46
silehtjd__, but in gnocchi we expose some staticmethods :) that don't have 'self' as first args12:46
*** maishsk has quit IRC12:47
silehtjd__, do you known if python have a special attribute to known the kind method  ?12:48
jd__sileht: hum at least the __class__ should be different12:54
silehtk12:56
*** thomasem has joined #openstack-ceilometer13:01
*** amalagon has joined #openstack-ceilometer13:01
*** changbl has joined #openstack-ceilometer13:02
silehtjd__, https://review.openstack.org/#/c/129602/13:04
*** julim has joined #openstack-ceilometer13:08
*** gordc has joined #openstack-ceilometer13:09
jdandreaTrying to troubleshoot why my Ceilometer alarm isn't being triggered. Suspecting pilot error. Steps to reproduce here: http://paste.openstack.org/show/121679/ ... clues welcome/appreciated!13:11
*** yatin has quit IRC13:13
openstackgerritJulien Danjou proposed a change to stackforge/gnocchi: Limite Pecan version  https://review.openstack.org/12960513:13
jd__sileht: https://review.openstack.org/#/c/129605/13:13
*** _nadya_ has quit IRC13:16
eglynn-officejdandrea: what project_id is associated with the sameples?13:16
eglynn-officejdandrea:  ... does this differ from the project for the alarm (d2af17a5a3d940be81867652cb95491e) assuming non-admin?13:16
jdandreaeglynn-office: Good question. I was trying to find the minimal amount of info to pass to Ceilometer before it would throw an error. The project_id *should* be identical between the alarm and the sample. Let me check.13:18
* cdent coffees13:19
* jdandrea is awaiting the sample list ...13:19
jdandreaproject_id matches in the sample.13:22
* jdandrea is grabbing a sample to augment the paste.13:23
eglynn-officejdandrea: can you also check the ceilometer alarm-evaluator service logs?13:23
jdandreaeglynn-office: Sure.13:23
*** _nadya_ has joined #openstack-ceilometer13:25
eglynn-officejdandrea: also check what version of the ceilometer client you're using if there are auth failures in the alarm-eval log13:26
jdandreaMeanwhile, the sample (added at the very end): http://paste.openstack.org/show/122199/13:26
jdandreaeglynn-office: You got it ... checking now ...13:26
eglynn-officejdandrea: $ ceilometer --version ... there was a problem in python-ceiloclient 1.0.10 with token expiry, fixed in 1.0.1113:27
jdandreaThe eval log looks fairly empty.13:27
jdandreaeglynn-office: Oh. I'm using Icehouse, 1.0.8.13:27
jdandreaIn the eval log, the only thing I see is: 2014-10-20 09:21:04.567 14964 WARNING ceilometer.openstack.common.loopingcall [-] task run outlasted interval by 16.724976 sec13:28
jdandreaThe last entry before that is from 2014-10-14 (same warning). Nothing else before then.13:29
jdandrea(Well, there is, but it was prior to me trying this.)13:29
eglynn-officejdandrea: hmmm, shouldn't be empty, I would expect at least "INFO ... initiating evaluation cycle on X alarms" every minute or so13:29
jdandreaeglynn-office: Nope. :-o13:29
*** rbowen has joined #openstack-ceilometer13:29
jdandreaeglynn-office: I do see *lots* of these back in late July: http://paste.openstack.org/show/122200/13:30
jdandrea... and in September, lots of these: 2014-09-03 11:14:58.711 14964 TRACE ceilometer.alarm.service AuthorizationFailure: Authorization Failed: Unable to establish connection to http://192.168.13.101:5000/v2.0/tokens13:30
jdandreaBut that was before I realized the URL had to be the public one (changed it, error went away).13:31
eglynn-officejdandrea: did you have an alarm at that time with a massive period or number of eval periods?13:31
jdandreaI didn't. Someone else might have. Not sure how to verify that, but if I can I will.13:31
eglynn-officejdandrea: try uping restarting the debug verbosity in /etc/ceilometer/ceilometer.conf and restart alarm-eval service13:31
jdandreaeglynn-office: Sure.13:32
jdandreaeglynn-office: Just this, yes?13:34
jdandreadebug=true13:34
jdandreaverbose=true13:34
eglynn-officeyep13:34
*** changbl has quit IRC13:34
*** fnaval has joined #openstack-ceilometer13:34
jdandreaeglynn-office: Ok, restarted13:35
jdandreaeglynn-office: Oh yes, lots of fun info now.13:36
jdandreaSo this sample is posted every minute. I will watch for a new batch of info and paste it.13:38
jdandreaBoom: http://paste.openstack.org/show/122201/13:38
jdandreaIt seems to be matching on the stack_id metadata (good, and I *do* assign that to metering.stack_id back in the server resource), as well as a time window.13:42
eglynn-officejdandrea: k, I think I see what's going on13:42
*** jruano has joined #openstack-ceilometer13:43
*** jruano has quit IRC13:43
jdandreaeglynn-office: Oh? (I've been staring this down since Thursday. I think I have developer myopia. heh.)13:43
eglynn-officejdandrea: are you using mongodb as the backend?13:44
jdandreaYes.13:44
eglynn-officeI'm concerned about the embedded period in 'user_metadata.stack'13:44
eglynn-officebut in any case, the first thing I noticed was: metadata.user_metadata.stack*_id*13:45
*** rbak has quit IRC13:45
*** jruano has joined #openstack-ceilometer13:45
eglynn-officejdandrea: the "_id" is present in the condition on the alarm, but not on the resource metadata in the sample13:46
jdandreaHmm. But I don't add that. Heat does. (Doesn't it?) *goes to look*13:46
jdandreaDo you mean the name or the value?13:47
jdandreaOh! In the sample!13:47
eglynn-officejdandrea: compare line 29 and 63 in http://paste.openstack.org/show/12167913:47
jdandreaOh. My.13:48
* jdandrea head/desk13:48
jdandreaIf I told you how many times I compared those ...13:48
eglynn-officeLOL :)13:49
jdandreaI know, right?13:49
eglynn-officewood from the trees13:49
jdandreaThank you. EXACTLY.13:49
jdandreaI'm not the only one who missed it either. Good on you for catching it.13:50
eglynn-officejdandrea: second thing is that I'm not 100% the samples POST will interpret the embedded period (".") in 'user_metadata.stack' on line 29 as indicating a nested dict13:50
jdandreaeglynn-office: Oh! Should it just be stack_id?13:50
jdandreaI thought the mapping had to be from metering.something to user_metadata.something.13:50
jdandrea(In the case of Heat, that is.)13:50
jdandreaI don't need nesting. I just want to be sure I'm using the correct key.13:51
eglynn-officejdandrea: more whether you'd need 'user_metadata' = {'stack_id': os.environ['OS_STACK_ID']} on line 29 when pushing the samples13:51
jdandreaeglynn-office: Mhm.13:51
jdandreaThe evaluator is checking "metadata.user_metadata.stack_id"13:51
eglynn-officeyes, that period indicates nesting13:52
jdandreaeglynn-office: Aye.13:52
* jdandrea seems to recall a Ceilometer file that maps metadata between metering and user_metadata somewhere ...13:52
eglynn-officejdandrea: that's slight different again, logic in the ceilo notification handler to decide how much of the user_metadata set on an instance that it should keep13:53
eglynn-officejdandrea: ... I'm just not 100% sure the samples POST interprets the period the same way13:53
jdandreaeglynn-office: Oh. Maybe I'm confusing something.13:53
eglynn-officejdandrea: the difference is that your case you're literally POSTing the samples, as opposed to these being generated from notifications or polling13:54
jdandreaExample: https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml - see lines 74 (server) vs. 122 (alarm).13:55
*** k4n0 has quit IRC13:55
jdandreaThey use "stack" but I thought "an id is an id, change the name!"13:55
jdandreaeglynn-office: Innnteresting.13:55
jdandreaSo because I'm posting them directly, I may just be able to put "stack_id" in the metadata.13:56
jdandreaIs that what you mean?13:56
eglynn-officejdandrea: a-ha, I see from the template how that confusion between stack and stack_id would arise13:56
jdandreaeglynn-office: *nods*13:56
eglynn-officejdandrea: one sec13:56
jdandreaSo I'll try this again, but because I'm creating the sample directly, I will just set the metadata to stack_id: my_stack_id.13:57
eglynn-officejdandrea: so two separate issues ...13:58
eglynn-office1. ensure stack_id is used consistently13:58
jdandreaCheck.13:59
eglynn-office2. ensure that 'user_metadata.stack_id': os.environ['OS_STACK_ID'] in the POSTed sample is interpreted as a *nested* dict13:59
jdandreaNot sure how to check that one.14:00
jdandreaI can just try it, I s'pose.14:00
jdandreaI just want to use the correct notation. I don't need nesting, just the proper key.14:01
eglynn-officejdandrea: well just push another sample, then query for it ...14:01
jdandreaYup.14:01
eglynn-officejdandrea: $ ceilometer --debug sample-list -m heartbeat -q "timestamp>=`date -u +"%Y-%m-%dT%H:%M:Z" -d '5mins ago'`14:01
*** yassine has joined #openstack-ceilometer14:02
jdandreaeglynn-office: That gets me a prompt.14:02
jdandreaOh, wait, that's just shell.14:02
eglynn-officejdandrea: yeah, don't paste the initial dollar sign14:03
jdandreaOh, a closing " would help. Heh.14:03
*** safchain has quit IRC14:03
jdandreaNo, I didn't paste the $.14:03
jdandreaThere we go.14:03
*** safchain has joined #openstack-ceilometer14:03
jdandrea{"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "Unable to parse date string u'2014-10-20T13:58:Z'"}}14:03
eglynn-officejdandrea: a-ha, yeah, I dropped the closing quote14:03
jdandreaSpinning up another server14:04
eglynn-officejdandrea: my bad14:04
jdandreanp14:04
jdandreaWait, I'm going to post interactively and query for it.14:04
jdandreaWhy use a rocket ship when a bicycle would do? :-p14:05
eglynn-officejdandrea: this query is more what I meant .... ceilometer --debug sample-list -m heartbeat -q "timestamp>=`date -u +"%Y-%m-%dT%H:%M:Z" -d '5mins ago'`"14:06
jdandreatx14:07
jdandreaI still get {"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "Unable to parse date string u'2014-10-20T14:02:Z'"}}14:07
eglynn-officejdandrea: I think I see what's happening14:07
eglynn-officejdandrea: the dat format is interpreted by IRC client as some weird strikethrough14:07
*** rbak has joined #openstack-ceilometer14:08
eglynn-officejdandrea: copy from here instead http://paste.openstack.org/show/122214/14:08
jdandreaThat worked. :)14:09
*** nosnos has quit IRC14:09
jdandrea... and it found my recent sample.14:09
eglynn-officejdandrea: can you paste the response?14:09
*** nosnos has joined #openstack-ceilometer14:09
jdandreaeglynn-office: http://paste.openstack.org/show/122216/14:12
jdandrea(was assembling)14:12
jdandreaNotice that I used 'stack_id' up in the sample. No nesting.14:13
jdandreaI can try one with nesting.14:13
eglynn-officejdandrea: yes, can you try with 'user_metadata.stack_id': '5a301761-f78b-46e2-8900-8b4f6fe6675a' first and paste the response14:14
*** nosnos has quit IRC14:14
*** _nadya_ has quit IRC14:14
jdandreaeglynn-office: Here you go. http://paste.openstack.org/show/122217/14:15
jdandreaSo that's good, I think. it's just matching it as a string.14:16
eglynn-officejdandrea: how is your alarm looking?14:17
openstackgerritMehdi Abaakouk proposed a change to stackforge/gnocchi: Allows to filter out the gnocchi generated samples  https://review.openstack.org/12892214:17
openstackgerritMehdi Abaakouk proposed a change to stackforge/gnocchi: Add a gnocchi dispatcher  https://review.openstack.org/9879814:17
jdandreaeglynn-office: I don't have an alarm setup yet. I'm just doing this interactively.14:18
jdandrea(I did before though. I will spin up the server and alarm again.)14:18
jdandreaI'll use user_metadata.stack_id in the posted sample.14:19
*** fnaval has quit IRC14:20
jdandreaok! stack creation is complete.14:22
openstackgerritgordon chung proposed a change to openstack/ceilometer: refresh ceilometer architecture documentation  https://review.openstack.org/12907414:22
gordcnsaje: ^ not sure if it's better but it's more accurate.14:22
jdandreaeglynn-office: The sample-list found the sample.14:22
jdandrea... and another one. :)14:23
jdandreaeglynn-office: If I look at the alarm, the query field (according to heat) is set to "metadata.user_metadata.stack_id == 6257c5de-2f92-47be-a3ee-4e6c022e94db"14:24
jdandreaeglynn-office: Most importantly, it shows a state of "ok" now. :)14:24
eglynn-officejdandrea: coolness :)14:24
jdandreaeglynn-office: :-D14:24
*** nealph has quit IRC14:24
jdandreaeglynn-office: Now to stop the samples and try to trip the alarm.14:25
eglynn-officejdandrea: so my thoughts on nesting via the emmbedded "." was a red herring14:25
eglynn-officejdandrea: (... just what I was thinking before I noticed the "stack" versus "stack_id")14:25
*** _nadya_ has joined #openstack-ceilometer14:26
jdandreaeglynn-office: Ah, ok.14:26
jdandreaSo now I'm watching the alarm to see if it leaves the ok state. (Samples are no longer being posted.)14:26
jdandreaeglynn-office: Status changed to "insufficient data" (instead of "alarm"?)14:27
eglynn-officejdandrea: are you continueing to pump in more samples, once a minute at least?14:28
eglynn-officejdandrea: otherwise it'll just flip back to insufficient_data as the time windown advances14:28
jdandreaeglynn-office: No. I stopped on purpose. I want the alarm to trip if it stops seeing samples.14:28
jdandreaHmm.14:28
eglynn-officejdandrea: so it's working as expected14:29
jdandreaTo back up a second, what I'm trying to do here is create a heartbeat alarm from the server. It sends out a "ping" every minute.14:29
jdandreaIf the server doesn't do that, we want the alarm to trip. (It's a contrived example.)14:29
eglynn-officejdandrea: "alarm" == "I have datapoints outside the threashold"14:29
eglynn-officejdandrea: "ok" == "I have datapoints inside the threashold"14:29
eglynn-officejdandrea: "insufficient data" == "I have no datapoints"14:29
jdandreaeglynn-office: Ahh.14:30
jdandreaSo I have to trigger on "insufficient data" then.14:30
jdandreaInstead of "alarm" ... ?14:30
*** rwsu has joined #openstack-ceilometer14:30
eglynn-officejdandrea: yep, if that the condition you want to be notified on (i.e. when the stream of samples dries up)14:30
jdandreaeglynn-office: Yes. I want to know when the sample stream goes dry.14:31
jdandreaOnce the samples come back, it should change to "ok" again.14:31
eglynn-officejdandrea: yep ... cool, insufficient_data is your target state so14:31
jdandreaok. I will adjust the code that responds to the alarm.14:32
jdandrea(when it changes state)14:32
jdandreaI appreciate your help with this! I had a fundamental misunderstanding of ok vs alarm.14:33
eglynn-officejdandrea: np!14:34
jdandreaeglynn-office: Ahh, and in my Heat template I have to use insufficient_data_actions instead of alarm_actions. ;)14:43
*** fnaval has joined #openstack-ceilometer14:47
*** ddieterly has joined #openstack-ceilometer14:51
_elena_gordc, may you help me on https://bugs.launchpad.net/ceilometer/+bug/1331508?14:52
gordc_elena_: sure. sorry. i saw your email this morning but got distracted.14:53
gordci'll try to comment in next hour.14:54
*** rbak_ has joined #openstack-ceilometer14:59
*** ddieterly has quit IRC15:00
*** rbak has quit IRC15:01
jd__wtf is http://logs.openstack.org/05/129605/1/check/gate-gnocchi-tox-py27-postgresql/5530466/console.html15:03
*** jruano has quit IRC15:04
gordcjd__: you broke python15:05
jd__AGAIN?!15:05
jd__I'm calling Guido15:06
gordcstop breaking python!15:06
DinaBelovajd__, hehe, you're lucky :)15:06
*** admin0 has quit IRC15:11
openstackgerritMehdi Abaakouk proposed a change to stackforge/gnocchi: Ensure Location header are string  https://review.openstack.org/12922415:17
*** ildikov has quit IRC15:18
jd__actually we're doing shit with pandas timestamp15:19
jd__fixing15:19
*** ddieterly has joined #openstack-ceilometer15:21
openstackgerritJulien Danjou proposed a change to stackforge/gnocchi: Limit Pecan version, fix Pandas usage  https://review.openstack.org/12960515:24
eglynn-officejd__: what's your feeling about the tooz redis driver https://review.openstack.org/#/c/120690/15:27
jd__eglynn-office: I think I almost +2'ed it last time15:27
jd__let me review it again15:27
eglynn-officejd__: excellent, thanks!15:28
jd__eglynn-office: if that was your question :)15:28
eglynn-officejd__: yep, it was :) ... /me is interested in using it to underpin the juno central agent partitioning logic15:29
*** mitz has quit IRC15:29
*** jmatthews has quit IRC15:29
*** mitz has joined #openstack-ceilometer15:29
jd__eglynn-office: what do you think about https://review.openstack.org/#/c/101548/ ? /me whispers15:31
*** sdake has joined #openstack-ceilometer15:31
*** sdake has joined #openstack-ceilometer15:31
*** nellysmitt has joined #openstack-ceilometer15:34
eglynn-officejd__: wow, do people actually deploy on Darwin? ;)15:35
eglynn-officejd__: ... looks reasonable to me, approving15:35
jd__eglynn-office: I run the tests on Darwin15:37
jd__it's like a quality test to me, if it runs on Darwin, it's good code15:37
jd__Ceilometer, Gnocchi, Oslo, runs on Darwin for example15:38
*** vrovachev has quit IRC15:38
jd__Nova too btw!15:38
jd__I've list of ugly project that don't run on Darwin (name in private for a bottle of whisky)15:38
* eglynn-office would love to see hard data on the number of devs routinely testing on each distro15:39
eglynn-office... suspects ubuntu >> fedora > centos >> Darwin15:40
jd__sileht: eglynn-office: https://review.openstack.org/#/c/129605/ should fix Gnocchi15:47
jd__eglynn-office: yeah I think you'd be right15:47
jd__most people on Darwin dev and test on a VM15:47
jd__I've been using Darwin for 10 months and I never developed with a Linux VM, only Darwin15:47
jd__'cause that's what real developers do, no virtual stuff, dev on bare metal ya know15:48
jd__sometimes I use a disassembler and a soldering iron to debug because I love the challenge15:48
*** yassine has quit IRC15:48
cdentI started out doing dev on darwin15:52
eglynn-officejd__: LOL :) ... /me realizes he's a lazy wimp for using fedora VMs15:52
cdentbut since then nearly all my work has been in devstack, grenade or tempest, so on baremetal15:52
cdentI stay away from vms as much as possible because they15:53
cdentare15:53
cdentso15:53
cdentfrickin15:53
cdentslow15:53
openstackgerritA change was merged to openstack/ceilometer: Edits assert methods  https://review.openstack.org/12958115:53
jdandreaeglynn-office: The alarm works! tyvm15:54
eglynn-officejdandrea: cool :)15:56
openstackgerritSrinivas Sakhamuri proposed a change to openstack/ceilometer: Allow collector service database connection retry  https://review.openstack.org/12712816:00
*** _cjones_ has joined #openstack-ceilometer16:00
*** changbl has joined #openstack-ceilometer16:03
*** ildikov has joined #openstack-ceilometer16:07
*** _nadya_ has quit IRC16:08
*** prad has joined #openstack-ceilometer16:09
openstackgerritChris Dent proposed a change to openstack/ceilometer-specs: Propose a suite of declarative http api tests  https://review.openstack.org/12966916:37
*** safchain has quit IRC16:57
*** Longgeek_ has quit IRC17:02
*** Longgeek has joined #openstack-ceilometer17:05
*** Longgeek has quit IRC17:06
*** ifarkas has quit IRC17:10
*** julim has quit IRC17:14
*** harlowja_away is now known as harlowja17:14
openstackgerritA change was merged to stackforge/gnocchi: Limit Pecan version, fix Pandas usage  https://review.openstack.org/12960517:19
openstackgerritChris Dent proposed a change to openstack/ceilometer-specs: Propose a suite of declarative http api tests  https://review.openstack.org/12966917:21
*** isviridov is now known as isviridov_away17:28
*** julim has joined #openstack-ceilometer17:31
rahmuhello. I'm running the ceilometer tests against postgresql as a backend (with tox -e py-pgsql).17:37
rahmuI am trying to solve this test failure: http://www.hastebin.com/aqukitaniy.txt.17:38
rahmuThis looks like a rounding issue, probably due to the schema of the DB in posgtresql. It doesn't happen with other backends (not even with mysql)17:38
rahmuI traced the schema definition to this migration script: http://git.openstack.org/cgit/openstack/ceilometer/tree/ceilometer/storage/sqlalchemy/migrate_repo/versions/006_counter_volume_is_float.py#n2717:38
rahmuthe doc for sqlalchemy seems to say I should use dialect specific types: http://docs.sqlalchemy.org/en/rel_0_9/dialects/postgresql.html?highlight=double_precision#sqlalchemy.dialects.postgresql.DOUBLE_PRECISION17:38
rahmu17:38
rahmuI tried, but to no avail. Anyone has an idea?17:38
*** cdent has quit IRC17:41
*** eglynn-office is now known as eglynn-officeafk17:42
gordcrahmu: did you create a typedecorator or use with_variant?17:51
rahmugordc: errrr neither. I just added a new migration script that does `meter.c.counter_volume.alter(type=DOUBLE_PRECISION())`17:54
gordcrahmu: oh... so you did a postgresql only migration?17:55
rahmuthat's what I was going for17:56
rahmuunless there's a better way?17:56
gordcdigging something up... we typically use typedecorator to handle differences between sql drivers17:56
gordcrahmu: https://github.com/openstack/ceilometer/blob/master/ceilometer/storage/sqlalchemy/models.py#L55-L7917:57
gordcyou'd need to create one for float probably...17:57
rahmuawesome. Thanks for the tip. I'll try that.17:58
gordcrahmu: this thread my help: https://groups.google.com/forum/#!topic/sqlalchemy/lqfaofbWc3017:58
openstackgerritKomei Shimamura proposed a change to openstack/ceilometer-specs: Implements: blueprint kafka-publisher  https://review.openstack.org/12696418:00
*** admin0 has joined #openstack-ceilometer18:02
*** ifarkas has joined #openstack-ceilometer18:13
*** admin0 has quit IRC18:18
*** sbfox has joined #openstack-ceilometer18:26
*** Guest52830 is now known as mgagne18:42
*** mgagne has joined #openstack-ceilometer18:42
*** admin0 has joined #openstack-ceilometer19:00
*** admin0 has quit IRC19:00
*** _nadya_ has joined #openstack-ceilometer19:02
openstackgerritA change was merged to openstack/ceilometer-specs: Adds memory stats meter to libvirt inspector  https://review.openstack.org/12955319:16
openstackgerritgordon chung proposed a change to openstack/ceilometer-specs: dedicated event database  https://review.openstack.org/12599419:17
openstackgerritgordon chung proposed a change to openstack/ceilometer-specs: remove temporary fake spec  https://review.openstack.org/12970819:21
*** ifarkas has quit IRC19:24
*** X019 has quit IRC19:30
*** anna_ has joined #openstack-ceilometer19:30
*** cdent has joined #openstack-ceilometer19:37
openstackgerritA change was merged to openstack/ceilometer-specs: dedicated event database  https://review.openstack.org/12599419:42
*** promulo_ has joined #openstack-ceilometer19:55
openstackgerritChris Dent proposed a change to openstack/ceilometer-specs: Propose a suite of declarative http api tests  https://review.openstack.org/12966919:57
*** sdake_ has joined #openstack-ceilometer20:01
openstackgerritgordon chung proposed a change to openstack/ceilometer-specs: remove temporary fake spec  https://review.openstack.org/12970820:03
*** _cjones_ has quit IRC20:06
*** _cjones_ has joined #openstack-ceilometer20:06
*** ildikov has quit IRC20:10
*** harlowja is now known as harlowja_away20:10
*** _nadya_ has quit IRC20:15
openstackgerritA change was merged to openstack/ceilometer: refresh ceilometer architecture documentation  https://review.openstack.org/12907420:27
cdentgordc: that rotation seems to have worked (at least to my eye)20:31
gordccdent: yeah i like it better too. good suggestion on your part.20:32
*** julim has quit IRC20:32
cdentwas whimsy20:32
cdentso just lucky20:32
cdentthe thing I like about it is that it makes the engagement of the pipeline a lot of more clear, which is something that’s always confused me20:33
* gordc is not a diagram person20:33
gordcany suggestion is a good suggestion when it comes to fixing my diagrams.20:33
openstackgerritChris Dent proposed a change to openstack/ceilometer-specs: Propose a suite of declarative http api tests  https://review.openstack.org/12966920:35
*** drjones has joined #openstack-ceilometer20:35
cdentgordc you can jump on the contention train there ^20:36
gordccdent: ok. i'll take a read later today/tomorrow.20:37
cdentIt feels like it is going to be entertaining20:38
gordccdent: you're very bold to work on the api20:38
gordcwhen i see the api code i get scared.20:38
cdentjust the tests not the api itself20:38
*** rbowen has left #openstack-ceilometer20:38
cdentyes, that code is _wacky_20:38
gordcoh ok... well anything api related can be or is  a chore20:38
*** _cjones_ has quit IRC20:39
*** sbfox has quit IRC20:44
*** sbfox has joined #openstack-ceilometer20:45
*** cdent has quit IRC20:52
*** cdent has joined #openstack-ceilometer20:53
*** sbfox has quit IRC20:57
*** sbfox has joined #openstack-ceilometer21:00
*** dhellman_ has joined #openstack-ceilometer21:03
*** dhellman_ has quit IRC21:03
*** sbfox1 has joined #openstack-ceilometer21:11
*** sdake_ has quit IRC21:13
*** sbfox has quit IRC21:13
*** nealph has joined #openstack-ceilometer21:19
-openstackstatus- NOTICE: Zuul erroneously marked some changes as having merge conflicts. Those changes have been added to the check queue to be rechecked and will be automatically updated when complete.21:21
*** prad has quit IRC21:38
*** openstackgerrit has quit IRC21:40
*** ccrouch has quit IRC21:42
*** packet has joined #openstack-ceilometer21:43
*** packet is now known as Guest2921221:43
*** Guest29212 has quit IRC21:44
*** jmank has joined #openstack-ceilometer21:48
*** changbl has quit IRC21:58
* cdent beds22:08
*** cdent has quit IRC22:08
*** asalkeld has joined #openstack-ceilometer22:22
*** nellysmitt has quit IRC22:24
*** gordc has quit IRC22:25
*** thomasem has quit IRC22:28
*** anna_ has quit IRC22:35
*** jmank has quit IRC22:40
*** openstackgerrit has joined #openstack-ceilometer22:42
*** harlowja_away is now known as harlowja22:48
*** anna_ has joined #openstack-ceilometer22:48
*** rbak_ has quit IRC23:07
*** anna_ has quit IRC23:11
*** X019 has joined #openstack-ceilometer23:14
*** ddieterly has quit IRC23:19
*** sbfox1 has quit IRC23:31
*** sbfox has joined #openstack-ceilometer23:32
*** fnaval has quit IRC23:35
*** fnaval has joined #openstack-ceilometer23:56

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