Monday, 2014-12-22

openstackgerritJulien Danjou proposed stackforge/gnocchi: rest: enhance enforce context  https://review.openstack.org/14333500:08
*** alexpilotti has quit IRC00:43
*** amalagon has quit IRC01:05
*** promulo_ has joined #openstack-ceilometer01:07
*** promulo has quit IRC01:11
*** ryanpetrello has joined #openstack-ceilometer01:46
*** nosnos has joined #openstack-ceilometer02:10
*** ryanpetrello has quit IRC02:14
*** yatin has joined #openstack-ceilometer03:34
*** nosnos has quit IRC03:41
*** thomasem has joined #openstack-ceilometer03:41
*** nosnos has joined #openstack-ceilometer03:42
*** nosnos has quit IRC03:46
*** eglynn-regus has quit IRC04:11
*** eglynn-regus has joined #openstack-ceilometer04:12
*** thomasem has quit IRC04:12
*** nosnos has joined #openstack-ceilometer04:15
*** mitz has quit IRC04:16
*** mitz has joined #openstack-ceilometer04:18
*** thomasem has joined #openstack-ceilometer04:35
*** dobson has quit IRC05:05
*** thomasem has quit IRC05:06
*** therve` has joined #openstack-ceilometer05:10
*** dobson has joined #openstack-ceilometer05:11
*** therve has quit IRC05:11
*** linstatsdr_ has joined #openstack-ceilometer05:46
*** linstatsdr__ has joined #openstack-ceilometer05:47
*** linstatsdr__ has quit IRC05:48
*** LinstatSDR has quit IRC05:49
*** linstatsdr_ has quit IRC05:50
*** LinstatSDR has joined #openstack-ceilometer05:51
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Imported Translations from Transifex  https://review.openstack.org/13952706:09
*** eglynn-regus has quit IRC06:20
*** exploreshaifali has joined #openstack-ceilometer06:37
*** exploreshaifali has quit IRC06:46
*** eglynn-regus has joined #openstack-ceilometer06:52
*** _nadya_ has joined #openstack-ceilometer07:14
*** _nadya_ has quit IRC07:22
*** k4n0 has joined #openstack-ceilometer07:30
*** _nadya_ has joined #openstack-ceilometer07:33
*** LinstatSDR has quit IRC07:58
openstackgerritIlya Tyaptin proposed stackforge/gnocchi: Fix executor using in _carbonara  https://review.openstack.org/14307708:01
*** IvanBerezovskiy has joined #openstack-ceilometer08:07
*** sbfox has joined #openstack-ceilometer08:11
*** sbfox has quit IRC08:14
*** sbfox has joined #openstack-ceilometer08:15
*** sbfox has quit IRC08:23
*** dorry has quit IRC08:23
*** _nadya_ has quit IRC08:25
*** ildikov has quit IRC08:26
*** Ala has joined #openstack-ceilometer09:04
*** exploreshaifali has joined #openstack-ceilometer09:13
*** eglynn has joined #openstack-ceilometer09:21
openstackgerritZhiQiang Fan proposed openstack/ceilometer: Ignore ceilometer.conf  https://review.openstack.org/14340509:25
openstackgerritZhiQiang Fan proposed openstack/ceilometer: Add cmd.polling.CLI_OPTS to option list  https://review.openstack.org/14340809:42
*** Longgeek has joined #openstack-ceilometer09:51
*** nellysmitt has joined #openstack-ceilometer10:12
DinaBelovajd__, o/ may I ask you some question abot tooz? do ZK driver and memcached driver have the same functionality? Speaking about interfaces provided by tooz?10:18
jd__DinaBelova: yes10:18
DinaBelovajd__, a-ha, so they are kind of identical here, cool-cool10:18
jd__that's the point of tooz :)10:19
DinaBelovajd__, yeah, I'm just trying to understand what basically to use for dev envs and for the production, let's say. Personally I love the idea of using ZK for production, and memcached for dev envs, but probably memcahced is also ok for produciton as well :-\10:20
DinaBelovait looks not so stable (speaking about load, etc.) but load on the coordination backend it not really huge10:21
DinaBelovathat's kind of philosophical quesiton I suppose10:21
*** _nadya_ has joined #openstack-ceilometer10:24
openstackgerritIlya Tyaptin proposed openstack/ceilometer: Add test data generator via oslo messaging  https://review.openstack.org/13880410:26
*** cmyster has quit IRC11:01
*** _nadya_ has quit IRC11:02
*** cmyster has joined #openstack-ceilometer11:02
*** nosnos has quit IRC11:13
*** nosnos has joined #openstack-ceilometer11:13
*** nosnos has quit IRC11:17
*** shengjiemin has joined #openstack-ceilometer11:45
*** eglynn has quit IRC11:48
*** eglynn has joined #openstack-ceilometer11:50
*** _nadya_ has joined #openstack-ceilometer12:02
eglynnDinaBelova: just catching up with the tooz discussion from earlier12:08
eglynnFYI we had some discussion a while back with Josh Harlow on the relative merits of ZK & memcached12:08
eglynn... because there's no synchronization between multiple memcached servers12:09
eglynn... and because tooz uses the pymemcache client lib, which doesn't try to direct lookups to a particular memcahced server via a consistent hashring12:09
eglynn... the conclusion was not to recommend memcached for prod12:09
*** _nadya_ has quit IRC12:09
eglynn... for various reasons, ZK is awkward for some distros to package up (being java and all)12:09
eglynn... so the upshot is that RH distros are recommending the tooz redis driver for prod12:10
eglynn(effectively the redis driver was written by Josh as kind of a lighter-weight alternative to ZK for tooz, given the potential issues with memcached)12:11
*** ddieterl_ has joined #openstack-ceilometer12:14
DinaBelovaeglynn, yeah12:15
DinaBelovathank you so much!12:15
DinaBelovathat's interesting things, thanks!12:15
eglynnDinaBelova: np!12:15
*** ddieterly has quit IRC12:15
*** cdent has joined #openstack-ceilometer12:16
*** exploreshaifali has quit IRC12:37
*** yatin has quit IRC12:47
*** Longgeek has quit IRC13:10
*** Longgeek has joined #openstack-ceilometer13:14
*** eglynn is now known as eglynn-lunch13:33
*** Wiliam has joined #openstack-ceilometer13:36
WiliamHi anybody there?? Need some help regarding metrics13:36
WiliamUsage Metrics*13:37
*** shengjie_ has joined #openstack-ceilometer13:37
openstackgerritJulien Danjou proposed stackforge/gnocchi: rest: enhance enforce context, fix created_by rule  https://review.openstack.org/14333513:37
*** eglynn-lunch has quit IRC13:37
*** Longgeek has quit IRC13:38
*** Longgeek has joined #openstack-ceilometer13:38
*** shengjiemin has quit IRC13:39
*** shengjie_ is now known as shengjiemin13:39
openstackgerritJulien Danjou proposed stackforge/gnocchi: rest: enhance enforce context  https://review.openstack.org/14333513:41
*** fwdit has quit IRC13:47
*** Wiliam has quit IRC13:48
*** _nadya_ has joined #openstack-ceilometer13:49
*** LinstatSDR has joined #openstack-ceilometer13:50
*** fwdit_mp has joined #openstack-ceilometer13:50
*** shengjiemin has quit IRC13:54
openstackgerritJulien Danjou proposed stackforge/gnocchi: rest: convert UUID in token to correct format  https://review.openstack.org/14344514:04
openstackgerritJulien Danjou proposed stackforge/gnocchi: policy: fix creator rule  https://review.openstack.org/14344614:04
*** thomasem has joined #openstack-ceilometer14:14
*** leakypipes is now known as jaypipes14:18
*** fwdit_mp has quit IRC14:25
openstackgerritJulien Danjou proposed stackforge/gnocchi: indexer: do not delete metric on resource delete  https://review.openstack.org/14345414:25
*** fwdit_mp has joined #openstack-ceilometer14:28
*** eglynn-lunch has joined #openstack-ceilometer14:38
*** thomasem has quit IRC14:44
*** eglynn-lunch is now known as eglynn14:46
*** gordc has joined #openstack-ceilometer14:48
*** thomasem has joined #openstack-ceilometer14:49
*** fwdit_mp has quit IRC14:54
*** fwdit_mp has joined #openstack-ceilometer14:57
*** fwdit_mp has quit IRC15:00
*** thomasem has quit IRC15:05
*** fwdit_mp has joined #openstack-ceilometer15:05
cdentjd__: In https://github.com/stackforge/gnocchi/blob/master/doc/source/rest.yaml is that scenarios syntax of your own making or does that come from an established precedent?15:07
jd__cdent: my own15:08
jd__cdent: if you see a pattern to merge with your new tool, I'm all in15:08
cdentI'm trying to come up with something similar in gabbi...15:08
cdentyeah15:08
cdentI thought about maybe using JSON Path or something like that15:08
cdentbut I'm having trouble finding any peace with that idea15:08
cdentI want to be able to satisfy two data needs: being able to validate parts of a json response and being able to use parts of a json response in a subsequent query15:10
*** IvanBerezovskiy has left #openstack-ceilometer15:11
*** shengjiemin has joined #openstack-ceilometer15:13
*** ryanpetrello has joined #openstack-ceilometer15:16
jd__cdent: yeah, that's why I relied on jinja and yaml :)15:18
jd__it's pretty straight forward15:19
jd__and ultimately you could even enhance Jinja env with some other functions to manipulate or format the data15:19
*** thomasem has joined #openstack-ceilometer15:26
*** shengjiemin has quit IRC15:28
*** IvanBerezovskiy has joined #openstack-ceilometer15:32
*** ryanpetrello has quit IRC15:34
*** shengjiemin has joined #openstack-ceilometer15:38
*** shengjiemin has quit IRC15:41
*** claudiub has joined #openstack-ceilometer15:44
*** EmilienM is now known as EmilienM|afk15:47
openstackgerritMerged openstack/ceilometer: Ignore ceilometer.conf  https://review.openstack.org/14340515:54
openstackgerritMerged openstack/ceilometer: Add cmd.polling.CLI_OPTS to option list  https://review.openstack.org/14340815:55
openstackgerritClaudiu Belu proposed openstack/ceilometer-specs: Adds spec for Hyper-V disk IOPS metrics  https://review.openstack.org/14278015:56
*** shengjiemin has joined #openstack-ceilometer15:56
*** julim has joined #openstack-ceilometer15:59
*** ryanpetrello has joined #openstack-ceilometer16:02
*** prad has joined #openstack-ceilometer16:05
*** prad has quit IRC16:06
*** _nadya_ has quit IRC16:07
*** ryanpetrello has quit IRC16:11
*** shengjiemin has quit IRC16:11
*** shengjiemin has joined #openstack-ceilometer16:23
*** _nadya_ has joined #openstack-ceilometer16:28
*** ryanpetrello has joined #openstack-ceilometer16:41
*** exploreshaifali has joined #openstack-ceilometer16:42
*** sbfox has joined #openstack-ceilometer16:43
openstackgerritRohit Jaiswal proposed openstack/ceilometer: Optimize resource list query  https://review.openstack.org/14295116:46
*** ryanpetrello has quit IRC16:50
*** Ala has quit IRC16:54
*** openstack has joined #openstack-ceilometer17:00
*** k4n0 has quit IRC17:13
*** amalagon has joined #openstack-ceilometer17:13
*** fnaval has joined #openstack-ceilometer17:18
*** EmilienM|afk is now known as EmilienM17:19
cdentjd__: I seem to be settling on JSONPath as the syntax for making backreferences17:26
openstackgerritPradeep Kilambi proposed openstack/ceilometer-specs: Spec to Expose level in alarm notifications  https://review.openstack.org/14286717:33
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Expose alarm level as an optional field for notifications  https://review.openstack.org/14284917:37
*** EmilienM is now known as EmilienM|afk17:42
*** nellysmitt has quit IRC17:43
*** _nadya_ has quit IRC17:47
*** sbfox has quit IRC17:49
*** pcaruana has quit IRC17:53
*** ryanpetrello has joined #openstack-ceilometer18:01
*** ddieterly has joined #openstack-ceilometer18:02
*** ddieterl_ has quit IRC18:05
cdentgordc, how does this requirements line translate: SQLAlchemy>=0.8.4,<=0.8.99,>=0.9.7,<=0.9.9918:06
gordccdent: err... where do we have that?18:07
clarkbit doesnt and is no longer valid with latest setuptools/pip18:08
cdentit's from this: https://review.openstack.org/#/c/116311/5/requirements.txt,cm18:08
gordcoh... it's mine. :)18:09
gordci just copied global-reqs18:09
gordcbut i guess as clarkb says, it doesn't make sense.18:09
cdentIt's weird, there's been other updates from global-reqs since then18:10
gordccdent: i guess we'll need to manually correct it.18:11
gordccdent: want to put up a quick patch?18:12
clarkbglobal reqs was fixed a couple weeks ago18:12
cdentI'm in the midst of a bit of a brain twist18:12
cdentso if someone else could do it that would be awesome18:12
gordcclarkb: ah, i see it. it's been autopushed i'll approve it.18:13
cdentthanks gordc18:21
*** salty has joined #openstack-ceilometer18:21
*** salty is now known as Guest4356218:21
gordcclarkb: just to confirm, if i wanted to do integration tests for elasticsearch, would the recommendation be don't bother trying to get it installed on CI nodes?18:24
*** ryanpetrello has quit IRC18:24
clarkbI think the jobs should install it. we can cache the pacjages on the nodes18:25
clarkbwe are tryingbto get away fro.magical test nodes18:25
gordcclarkb: hmm. any example of the above (not completely familiar with whole setup... it's still magic to me)18:27
clarkbbasically what devstack does at this point18:28
openstackgerritChris Dent proposed openstack/ceilometer: WIP Hack gabbi into ceilometer in a very basic way  https://review.openstack.org/14259418:29
gordcclarkb: ah i see. cool cool. i'll add that note to my bp18:30
*** Guest43562 is now known as sirsalty18:31
*** sbfox has joined #openstack-ceilometer18:31
openstackgerritgordon chung proposed openstack/ceilometer-specs: add ElasticSearch driver backend for events  https://review.openstack.org/12639518:42
*** shengjiemin has quit IRC18:46
*** harlowja has joined #openstack-ceilometer18:50
*** IvanBerezovskiy has quit IRC18:51
openstackgerritChris Dent proposed openstack/ceilometer: WIP Hack gabbi into ceilometer in a very basic way  https://review.openstack.org/14259418:57
*** _nadya_ has joined #openstack-ceilometer19:13
*** sbfox has quit IRC19:16
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Expose alarm level as an optional field for notifications  https://review.openstack.org/14284919:35
*** nellysmitt has joined #openstack-ceilometer19:44
*** nealph has joined #openstack-ceilometer19:45
*** nellysmitt has quit IRC19:49
*** Longgeek has quit IRC20:04
*** nealph has quit IRC20:12
_nadya_jd__: Julien, hi! please ping me if you're available. I have several gnocchi-related questions20:13
jd___nadya_: ping you20:14
_nadya_jd__: great :) Could you please tell me about archive_policy and metric relations? Can one metric be bounded with several policies? Is it possible that one policy is used by several metrics?20:16
_nadya_jd__: and is it possible to edit the list of policies for metric (delete?)?20:17
jd__a policy can be used by several metrics20:18
jd__a metric has only one policy20:18
jd___nadya_: you can delete an archive policy if it's not used by any metric20:18
cdentbiab20:20
*** exploreshaifali has quit IRC20:29
_nadya_jd__: and how is it possible to determine that policy is not used? "The policy is used" means for me "storage contains data with granularity from policy x". Isn't it correct?20:31
jd___nadya_: yes that's correct20:33
*** EmilienM|afk is now known as EmilienM20:34
jd___nadya_: if you list the metric with /v1/metric?details=true that might do it20:34
_nadya_jd__: ok... and what about other resources? Is it possible to delete meters?20:40
jd___nadya_: yes DELETE /v1/metric/UUID20:41
_nadya_jd__: and the data related to it should be removed?20:41
jd___nadya_: of course :)20:41
_nadya_jd__: I'm asking because of opentsdb driver20:42
jd___nadya_: I guessed so :)20:42
jd___nadya_: that'd be delete_metric() in a driver20:42
_nadya_jd__: removing is not ok for it...20:42
jd___nadya_: we can document that as a limitation20:43
*** ryanpetrello has joined #openstack-ceilometer20:44
_nadya_jd__: could you please take a look on my several first questions:)?20:46
_nadya_jd__: sorry, I see your answers20:48
_nadya_jd__: thanks! it helped a lot! I was confused by signature def create_metric(self, metric, back_window, archives)20:50
jd___nadya_: sure :) np20:50
_nadya_jd__: and the last question about the code, I don't see any 'create_archive' in StorageDriver, is it anywhere else? Or is it suppose to be created automatically during meters creation only, we cannot create it separately?20:53
jd___nadya_: what's an archive?20:53
_nadya_jd__: archive_policy20:53
jd___nadya_: it's not handled by the storage driver, it's stored in the indexer20:54
jd___nadya_: you just get the definition of the archive policy to use for a metric in create_metric()20:54
jd__(that's the back window and archives parameters)20:54
jd__so you don't have to know anything about the archive policies20:55
_nadya_jd__: aha, I'll take a look on indexer then. Thanks! Have a good evening :)20:55
*** harlowja_ has joined #openstack-ceilometer20:58
*** harlowja has quit IRC21:00
*** LinstatSDR has quit IRC21:04
*** ryanpetrello has quit IRC21:08
*** nealph has joined #openstack-ceilometer21:23
*** nealph has quit IRC21:27
*** ddieterly has quit IRC21:32
*** _nadya_ has quit IRC21:33
cdenteglynn: you about? I have a question about publishers and the pipeline21:34
*** ddieterly has joined #openstack-ceilometer21:34
eglynncdent: hey21:34
cdentevening21:34
*** adriant has joined #openstack-ceilometer21:35
cdentWhat I'm wondering is if there is such a thing as an in process publisher, or perhaps an in process messaging fake that can be used in the pipeline to actually publish to the available database21:35
eglynnhmmm, in the sense of a combined publisher/dispatcher?21:36
cdentI'm trying to limit the number of things that need to be available to post some samples (via the API)21:36
eglynni.e. write direct to the DB from the originating agent21:36
eglynninterested idea21:36
cdentin effect, yes21:36
eglynnI'm not a aware of any prior art21:36
cdentit would make certain testing scenarious much easier (assuming a database being around)21:37
cdent:(21:37
eglynnbut it should be pretty straight forward to knock one out I guess21:37
cdentI would guess so yea21:37
*** prad has joined #openstack-ceilometer21:37
cdentI've made some pretty big progress on gabbi+ceilo21:37
eglynnnice :)21:37
cdentmostly on the gabbi side, but I'm trying to integrate it now21:38
eglynnthe usual caveat would be that using a exotic mechanism in testing may mask/obscure issues that could arise in production21:39
eglynn(this was the reasoning for not exposing a "run-polling-cycle-now" API to accelerate the metric gathering for tests)21:39
cdentthat makes sense but the counter argument would be "these tests aren't for testing the messaging bus, they're for testing the API"21:40
eglynnyeah, that's a fair point21:40
* eglynn gets back to backporting RBAC to icehouse21:42
cdentyou're going all the way back to icehouse?21:42
eglynn... for some strange reason, the policy-endforcement logic appears totally permissive on icehouse21:42
* eglynn bets the policy.json isn't being found or parsed properly21:42
* cdent raises a glass to eglynn's suffering21:42
cdentthanks for the info21:42
eglynncdent: yeah back to icehouse, but not on the upstream stable branch though21:43
eglynn... that would make the stable-maint team cry ;)21:43
eglynn(so we'll just carry as an extra patch in the distro)21:43
*** nellysmitt has joined #openstack-ceilometer21:45
*** nellysmitt has quit IRC21:50
*** nellysmitt has joined #openstack-ceilometer22:01
*** LinstatSDR has joined #openstack-ceilometer22:03
*** nellysmitt has quit IRC22:08
*** harlowja_ has quit IRC22:21
*** ryanpetrello has joined #openstack-ceilometer22:30
*** prad has quit IRC22:34
*** ryanpetrello has quit IRC22:37
*** gordc has quit IRC22:38
*** EmilienM is now known as EmilienM|afk22:38
*** eglynn has quit IRC22:51
*** thomasem has quit IRC22:58
*** ryanpetrello has joined #openstack-ceilometer23:05
*** ryanpetrello has quit IRC23:09
*** ddieterly has quit IRC23:10
*** ddieterly has joined #openstack-ceilometer23:11
*** ddieterly has quit IRC23:16
*** promulo has joined #openstack-ceilometer23:17
*** promulo_ has quit IRC23:18
*** ccrouch1 has joined #openstack-ceilometer23:29
*** ccrouch has quit IRC23:29
*** ddieterly has joined #openstack-ceilometer23:36
*** ccrouch has joined #openstack-ceilometer23:37
*** ccrouch1 has quit IRC23:38

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