*** janisg has quit IRC | 00:00 | |
*** zul has quit IRC | 00:05 | |
*** zul has joined #openstack-metering | 00:07 | |
*** ryanpetrello has quit IRC | 00:08 | |
*** ryanpetrello has joined #openstack-metering | 00:08 | |
*** dafter has joined #openstack-metering | 00:16 | |
*** dafter has quit IRC | 00:16 | |
*** dafter has joined #openstack-metering | 00:16 | |
*** dafter has quit IRC | 00:20 | |
*** changbl has quit IRC | 00:27 | |
*** changbl_ has joined #openstack-metering | 00:27 | |
*** matsuhashi has joined #openstack-metering | 00:30 | |
*** gordc has joined #openstack-metering | 00:35 | |
*** anteaya has quit IRC | 00:45 | |
*** ArcTanSusan has quit IRC | 00:48 | |
*** fnaval_ has joined #openstack-metering | 00:50 | |
*** gordc has quit IRC | 00:56 | |
*** fandikurnia01 has joined #openstack-metering | 01:34 | |
*** janisg has joined #openstack-metering | 01:46 | |
*** ryanpetrello has quit IRC | 01:46 | |
*** fandikurnia01 has quit IRC | 01:47 | |
*** fandikurnia01 has joined #openstack-metering | 01:48 | |
*** janisg has quit IRC | 01:51 | |
*** janisg has joined #openstack-metering | 02:02 | |
*** yfujioka has quit IRC | 02:16 | |
openstackgerrit | Yuuichi Fujioka proposed a change to openstack/ceilometer: Apply six for metaclass https://review.openstack.org/50211 | 02:25 |
---|---|---|
*** Shaan7 has quit IRC | 02:27 | |
*** yfujioka has joined #openstack-metering | 02:30 | |
*** sdake has quit IRC | 02:48 | |
*** fandikurnia01 has quit IRC | 02:51 | |
*** fandikurnia01 has joined #openstack-metering | 02:51 | |
*** sdake has joined #openstack-metering | 02:55 | |
*** sdake has quit IRC | 02:55 | |
*** sdake has joined #openstack-metering | 02:55 | |
*** nosnos has joined #openstack-metering | 02:55 | |
*** nati_ueno has quit IRC | 03:00 | |
*** nati_ueno has joined #openstack-metering | 03:00 | |
*** nati_ueno has quit IRC | 03:05 | |
*** ryanpetrello has joined #openstack-metering | 03:05 | |
*** sandywalsh has quit IRC | 03:16 | |
*** sdake has quit IRC | 03:46 | |
*** nati_ueno has joined #openstack-metering | 03:54 | |
*** Shaan7 has joined #openstack-metering | 03:57 | |
*** egallen has joined #openstack-metering | 04:18 | |
*** sdake has joined #openstack-metering | 04:24 | |
*** sdake has quit IRC | 04:24 | |
*** sdake has joined #openstack-metering | 04:24 | |
*** dafter has joined #openstack-metering | 04:31 | |
*** dafter has quit IRC | 04:31 | |
*** dafter has joined #openstack-metering | 04:31 | |
*** evanjfraser has quit IRC | 04:35 | |
*** gordc has joined #openstack-metering | 04:41 | |
*** nati_ueno has quit IRC | 04:43 | |
*** SergeyLukjanov has joined #openstack-metering | 04:43 | |
openstackgerrit | Yuuichi Fujioka proposed a change to openstack/ceilometer: Apply six for metaclass https://review.openstack.org/50211 | 04:44 |
*** gordc has quit IRC | 04:51 | |
*** flwang has quit IRC | 04:52 | |
*** ryanpetrello has quit IRC | 04:58 | |
*** fandikurnia01 has quit IRC | 05:05 | |
*** flwang has joined #openstack-metering | 05:06 | |
*** fandikurnia01 has joined #openstack-metering | 05:07 | |
*** fandikurnia01 has quit IRC | 05:25 | |
*** fandikurnia01 has joined #openstack-metering | 05:35 | |
*** fandikurnia01 has quit IRC | 05:40 | |
*** fandikurnia01 has joined #openstack-metering | 05:40 | |
*** fandikurnia01 has quit IRC | 05:48 | |
*** fandikurnia01 has joined #openstack-metering | 05:48 | |
*** eglynn has joined #openstack-metering | 05:54 | |
*** Shaan7 has quit IRC | 05:58 | |
*** fandikurnia01 has quit IRC | 06:00 | |
*** fandikurnia01 has joined #openstack-metering | 06:01 | |
*** Ruetobas has quit IRC | 06:03 | |
openstackgerrit | Jenkins proposed a change to openstack/ceilometer: Imported Translations from Transifex https://review.openstack.org/49680 | 06:05 |
*** Ruetobas has joined #openstack-metering | 06:05 | |
*** Ruetobas has quit IRC | 06:10 | |
*** Ruetobas has joined #openstack-metering | 06:18 | |
*** eglynn has quit IRC | 06:22 | |
openstackgerrit | Yuuichi Fujioka proposed a change to openstack/ceilometer: Apply six for metaclass https://review.openstack.org/50211 | 06:26 |
*** lsmola has joined #openstack-metering | 06:27 | |
*** SergeyLukjanov has quit IRC | 06:30 | |
*** Shaan7 has joined #openstack-metering | 06:57 | |
*** eglynn has joined #openstack-metering | 07:02 | |
*** eglynn has quit IRC | 07:07 | |
*** nijaba_ has joined #openstack-metering | 07:11 | |
*** nijaba has quit IRC | 07:17 | |
*** taplax has quit IRC | 07:17 | |
*** egallen has quit IRC | 07:20 | |
*** taplax has joined #openstack-metering | 07:24 | |
*** egallen has joined #openstack-metering | 08:07 | |
*** eglynn has joined #openstack-metering | 08:21 | |
*** SergeyLukjanov has joined #openstack-metering | 09:02 | |
*** Ruetobas has quit IRC | 09:09 | |
*** Ruetobas has joined #openstack-metering | 09:10 | |
*** rushiagr has joined #openstack-metering | 09:13 | |
rushiagr | hi folks | 09:14 |
rushiagr | I wanted to know what all metering ceilometer supports? | 09:14 |
rushiagr | sorry, I meant monitoring | 09:15 |
*** Ruetobas has quit IRC | 09:15 | |
*** Ruetobas has joined #openstack-metering | 09:15 | |
rushiagr | to be more specific, does it support network, database monitoring? | 09:15 |
fandikurnia01 | hi qordc | 09:15 |
rushiagr | and similar 'low level' things | 09:16 |
fandikurnia01 | done i missing parameter | 09:16 |
*** boris-42 has joined #openstack-metering | 09:39 | |
*** egallen has quit IRC | 09:45 | |
*** egallen has joined #openstack-metering | 09:48 | |
*** Shaan7 has quit IRC | 09:52 | |
*** egallen has quit IRC | 09:52 | |
yfujioka | rushiagr: http://docs.openstack.org/developer/ceilometer/measurements.html ? | 09:53 |
*** egallen has joined #openstack-metering | 09:54 | |
rushiagr | yfujioka: thanks, looking | 09:54 |
rushiagr | does ceilometer has host-level monitoring, e.g. I want to know the CPU usage, memory consumption of compute nodes | 09:57 |
rushiagr | yfujioka: | 09:57 |
yfujioka | rushiagr: https://blueprints.launchpad.net/ceilometer/+spec/monitoring-physical-devices | 09:58 |
yfujioka | rushiagr: https://blueprints.launchpad.net/horizon/+spec/ceilometer-hosts-measurement | 09:59 |
rushiagr | yfujioka: thanks so much | 10:01 |
rushiagr | yfujioka: thats what I was looking for | 10:01 |
yfujioka | rushiagr: :) | 10:01 |
*** Ruetobas has quit IRC | 10:02 | |
*** Ruetobas has joined #openstack-metering | 10:05 | |
*** egallen has quit IRC | 10:08 | |
*** yfujioka has quit IRC | 10:08 | |
*** Ruetobas has quit IRC | 10:09 | |
*** nosnos has quit IRC | 10:12 | |
*** Ruetobas has joined #openstack-metering | 10:15 | |
*** matsuhashi has quit IRC | 10:16 | |
*** matsuhashi has joined #openstack-metering | 10:16 | |
*** matsuhashi has quit IRC | 10:21 | |
*** giroro_ has joined #openstack-metering | 10:26 | |
*** Ruetobas has quit IRC | 10:28 | |
*** rushiagr has quit IRC | 10:29 | |
*** rushiagr has joined #openstack-metering | 10:40 | |
*** egallen has joined #openstack-metering | 11:07 | |
*** dafter has quit IRC | 11:22 | |
*** dafter has joined #openstack-metering | 11:24 | |
*** rushiagr1 has joined #openstack-metering | 11:32 | |
*** rushiagr has quit IRC | 11:32 | |
*** fandikurnia01 has quit IRC | 11:39 | |
*** rushiagr1 is now known as rushiagr | 11:44 | |
dhellmann | jd__: ping? | 11:54 |
jd__ | dhellmann: pong! | 11:54 |
dhellmann | do we care about the way imports are grouped at the tops of files in ceilometer? some of the projects have rules about that, but I don't think we've put that into place, yet | 11:55 |
dhellmann | I'm looking at https://review.openstack.org/#/c/50211/3 and noticed that six is sometimes grouped with the stdlib modules, and in some files we have all of the imports in one group together | 11:56 |
jd__ | dhellmann: my policy is that if we can have an automatic check, we should enable it, fix the code, and then care | 11:57 |
jd__ | until then, I don't care | 11:57 |
jd__ | until that happens, I don't care | 11:57 |
*** rushiagr has quit IRC | 11:58 | |
jd__ | I don't want people to spend time checking these things manually and being kicked out for that, it's lame | 11:58 |
dhellmann | jd__: sure, I think that means turning on "hacking" and not just flake8 | 11:58 |
*** rushiagr has joined #openstack-metering | 11:58 | |
jd__ | but it's likely that hacking supports that and that we have it disabld | 11:58 |
jd__ | well we should have no ignore for flake8 ultimately :) | 11:59 |
dhellmann | ah, we are running hacking and have some ignores turned on | 11:59 |
dhellmann | ok, I didn't remember talking about it and it came up in a keystone review yesterday so it was on my mind | 12:00 |
*** anteaya has joined #openstack-metering | 12:13 | |
jd__ | ok :) | 12:13 |
openstackgerrit | Mehdi Abaakouk proposed a change to openstack/ceilometer: Fix the developer documentation of the alarm API https://review.openstack.org/46980 | 12:14 |
*** Bada has joined #openstack-metering | 12:15 | |
sgran | has anyone actually gotten the ubuntu packages of ceilometer to do anything useful so far? | 12:21 |
openstackgerrit | A change was merged to openstack/ceilometer: Apply six for metaclass https://review.openstack.org/50211 | 12:25 |
*** zul has quit IRC | 12:28 | |
lsmola | jd__, hello | 12:32 |
lsmola | jd__, can I have a quick question? | 12:32 |
jd__ | lsmola: you just did | 12:32 |
jd__ | go ahead :) | 12:32 |
lsmola | jd__, oh, darn | 12:33 |
lsmola | jd__, :-D | 12:33 |
lsmola | jd__, ok 3 quick questions? (2 just passed) :-) | 12:33 |
jd__ | hehe | 12:33 |
lsmola | jd__, I was wondering whether there will be some more info regarding meters in ceiloemter | 12:33 |
jd__ | such as? | 12:34 |
lsmola | jd__, like description, and which service does it concern | 12:34 |
lsmola | jd__, https://review.openstack.org/#/c/47579/3/openstack_dashboard/api/ceilometer.py | 12:34 |
*** rushiagr has left #openstack-metering | 12:34 | |
lsmola | jd__, I am now implementing it in Horizon side | 12:34 |
jd__ | nop, there is not such information | 12:35 |
jd__ | nor plan to add more AFAICT | 12:35 |
lsmola | jd__, ok, and is it plan to be? or this doesn't belong to Ceilometer? | 12:35 |
lsmola | jd__, ok | 12:35 |
lsmola | jd__, I will keep it on Horizon side | 12:35 |
*** dafter has quit IRC | 12:35 | |
jd__ | I think it's better for now yeah | 12:36 |
jd__ | maybe we'll do something in the future, I really don't know | 12:36 |
lsmola | jd__, cool, thank you | 12:36 |
*** thomasm has joined #openstack-metering | 12:52 | |
*** julim has joined #openstack-metering | 12:56 | |
*** julim has quit IRC | 12:58 | |
*** julim has joined #openstack-metering | 12:59 | |
*** julim_ has joined #openstack-metering | 13:00 | |
*** julim has quit IRC | 13:04 | |
*** ruhe has joined #openstack-metering | 13:07 | |
*** bpokorny has joined #openstack-metering | 13:07 | |
thomasm | Hey all! | 13:12 |
*** fandikurnia01 has joined #openstack-metering | 13:13 | |
*** ryanpetrello has joined #openstack-metering | 13:26 | |
openstackgerrit | Stephen Gran proposed a change to openstack/ceilometer: Change alarm_history.detail to text type https://review.openstack.org/50351 | 13:37 |
*** changbl_ has quit IRC | 13:43 | |
*** dafter has joined #openstack-metering | 13:43 | |
*** fandikurnia01 has quit IRC | 13:44 | |
jd__ | dhellmann or sileht around? | 13:52 |
sileht | jd__, yes | 13:52 |
dhellmann | jd__: pong | 13:53 |
jd__ | cool :) | 13:53 |
jd__ | has one of you any idea on what wsme.validate() is supposed to be useful for? | 13:53 |
*** gordc has joined #openstack-metering | 13:53 | |
jd__ | it seems to me that wsme_pecan.wsexpose already does that | 13:54 |
jd__ | (or should?) | 13:54 |
openstackgerrit | Stephen Gran proposed a change to openstack/ceilometer: Change alarm_history.detail to text type https://review.openstack.org/50351 | 13:54 |
dhellmann | jd__: yeah, I think validate might be for the wsme controller, which we've replaced with pecan | 13:56 |
dhellmann | or maybe the pecan adapter wsexpose should have been implemented by calling validate at some point? | 13:56 |
jd__ | dhellmann: this is what I think actually, but just wanted to have a confirmation, even vague | 13:57 |
jd__ | I'm going to work on that | 13:57 |
jd__ | I've already 2 patches cleaning out our API using WSME master branch, that's pretty cool | 13:57 |
sileht | jd__, I think this is because they are confusion between the wsme.expose and the wsme_pecan.expose, most of example just show @expose without the import | 13:57 |
jd__ | sileht: yeah, confusion's a good answer I think :) | 13:57 |
jd__ | dhellmann: btw I think I'll send a request for release a new beta of WSME soon now | 13:58 |
dhellmann | I see that validate() calls set_arg_types() but the pecan wrapper does not | 13:58 |
jd__ | dhellmann: I think all release issues are settled by now? | 13:58 |
dhellmann | jd__: let me look and see if that infra patch landed | 13:59 |
jd__ | dhellmann: whaaat, now you're trying to fix the bug instead of me, unfair! don't steal my bug! ;) | 13:59 |
dhellmann | jd__: you get to write enough code, leave some for the rest of us! | 13:59 |
jd__ | gnak gnak gnak :-) | 14:00 |
dhellmann | jd__: I'll have to ask fungi, I can't find that review | 14:01 |
sileht | jd__, I think http://pythonhosted.org/WSME/ seems to be generated with the old hg repo | 14:02 |
sileht | version is WSME 0.5b3dev-20130820 instead of 0.5b5dev-blabla | 14:02 |
dhellmann | sileht: it is, we haven't enabled updates to that version of the docs from stackforge yet | 14:03 |
*** zul has joined #openstack-metering | 14:03 | |
sileht | dhellmann, ok | 14:03 |
dhellmann | sileht: the version on readthedocs.org is being updated, though, I think | 14:03 |
sileht | dhellmann, oh yes thanks | 14:04 |
*** Bada has quit IRC | 14:04 | |
dhellmann | jd__: fungi says WSME releases should work properly now | 14:05 |
jd__ | dhellmann: great! | 14:05 |
*** fnaval_ has quit IRC | 14:15 | |
*** fnaval_ has joined #openstack-metering | 14:16 | |
*** fnaval_ has quit IRC | 14:20 | |
* gordc wonders if email from Mark Atwood to RSVP is real or very very elaborate spam... | 14:36 | |
*** ruhe has quit IRC | 14:38 | |
*** boris-42 has quit IRC | 14:38 | |
*** fnaval_ has joined #openstack-metering | 14:39 | |
*** terriyu has joined #openstack-metering | 14:39 | |
*** jergerber has joined #openstack-metering | 14:40 | |
*** changbl_ has joined #openstack-metering | 14:45 | |
*** ruhe has joined #openstack-metering | 14:57 | |
thomasm | dhellmann, Hey, got a moment? I wanted to chat about the email thread we've been discussing Stevedore in. =] | 14:58 |
dhellmann | thomasm: about to start a meeting :-( | 14:59 |
thomasm | dhellmann, Ahhh, no worries. Later today? I feel like we've got some misunderstanding going on there and I wanted to have a little quicker feedback channel. :P | 14:59 |
dhellmann | thomasm: about an hour from now? | 15:00 |
thomasm | dhellmann, Haha, I've got a meeting then. How about, let's see it's 10AM CST now, so how about 3 hours? | 15:00 |
dhellmann | thomasm: that should work, ping me when you're online | 15:01 |
thomasm | dhellmann, Awesome. Thanks! | 15:01 |
*** Shaan7 has joined #openstack-metering | 15:01 | |
*** dafter has quit IRC | 15:07 | |
*** Bada has joined #openstack-metering | 15:08 | |
*** dafter has joined #openstack-metering | 15:09 | |
*** dafter has quit IRC | 15:09 | |
*** dafter has joined #openstack-metering | 15:09 | |
*** sandywalsh has joined #openstack-metering | 15:18 | |
*** Bada has quit IRC | 15:28 | |
*** zul has quit IRC | 15:33 | |
*** egallen has quit IRC | 15:40 | |
*** boris-42 has joined #openstack-metering | 15:40 | |
*** Shaan7 has quit IRC | 15:55 | |
*** Shaan7 has joined #openstack-metering | 15:55 | |
*** giroro_ has quit IRC | 16:01 | |
*** Ruetobas has joined #openstack-metering | 16:03 | |
*** Bada has joined #openstack-metering | 16:06 | |
*** Ruetobas has quit IRC | 16:08 | |
*** julim_ has quit IRC | 16:08 | |
*** Ruetobas has joined #openstack-metering | 16:13 | |
*** changbl_ has quit IRC | 16:16 | |
*** changbl_ has joined #openstack-metering | 16:30 | |
*** Shaan7 has quit IRC | 16:43 | |
*** eglynn has quit IRC | 16:58 | |
*** Ruetobas has quit IRC | 17:20 | |
*** Ruetobas has joined #openstack-metering | 17:23 | |
*** giroro_ has joined #openstack-metering | 17:26 | |
*** Ruetobas has quit IRC | 17:27 | |
thomasm | dhellmann, I got back a little sooner than I expected. I read your email. I understand that iterating over the extensions would be the same thing without the exception check; so that speaks to handling it differently when we're aware of the possibility of no extensions. | 17:27 |
thomasm | So, the piece I was missing was why we needed the trade-off. The extension being instantiated somewhere that logging isn't set up is the case that sort of confuses me. I would think if someone were setting it up in some other place, they'd implement logging for that. | 17:30 |
thomasm | Probably just some situation I haven't encountered before. | 17:30 |
thomasm | Maybe something I could add to the documentation for Stevedore or request that it be added as a prescribed way of using potentially extension-less managers (if they're all turned off). | 17:33 |
dhellmann | thomasm: we had some cases early on where the manager was created as a class attribute, and at that point there is no logging | 17:34 |
*** Bada has quit IRC | 17:34 | |
dhellmann | thomasm: I'm reluctant to turn off the safety check in map() because stevedore hides so much of the plugin management from the app. I don't want a case where an app thinks it is doing something useful when it really isn't because none of its plugins loaded. Hence the exception, which the app developer can choose to catch and ignore. | 17:35 |
*** Shaan7 has joined #openstack-metering | 17:35 | |
dhellmann | thomasm: brb, need some food | 17:35 |
thomasm | sure | 17:45 |
thomasm | dhellmann, Why wouldn't logging be implemented in the class using the ExtensionManager where you saw that problem? Is there a limitation of Python there? | 17:57 |
thomasm | Or is it just not good practice to log that way? | 17:57 |
*** dafter has quit IRC | 17:58 | |
*** dafter has joined #openstack-metering | 18:00 | |
*** dafter has quit IRC | 18:05 | |
thomasm | Something to do with how it's bound or something? | 18:06 |
* thomasm is far from the Python expert | 18:06 | |
*** anteaya has quit IRC | 18:15 | |
dhellmann | thomasm: class attributes are created when the module is imported, so it's a timing issue | 18:15 |
thomasm | dhellmann, What about logging in the module that's being imported? | 18:16 |
*** anteaya has joined #openstack-metering | 18:16 | |
thomasm | So, I have a module that contains classes that are using an ExtensionManager, why not log in that module to catch exceptions that may happen there? | 18:18 |
dhellmann | it's not a matter of calling the log function with a message, it's a matter of having the logging system configured at the time when that call happens | 18:19 |
*** dafter has joined #openstack-metering | 18:20 | |
thomasm | Nah, I get that. I'm wondering why a user wouldn't have logging configured for that module. So, import logging, configure it and then put your log messages in that module. Wouldn't that catch those sorts of things? | 18:21 |
thomasm | All in the module that's using the ExtensionManager in one of its classes. | 18:22 |
dhellmann | what usually happens is an app imports a bunch of modules, parses its arguments, configures logging, then starts doing real work | 18:22 |
dhellmann | so the import is happening in that first phase, well before anything knows where log messages should go | 18:23 |
dhellmann | this is another example of why import side-effects are bad | 18:23 |
dhellmann | but it remains the case that stevedore considers the instructions "call all plugins with this function" an error if there are no plugins to be called, because the most likely cause of that is an uncaught configuration error of some sort | 18:24 |
dhellmann | it's not like with a list, where the caller has put something into it explicitly | 18:25 |
thomasm | Hmmm, that makes more sense, yeah... | 18:28 |
thomasm | So it's just a limitation because a static member gets instantiated at import time. | 18:30 |
thomasm | Rather than first call, or anything. And since the app user wouldn't be aware of some obscure logging in the module they're importing (since it'd be configured in that module and likely separate from where their app logs are going) they wouldn't see it. | 18:31 |
thomasm | Is that correct? dhellmann ^^? | 18:32 |
dhellmann | thomasm: exactly | 18:32 |
thomasm | Interesting problem to have | 18:33 |
thomasm | dhellmann, Thanks, I didn't see all of this. | 18:33 |
dhellmann | thomasm: yeah, it's hard to explain this clearly without actual code :-) | 18:33 |
thomasm | Haha, definitely. | 18:33 |
*** SergeyLukjanov has quit IRC | 18:34 | |
thomasm | I am not terribly familiar with python logging, so I think I'll actually take a long hard look at how the internals of that works. Who knows? Maybe there's a good solution with the timing issue we see here. | 18:35 |
thomasm | anywho, since there is the possibility of an empty extension list, and the instantiation of that ExtensionManager happens in the collector itself, I think it'd be safe to iterate over the manager.extensions. | 18:37 |
*** dafter has quit IRC | 18:39 | |
*** dafter has joined #openstack-metering | 18:39 | |
thomasm | dhellmann, Thanks. I'll bbiab. | 18:41 |
*** tvb|afk has joined #openstack-metering | 18:42 | |
*** tvb|afk has quit IRC | 18:42 | |
*** tvb|afk has joined #openstack-metering | 18:42 | |
*** dafter has quit IRC | 18:44 | |
*** ruhe has quit IRC | 18:46 | |
sgran | if someone has a moment, I'd appreciate it if they could approve https://review.openstack.org/50351 | 18:47 |
sgran | I'm trying to quickly find all the bugs that affect us before havana final :) | 18:47 |
*** julim has joined #openstack-metering | 18:52 | |
dhellmann | sgran: does that alter script work for sqlite and the unit tests? | 18:55 |
dhellmann | it seems like we had cases before where the alters had to be modified to work with sqlite | 18:55 |
sgran | dhellmann: no idea :) does the gate not catch those? | 19:03 |
sgran | I've tested against postgres and mysql | 19:03 |
sgran | I can try to rig up something with sqlite and try that | 19:03 |
dhellmann | sgran: no, I think that was the problem, we weren't testing migrations in the gate or something | 19:03 |
sgran | but I didn't think anybody ran sqlite for real, if you see what I mean | 19:05 |
dhellmann | sgran: some of the folks from mirantis were working on that, as part of the alembic migration | 19:05 |
dhellmann | sgran: no, it's not a production issue | 19:05 |
sgran | ok, good :) | 19:05 |
dhellmann | and the check tests passed on your change; I just don't want it to be an issue down the road | 19:05 |
sgran | nod, makes sense | 19:05 |
*** eglynn has joined #openstack-metering | 19:10 | |
*** changbl_ has quit IRC | 19:11 | |
*** ryanpetrello has quit IRC | 19:13 | |
*** tvb|afk has quit IRC | 19:18 | |
*** ryanpetrello has joined #openstack-metering | 19:18 | |
*** ruhe has joined #openstack-metering | 19:18 | |
*** ruhe has quit IRC | 19:20 | |
*** changbl_ has joined #openstack-metering | 19:28 | |
*** dafter has joined #openstack-metering | 19:31 | |
*** changbl_ has quit IRC | 19:34 | |
*** changbl has joined #openstack-metering | 19:34 | |
*** sdake_ has quit IRC | 19:38 | |
*** SergeyLukjanov has joined #openstack-metering | 19:40 | |
*** sdake_ has joined #openstack-metering | 19:41 | |
*** evanjfraser has joined #openstack-metering | 19:45 | |
*** julim has quit IRC | 19:51 | |
*** fandikurnia01 has joined #openstack-metering | 19:52 | |
*** dafter has quit IRC | 19:54 | |
*** julim has joined #openstack-metering | 19:54 | |
*** tvb|afk has joined #openstack-metering | 19:59 | |
*** tvb|afk has quit IRC | 19:59 | |
*** tvb|afk has joined #openstack-metering | 19:59 | |
*** changbl has quit IRC | 20:02 | |
*** peterinfra has joined #openstack-metering | 20:08 | |
peterinfra | hi.. I am looking to add a new meter to ceilometer.. | 20:08 |
peterinfra | I added a new pollster in ceilometer/ceilometer/compute/pollsters/memory_usage.py | 20:08 |
peterinfra | I have updated ceilometer/setup.cfg to include the entrypoint to my class.. I am not able to get pipeline.py to accept my new meter when I restart ceilometer-agent-compute. | 20:09 |
peterinfra | any ideas ?.. I really appreciate it | 20:09 |
*** changbl has joined #openstack-metering | 20:15 | |
peterinfra | I have also modified ceilometer/ceilometer/compute/virt/libvirt/inspector.py to include my new method which will query the instance using libvirt calls to get the memory usage | 20:16 |
*** fandikurnia01 has quit IRC | 20:16 | |
peterinfra | I can debug print the memory usage info from libvirt but I cannot get to create a pollster with a new meter which can query libvirt | 20:17 |
*** julim has quit IRC | 20:31 | |
*** tvb|afk has quit IRC | 20:45 | |
*** boris-42 has quit IRC | 20:50 | |
*** dafter has joined #openstack-metering | 20:53 | |
*** dafter has quit IRC | 20:53 | |
*** dafter has joined #openstack-metering | 20:53 | |
*** Shaan7 has quit IRC | 20:54 | |
*** Bada has joined #openstack-metering | 21:23 | |
*** sandywalsh has quit IRC | 21:23 | |
*** eglynn has quit IRC | 21:25 | |
*** SergeyLukjanov has quit IRC | 21:26 | |
*** SergeyLukjanov has joined #openstack-metering | 21:27 | |
openstackgerrit | litong01 proposed a change to openstack/ceilometer: library six minimum version must be specified https://review.openstack.org/50492 | 21:29 |
*** fandikurnia01 has joined #openstack-metering | 21:30 | |
gordc | peterinfra: delayed response... but did you add an entry point to setup.cfg? | 21:34 |
*** Shaan7 has joined #openstack-metering | 21:39 | |
peterinfra | yes I did that.. my module mem_usage.py gets compiled when I do ./setup install so I guess it got the entry point | 21:40 |
peterinfra | when I add debug statements in agent.py (ceilometer/agent.py) in method setup_polling_task | 21:42 |
peterinfra | I dont see my meter being added as a task to iterate through all pollster_manager.extensions | 21:42 |
*** thomasm has quit IRC | 21:43 | |
gordc | peterinfra: try 'python setup.py develop'? | 21:43 |
peterinfra | ok .. let me try that..I will update. Thanks gordc ! | 21:44 |
*** changbl has quit IRC | 21:44 | |
gordc | np. hope that helps. the pipeline.yaml file by default is configured to get all meters so it seems like your pollster isn't getting registered. | 21:45 |
*** julim has joined #openstack-metering | 21:45 | |
peterinfra | and how do I register ? or confirm if it is indeed registered ? thanks ! | 21:48 |
gordc | ceilometer/agent.py and ceilometer/compute/manager.py handle a lot of the pollster setup. | 21:52 |
*** ryanpetrello has quit IRC | 21:53 | |
gordc | but if you copy the other pollsters and it doesn't work i would think it's just because the service is not running with your code changes. | 21:54 |
*** dafter has quit IRC | 21:54 | |
*** SergeyLukjanov has quit IRC | 21:57 | |
peterinfra | oh ok.. let me verify that first.. thanks | 21:58 |
*** Shaan7 has quit IRC | 21:58 | |
*** tvb|afk has joined #openstack-metering | 21:58 | |
*** anteaya has quit IRC | 22:03 | |
*** bpokorny has quit IRC | 22:05 | |
*** tvb|afk has quit IRC | 22:09 | |
*** anteaya has joined #openstack-metering | 22:10 | |
*** fnaval_ has quit IRC | 22:20 | |
*** Bada has quit IRC | 22:26 | |
*** fnaval_ has joined #openstack-metering | 22:26 | |
*** fnaval_ has quit IRC | 22:31 | |
*** fnaval_ has joined #openstack-metering | 22:31 | |
*** thomasm has joined #openstack-metering | 22:34 | |
*** Shaan7 has joined #openstack-metering | 22:35 | |
*** jergerber has quit IRC | 22:36 | |
*** thomasm has quit IRC | 22:44 | |
*** eglynn has joined #openstack-metering | 22:45 | |
*** gordc has quit IRC | 22:49 | |
*** Shaan7 has quit IRC | 23:03 | |
fandikurnia01 | hello | 23:03 |
fandikurnia01 | i try to install ceilometer using mirantis | 23:04 |
fandikurnia01 | epel | 23:04 |
fandikurnia01 | ceilometer-$svc start; done | 23:04 |
fandikurnia01 | ceilometer-compute: unrecognized service | 23:04 |
fandikurnia01 | ceilometer-central: unrecognized service | 23:04 |
fandikurnia01 | /etc/init.d/ceilometer-collector: line 130: The script you are attempting to invoke has been converted to an Upstart: command not found | 23:04 |
fandikurnia01 | /etc/init.d/ceilometer-api: line 132: The script you are attempting to invoke has been converted to an Upstart: command not found | 23:04 |
fandikurnia01 | but found some problem | 23:04 |
*** fnaval__ has joined #openstack-metering | 23:12 | |
*** terriyu has quit IRC | 23:15 | |
*** fnaval_ has quit IRC | 23:15 | |
*** fnaval__ has quit IRC | 23:16 | |
*** Shaan7 has joined #openstack-metering | 23:20 | |
*** eglynn has quit IRC | 23:25 | |
*** fandikurnia01 has quit IRC | 23:36 | |
*** fandikurnia01 has joined #openstack-metering | 23:52 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!