Monday, 2015-08-31

*** promulo__ has joined #openstack-ceilometer00:21
*** promulo has quit IRC00:25
*** llu has joined #openstack-ceilometer00:52
*** mstyne has quit IRC01:07
*** ddieterly has quit IRC01:28
*** tobasco_ has joined #openstack-ceilometer01:36
*** tobasco has quit IRC01:37
*** idegtiarov_ has joined #openstack-ceilometer01:37
*** idegtiarov has quit IRC01:38
flwang1sileht: ping01:41
*** liusheng has joined #openstack-ceilometer01:41
*** ankita_wagh has joined #openstack-ceilometer01:45
*** flwang1 has quit IRC02:18
*** flwang1 has joined #openstack-ceilometer02:19
*** mstyne has joined #openstack-ceilometer02:21
*** ddieterly has joined #openstack-ceilometer02:29
*** ankita_wagh has quit IRC02:33
*** ddieterly has quit IRC02:33
openstackgerritgordon chung proposed openstack/ceilometer: WIP restrict admin event access  https://review.openstack.org/21870602:38
*** ddieterly has joined #openstack-ceilometer02:56
openstackgerritLianhao Lu proposed openstack/ceilometer: Added snmp declarative hardware pollster  https://review.openstack.org/21766703:09
*** jroll has quit IRC03:26
*** liusheng has quit IRC03:27
*** liusheng has joined #openstack-ceilometer03:28
*** jroll has joined #openstack-ceilometer03:31
*** ankita_wagh has joined #openstack-ceilometer03:34
*** I has joined #openstack-ceilometer03:35
*** I is now known as Guest2505903:36
*** rbak has quit IRC03:36
*** links has joined #openstack-ceilometer03:40
*** jwcroppe_ has joined #openstack-ceilometer03:45
*** jwcroppe has quit IRC03:47
*** Guest25059 has quit IRC03:49
*** haigang has joined #openstack-ceilometer03:49
*** deepthi has joined #openstack-ceilometer03:56
*** ddieterly has quit IRC04:06
*** sonuk has joined #openstack-ceilometer04:40
*** yprokule has joined #openstack-ceilometer04:57
*** ig0r__ has joined #openstack-ceilometer04:59
*** ig0r_ has quit IRC04:59
*** ddieterly has joined #openstack-ceilometer05:06
*** ddieterly has quit IRC05:11
*** ankita_wagh has quit IRC05:23
*** haigang has quit IRC05:23
*** ankita_wagh has joined #openstack-ceilometer05:36
*** gzhai has joined #openstack-ceilometer05:37
gzhaihelp05:41
*** eglynn__ has joined #openstack-ceilometer05:41
*** haigang has joined #openstack-ceilometer05:47
*** ankita_wagh has quit IRC05:50
*** ddieterly has joined #openstack-ceilometer06:07
*** ddieterly has quit IRC06:12
*** eglynn__ has quit IRC06:18
*** afazekas_ has joined #openstack-ceilometer06:19
*** eglynn__ has joined #openstack-ceilometer06:20
*** eglynn__ has quit IRC06:25
*** haigang has quit IRC06:27
*** haigang has joined #openstack-ceilometer06:28
*** haigang has quit IRC06:29
openstackgerritZhai, Edwin proposed openstack/aodh: Enable event alarm by default  https://review.openstack.org/21874606:35
*** haigang has joined #openstack-ceilometer06:36
*** nadya has joined #openstack-ceilometer06:37
*** eglynn__ has joined #openstack-ceilometer07:02
*** nadya has quit IRC07:05
*** ddieterly has joined #openstack-ceilometer07:08
*** eglynn__ has quit IRC07:09
*** ddieterly has quit IRC07:13
*** Ala has joined #openstack-ceilometer07:33
*** yassine__ has joined #openstack-ceilometer07:40
*** safchain has joined #openstack-ceilometer07:48
*** ddieterly has joined #openstack-ceilometer08:09
*** ddieterly has quit IRC08:14
*** eglynn__ has joined #openstack-ceilometer08:33
*** maestro_ has joined #openstack-ceilometer08:41
maestro_ /HELP : I would like to integrate ceilometer alarm with heat for autoscaling, can any one please help me out08:42
*** haigang has quit IRC08:44
*** haigang has joined #openstack-ceilometer08:44
*** haigang has quit IRC08:50
*** haigang has joined #openstack-ceilometer08:52
*** ildikov has joined #openstack-ceilometer09:01
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: devstack: remove ceilometer from service list  https://review.openstack.org/21829909:01
*** ddieterly has joined #openstack-ceilometer09:10
*** ddieterly has quit IRC09:14
*** haigang has quit IRC09:20
*** r-mibu has joined #openstack-ceilometer09:26
r-mibugzhai, sorry i'm in09:27
gzhair-mibu: hi09:28
gzhair-mibu: how do you create event alarm. I tried REST API, but the project_id is always None.09:28
r-mibugzhai, I'm still working on cli.09:29
gzhair-mibu: it will only find the alarms with same project_id as in the notification, so find nothing:(09:30
r-mibugzhai, you mean that event-alarm-evaluator cannot find project id from event?09:30
r-mibuor talking about client facing API to create alarm entry?09:31
gzhaiit can find the right project_id, but alarm created by REST has no project_id09:31
gzhaiso it find no alarm.09:32
r-mibuok. so it should be bug on api side09:32
r-mibudid you tried demo user?09:33
gzhaicli is okay to create threshold alarm with project_id, but I saw the same REST payload. So just curious.09:33
*** haigang has joined #openstack-ceilometer09:33
gzhaiNot yet for demo. I'm using admin. Will try it.09:34
r-mibuthanks for testing!09:34
gzhaiIt's not event alarm code bug:)09:36
gzhaiBut if the project_id of event is valid, and project_id of event-alarm is None. Do you think we need fire it?09:36
*** ig0r_ has joined #openstack-ceilometer09:37
r-mibuMaybe yes, admin may want to know events from his infra to capture failure.09:38
*** ig0r__ has quit IRC09:39
r-mibuBut, it's hard to support right now...09:39
r-mibuCurrently, admin can create event-alarm on be half of user, but those alarms is visible to user.09:41
gzhaiok. BTW, demo user has None project_id too via REST API.09:42
r-mibuok, will check it09:43
gzhaiI even see nothing with "ceilometer alarm-list" although the REST API return right response.09:47
gzhaihow did you create event-alarm? also REST api?09:48
r-mibuyou mean there is no type=event alarms?09:48
r-mibuI created them without cli09:48
r-mibusorry, without cli shell, but I used cli python module with some hacking09:49
gzhaicurl -g -i -X 'POST' 'http://10.239.159.54:8042/v2/alarms' -H 'User-Agent: ceilometerclient.openstack.common.apiclient' -H 'Content-Type: application/json' -H "X-Auth-Token: $1" -d '{"event_rule": {"event_type": "compute.instance.update" }, "alarm_actions": ["log://"], "type": "event", "name": "edwin_event_alarm", "repeat_actions": false}'09:50
gzhaiMy REST script.09:50
gzhaianyway, it's bug out of event-alarm code.09:52
r-mibuyour input seems ok09:53
gzhaiend user want to see cli first.09:53
r-mibuyep09:53
r-mibuwill do shortly09:53
gzhair-mibu: Thank you!09:53
r-mibuback to project_id=None events, I may create new option like 'evaluate_all_admin_alrams' to evaluate all admin alarms on each event09:53
r-mibugzhai, thank you, too :)09:54
*** yassine__ has quit IRC10:00
*** ddieterly has joined #openstack-ceilometer10:10
*** haigang has quit IRC10:14
*** haigang has joined #openstack-ceilometer10:15
*** ddieterly has quit IRC10:15
*** gzhai has quit IRC10:33
*** idegtiarov has joined #openstack-ceilometer10:48
*** yassine__ has joined #openstack-ceilometer11:04
*** yassine__ has quit IRC11:04
*** ddieterly has joined #openstack-ceilometer11:11
*** ddieterly has quit IRC11:16
*** nadya has joined #openstack-ceilometer11:17
*** yassine__ has joined #openstack-ceilometer11:20
*** deepthi has quit IRC11:22
*** yprokule has quit IRC11:24
*** yprokule has joined #openstack-ceilometer11:24
openstackgerritMerged openstack/ceilometer: Removing unused dependency: discover  https://review.openstack.org/21829411:25
*** gordc has joined #openstack-ceilometer11:43
*** openstackgerrit has quit IRC11:46
*** openstackgerrit has joined #openstack-ceilometer11:47
openstackgerritJulien Danjou proposed openstack/ceilometer: Adding liusheng to MAINTAINERS  https://review.openstack.org/21881911:57
nadyamaestro_: please contact idegtiarov11:59
openstackgerritJulien Danjou proposed openstack/ceilometer: Adding pradk to MAINTAINERS  https://review.openstack.org/21882212:00
openstackgerritJulien Danjou proposed openstack/aodh: Adding liusheng to MAINTAINERS  https://review.openstack.org/21882312:00
*** nadya has quit IRC12:01
*** ddieterly has joined #openstack-ceilometer12:12
silehtjd__, gordc I have finished to prepare https://github.com/sileht/python-gnocchiclient12:16
silehtit have crud and search of resources12:16
silehttests and docs12:16
jd__coolio12:16
silehtDo I import it in openstackci, now ?12:16
*** ddieterly has quit IRC12:16
silehtI also prepared launchpad/project-config/gouvernance changes12:17
silehtoverview of the doc if needed: https://python-gnocchiclient.readthedocs.org/en/latest/12:17
jd__sileht: I think so12:18
jd__sileht: typo in https://python-gnocchiclient.readthedocs.org/en/latest/shell.html "gnocch" instead of "gnocchi"12:18
silehtfixed12:19
gordcsileht: nice!12:20
gordchow much of this overlaps with dispatcher code? should we try to remove it for Liberty?12:20
silehtgordc, the gnocchi_client.py in ceilometer should be replaced by this12:21
silehtgordc, but we need to finish the lib first :p12:21
gordc:)12:21
gordcwe can target it as a bug... so we don't need to rush.12:21
silehtI open it12:22
gordcthanks12:22
silehtsame thing for aodh evaluator12:22
jd__cooooliioooo12:22
silehtboth bugs opened12:24
gordccool cool.12:26
*** edmondsw has joined #openstack-ceilometer12:32
*** dikonoor has joined #openstack-ceilometer12:34
*** dikonoo has joined #openstack-ceilometer12:35
*** llu has quit IRC12:41
*** llu has joined #openstack-ceilometer12:41
*** ddieterly has joined #openstack-ceilometer12:46
*** dikonoo has quit IRC12:50
dikonoorhi gordc:12:53
silehtjd__, if you have an idea of how to fix that cleanly: https://bugs.launchpad.net/gnocchi/+bug/149055312:54
openstackLaunchpad bug 1490553 in Gnocchi "search with invalid uuid raise 500" [Undecided,New]12:54
gordcdikonoor: hi12:55
dikonoorgordc:GM..4 things 1) Do you know of some core who you think should be taking a look at https://review.openstack.org/#/c/211509/ 2)Did you get a chance to take a look at the support for passing (A or B) into the events filter query ?12:55
dikonoor3)could you take a look at https://review.openstack.org/#/c/217844/ when you get a chance . If this sounds ok, I can proceed with writing UTs.12:55
dikonoorgordc: 4) When is the code freeze date?12:56
*** cmyster has left #openstack-ceilometer12:56
*** afazekas__ has joined #openstack-ceilometer12:56
gordcdikonoor: 1) i'll ping someone.12:56
maestro_how to see ceilometer alarm triggering ?12:56
gordcdikonoor: 2) i've started looking at it... hbase is going to be the hardest to patch12:57
jd__sileht: voluptuous should convert the string to a valid uuid object12:57
jd__sileht: if you have a query to reproduce it as a test in gabbi it should be easy to fix12:57
gordcdikonoor: 3) i'm ok with this implementation12:57
gordcdikonoor: 4) code freeze is this week. it starts tomorrow but we can push a few days.12:58
*** afazekas_ has quit IRC12:58
*** yprokule has quit IRC12:59
silehtjd__, lets me use --debug on the new client ;p12:59
dikonoorgordc: ok..thanks for your quick answers.. I will try and get 3) in today and then keep the last patch for the rbac BP ready so that when your patch is in, I can submit it12:59
silehtjd__, REQ: curl -g -i -X POST http://192.168.3.51:8041/v1/search/resource/generic? -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: {SHA1}3621ff659ededa91ad8ecf2b6926a2aab35d2558" -d '{"=": {"id": "cd9eeff"}}'12:59
gordcdikonoor: what's the last patch?13:00
jd__sileht: ok I'll fix that13:00
silehtjd__, cool thx13:00
*** yprokule has joined #openstack-ceilometer13:00
dikonoorgordc: last set of changes are for the admin users..admin users should be able to see all events for their project + events with no/empty/null project_id . This is where it requires your changes13:01
dikonoorgordc: currently, admin users can see all events , including the events from other projects13:01
gordcdikonoor: is this a change to policy file?13:01
gordcjd__: shall i write an email to point to core nominations?13:02
dikonoorgordc: no ..this is a change in the event.py code..and will come in the else condition on top of these changes >> https://review.openstack.org/#/c/217844/1/ceilometer/api/controllers/v2/events.py13:02
jd__gordc: "point"?13:02
jd__gordc: you can add ceilometer-core to the review and aodh-core to the review13:02
jd__gordc: that ought to be enough, we don't want to spam openstack-dev and then get yelled at13:03
gordcjd__: just to say the nominations exists. we did it last time (the message was don't reply to this, but vote on gerrit)13:03
gordcjd__:  we always get yelled at anyways13:04
*** edmondsw has quit IRC13:04
jd__gordc: ok, well go ahead then :)13:05
*** ddieterly has quit IRC13:09
silehtjd__, keystonemiddleware is in test-requirements file but import it in a couple of place13:10
silehtjd__, forget when next version will be released we can drop everything13:11
dikonoorgordc: does my prev msg answer your query?13:12
openstackgerritRyota MIBU proposed openstack/python-ceilometerclient: Support alarm-event-{create,update} to cli  https://review.openstack.org/21884613:15
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: move keystonemiddleware to requirements.txt  https://review.openstack.org/21884713:15
jd__sileht: for gnocchiclient?13:16
jd__ah got it13:16
jd__yep makes sense13:16
silehtjd__, api just don't start if keystonemiddleware is not installed13:17
silehtjd__, python-gnocchiclient bootstrap a gnocchi-api without keystone into the virtualenv for test the client against a reall API and fall into that bug13:18
silehtfor test/to test13:18
jd__ahah awesome13:19
*** kbyrne has quit IRC13:19
jd__I like how you test gnocchiclient13:19
silehtI hate writting mock13:20
gordcdikonoor: sort of? we can merge that patch without my admin patch13:20
gordcit would just allow admin to see everything (which is existing behaviuor)13:21
dikonoorgordc: https://review.openstack.org/#/c/217844/ patch is not dependent on your changes and we can merge13:22
gordcright.13:22
dikonoorgordc: After your changes, I will need to submit another patch that uses your changes to filter events for admins such that admins can see only events from their project + events that have no project_id13:23
gordcdikonoor: my patch would include that13:24
dikonoorah..ok..then i wouldn't need to make any changes13:24
gordcdikonoor: hopefully not.13:25
dikonoorgordc: ok..13:25
gordcdikonoor: i think if you add test cases for your non-admin patch we should be good to go13:25
dikonoorgordc: and I guess these will go into test_events_scenarios.py :).. some testcases so that the events returned are specific to that user13:26
gordcdikonoor: that works for me.13:27
dikonoorgordc: ok will get that in today13:27
*** liusheng has quit IRC13:28
*** links has quit IRC13:30
*** maestro_ has quit IRC13:30
*** kbyrne has joined #openstack-ceilometer13:32
*** thorst1 has joined #openstack-ceilometer13:32
*** edmondsw has joined #openstack-ceilometer13:33
*** safchain has quit IRC13:35
*** liusheng_ has joined #openstack-ceilometer13:36
*** yprokule has quit IRC13:36
*** yprokule has joined #openstack-ceilometer13:38
*** annasort has joined #openstack-ceilometer13:39
*** ddieterly has joined #openstack-ceilometer13:43
openstackgerritMerged openstack/aodh: Use new location of subunit2html  https://review.openstack.org/21816113:47
*** pradk has joined #openstack-ceilometer13:54
*** Kennan has quit IRC14:03
*** Kennan2 has joined #openstack-ceilometer14:03
*** safchain has joined #openstack-ceilometer14:05
*** afazekas__ has quit IRC14:08
*** rbak has joined #openstack-ceilometer14:09
*** jroll has quit IRC14:09
*** jroll has joined #openstack-ceilometer14:09
*** jasonamyers has joined #openstack-ceilometer14:09
*** Ephur has joined #openstack-ceilometer14:09
*** boris-42 has joined #openstack-ceilometer14:11
jasonamyerswoot pradk14:11
pradkthx :)14:13
*** ildikov has quit IRC14:20
*** r-daneel has joined #openstack-ceilometer14:22
openstackgerritgordon chung proposed openstack/ceilometer: deprecate db2 nosql driver  https://review.openstack.org/21888014:32
*** ildikov has joined #openstack-ceilometer14:36
openstackgerritgordon chung proposed openstack/ceilometer: deprecate db2 nosql driver  https://review.openstack.org/21888014:38
*** jaosorior has joined #openstack-ceilometer14:44
openstackgerritgordon chung proposed openstack/aodh: remove db2 nosql driver  https://review.openstack.org/21888614:45
*** liusheng_ has quit IRC14:50
*** Ala has quit IRC14:53
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: convert UUID correctly before doing a search  https://review.openstack.org/21889114:56
*** jruano has joined #openstack-ceilometer15:02
openstackgerritgordon chung proposed openstack/ceilometer: deprecate db2 nosql driver  https://review.openstack.org/21888015:07
openstackgerritgordon chung proposed openstack/ceilometer: deprecate db2 nosql driver  https://review.openstack.org/21888015:15
openstackgerritRyota MIBU proposed openstack/python-ceilometerclient: Support alarm-event-{create,update}  https://review.openstack.org/21884615:16
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/21696415:30
*** david-ly_ has joined #openstack-ceilometer15:31
*** david-ly_ is now known as david-lyle_15:33
*** david-lyle has quit IRC15:33
*** david-lyle_ is now known as david-lyle15:35
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: catch invalid datetime conversion in search  https://review.openstack.org/21892615:49
*** jasonamyers has quit IRC15:51
*** maubry has joined #openstack-ceilometer15:53
*** yassine__ has quit IRC15:54
*** r-mibu has left #openstack-ceilometer15:57
openstackgerritJulien Danjou proposed openstack/ceilometer: polling: remove deprecated agents  https://review.openstack.org/21249816:13
*** vishwanathj has joined #openstack-ceilometer16:18
*** safchain has quit IRC16:19
openstackgerritJulien Danjou proposed openstack/ceilometer: polling: remove deprecated agents  https://review.openstack.org/21249816:20
*** ankita_wagh has joined #openstack-ceilometer16:26
*** maubry has quit IRC16:39
*** rjaiswal has joined #openstack-ceilometer16:41
*** maubry has joined #openstack-ceilometer16:44
*** ankita_wagh has quit IRC16:57
*** vishwanathj has quit IRC17:00
*** exploreshaifali has joined #openstack-ceilometer17:04
*** julim has joined #openstack-ceilometer17:11
ildikovpradk: sorry for all those comments on the docs17:15
ildikovpradk: if it does not get merged in the early phase then it can be much more painful as a code patch... :(17:16
pradkildikov, np, thx for the comments, i'll revisit the docs this afternoon17:16
ildikovpradk: so if that helps, feel free to blame me for the latest ones, even if I wasn't the one who added them :)17:17
pradkildikov, understand17:17
pradkhehe17:17
ildikovpradk: I wrote the original content in the Admin Guide, it felt like suffering for all my sins in all my lives :)17:18
ildikovpradk: ok, it wasn't that bad, but I know it can be difficult to get it done17:18
pradkildikov, ah i think it wasnt too bad.. gave us a good place to detail the functionality17:19
ildikovpradk: having a chapter in that guide is really good17:20
pradkyea agreed17:20
ildikovand I'malso glad that more and more people go and add docco about their changes there also and not just to the in-tree docs17:21
pradkildikov, yea we all should. It makes consumption much easier17:22
ildikovpradk: yeap, agreed17:23
ildikovpradk: so thanks for showing a good example :)17:24
pradksure, thank you for the reviews as well17:24
*** yprokule has quit IRC17:25
ildikovpradk: np :)17:25
ildikovpradk: ok, it's time for me to leave the office :)17:25
ildikovpradk: laters :)17:25
pradksure, laters!17:25
*** ildikov has quit IRC17:31
*** ankita_wagh has joined #openstack-ceilometer17:33
*** jaosorior has quit IRC17:35
*** ig0r__ has joined #openstack-ceilometer17:43
*** ig0r_ has quit IRC17:46
*** llu has quit IRC17:55
*** llu has joined #openstack-ceilometer17:55
*** julim has quit IRC18:18
*** ildikov has joined #openstack-ceilometer18:20
*** julim has joined #openstack-ceilometer18:21
*** exploreshaifali has quit IRC18:28
*** ankita_w_ has joined #openstack-ceilometer18:33
*** ankita_wagh has quit IRC18:37
*** ig0r__ has quit IRC18:48
openstackgerritDivya K Konoor proposed openstack/ceilometer: Event filtering for non-admin users  https://review.openstack.org/21784418:54
*** ankita_w_ has quit IRC18:54
*** ankita_wagh has joined #openstack-ceilometer18:54
openstackgerritRohit Jaiswal proposed openstack/ceilometer: Requeuing event with workload_partitioning on publish failure  https://review.openstack.org/21798018:54
*** edmondsw has quit IRC18:56
openstackgerritMerged openstack/ceilometer: Incorrect Links are updated  https://review.openstack.org/21733518:57
*** edmondsw has joined #openstack-ceilometer18:57
dikonoorgordc: hi gordc. I am done with https://review.openstack.org/#/c/217844/. Please take a look when you get a chance18:58
dikonoorgordc:Thanks18:58
*** dikonoor has quit IRC19:00
*** maubry_ has joined #openstack-ceilometer19:00
*** maubry has quit IRC19:02
*** maubry_ is now known as maubry19:02
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/21696419:02
*** jwcroppe has joined #openstack-ceilometer19:13
*** jwcroppe_ has quit IRC19:15
*** ankita_wagh has quit IRC19:24
*** promulo__ has quit IRC19:32
*** exploreshaifali has joined #openstack-ceilometer19:33
*** thorst1 has quit IRC19:47
openstackgerritJulien Danjou proposed openstack/ceilometer: polling: remove deprecated agents  https://review.openstack.org/21249819:53
*** ankita_wagh has joined #openstack-ceilometer19:55
*** david-lyle has quit IRC20:01
*** david-lyle has joined #openstack-ceilometer20:06
*** thorst1 has joined #openstack-ceilometer20:14
*** rjaiswal has quit IRC20:20
*** idegtiarov has quit IRC20:24
*** _cjones_ has joined #openstack-ceilometer20:41
*** _cjones_ has quit IRC20:42
*** Samolo has joined #openstack-ceilometer20:49
SamoloHi all, I noticed that on Kilo, when doing a ceilometer sample-list for a particular project ID end for the meter instance, I also get some event mixed with sample20:50
Samololike instance.create, instance,exist etc....20:50
SamoloDo you know, please, how to remove the event from the sample list please ?20:51
gordcSamolo: do you have an example output?20:51
Samologordc: Hi, of course, give me a second please20:51
*** ildikov has quit IRC20:54
Samologordc: When doing a sample-list with --debug, I see the returner json, here is two entry : http://pastebin.com/R1gatwYa20:55
Samolothe first one is a sample, the second one is an event ( as you can see in the resource_metadata.event_type20:55
*** jwcroppe_ has joined #openstack-ceilometer20:55
Samoloand both are returned by sample-list20:56
gordcSamolo: so they're actually both samples, it's just that the first sample is derived from polling, and the second is derived from a notification20:56
*** jwcroppe has quit IRC20:57
Samologordc: oh ok, there is a way to know from witch service the notification come from ? to disable it20:57
gordcan Event has a different schema20:57
Samoloit must be nova20:57
gordcSamolo: if it's an instance notification, it's coming from Nova20:57
gordcyou can either disable nova from emitting events OR the better way is to modify the pipeline.yaml your notification agent is using to stop generating instance meters20:58
gordcyou'll need to make sure the pipeline aren't shared between polling/notification agents... (they typically are)20:59
Samologordc: the only flag I see in nova is instance_usage_audit = False21:00
Samologordc: this mean that the notifier is disable or am I wrong please ?21:00
Samolonotifiaction*21:00
flwang1dhellmann: ping21:00
*** jwcroppe has joined #openstack-ceilometer21:02
gordcSamolo: you may need to disable notify_on_state_change as well21:04
*** jwcroppe_ has quit IRC21:04
Samologordc: omg you seem rigth, we have notify_on_state_change = vm_and_task_state21:04
Samoloon each compute21:04
gordcSamolo: there are a lot of options...21:05
Samologordc: oh yeah, by the way, thanks for last time (https://bugs.launchpad.net/ceilometer/+bug/1489132)21:05
openstackLaunchpad bug 1489132 in Ceilometer kilo "instance_type metadata is different between notifications and polling" [Undecided,In progress] - Assigned to Liusheng (liusheng)21:05
gordcSamolo: not a problem. we're working on backporting that as well to kilo21:06
Samologordc: thanks, I will be able to use ceilometer for billing maybe one day !21:06
gordchere's hoping :) but yeah, feel free to keep opening bugs as you find them.21:07
*** jwcroppe_ has joined #openstack-ceilometer21:07
Samologordc: thanks, little shy for now, but I will make an effort21:07
Samolo;)21:08
gordccool cool21:08
*** jwcroppe has quit IRC21:10
*** julim has quit IRC21:14
Samologordc: one last thing about "you'll need to make sure the pipeline aren't shared between polling/notification agents..."21:22
Samologordc: how can I check that please ?21:22
gordcSamolo: if you're passing the same ceilometer.conf file into your polling services and notification services, then they are pointing to same pipeline.yaml file21:23
Samologordc: I haven't setup everything there, I want to check if the polling and notification service share the same pipeline.yaml, have you any hint ?21:26
gordc^^ that's it. when you start your service (polling/notification) you have to provide a ceilometer.conf file21:27
Samologordc: oh thanks, wil lcheck that21:28
gordcthe actual option is https://github.com/openstack/ceilometer/blob/master/ceilometer/pipeline.py#L4121:28
*** jwcroppe has joined #openstack-ceilometer21:28
*** jwcroppe_ has quit IRC21:31
Samologordc: thanks again21:31
gordcnp21:31
openstackgerritZhiQiang Fan proposed openstack/ceilometer: Prevent ceilometer expirer from causing deadlocks  https://review.openstack.org/16556621:32
*** ddieterly has quit IRC21:36
*** maubry has quit IRC21:56
flwang1gordc: ping22:04
gordcflwang1: whatsup?22:05
flwang1gordc: we're running into a migration problem, not sure if it's known issue22:06
flwang1we're using icehouse and going to upgrade to juno22:06
flwang1and we're using mod_wsgi for api22:06
flwang1the mod_wsgi is from the ceilometer doc22:06
flwang1however, after migrate to juno22:06
flwang1we found the sample-create command always return http 500 error22:07
flwang1and there is no log in ceilometer api log22:07
flwang1any ideas?22:07
gordcflwang1: did your service even start?22:08
flwang1yes22:08
flwang1and the weird thing is, if we stop apache2 and start the ceilometer api by command line, like ceilometer-api, then it works22:08
gordchmm.. and ceilometer-api worked fine with mod_wsgi in icehouse?22:09
flwang1gordc: yes22:10
gordcpradk: ^ you have any ida22:10
gordcidea*22:10
gordcflwang1: i'm not really sure myself.22:10
flwang1so it's like a migration issue, but given the sample create is not a used widel22:10
flwang1widely, so i'm not sure if it has been raised by anybody22:11
flwang1gordc: yep, it's really weird22:11
gordci think people actually use that quite a bit.22:11
flwang1gordc: ok22:11
gordci don't really undestand why there's no log22:12
flwang1me too :(22:12
gordcflwang1: you can create a bug and mention how you've started/configured api...22:13
gordci don't really have time to debug it currently though. sorry.22:13
flwang1gordc: ok, got it, will do. thanks a lot22:13
flwang1btw, a quick question22:13
flwang1IIRC, we have already split the notification agent from central agent since icehouse, right?22:14
flwang1so if i don't start notification agent, can ceilometer still create samples(by sample-create) successfully?22:14
*** jruano has quit IRC22:14
gordcflwang1: the notification agent split from collector service in juno22:15
gordcusing sample-create, there should be a direct connection to db from api service (pre-Liberty)22:16
*** maubry has joined #openstack-ceilometer22:18
flwang1gordc: the 'direct' param is supported since Liberty, right?22:18
flwang1or Kilo?22:18
gordcflwang1: Liberty22:18
flwang1ok22:19
gordcwithout it, it will go from api -> notification -> collector22:19
gordcbecasue we do all processing at notification agent now.22:19
flwang1gordc: yep, i saw the code change, seems now we're publishing all the metrics (even from pollster) to notification bus by notification agent, and then collected by the central agent, right?22:21
gordcs/central agent/collector/22:21
gordccentral agent does polling22:21
gordccollector does storage22:21
gordcnotification does pipeline processing22:22
flwang1yes, the ceilometer-collector22:22
flwang1typo22:22
gordc:)22:22
flwang1thanks for the clarification, man22:23
gordcnp22:23
*** Samolo has quit IRC22:27
*** edmondsw has quit IRC22:28
flwang1gordc: re the notification agent stuff, i saw this https://review.openstack.org/#/c/56577/22:28
flwang1gordc: https://blueprints.launchpad.net/ceilometer/+spec/split-collector22:29
flwang1i saw this feature is in icehouse, but you said it's in juno, am i missing something?22:30
gordcflwang1: it's possible i just misremember cycle... it's very old ;)22:31
flwang1:)22:32
*** pradk has quit IRC22:33
*** thorst1 has quit IRC22:35
*** maubry has quit IRC22:44
*** gzhai has joined #openstack-ceilometer22:44
*** maubry has joined #openstack-ceilometer22:48
*** maubry has quit IRC22:49
*** jruano has joined #openstack-ceilometer22:58
*** rbak has quit IRC23:01
openstackgerritgordon chung proposed openstack/ceilometer: WIP restrict admin event access  https://review.openstack.org/21870623:02
*** gordc has quit IRC23:02
*** exploreshaifali has quit IRC23:04
*** ddieterly has joined #openstack-ceilometer23:20
*** maubry has joined #openstack-ceilometer23:24
*** jruano has quit IRC23:29
*** ankita_wagh has quit IRC23:35
*** maubry has quit IRC23:38

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