Friday, 2016-03-04

*** rbak has quit IRC00:05
*** Qiming has joined #openstack-telemetry00:26
*** diogogmt has quit IRC00:28
*** ljxiash has joined #openstack-telemetry00:42
*** ljxiash has quit IRC00:46
*** ljxiash_ has joined #openstack-telemetry00:46
*** ljxiash has joined #openstack-telemetry00:47
*** ljxiash_ has quit IRC00:50
*** ljxiash has quit IRC00:52
*** liusheng has joined #openstack-telemetry00:55
*** jaypipes has quit IRC01:04
*** Qiming has quit IRC01:08
*** thorst_ has quit IRC01:28
*** thorst has joined #openstack-telemetry01:29
*** diogogmt has joined #openstack-telemetry01:35
*** Sai has quit IRC01:37
*** cheneydc has joined #openstack-telemetry01:37
*** thorst has quit IRC01:37
*** Qiming has joined #openstack-telemetry01:47
*** thorst has joined #openstack-telemetry02:16
*** thorst has quit IRC02:23
*** links has joined #openstack-telemetry03:01
openstackgerritZhiQiang Fan proposed openstack/ceilometer: Add validation for polling_namespaces option  https://review.openstack.org/28471003:14
*** thorst has joined #openstack-telemetry03:21
*** thorst has quit IRC03:28
*** liusheng has quit IRC03:39
*** liusheng has joined #openstack-telemetry03:40
*** Ephur has quit IRC03:41
*** links has quit IRC03:44
*** thorst has joined #openstack-telemetry04:27
*** agireud has quit IRC04:27
*** links has joined #openstack-telemetry04:27
*** openstack has joined #openstack-telemetry14:09
*** _nadya_ has joined #openstack-telemetry14:11
*** datravis has left #openstack-telemetry14:12
*** ildikov has joined #openstack-telemetry14:24
silehtnicodemus_, I think I have found it14:35
nicodemus_sileht, great news!14:35
*** KrishR has joined #openstack-telemetry14:36
*** openstackgerrit_ has quit IRC14:36
*** twm2016 has joined #openstack-telemetry14:36
*** dave-mccowan has joined #openstack-telemetry14:37
*** openstackgerrit_ has joined #openstack-telemetry14:38
*** links has quit IRC14:41
*** diogogmt has quit IRC14:42
*** thumpba has quit IRC14:46
*** _nadya_ has quit IRC14:53
*** rbak has joined #openstack-telemetry14:54
*** jwcroppe has joined #openstack-telemetry14:55
twm2016Hi everyone, I'm working on this bug: https://bugs.launchpad.net/ceilometer/+bug/1528243 and I was hoping I could get some more guidance on it.14:57
openstackLaunchpad bug 1528243 in Ceilometer "gnocchi dispatcher should leverage events" [Wishlist,Triaged] - Assigned to Trevor McCasland (twm2016)14:57
twm2016For the gnocchi dispatcher, I am trying to create a record_events function and I have a very rough draft for it14:57
twm2016http://paste.openstack.org/show/489339/14:57
*** diogogmt has joined #openstack-telemetry14:57
twm2016I am trying to model it after record_events function in the database dispatcher https://github.com/openstack/ceilometer/blob/master/ceilometer/dispatcher/database.py#L10614:58
twm2016and also referencing the record_metering_data function in the gnocchi dispatcher.14:58
silehttwm2016, I have started that a while ago: https://review.openstack.org/#/c/217017/14:59
*** tonyb has quit IRC15:01
*** tonyb has joined #openstack-telemetry15:01
twm2016sileht: It looks like you have much more it done, do you want to finish working on it? You can take my bug or mark it as a duplicate if you'd like.15:03
silehttwm2016, I don't plan to finish that soon15:03
silehttwm2016, my plan was to replace resource metadata update with event subsystem, but many case are complicated15:04
silehttwm2016, I think a simpler version of my patch should be done first that only handle resource deletion event15:05
silehttwm2016, creation/update with event is much more complicated15:05
twm2016sileht: Yes, I think that's what my bug addresses because it's asking to only track the end time of a resource. So deletion is the same thing right?15:07
silehttwm2016, yes15:07
twm2016sileht: I feel like you may be better suited for this bug, what do you think?15:09
silehttwm2016, This is not something I have planned to do soon, so if you want this quickly got ahead15:11
twm2016sileht: Okay!15:11
*** thumpba has joined #openstack-telemetry15:18
*** thumpba has quit IRC15:20
*** thumpba has joined #openstack-telemetry15:20
*** thumpba has quit IRC15:20
*** thumpba_ has joined #openstack-telemetry15:22
*** thumpba_ has quit IRC15:22
*** thumpba has joined #openstack-telemetry15:22
openstackgerritMerged openstack/ceilometer: Cast Int64 values to int, float in statistics  https://review.openstack.org/28799315:24
*** hongbin has joined #openstack-telemetry15:27
*** Nepoc has joined #openstack-telemetry15:30
NepocGood morning, was hoping someone was around that understands ceilometer. Right now the only things that show up under "Resource Usage" is Service:Nova (disk.root.size, vcpus, disk.ephemeral.size, memory), Service:Glance (image)15:30
*** david_lyle__ has joined #openstack-telemetry15:34
*** david-lyle has quit IRC15:37
gordcNepoc: what metrics were you expecting?15:41
NepocNeutron and Nova (at least cpu_util)15:42
gordcNepoc: just an fyi, i'm assuming you're using Horizon, that interface is not really recommended and will probably be replaced in the coming few months.15:42
NepocGood to know15:43
gordcNepoc: do you have ceilometer polling agents active?15:43
NepocI do15:43
NepocCentral and compute15:43
Nepocbtw I'm using Openstack-Ansible for the deployment15:44
*** hongbin has left #openstack-telemetry15:44
gordcNepoc: at quick glance, it looks like you're only getting the data from notification and not from polling agents15:44
gordcany errors on compute agent logs?15:45
NepocWell then it seems there is now. I checked yesterday and I saw no errors.15:47
silehtnicodemus_, I have write a functionnal test that catch the issue15:47
silehtnicodemus_, https://review.openstack.org/#/c/288537/15:47
silehtgordc, ^15:48
NepocERROR ceilometer.nova_client [-] HTTPSConnectionPool(host='nova_api_os_compute_container', port=8774): Max retries exceeded with url: /v2.1/92fea9299af7428d954d02a06747f51c/servers/detail?all_tenants=True&host=compute1 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f6c45964e50>: Failed to establish a new connection: [Errno -2] Name or service not known',))15:49
gordcsileht: good catch. shall we fast merge? i think jd__  is still drinking margaritas on the beach. :)15:52
silehtgordc, yeah15:52
silehtgordc, I will backport it next15:53
silehtgordc, if nicodemus_ doesn't have other critical stuff, I will release 2.0.115:53
gordcsounds good. i'm going to be offline for a bit for rehab. will check back in later.15:54
NepocThere we go... name resolution was the problem15:54
Nepocexcept for neutron15:54
gordcnicodemus_: we need this too? https://review.openstack.org/#/c/288538/15:54
gordcNepoc: cool stuff15:54
silehtgordc, that's just a enhancement to not fall in same issue later15:54
NepocIt's always the simple things15:54
gordcNepoc: neutron is handled by central agent15:55
silehtgordc, only the small patch need to be backported15:55
gordcsileht: ack15:55
*** cdent has quit IRC15:57
*** yprokule has quit IRC15:58
*** thorst has quit IRC16:00
NepocOkay so on central I'm seeing "ERROR ceilometer.hardware.discovery [-] Couldn't obtain IP address of instance16:01
*** thorst has joined #openstack-telemetry16:01
Nepocand Skipping tenant, keystone issue: The resource could not be found16:01
NepocWARNING ceilometer.neutron_client [-] 404 Not Found16:02
*** vishwanathj_zzz is now known as vishwanathj16:02
Nepocyou get the idea16:02
gordcNepoc: i imagine it's something to do with how neutron is registered to keystone. you should verify everything is ok there.16:03
gordcbbl.16:03
Nepocok16:03
Nepocthank you16:03
openstackgerritMerged openstack/gnocchi: Allow to pass the ceph secret  https://review.openstack.org/28767516:03
*** liamji has joined #openstack-telemetry16:04
*** belmoreira has quit IRC16:07
*** thorst is now known as thorst_afk16:15
*** david_lyle__ is now known as david_lyle16:17
*** Qiming has quit IRC16:22
*** tongli has joined #openstack-telemetry16:26
*** thorst_afk has quit IRC16:26
*** cdent has joined #openstack-telemetry16:27
*** thorst_afk has joined #openstack-telemetry16:29
jd__gordc: no, now I'm just jet-lagged16:29
jd__let me run my half-marathon this week-end and i'll be back in shape Monday, promise :p16:30
*** thorst_afk is now known as thorst16:35
*** Ephur has joined #openstack-telemetry16:38
*** jaypipes has joined #openstack-telemetry16:41
*** jaypipes is now known as leakypipes16:42
*** ljxiash has quit IRC16:48
*** _nadya_ has joined #openstack-telemetry16:48
*** pece has quit IRC16:50
*** rcernin has quit IRC16:51
*** twm2016 has quit IRC16:52
*** pece has joined #openstack-telemetry16:54
*** _pece has joined #openstack-telemetry16:58
*** pece has quit IRC17:01
*** liamji has quit IRC17:01
*** ljxiash has joined #openstack-telemetry17:03
*** ljxiash has quit IRC17:08
*** _nadya_ has quit IRC17:34
openstackgerritgordon chung proposed openstack/gnocchi: Pass aggregation when create AggregatedTimeSerie  https://review.openstack.org/28853717:38
gordcjd__: :) i'll run my half-marathon next life.17:39
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/28834317:40
nicodemus_sorry sileht, gordc, I've just returned from a meeting17:43
nicodemus_sileht, I'll give it a try and let you know how it goes17:45
*** jwcroppe has quit IRC17:47
*** jwcroppe has joined #openstack-telemetry17:48
*** leakypipes has quit IRC17:56
*** yassine has quit IRC18:11
*** permalac has quit IRC18:12
nicodemus_sileht, your patch works :)18:13
*** yarkot_ has joined #openstack-telemetry18:13
nicodemus_sileht, since it works with already created/stored resources, the issue was not in the stored object but in the way the values are returned, correct?18:18
*** tongli has quit IRC18:21
*** yarkot_ has quit IRC18:21
*** _pece has quit IRC18:23
*** shakamunyi has joined #openstack-telemetry18:29
*** pcaruana has quit IRC18:41
*** KrishR has quit IRC18:55
*** KrishR has joined #openstack-telemetry18:58
*** pece has joined #openstack-telemetry19:01
*** pece has quit IRC19:10
gordcnicodemus_: are you asking if your data is corrupt?19:13
gordcit's probably corrupt from what i can tell. because when it's updating the measures, it was always pulling in the wrong aggregate19:14
nicodemus_gordc: not really, I wanted to understand the fix. I imagined that my data was corrupt, but apparently is not19:14
gordcnicodemus_: maybe you got lucky :)19:15
*** ljxiash has joined #openstack-telemetry19:15
nicodemus_gordc, as long as the existing data can be aggregated, fine by me :)19:15
nicodemus_one question, for bug #154844819:16
openstackbug 1548448 in Gnocchi "Some measures fail to be processed" [High,In progress] https://launchpad.net/bugs/1548448 - Assigned to gordon chung (chungg)19:16
nicodemus_should I apply both patches from it?19:17
*** pece has joined #openstack-telemetry19:17
nicodemus_(changes 286975 and 288174)19:17
*** ljxiash has quit IRC19:19
*** _nadya_ has joined #openstack-telemetry19:20
*** kapil has joined #openstack-telemetry19:24
kapilhi, i have written a ceilometer plugin i.e. a pollster class that extends the PollsterBase class19:25
kapilwhat is the procedure to install this plugin ?19:25
kapili suppose i would have to add this plugin to a setup.cfg file19:25
kapilbut there isn't one in my case, I used the mirantis fuel to install openstack19:26
kapilwould i have to recompile ceilometer source code and install manually ?19:26
*** _nadya_ has quit IRC19:28
gordckapil: there should be an entry_points file in your package.19:29
openstackgerritMerged openstack/gnocchi: Pass aggregation when create AggregatedTimeSerie  https://review.openstack.org/28853719:30
gordcnicodemus_: you really only need the second one. but the first one is some related optimisation so i just linked them so i didn't have conflicting patches19:30
nicodemus_gordc, gotcha. Thanks!19:31
gordcnp19:32
gordcthanks again for the testing/feedback19:32
*** eglynn has joined #openstack-telemetry19:40
gordcnicodemus_: you think i can close this? https://bugs.launchpad.net/gnocchi/+bug/154836719:43
openstackLaunchpad bug 1548367 in Gnocchi "Gnocchi-upgrade fails when moving to latest master" [High,Triaged]19:43
gordcnot sure if the scope is bigger than my fix or i just forgot to close bug properly19:43
*** _nadya_ has joined #openstack-telemetry19:47
nicodemus_gordc, from my part I'd say yes19:52
nicodemus_the patch worked like a charm19:53
gordcnicodemus_: kk. i'll close it for now.19:53
nicodemus_gordc: if you have a moment, I'd like to ask another question20:02
kapilthanks gordc20:03
kapilits working now20:04
nicodemus_one thing I noticed, is that on 1.3 the "project_id" value in each resource had no dashes. In 2.0, "project_id" as well as other values in the resources have a UUID style, with dashes20:04
*** kapil has quit IRC20:04
nicodemus_is that correct?20:05
gordcnicodemus_: yeah, we had some issues where we realised we couldn't enforce UUID format on ids because OpenStack is crazy and everyone is using non-uuid ids so we made the UUID rule less strict in Gnocchi to accommodate that.20:06
gordcthe format change is probably related to that20:07
gordcnicodemus_: this patch https://review.openstack.org/#/c/270007/20:08
nicodemus_gordc: I see. I was afraid something weird was going on.20:09
nicodemus_Thanks!20:09
openstackgerritMerged openstack/ceilometer: timedelta plugin for meter definition process  https://review.openstack.org/28646920:29
*** thorst_ has joined #openstack-telemetry20:48
*** _nadya_ has quit IRC20:49
*** thorst has quit IRC20:52
*** thumpba has quit IRC20:54
*** thumpba has joined #openstack-telemetry20:55
*** nicodemus_ has quit IRC20:58
*** thumpba has quit IRC21:00
*** shardy has quit IRC21:18
*** r-mibu has quit IRC21:47
*** r-mibu has joined #openstack-telemetry21:47
*** pcaruana has joined #openstack-telemetry21:58
*** thorst_ has quit IRC22:05
*** thorst has joined #openstack-telemetry22:07
*** thorst has quit IRC22:12
*** cdent has quit IRC22:12
*** jwcroppe has quit IRC22:16
*** jwcroppe has joined #openstack-telemetry22:16
*** gordc has quit IRC22:17
*** thorst has joined #openstack-telemetry22:23
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Updated from global requirements  https://review.openstack.org/28834322:28
*** thorst has quit IRC22:35
*** thorst has joined #openstack-telemetry23:35
*** thorst has quit IRC23:44

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