*** ddieterly has joined #openstack-ceilometer | 00:13 | |
*** nealph_ has joined #openstack-ceilometer | 00:14 | |
*** nealph_ has quit IRC | 00:20 | |
*** Longgeek has joined #openstack-ceilometer | 00:23 | |
*** sdake_ has quit IRC | 00:25 | |
*** sdake_ has joined #openstack-ceilometer | 00:27 | |
*** Longgeek has quit IRC | 00:27 | |
*** mitz_ has joined #openstack-ceilometer | 00:33 | |
*** ddieterly has quit IRC | 01:01 | |
*** ddieterly has joined #openstack-ceilometer | 01:12 | |
*** jruano has joined #openstack-ceilometer | 01:16 | |
*** jruano has quit IRC | 01:18 | |
*** jruano has joined #openstack-ceilometer | 01:21 | |
*** jruano has quit IRC | 01:36 | |
*** Longgeek has joined #openstack-ceilometer | 01:38 | |
*** fnaval_ has quit IRC | 01:41 | |
*** sbfox has joined #openstack-ceilometer | 01:42 | |
*** Longgeek has quit IRC | 01:43 | |
*** nosnos has joined #openstack-ceilometer | 01:54 | |
*** sbfox has quit IRC | 02:06 | |
*** nealph_ has joined #openstack-ceilometer | 02:17 | |
*** fnaval has joined #openstack-ceilometer | 02:22 | |
*** nealph_ has quit IRC | 02:23 | |
*** zul has quit IRC | 02:30 | |
*** fnaval has quit IRC | 02:43 | |
*** ddieterly has quit IRC | 02:46 | |
*** julim has quit IRC | 03:05 | |
*** ddieterly has joined #openstack-ceilometer | 03:19 | |
*** nealph_ has joined #openstack-ceilometer | 03:20 | |
*** Longgeek has joined #openstack-ceilometer | 03:22 | |
*** ddieterly has quit IRC | 03:23 | |
*** sbfox has joined #openstack-ceilometer | 03:23 | |
*** Longgeek has quit IRC | 03:24 | |
*** Longgeek has joined #openstack-ceilometer | 03:24 | |
*** nosnos has quit IRC | 03:24 | |
*** nosnos has joined #openstack-ceilometer | 03:25 | |
*** nealph_ has quit IRC | 03:25 | |
*** flwang has quit IRC | 03:28 | |
*** nosnos has quit IRC | 03:29 | |
openstackgerrit | A change was merged to openstack/python-ceilometerclient: Add CONTRIBUTING.rst https://review.openstack.org/103751 | 03:37 |
---|---|---|
*** ryanpetrello has quit IRC | 03:40 | |
*** ryanpetrello has joined #openstack-ceilometer | 03:41 | |
*** changbl has quit IRC | 03:42 | |
*** ddieterly has joined #openstack-ceilometer | 03:47 | |
*** nosnos has joined #openstack-ceilometer | 03:48 | |
*** ddieterly has quit IRC | 03:51 | |
*** deepthi has joined #openstack-ceilometer | 03:52 | |
*** sbfox has quit IRC | 03:53 | |
*** sbfox has joined #openstack-ceilometer | 03:54 | |
*** ddieterly has joined #openstack-ceilometer | 04:01 | |
*** ddieterly has quit IRC | 04:06 | |
*** yatin has joined #openstack-ceilometer | 04:08 | |
*** changbl has joined #openstack-ceilometer | 04:16 | |
*** nealph_ has joined #openstack-ceilometer | 04:22 | |
*** hhuang has joined #openstack-ceilometer | 04:25 | |
*** nealph_ has quit IRC | 04:27 | |
*** sbfox has quit IRC | 04:37 | |
*** changbl has quit IRC | 04:39 | |
*** sdake has quit IRC | 04:41 | |
*** yatin has quit IRC | 04:50 | |
*** hhuang has quit IRC | 04:53 | |
*** vissborg has quit IRC | 04:58 | |
*** vissborg has joined #openstack-ceilometer | 05:00 | |
*** ddieterly has joined #openstack-ceilometer | 05:01 | |
*** yatin has joined #openstack-ceilometer | 05:03 | |
*** ddieterly has quit IRC | 05:05 | |
*** Longgeek has quit IRC | 05:08 | |
*** Longgeek has joined #openstack-ceilometer | 05:23 | |
*** nealph_ has joined #openstack-ceilometer | 05:24 | |
*** alexpilotti_ has joined #openstack-ceilometer | 05:28 | |
*** alexpilotti has quit IRC | 05:29 | |
*** alexpilotti_ is now known as alexpilotti | 05:29 | |
*** nealph_ has quit IRC | 05:29 | |
*** deepthi has quit IRC | 05:39 | |
*** swamireddy has joined #openstack-ceilometer | 05:50 | |
*** deepthi has joined #openstack-ceilometer | 05:52 | |
*** nosnos has quit IRC | 05:59 | |
*** nosnos has joined #openstack-ceilometer | 06:00 | |
*** ddieterly has joined #openstack-ceilometer | 06:01 | |
*** ddieterly has quit IRC | 06:06 | |
*** k4n0 has joined #openstack-ceilometer | 06:11 | |
*** ildikov has joined #openstack-ceilometer | 06:16 | |
*** nealph_ has joined #openstack-ceilometer | 06:26 | |
*** nealph_ has quit IRC | 06:31 | |
*** nosnos has quit IRC | 06:39 | |
*** nosnos has joined #openstack-ceilometer | 06:39 | |
*** ddieterly has joined #openstack-ceilometer | 06:47 | |
*** alexpilotti has quit IRC | 06:49 | |
*** sdake_ has quit IRC | 06:50 | |
*** ddieterly has quit IRC | 06:52 | |
*** X019 has quit IRC | 07:02 | |
*** admin0 has quit IRC | 07:06 | |
*** nsaje has joined #openstack-ceilometer | 07:09 | |
*** X019 has joined #openstack-ceilometer | 07:09 | |
*** Longgeek has quit IRC | 07:16 | |
*** Longgeek has joined #openstack-ceilometer | 07:19 | |
*** Longgeek has quit IRC | 07:24 | |
*** nealph_ has joined #openstack-ceilometer | 07:28 | |
*** hhuang has joined #openstack-ceilometer | 07:31 | |
*** nealph_ has quit IRC | 07:34 | |
*** nellysmitt has joined #openstack-ceilometer | 07:49 | |
*** Ala has joined #openstack-ceilometer | 08:01 | |
*** swamireddy has quit IRC | 08:02 | |
*** _nadya_ has joined #openstack-ceilometer | 08:07 | |
*** Longgeek has joined #openstack-ceilometer | 08:20 | |
*** safchain has joined #openstack-ceilometer | 08:23 | |
*** Longgeek has quit IRC | 08:26 | |
*** nealph_ has joined #openstack-ceilometer | 08:30 | |
*** cdent has joined #openstack-ceilometer | 08:30 | |
*** isviridov_away is now known as isviridov | 08:36 | |
*** nealph_ has quit IRC | 08:36 | |
*** admin0 has joined #openstack-ceilometer | 08:41 | |
*** Longgeek has joined #openstack-ceilometer | 08:45 | |
*** Longgeek has quit IRC | 08:47 | |
*** Longgeek has joined #openstack-ceilometer | 08:47 | |
openstackgerrit | A change was merged to openstack/ceilometer: Edits assert method https://review.openstack.org/129474 | 08:48 |
openstackgerrit | A change was merged to openstack/ceilometer: Edits assert methods https://review.openstack.org/129486 | 08:51 |
openstackgerrit | A change was merged to openstack/ceilometer: Edits assert methods https://review.openstack.org/129482 | 08:51 |
openstackgerrit | A change was merged to openstack/ceilometer: Edits assert methods https://review.openstack.org/129489 | 08:51 |
*** _nadya_ has quit IRC | 08:55 | |
openstackgerrit | Rui Chen proposed a change to openstack/ceilometer-specs: Adds memory stats meter to libvirt inspector https://review.openstack.org/129553 | 09:00 |
*** Ala has quit IRC | 09:04 | |
*** Ala has joined #openstack-ceilometer | 09:05 | |
*** cdent has quit IRC | 09:06 | |
openstackgerrit | Rui Chen proposed a change to openstack/ceilometer: Adds memory stats meter to libvirt inspector https://review.openstack.org/90498 | 09:18 |
*** k4n0 has quit IRC | 09:32 | |
*** nealph_ has joined #openstack-ceilometer | 09:32 | |
*** k4n0 has joined #openstack-ceilometer | 09:35 | |
*** nealph_ has quit IRC | 09:38 | |
*** ifarkas has joined #openstack-ceilometer | 09:43 | |
*** deepthi has quit IRC | 09:47 | |
*** deepthi has joined #openstack-ceilometer | 10:00 | |
*** cdent has joined #openstack-ceilometer | 10:06 | |
*** Ala has quit IRC | 10:10 | |
*** hhuang has quit IRC | 10:11 | |
*** swamireddy1 has joined #openstack-ceilometer | 10:13 | |
*** Longgeek has quit IRC | 10:14 | |
*** asalkeld has quit IRC | 10:14 | |
*** Longgeek has joined #openstack-ceilometer | 10:14 | |
*** eglynn-officeafk is now known as eglynn-office | 10:23 | |
*** asalkeld has joined #openstack-ceilometer | 10:31 | |
*** Ala has joined #openstack-ceilometer | 10:32 | |
*** yasu_ has joined #openstack-ceilometer | 10:33 | |
*** nealph_ has joined #openstack-ceilometer | 10:34 | |
*** nealph_ has quit IRC | 10:40 | |
*** _nadya_ has joined #openstack-ceilometer | 10:47 | |
openstackgerrit | Rui Chen proposed a change to openstack/ceilometer-specs: Adds memory stats meter to libvirt inspector https://review.openstack.org/129553 | 10:59 |
openstackgerrit | Rui Chen proposed a change to openstack/ceilometer: Adds memory stats meter to libvirt inspector https://review.openstack.org/90498 | 11:07 |
*** Longgeek has quit IRC | 11:14 | |
*** Longgeek has joined #openstack-ceilometer | 11:15 | |
*** amalagon_ has joined #openstack-ceilometer | 11:21 | |
*** amalagon has quit IRC | 11:24 | |
*** amalagon_ is now known as amalagon | 11:24 | |
*** Longgeek has quit IRC | 11:30 | |
*** Longgeek has joined #openstack-ceilometer | 11:31 | |
*** zul has joined #openstack-ceilometer | 11:32 | |
*** Longgeek_ has joined #openstack-ceilometer | 11:32 | |
*** Longgeek has quit IRC | 11:36 | |
openstackgerrit | Nelly Kuznetsova proposed a change to openstack/ceilometer: Edits assert methods https://review.openstack.org/129581 | 11:42 |
*** maishsk has joined #openstack-ceilometer | 11:47 | |
maishsk | eglynn-office: Are you around? | 11:47 |
*** eglynn-office is now known as eglynn-office-af | 11:50 | |
*** eglynn-office-af is now known as eglynn-reg-offic | 11:50 | |
eglynn-reg-offic | maishsk: yes | 11:50 |
maishsk | ^^^ | 11:50 |
*** eglynn-reg-offic is now known as eglynn-office | 11:50 | |
*** deepthi has quit IRC | 11:57 | |
*** jmatthews has joined #openstack-ceilometer | 12:09 | |
sileht | jd__, It seems the release of pecan 0.8 break gnocchi: http://paste.openstack.org/show/122179/ | 12:12 |
*** swamireddy1 has quit IRC | 12:22 | |
*** asalkeld has quit IRC | 12:24 | |
sileht | jd__, this is due of the way we extends pecan.expose (vexpose) | 12:30 |
*** nealph_ has joined #openstack-ceilometer | 12:39 | |
*** jaypipes has joined #openstack-ceilometer | 12:40 | |
*** nellysmitt has quit IRC | 12:40 | |
*** amalagon has quit IRC | 12:41 | |
jd__ | sileht: scrogneugneu | 12:44 |
jd__ | sileht: is it a bug in our code or in Pecan? | 12:44 |
*** nealph_ has quit IRC | 12:44 | |
*** yasu_ has quit IRC | 12:45 | |
sileht | jd__, I don't know yet | 12:45 |
sileht | jd__, just god it ! | 12:45 |
sileht | got* | 12:45 |
sileht | jd__, pecan.utils.getargspec is looking for 'self' as first args to find the real decorated method | 12:46 |
sileht | jd__, but in gnocchi we expose some staticmethods :) that don't have 'self' as first args | 12:46 |
*** maishsk has quit IRC | 12:47 | |
sileht | jd__, 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 different | 12:54 |
sileht | k | 12:56 |
*** thomasem has joined #openstack-ceilometer | 13:01 | |
*** amalagon has joined #openstack-ceilometer | 13:01 | |
*** changbl has joined #openstack-ceilometer | 13:02 | |
sileht | jd__, https://review.openstack.org/#/c/129602/ | 13:04 |
*** julim has joined #openstack-ceilometer | 13:08 | |
*** gordc has joined #openstack-ceilometer | 13:09 | |
jdandrea | Trying 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 IRC | 13:13 | |
openstackgerrit | Julien Danjou proposed a change to stackforge/gnocchi: Limite Pecan version https://review.openstack.org/129605 | 13:13 |
jd__ | sileht: https://review.openstack.org/#/c/129605/ | 13:13 |
*** _nadya_ has quit IRC | 13:16 | |
eglynn-office | jdandrea: what project_id is associated with the sameples? | 13:16 |
eglynn-office | jdandrea: ... does this differ from the project for the alarm (d2af17a5a3d940be81867652cb95491e) assuming non-admin? | 13:16 |
jdandrea | eglynn-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 coffees | 13:19 | |
* jdandrea is awaiting the sample list ... | 13:19 | |
jdandrea | project_id matches in the sample. | 13:22 |
* jdandrea is grabbing a sample to augment the paste. | 13:23 | |
eglynn-office | jdandrea: can you also check the ceilometer alarm-evaluator service logs? | 13:23 |
jdandrea | eglynn-office: Sure. | 13:23 |
*** _nadya_ has joined #openstack-ceilometer | 13:25 | |
eglynn-office | jdandrea: also check what version of the ceilometer client you're using if there are auth failures in the alarm-eval log | 13:26 |
jdandrea | Meanwhile, the sample (added at the very end): http://paste.openstack.org/show/122199/ | 13:26 |
jdandrea | eglynn-office: You got it ... checking now ... | 13:26 |
eglynn-office | jdandrea: $ ceilometer --version ... there was a problem in python-ceiloclient 1.0.10 with token expiry, fixed in 1.0.11 | 13:27 |
jdandrea | The eval log looks fairly empty. | 13:27 |
jdandrea | eglynn-office: Oh. I'm using Icehouse, 1.0.8. | 13:27 |
jdandrea | In 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 sec | 13:28 |
jdandrea | The 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-office | jdandrea: hmmm, shouldn't be empty, I would expect at least "INFO ... initiating evaluation cycle on X alarms" every minute or so | 13:29 |
jdandrea | eglynn-office: Nope. :-o | 13:29 |
*** rbowen has joined #openstack-ceilometer | 13:29 | |
jdandrea | eglynn-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/tokens | 13:30 |
jdandrea | But that was before I realized the URL had to be the public one (changed it, error went away). | 13:31 |
eglynn-office | jdandrea: did you have an alarm at that time with a massive period or number of eval periods? | 13:31 |
jdandrea | I didn't. Someone else might have. Not sure how to verify that, but if I can I will. | 13:31 |
eglynn-office | jdandrea: try uping restarting the debug verbosity in /etc/ceilometer/ceilometer.conf and restart alarm-eval service | 13:31 |
jdandrea | eglynn-office: Sure. | 13:32 |
jdandrea | eglynn-office: Just this, yes? | 13:34 |
jdandrea | debug=true | 13:34 |
jdandrea | verbose=true | 13:34 |
eglynn-office | yep | 13:34 |
*** changbl has quit IRC | 13:34 | |
*** fnaval has joined #openstack-ceilometer | 13:34 | |
jdandrea | eglynn-office: Ok, restarted | 13:35 |
jdandrea | eglynn-office: Oh yes, lots of fun info now. | 13:36 |
jdandrea | So this sample is posted every minute. I will watch for a new batch of info and paste it. | 13:38 |
jdandrea | Boom: http://paste.openstack.org/show/122201/ | 13:38 |
jdandrea | It 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-office | jdandrea: k, I think I see what's going on | 13:42 |
*** jruano has joined #openstack-ceilometer | 13:43 | |
*** jruano has quit IRC | 13:43 | |
jdandrea | eglynn-office: Oh? (I've been staring this down since Thursday. I think I have developer myopia. heh.) | 13:43 |
eglynn-office | jdandrea: are you using mongodb as the backend? | 13:44 |
jdandrea | Yes. | 13:44 |
eglynn-office | I'm concerned about the embedded period in 'user_metadata.stack' | 13:44 |
eglynn-office | but in any case, the first thing I noticed was: metadata.user_metadata.stack*_id* | 13:45 |
*** rbak has quit IRC | 13:45 | |
*** jruano has joined #openstack-ceilometer | 13:45 | |
eglynn-office | jdandrea: the "_id" is present in the condition on the alarm, but not on the resource metadata in the sample | 13:46 |
jdandrea | Hmm. But I don't add that. Heat does. (Doesn't it?) *goes to look* | 13:46 |
jdandrea | Do you mean the name or the value? | 13:47 |
jdandrea | Oh! In the sample! | 13:47 |
eglynn-office | jdandrea: compare line 29 and 63 in http://paste.openstack.org/show/121679 | 13:47 |
jdandrea | Oh. My. | 13:48 |
* jdandrea head/desk | 13:48 | |
jdandrea | If I told you how many times I compared those ... | 13:48 |
eglynn-office | LOL :) | 13:49 |
jdandrea | I know, right? | 13:49 |
eglynn-office | wood from the trees | 13:49 |
jdandrea | Thank you. EXACTLY. | 13:49 |
jdandrea | I'm not the only one who missed it either. Good on you for catching it. | 13:50 |
eglynn-office | jdandrea: 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 dict | 13:50 |
jdandrea | eglynn-office: Oh! Should it just be stack_id? | 13:50 |
jdandrea | I 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 |
jdandrea | I don't need nesting. I just want to be sure I'm using the correct key. | 13:51 |
eglynn-office | jdandrea: more whether you'd need 'user_metadata' = {'stack_id': os.environ['OS_STACK_ID']} on line 29 when pushing the samples | 13:51 |
jdandrea | eglynn-office: Mhm. | 13:51 |
jdandrea | The evaluator is checking "metadata.user_metadata.stack_id" | 13:51 |
eglynn-office | yes, that period indicates nesting | 13:52 |
jdandrea | eglynn-office: Aye. | 13:52 |
* jdandrea seems to recall a Ceilometer file that maps metadata between metering and user_metadata somewhere ... | 13:52 | |
eglynn-office | jdandrea: 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 keep | 13:53 |
eglynn-office | jdandrea: ... I'm just not 100% sure the samples POST interprets the period the same way | 13:53 |
jdandrea | eglynn-office: Oh. Maybe I'm confusing something. | 13:53 |
eglynn-office | jdandrea: the difference is that your case you're literally POSTing the samples, as opposed to these being generated from notifications or polling | 13:54 |
jdandrea | Example: https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml - see lines 74 (server) vs. 122 (alarm). | 13:55 |
*** k4n0 has quit IRC | 13:55 | |
jdandrea | They use "stack" but I thought "an id is an id, change the name!" | 13:55 |
jdandrea | eglynn-office: Innnteresting. | 13:55 |
jdandrea | So because I'm posting them directly, I may just be able to put "stack_id" in the metadata. | 13:56 |
jdandrea | Is that what you mean? | 13:56 |
eglynn-office | jdandrea: a-ha, I see from the template how that confusion between stack and stack_id would arise | 13:56 |
jdandrea | eglynn-office: *nods* | 13:56 |
eglynn-office | jdandrea: one sec | 13:56 |
jdandrea | So 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-office | jdandrea: so two separate issues ... | 13:58 |
eglynn-office | 1. ensure stack_id is used consistently | 13:58 |
jdandrea | Check. | 13:59 |
eglynn-office | 2. ensure that 'user_metadata.stack_id': os.environ['OS_STACK_ID'] in the POSTed sample is interpreted as a *nested* dict | 13:59 |
jdandrea | Not sure how to check that one. | 14:00 |
jdandrea | I can just try it, I s'pose. | 14:00 |
jdandrea | I just want to use the correct notation. I don't need nesting, just the proper key. | 14:01 |
eglynn-office | jdandrea: well just push another sample, then query for it ... | 14:01 |
jdandrea | Yup. | 14:01 |
eglynn-office | jdandrea: $ 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-ceilometer | 14:02 | |
jdandrea | eglynn-office: That gets me a prompt. | 14:02 |
jdandrea | Oh, wait, that's just shell. | 14:02 |
eglynn-office | jdandrea: yeah, don't paste the initial dollar sign | 14:03 |
jdandrea | Oh, a closing " would help. Heh. | 14:03 |
*** safchain has quit IRC | 14:03 | |
jdandrea | No, I didn't paste the $. | 14:03 |
jdandrea | There we go. | 14:03 |
*** safchain has joined #openstack-ceilometer | 14:03 | |
jdandrea | {"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "Unable to parse date string u'2014-10-20T13:58:Z'"}} | 14:03 |
eglynn-office | jdandrea: a-ha, yeah, I dropped the closing quote | 14:03 |
jdandrea | Spinning up another server | 14:04 |
eglynn-office | jdandrea: my bad | 14:04 |
jdandrea | np | 14:04 |
jdandrea | Wait, I'm going to post interactively and query for it. | 14:04 |
jdandrea | Why use a rocket ship when a bicycle would do? :-p | 14:05 |
eglynn-office | jdandrea: 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 |
jdandrea | tx | 14:07 |
jdandrea | I still get {"error_message": {"debuginfo": null, "faultcode": "Server", "faultstring": "Unable to parse date string u'2014-10-20T14:02:Z'"}} | 14:07 |
eglynn-office | jdandrea: I think I see what's happening | 14:07 |
eglynn-office | jdandrea: the dat format is interpreted by IRC client as some weird strikethrough | 14:07 |
*** rbak has joined #openstack-ceilometer | 14:08 | |
eglynn-office | jdandrea: copy from here instead http://paste.openstack.org/show/122214/ | 14:08 |
jdandrea | That worked. :) | 14:09 |
*** nosnos has quit IRC | 14:09 | |
jdandrea | ... and it found my recent sample. | 14:09 |
eglynn-office | jdandrea: can you paste the response? | 14:09 |
*** nosnos has joined #openstack-ceilometer | 14:09 | |
jdandrea | eglynn-office: http://paste.openstack.org/show/122216/ | 14:12 |
jdandrea | (was assembling) | 14:12 |
jdandrea | Notice that I used 'stack_id' up in the sample. No nesting. | 14:13 |
jdandrea | I can try one with nesting. | 14:13 |
eglynn-office | jdandrea: yes, can you try with 'user_metadata.stack_id': '5a301761-f78b-46e2-8900-8b4f6fe6675a' first and paste the response | 14:14 |
*** nosnos has quit IRC | 14:14 | |
*** _nadya_ has quit IRC | 14:14 | |
jdandrea | eglynn-office: Here you go. http://paste.openstack.org/show/122217/ | 14:15 |
jdandrea | So that's good, I think. it's just matching it as a string. | 14:16 |
eglynn-office | jdandrea: how is your alarm looking? | 14:17 |
openstackgerrit | Mehdi Abaakouk proposed a change to stackforge/gnocchi: Allows to filter out the gnocchi generated samples https://review.openstack.org/128922 | 14:17 |
openstackgerrit | Mehdi Abaakouk proposed a change to stackforge/gnocchi: Add a gnocchi dispatcher https://review.openstack.org/98798 | 14:17 |
jdandrea | eglynn-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 |
jdandrea | I'll use user_metadata.stack_id in the posted sample. | 14:19 |
*** fnaval has quit IRC | 14:20 | |
jdandrea | ok! stack creation is complete. | 14:22 |
openstackgerrit | gordon chung proposed a change to openstack/ceilometer: refresh ceilometer architecture documentation https://review.openstack.org/129074 | 14:22 |
gordc | nsaje: ^ not sure if it's better but it's more accurate. | 14:22 |
jdandrea | eglynn-office: The sample-list found the sample. | 14:22 |
jdandrea | ... and another one. :) | 14:23 |
jdandrea | eglynn-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 |
jdandrea | eglynn-office: Most importantly, it shows a state of "ok" now. :) | 14:24 |
eglynn-office | jdandrea: coolness :) | 14:24 |
jdandrea | eglynn-office: :-D | 14:24 |
*** nealph has quit IRC | 14:24 | |
jdandrea | eglynn-office: Now to stop the samples and try to trip the alarm. | 14:25 |
eglynn-office | jdandrea: so my thoughts on nesting via the emmbedded "." was a red herring | 14:25 |
eglynn-office | jdandrea: (... just what I was thinking before I noticed the "stack" versus "stack_id") | 14:25 |
*** _nadya_ has joined #openstack-ceilometer | 14:26 | |
jdandrea | eglynn-office: Ah, ok. | 14:26 |
jdandrea | So now I'm watching the alarm to see if it leaves the ok state. (Samples are no longer being posted.) | 14:26 |
jdandrea | eglynn-office: Status changed to "insufficient data" (instead of "alarm"?) | 14:27 |
eglynn-office | jdandrea: are you continueing to pump in more samples, once a minute at least? | 14:28 |
eglynn-office | jdandrea: otherwise it'll just flip back to insufficient_data as the time windown advances | 14:28 |
jdandrea | eglynn-office: No. I stopped on purpose. I want the alarm to trip if it stops seeing samples. | 14:28 |
jdandrea | Hmm. | 14:28 |
eglynn-office | jdandrea: so it's working as expected | 14:29 |
jdandrea | To 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 |
jdandrea | If the server doesn't do that, we want the alarm to trip. (It's a contrived example.) | 14:29 |
eglynn-office | jdandrea: "alarm" == "I have datapoints outside the threashold" | 14:29 |
eglynn-office | jdandrea: "ok" == "I have datapoints inside the threashold" | 14:29 |
eglynn-office | jdandrea: "insufficient data" == "I have no datapoints" | 14:29 |
jdandrea | eglynn-office: Ahh. | 14:30 |
jdandrea | So I have to trigger on "insufficient data" then. | 14:30 |
jdandrea | Instead of "alarm" ... ? | 14:30 |
*** rwsu has joined #openstack-ceilometer | 14:30 | |
eglynn-office | jdandrea: yep, if that the condition you want to be notified on (i.e. when the stream of samples dries up) | 14:30 |
jdandrea | eglynn-office: Yes. I want to know when the sample stream goes dry. | 14:31 |
jdandrea | Once the samples come back, it should change to "ok" again. | 14:31 |
eglynn-office | jdandrea: yep ... cool, insufficient_data is your target state so | 14:31 |
jdandrea | ok. I will adjust the code that responds to the alarm. | 14:32 |
jdandrea | (when it changes state) | 14:32 |
jdandrea | I appreciate your help with this! I had a fundamental misunderstanding of ok vs alarm. | 14:33 |
eglynn-office | jdandrea: np! | 14:34 |
jdandrea | eglynn-office: Ahh, and in my Heat template I have to use insufficient_data_actions instead of alarm_actions. ;) | 14:43 |
*** fnaval has joined #openstack-ceilometer | 14:47 | |
*** ddieterly has joined #openstack-ceilometer | 14: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 |
gordc | i'll try to comment in next hour. | 14:54 |
*** rbak_ has joined #openstack-ceilometer | 14:59 | |
*** ddieterly has quit IRC | 15:00 | |
*** rbak has quit IRC | 15:01 | |
jd__ | wtf is http://logs.openstack.org/05/129605/1/check/gate-gnocchi-tox-py27-postgresql/5530466/console.html | 15:03 |
*** jruano has quit IRC | 15:04 | |
gordc | jd__: you broke python | 15:05 |
jd__ | AGAIN?! | 15:05 |
jd__ | I'm calling Guido | 15:06 |
gordc | stop breaking python! | 15:06 |
DinaBelova | jd__, hehe, you're lucky :) | 15:06 |
*** admin0 has quit IRC | 15:11 | |
openstackgerrit | Mehdi Abaakouk proposed a change to stackforge/gnocchi: Ensure Location header are string https://review.openstack.org/129224 | 15:17 |
*** ildikov has quit IRC | 15:18 | |
jd__ | actually we're doing shit with pandas timestamp | 15:19 |
jd__ | fixing | 15:19 |
*** ddieterly has joined #openstack-ceilometer | 15:21 | |
openstackgerrit | Julien Danjou proposed a change to stackforge/gnocchi: Limit Pecan version, fix Pandas usage https://review.openstack.org/129605 | 15:24 |
eglynn-office | jd__: 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 time | 15:27 |
jd__ | let me review it again | 15:27 |
eglynn-office | jd__: excellent, thanks! | 15:28 |
jd__ | eglynn-office: if that was your question :) | 15:28 |
eglynn-office | jd__: yep, it was :) ... /me is interested in using it to underpin the juno central agent partitioning logic | 15:29 |
*** mitz has quit IRC | 15:29 | |
*** jmatthews has quit IRC | 15:29 | |
*** mitz has joined #openstack-ceilometer | 15:29 | |
jd__ | eglynn-office: what do you think about https://review.openstack.org/#/c/101548/ ? /me whispers | 15:31 |
*** sdake has joined #openstack-ceilometer | 15:31 | |
*** sdake has joined #openstack-ceilometer | 15:31 | |
*** nellysmitt has joined #openstack-ceilometer | 15:34 | |
eglynn-office | jd__: wow, do people actually deploy on Darwin? ;) | 15:35 |
eglynn-office | jd__: ... looks reasonable to me, approving | 15:35 |
jd__ | eglynn-office: I run the tests on Darwin | 15:37 |
jd__ | it's like a quality test to me, if it runs on Darwin, it's good code | 15:37 |
jd__ | Ceilometer, Gnocchi, Oslo, runs on Darwin for example | 15:38 |
*** vrovachev has quit IRC | 15: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 distro | 15:39 | |
eglynn-office | ... suspects ubuntu >> fedora > centos >> Darwin | 15:40 |
jd__ | sileht: eglynn-office: https://review.openstack.org/#/c/129605/ should fix Gnocchi | 15:47 |
jd__ | eglynn-office: yeah I think you'd be right | 15:47 |
jd__ | most people on Darwin dev and test on a VM | 15:47 |
jd__ | I've been using Darwin for 10 months and I never developed with a Linux VM, only Darwin | 15:47 |
jd__ | 'cause that's what real developers do, no virtual stuff, dev on bare metal ya know | 15:48 |
jd__ | sometimes I use a disassembler and a soldering iron to debug because I love the challenge | 15:48 |
*** yassine has quit IRC | 15:48 | |
cdent | I started out doing dev on darwin | 15:52 |
eglynn-office | jd__: LOL :) ... /me realizes he's a lazy wimp for using fedora VMs | 15:52 |
cdent | but since then nearly all my work has been in devstack, grenade or tempest, so on baremetal | 15:52 |
cdent | I stay away from vms as much as possible because they | 15:53 |
cdent | are | 15:53 |
cdent | so | 15:53 |
cdent | frickin | 15:53 |
cdent | slow | 15:53 |
openstackgerrit | A change was merged to openstack/ceilometer: Edits assert methods https://review.openstack.org/129581 | 15:53 |
jdandrea | eglynn-office: The alarm works! tyvm | 15:54 |
eglynn-office | jdandrea: cool :) | 15:56 |
openstackgerrit | Srinivas Sakhamuri proposed a change to openstack/ceilometer: Allow collector service database connection retry https://review.openstack.org/127128 | 16:00 |
*** _cjones_ has joined #openstack-ceilometer | 16:00 | |
*** changbl has joined #openstack-ceilometer | 16:03 | |
*** ildikov has joined #openstack-ceilometer | 16:07 | |
*** _nadya_ has quit IRC | 16:08 | |
*** prad has joined #openstack-ceilometer | 16:09 | |
openstackgerrit | Chris Dent proposed a change to openstack/ceilometer-specs: Propose a suite of declarative http api tests https://review.openstack.org/129669 | 16:37 |
*** safchain has quit IRC | 16:57 | |
*** Longgeek_ has quit IRC | 17:02 | |
*** Longgeek has joined #openstack-ceilometer | 17:05 | |
*** Longgeek has quit IRC | 17:06 | |
*** ifarkas has quit IRC | 17:10 | |
*** julim has quit IRC | 17:14 | |
*** harlowja_away is now known as harlowja | 17:14 | |
openstackgerrit | A change was merged to stackforge/gnocchi: Limit Pecan version, fix Pandas usage https://review.openstack.org/129605 | 17:19 |
openstackgerrit | Chris Dent proposed a change to openstack/ceilometer-specs: Propose a suite of declarative http api tests https://review.openstack.org/129669 | 17:21 |
*** isviridov is now known as isviridov_away | 17:28 | |
*** julim has joined #openstack-ceilometer | 17:31 | |
rahmu | hello. I'm running the ceilometer tests against postgresql as a backend (with tox -e py-pgsql). | 17:37 |
rahmu | I am trying to solve this test failure: http://www.hastebin.com/aqukitaniy.txt. | 17:38 |
rahmu | This 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 |
rahmu | I 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#n27 | 17:38 |
rahmu | the 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_PRECISION | 17:38 |
rahmu | 17:38 | |
rahmu | I tried, but to no avail. Anyone has an idea? | 17:38 |
*** cdent has quit IRC | 17:41 | |
*** eglynn-office is now known as eglynn-officeafk | 17:42 | |
gordc | rahmu: did you create a typedecorator or use with_variant? | 17:51 |
rahmu | gordc: errrr neither. I just added a new migration script that does `meter.c.counter_volume.alter(type=DOUBLE_PRECISION())` | 17:54 |
gordc | rahmu: oh... so you did a postgresql only migration? | 17:55 |
rahmu | that's what I was going for | 17:56 |
rahmu | unless there's a better way? | 17:56 |
gordc | digging something up... we typically use typedecorator to handle differences between sql drivers | 17:56 |
gordc | rahmu: https://github.com/openstack/ceilometer/blob/master/ceilometer/storage/sqlalchemy/models.py#L55-L79 | 17:57 |
gordc | you'd need to create one for float probably... | 17:57 |
rahmu | awesome. Thanks for the tip. I'll try that. | 17:58 |
gordc | rahmu: this thread my help: https://groups.google.com/forum/#!topic/sqlalchemy/lqfaofbWc30 | 17:58 |
openstackgerrit | Komei Shimamura proposed a change to openstack/ceilometer-specs: Implements: blueprint kafka-publisher https://review.openstack.org/126964 | 18:00 |
*** admin0 has joined #openstack-ceilometer | 18:02 | |
*** ifarkas has joined #openstack-ceilometer | 18:13 | |
*** admin0 has quit IRC | 18:18 | |
*** sbfox has joined #openstack-ceilometer | 18:26 | |
*** Guest52830 is now known as mgagne | 18:42 | |
*** mgagne has joined #openstack-ceilometer | 18:42 | |
*** admin0 has joined #openstack-ceilometer | 19:00 | |
*** admin0 has quit IRC | 19:00 | |
*** _nadya_ has joined #openstack-ceilometer | 19:02 | |
openstackgerrit | A change was merged to openstack/ceilometer-specs: Adds memory stats meter to libvirt inspector https://review.openstack.org/129553 | 19:16 |
openstackgerrit | gordon chung proposed a change to openstack/ceilometer-specs: dedicated event database https://review.openstack.org/125994 | 19:17 |
openstackgerrit | gordon chung proposed a change to openstack/ceilometer-specs: remove temporary fake spec https://review.openstack.org/129708 | 19:21 |
*** ifarkas has quit IRC | 19:24 | |
*** X019 has quit IRC | 19:30 | |
*** anna_ has joined #openstack-ceilometer | 19:30 | |
*** cdent has joined #openstack-ceilometer | 19:37 | |
openstackgerrit | A change was merged to openstack/ceilometer-specs: dedicated event database https://review.openstack.org/125994 | 19:42 |
*** promulo_ has joined #openstack-ceilometer | 19:55 | |
openstackgerrit | Chris Dent proposed a change to openstack/ceilometer-specs: Propose a suite of declarative http api tests https://review.openstack.org/129669 | 19:57 |
*** sdake_ has joined #openstack-ceilometer | 20:01 | |
openstackgerrit | gordon chung proposed a change to openstack/ceilometer-specs: remove temporary fake spec https://review.openstack.org/129708 | 20:03 |
*** _cjones_ has quit IRC | 20:06 | |
*** _cjones_ has joined #openstack-ceilometer | 20:06 | |
*** ildikov has quit IRC | 20:10 | |
*** harlowja is now known as harlowja_away | 20:10 | |
*** _nadya_ has quit IRC | 20:15 | |
openstackgerrit | A change was merged to openstack/ceilometer: refresh ceilometer architecture documentation https://review.openstack.org/129074 | 20:27 |
cdent | gordc: that rotation seems to have worked (at least to my eye) | 20:31 |
gordc | cdent: yeah i like it better too. good suggestion on your part. | 20:32 |
*** julim has quit IRC | 20:32 | |
cdent | was whimsy | 20:32 |
cdent | so just lucky | 20:32 |
cdent | the 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 me | 20:33 |
* gordc is not a diagram person | 20:33 | |
gordc | any suggestion is a good suggestion when it comes to fixing my diagrams. | 20:33 |
openstackgerrit | Chris Dent proposed a change to openstack/ceilometer-specs: Propose a suite of declarative http api tests https://review.openstack.org/129669 | 20:35 |
*** drjones has joined #openstack-ceilometer | 20:35 | |
cdent | gordc you can jump on the contention train there ^ | 20:36 |
gordc | cdent: ok. i'll take a read later today/tomorrow. | 20:37 |
cdent | It feels like it is going to be entertaining | 20:38 |
gordc | cdent: you're very bold to work on the api | 20:38 |
gordc | when i see the api code i get scared. | 20:38 |
cdent | just the tests not the api itself | 20:38 |
*** rbowen has left #openstack-ceilometer | 20:38 | |
cdent | yes, that code is _wacky_ | 20:38 |
gordc | oh ok... well anything api related can be or is a chore | 20:38 |
*** _cjones_ has quit IRC | 20:39 | |
*** sbfox has quit IRC | 20:44 | |
*** sbfox has joined #openstack-ceilometer | 20:45 | |
*** cdent has quit IRC | 20:52 | |
*** cdent has joined #openstack-ceilometer | 20:53 | |
*** sbfox has quit IRC | 20:57 | |
*** sbfox has joined #openstack-ceilometer | 21:00 | |
*** dhellman_ has joined #openstack-ceilometer | 21:03 | |
*** dhellman_ has quit IRC | 21:03 | |
*** sbfox1 has joined #openstack-ceilometer | 21:11 | |
*** sdake_ has quit IRC | 21:13 | |
*** sbfox has quit IRC | 21:13 | |
*** nealph has joined #openstack-ceilometer | 21: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 IRC | 21:38 | |
*** openstackgerrit has quit IRC | 21:40 | |
*** ccrouch has quit IRC | 21:42 | |
*** packet has joined #openstack-ceilometer | 21:43 | |
*** packet is now known as Guest29212 | 21:43 | |
*** Guest29212 has quit IRC | 21:44 | |
*** jmank has joined #openstack-ceilometer | 21:48 | |
*** changbl has quit IRC | 21:58 | |
* cdent beds | 22:08 | |
*** cdent has quit IRC | 22:08 | |
*** asalkeld has joined #openstack-ceilometer | 22:22 | |
*** nellysmitt has quit IRC | 22:24 | |
*** gordc has quit IRC | 22:25 | |
*** thomasem has quit IRC | 22:28 | |
*** anna_ has quit IRC | 22:35 | |
*** jmank has quit IRC | 22:40 | |
*** openstackgerrit has joined #openstack-ceilometer | 22:42 | |
*** harlowja_away is now known as harlowja | 22:48 | |
*** anna_ has joined #openstack-ceilometer | 22:48 | |
*** rbak_ has quit IRC | 23:07 | |
*** anna_ has quit IRC | 23:11 | |
*** X019 has joined #openstack-ceilometer | 23:14 | |
*** ddieterly has quit IRC | 23:19 | |
*** sbfox1 has quit IRC | 23:31 | |
*** sbfox has joined #openstack-ceilometer | 23:32 | |
*** fnaval has quit IRC | 23:35 | |
*** fnaval has joined #openstack-ceilometer | 23:56 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!