Tuesday, 2013-09-03

*** fnaval_ has joined #openstack-metering00:38
*** fnaval_ has quit IRC00:39
*** dina_belova has joined #openstack-metering00:44
*** haomeng has quit IRC00:45
*** dina_belova has quit IRC00:49
*** shanewang has joined #openstack-metering00:49
*** shanewang has left #openstack-metering00:49
*** zul has quit IRC00:57
*** zul has joined #openstack-metering00:57
*** Ruetobas has quit IRC01:27
*** flwang has quit IRC01:27
*** Ruetobas has joined #openstack-metering01:28
*** dina_belova has joined #openstack-metering01:45
*** dina_belova has quit IRC01:49
*** d34dh0r53 has joined #openstack-metering01:59
*** d34dh0r53 has quit IRC02:01
*** shang has joined #openstack-metering02:20
*** flwang has joined #openstack-metering02:20
*** shakayumi has quit IRC02:21
*** Ruetobas has quit IRC02:23
*** dina_belova has joined #openstack-metering02:45
*** anteaya has quit IRC02:47
*** dina_belova has quit IRC02:50
*** terriyu has joined #openstack-metering02:52
*** flwang1 has joined #openstack-metering02:56
*** flwang has quit IRC02:59
*** flwang1 has quit IRC03:03
*** flwang has joined #openstack-metering03:27
*** SergeyLukjanov has joined #openstack-metering03:40
*** dina_belova has joined #openstack-metering03:46
*** dina_belova has quit IRC03:50
*** dina_belova has joined #openstack-metering04:47
*** evanjfraser has quit IRC04:50
*** dina_belova has quit IRC04:51
*** boris-42 has joined #openstack-metering04:54
*** SergeyLukjanov has quit IRC05:19
*** tasdomas_afk is now known as tasdomas05:34
*** eglynn has joined #openstack-metering06:19
*** eglynn has quit IRC06:54
*** eglynn has joined #openstack-metering07:06
*** boris-42 has quit IRC07:23
*** shardy_afk is now known as shardy07:30
*** dina_belova has joined #openstack-metering07:33
*** SergeyLukjanov has joined #openstack-metering07:33
*** Fegnqian has joined #openstack-metering07:56
*** nsaje has quit IRC08:11
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Add testing of migrations from oslo  https://review.openstack.org/4387208:17
*** Alexei_987 has joined #openstack-metering08:20
*** jbuckley has joined #openstack-metering08:20
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Implement testing of migrations  https://review.openstack.org/4480908:34
*** SergeyLukjanov has quit IRC08:36
*** SergeyLukjanov has joined #openstack-metering08:41
*** boris-42 has joined #openstack-metering08:50
lsmolajd__, I have a quick question, do you have small amount of time now?08:51
jd__lsmola: go ahead08:52
lsmolajd__, I am wondering whether there is a blueprint for limit and ordering statistics results08:59
lsmolajd__, e.g. eg when I want top5 cpu consumers08:59
lsmolajd__, I would go for some cpu meter, group by Project09:00
lsmolajd__, then I need to order by that meter + limit 509:01
jd__lsmola: I don't think we have that09:01
lsmolajd__, ok09:01
lsmolajd__, could it be a blueprint below the sample-api we've created yesterday?09:02
lsmolajd__, cause it would be really helpful  feature09:02
jd__I don't know about below, but it could be a new blueprint09:04
lsmolajd__, like it could depend on sample-api blueprint09:05
jd__I don't think it has a dependency on that09:06
*** dina_belova has quit IRC09:06
jd__the blueprints can be implemented independently09:06
lsmolajd__, not sure here about the general re-usability for statistics etc.09:06
lsmolajd__, yeah, if it would be a general solution09:06
lsmolajd__, should I start blueprint for this or you will?09:07
lsmolajd__, also this kind of depend on Group By blueprint09:08
jd__lsmola: go ahead09:08
jd__lsmola: yes it depends on group by IMHO09:09
*** flwang has quit IRC09:13
lsmolajd__, ok, will create that after lunch, thank you very much09:15
openstackgerritA change was merged to openstack/ceilometer: Plug alarm history logic into the API  https://review.openstack.org/4384909:19
*** Fegnqian has quit IRC09:23
EmilienMMetering guys, I would love to have one more review from you on Ceilometer Central Agent in  HA documentation > https://review.openstack.org/#/c/44584/09:38
jd__EmilienM: I've added ceilometer-core to the review FWIW09:43
EmilienMjd__: that's fair, thx a lot09:43
*** dina_belova has joined #openstack-metering09:45
*** lexx has joined #openstack-metering09:49
nijabaany english native speaker around to review a little doc patch? https://review.openstack.org/#/c/44774/09:55
nijabajust a few lines really ;)09:55
*** jbuckley has quit IRC10:02
openstackgerritFengqian.gao proposed a change to openstack/ceilometer: Add next link in Meter/Sample/Resource/Alarm  https://review.openstack.org/4483810:05
openstackgerritFengqian.gao proposed a change to openstack/ceilometer: Add pagination query support for get_samples  https://review.openstack.org/4449210:05
openstackgerritFengqian.gao proposed a change to openstack/ceilometer: Add pagination support for sqlalchemy database  https://review.openstack.org/3545410:05
openstackgerritFengqian.gao proposed a change to openstack/ceilometer: Add pagination support to selected APIs  https://review.openstack.org/3745410:05
openstackgerritFengqian.gao proposed a change to openstack/ceilometer: Change pagination query method in mongodb  https://review.openstack.org/4186910:05
openstackgerritFengqian.gao proposed a change to openstack/ceilometer: Add a fake UUID to Meter on API level  https://review.openstack.org/4427810:05
*** lexx has quit IRC10:07
nijabaEmilienM: review of your patch done.  a bit more work for you, sorry10:09
*** SergeyLukjanov has quit IRC10:21
eglynndhellmann: re. https://review.openstack.org/44840 only one blessing is required as the backporter (me) is also on stable-maint10:29
eglynndhellmann: (so you can both +2 and +1 ...)10:29
dhellmanneglynn: ok, doing that now10:29
eglynndhellmann: thank you sir!10:29
openstackgerritHaomeng,Wang proposed a change to openstack/ceilometer: fix measurements.rst typos  https://review.openstack.org/4484410:33
*** SergeyLukjanov has joined #openstack-metering10:34
*** flwang has joined #openstack-metering10:51
*** SergeyLukjanov has quit IRC10:54
EmilienMnijaba: no worry at all, thanks for review!11:02
*** SergeyLukjanov has joined #openstack-metering11:02
openstackgerritHaomeng,Wang proposed a change to openstack/ceilometer: Fixes two typos in this measurements.rst  https://review.openstack.org/4484811:04
*** boris-42 has quit IRC11:04
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Fix wrong migrations  https://review.openstack.org/4453911:11
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Add testing of migrations from oslo  https://review.openstack.org/4387211:13
openstackgerritEoghan Glynn proposed a change to openstack/ceilometer: Alarm history storage implementation for mongodb  https://review.openstack.org/4385011:19
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Implement testing of migrations  https://review.openstack.org/4480911:20
*** shang has quit IRC11:27
*** eglynn has quit IRC11:39
*** shakayumi has joined #openstack-metering11:48
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Implement testing of migrations  https://review.openstack.org/4480911:51
openstackgerritA change was merged to openstack/ceilometer: Add a fake UUID to Meter on API level  https://review.openstack.org/4427811:52
*** anteaya has joined #openstack-metering11:53
openstackgerritA change was merged to openstack/ceilometer: Append /usr/sbin:/sbin to the path for searching mongodb  https://review.openstack.org/4474711:56
openstackgerritA change was merged to openstack/ceilometer: Sync rpc from oslo-incubator  https://review.openstack.org/4456111:56
lsmolajd__, https://blueprints.launchpad.net/ceilometer/+spec/statistics-order-by-and-limit-for-grouped-query12:02
lsmolajd__, I have added a brief description and the dependencies, feel free to hijack it again :-)12:02
lsmolajd__, thank you for your help12:03
*** SergeyLukjanov has quit IRC12:09
*** SergeyLukjanov has joined #openstack-metering12:09
*** dina_belova has quit IRC12:17
*** shakayumi has quit IRC12:20
*** eglynn has joined #openstack-metering12:21
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Implement testing of migrations  https://review.openstack.org/4480912:27
*** dina_belova has joined #openstack-metering12:31
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Fix migration with fkeys  https://review.openstack.org/3860712:34
*** annegentle_away is now known as annegentle12:46
*** thomasm has joined #openstack-metering12:57
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Fix wrong migrations  https://review.openstack.org/4453912:58
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Add testing of migrations from oslo  https://review.openstack.org/4387212:59
openstackgerritSvetlana Shturm proposed a change to openstack/ceilometer: Implement testing of migrations  https://review.openstack.org/4480913:00
openstackgerritCyril Roelandt proposed a change to openstack/ceilometer: Network: process metering reports from Neutron  https://review.openstack.org/4389213:17
openstackgerritEoghan Glynn proposed a change to openstack/ceilometer: Alarm history storage implementation for mongodb  https://review.openstack.org/4385013:22
*** gordc has joined #openstack-metering13:24
thomasmHey all!13:27
thomasmdhellmann, ping13:27
*** sandywalsh has joined #openstack-metering13:32
*** thomasm has quit IRC13:33
*** thomasm has joined #openstack-metering13:36
thomasmback13:38
*** changbl has quit IRC13:43
*** dina_belova has quit IRC13:44
*** dina_belova has joined #openstack-metering13:46
*** dina_belova has quit IRC13:46
*** boris-42 has joined #openstack-metering13:49
openstackgerritJulien Danjou proposed a change to openstack/ceilometer: doc: fix storage backend features status  https://review.openstack.org/4445314:11
*** dina_belova has joined #openstack-metering14:12
sandywalshdhellmann, ping?14:20
dhellmannsandywalsh: pong14:20
sandywalsh:) question about stevedore .map()14:20
sandywalshI need the return values from each dispatcher14:20
sandywalshis that possible?14:21
dhellmannmap() returns the values returned by the plugins14:21
dhellmannso yeah, have each dispatcher return a list, and then map will return a list of lists14:21
sandywalshhmm, what if each dispatcher returns different things?14:22
sandywalsh(if the database dispatcher is different than the log dispatcher for example)14:22
dhellmannwell, the dispatchers need to behave consistently14:23
dhellmannso they should all return a list of the duplicates, if that's what we say the API is14:23
dhellmannsometimes the lists can be empty14:23
dhellmannbut the return value should be a list, and the contents should always be the same type14:23
sandywalshright, ok ... I think I can mess with this ... thanks (may have more questions :)14:23
dhellmannI'll be in and out today, but ping me if you need14:24
sandywalshnp. thanks14:24
anteayadhellmann: welcome back14:31
openstackgerritCyril Roelandt proposed a change to openstack/ceilometer: Network: process metering reports from Neutron  https://review.openstack.org/4389214:39
dhellmannhi, anteaya, thanks :-)14:41
anteaya:D14:41
thomasmdhellmann, jd__, ping?14:41
jd__?14:41
*** changbl has joined #openstack-metering14:42
thomasmSo, I'd like to have a quick conversation around that DB2 driver issue. In the review it looks like we have two opposing ideas and I don't want us to end up holding back a bug fix over controversy with how we enforce drivers support. :\14:42
*** sdake has joined #openstack-metering14:43
*** sdake has joined #openstack-metering14:43
thomasmWe can't please everyone, it seems, so I'd like for us to figure out the standard way we'll handle a fundamental functionality, like get_resources, lacking full support in some drivers. I thought we had with raise NotImplementedError, but this is a case that will probably come up more frequently as the project gains adoption.14:45
thomasmdhellmann, jd__, So, should we address that now or in the CM meeting this week?14:46
thomasmI just don't want to remove the NotImplementedError raise and get -1 for that, and then add it back in and get -1 for that from another side. That's not helping anyone, heh.14:47
jd__thomasm: patch URL?14:48
thomasmhttps://review.openstack.org/#/c/4427714:48
jd__hum14:50
jd__I don't see how dhellmann comment can help actually14:50
jd__I agree that a bug should be open if the patch is merged as it is14:50
dhellmannthe patch as it is completely breaks the db2 driver, though14:52
dhellmannthat's what I was objecting to14:52
jd__dhellmann: I don't think forcing contributors to fix bugs in HBase and DB2 is going to work14:53
dhellmannthat's not what I want14:53
dhellmannI was just saying take the raise out14:53
dhellmanngetting some resources with the wrong data is better than not being able to query at all14:53
jd__so you prefer we ship drivers that returns data that are not compliant to the API and what others drivers return?14:53
openstackgerritA change was merged to openstack/ceilometer: Fixes two typos in this measurements.rst  https://review.openstack.org/4484814:53
jd__ok, I tend to disagree with that actually14:54
dhellmann:-/14:54
jd__it seems a terrible idea to me to let people use drivers returning something else that we the Ceilometer API is supposed to14:54
dhellmannI classify this as a bug in this driver. Do we break a driver, or remove it, every time we find a bug? Or do we document the bugs and fix them?14:55
jd__plus that's a slippery slope to special casing storage tests to each backend driver14:55
jd__dhellmann: well my answer is "fix it, if you can't fix it yourself ask the maintainer, if he doesn't fix it, mark it at broken"14:55
jd__(that's what thomasm did so far)14:55
dhellmann"first do no harm"14:56
jd__and now anyway litong is proposing patches that disable some tests entirely for DB214:56
dhellmannthat may be a different issue14:56
dhellmannmaybe the db2 driver just isn't ready to ship and we should remove it entirely?14:57
thomasmdhellmann, In this patch I added two tests to check the default scenario for latest metadata out of unordered samples.14:57
jd__"do no harm", that can be read as "don't provide wrong data to the users in your driver, otherwise they will build application on a wrong API" too :)14:57
thomasmThat breaks in DB2. After a long discussion with litong, we determined that the DB2 driver couldn't really support that functionality yet due to spotty support for aggregation.14:57
*** SergeyLukjanov has quit IRC14:57
dhellmannthe method is minimally useful in that it does return a list of resources, but if it raises NotImplementedError then the db2 driver is not useful at all14:58
jd__dhellmann: I wouldn't mind14:58
jd__dhellmann: but I prefer to start with a NotImplemented and let someone a chance to fix it first14:58
dhellmannthomasm: so are you saying there's no way to fix this problem? or just that we don't know it?14:59
thomasmdhellmann, I don't know it, litong said there wasn't a way.14:59
*** briancline has joined #openstack-metering14:59
dhellmannjd__: in the other cases where we raise NotImplemented, we are only doing it in a limited case (we don't support sorting, or pagination, or whatever)15:00
dhellmannin this case, though, it completely disables a key method of the driver15:00
dhellmannthomasm: ok, if db2 cannot produce the required data then we shouldn't ship the driver at all15:00
dhellmannit seems a little odd that there's no way to do it, but it probably just means we need a different schema or something15:01
dragondmI suspect the NoSQl support in db2 itself is rather experimental. Thus the lack of aggregation, etc.15:01
dhellmanndragondm: good point15:01
dhellmanndo we mark the driver as experimental? or leave it out of the documentation?15:02
jd__dhellmann: don't blame me, I wish there would be a way to only raise NotImplemented on a subset, but the basic feature is broken15:02
thomasmdhellmann, dragondm jd__, So, if the driver is experiemental (because the backend it is interacting with is) maybe it needs to be in an experimental branch, not master?15:02
dhellmannjd__: yeah, I'm starting to think we should just pull the driver entirely15:02
jd__dhellmann: haha, litong is going to hate you more than me15:03
dragondmIt would be nice to have a way of marking the driver as experimental.15:03
thomasmdragondm, that'd be neat, yeah15:03
dhellmannjd__: let's leave it for h3 but pull  it by the rc if it is not fixed15:04
*** SergeyLukjanov has joined #openstack-metering15:04
thomasmWe could easily accomplish that with a naming convention, methinks. Any other thoughts?15:04
jd__dhellmann: fine with me15:04
dhellmannjd__: I'll add something to the agenda for our meeting this week15:04
dhellmannjd__, thomasm : where's the bug for this?15:05
dragondmthomasm: perhaps a decorator.15:05
thomasmdhellmann, lemme get that for you15:05
*** flwang has quit IRC15:05
thomasmdhellmann, https://bugs.launchpad.net/ceilometer/+bug/120854715:05
thomasmdhellmann, jd__: So, shall I remove the raise and we just remove the driver if it's not passing those tests by release? Or shall I leave the raise?15:06
*** dina_belova has quit IRC15:07
dhellmannthomasm: leave the raise15:07
thomasmdhellmann, Okey dokey15:07
dhellmannif we're going to pull the driver, and I think we are, then it's fine15:07
thomasmdhellmann, jd__, dragondm: Thanks for your time! =]15:08
dragondm(this db2 issue reminds me of the HyperV driver kerfuffle in Nova.)15:10
*** dina_belova has joined #openstack-metering15:12
dhellmanndragondm: yeah, it seems like there are people contributing in this case, though :-)15:13
*** litong has joined #openstack-metering15:15
*** dina_belova has quit IRC15:16
dragondmHeh, true.15:17
*** flwang has joined #openstack-metering15:20
openstackgerritA change was merged to openstack/ceilometer: Imported Translations from Transifex  https://review.openstack.org/4440515:23
thomasmOh, right - I remember you telling me about that.15:25
*** dina_belova has joined #openstack-metering15:27
thomasmdragondm, Are you thinking a decorator that would cause the tests not to fail from an experiemental driver and log that it's experimental?15:27
thomasm"Use with caution"15:28
thomasmetc. etc.15:28
dragondmsomething along those lines. Possibly allowing driver methods to be marked with 'knownbug' or somesuch, too.15:29
dragondmMay be usefull idea. May be more trouble than it's worth.15:29
thomasmHmmm, depends on how often we find ourselves at this stage. :P15:30
dragondmtrue.15:30
thomasmBut, yeah - Hmmm we could add to the documentation from there? Not sure how that automation works yet.15:31
dragondmhmm.. dunno.15:33
*** shaneduan[afk] is now known as shaneduan15:35
openstackgerritEoghan Glynn proposed a change to openstack/ceilometer: Add query support to alarm history API  https://review.openstack.org/4490815:42
*** shang has joined #openstack-metering15:56
*** shaneduan is now known as shaneduan[afk]15:56
*** jergerber has joined #openstack-metering16:12
eglynnjd__: just working thru' your review comments, thanks!16:14
*** boris-42 has quit IRC16:14
eglynnjd__: https://review.openstack.org/#/c/44751/1/ceilometer/alarm/service.py ... "If you are looking for a particular extension, go ahead and just use the class"16:14
eglynnjd__: basically do you mean just instatiate the class directly, by-passing the extensions mechanism completely?16:14
jd__eglynn: yes16:14
eglynnjd__: ok16:15
*** shaneduan[afk] is now known as shaneduan16:27
*** tasdomas is now known as tasdomas_afk16:34
*** Bada has joined #openstack-metering16:36
*** dina_belova has quit IRC16:45
brianclinewhat are the general rules around submitting patches to support additional publishers that have dependencies like protobufs? (dependencies deemed stable by the community at large)16:52
brianclineI know other projects are extremely stringent on dependencies to the point of duplicating their code and renaming them, but it seems to vary by project16:53
*** flwang has quit IRC16:55
*** Alexei_987 has quit IRC16:58
*** flwang has joined #openstack-metering17:07
*** anteaya has quit IRC17:08
*** dina_belova has joined #openstack-metering17:09
*** SergeyLukjanov has quit IRC17:12
*** dina_belova has quit IRC17:13
*** eglynn has quit IRC17:24
*** SergeyLukjanov has joined #openstack-metering17:45
*** shakayumi has joined #openstack-metering17:52
litong@eglynn, ping, can you please review this patch, very few lines. https://review.openstack.org/#/c/44514/.17:57
*** yjiang5_away is now known as yjiang517:57
*** boris-42 has joined #openstack-metering17:58
*** shang has quit IRC18:03
*** shaneduan is now known as shaneduan[afk]18:03
*** shaneduan[afk] is now known as shaneduan18:04
*** eglynn has joined #openstack-metering18:06
*** dina_belova has joined #openstack-metering18:13
*** shaneduan is now known as shaneduan[afk]18:13
*** dina_belova has quit IRC18:18
*** dina_belova has joined #openstack-metering18:23
*** dina_belova has quit IRC18:28
*** shaneduan[afk] is now known as shaneduan18:34
openstackgerritMathieu Gagné proposed a change to openstack/ceilometer: Handle volume.resize.* notifications  https://review.openstack.org/4493518:43
openstackgerritMathieu Gagné proposed a change to openstack/ceilometer: Handle volume.resize.* notifications  https://review.openstack.org/4493519:03
*** zul has quit IRC19:21
openstackgerritA change was merged to openstack/ceilometer: db2 distinct call results are different from mongodb call  https://review.openstack.org/4451419:21
*** anteaya has joined #openstack-metering19:23
*** dina_belova has joined #openstack-metering19:24
*** dina_belova has quit IRC19:29
*** zul has joined #openstack-metering19:33
gordcthomasm: i'm speaking with Tong on how to properly address the db2 issue. after your patch lands, https://review.openstack.org/#/c/44277/, will the tests be correct? need to give the db2 folk the exact differences between what db2 is giving us and what we're expecting.19:34
litong@gordc, the link does not seem to be right.19:35
*** eglynn has quit IRC19:36
litong@gordc, the period at the end mess things up.19:36
thomasmgordc, Yes, the two tests I added specifically address samples being out of order to ensure sorting when returning a resource.19:37
gordcthomasm: awesome. will follow up on that. hope you had fun figuring out db2.lol19:38
thomasmgordc, Ohhh, it was a trip. I think it's good that we have all of these conversations now. =] I think it's helping us really understand how we want to approach these situations going forward.19:39
thomasmgordc, Did you see all of the conversations around how we're handling more experimental drivers?19:40
gordcthomasm: yep. definitely helps if we ever add more backends.  i'm surprised HBase is holding up to be honest.19:41
thomasmgordc, Me too. I was able to fix that one in the Python. Reading the HappyBase documentation, it essentially says, "Sorry, you have to sort in your Python".19:41
gordcthomasm: was the discussion earlier today? maybe i'll make use of our new irc logs for once.19:41
thomasmgordc, There was one last Friday and another earlier this morning.19:41
thomasmgordc, There have been several.19:42
gordcthomasm: i'll glance through for your name.19:42
thomasmgordc, I think the reason I addressed DB2 the way I did (deferring to the leads and asking you/litong) was because of my experience with HBase.19:43
gordcthomasm: haha. "Sorry, you have to sort in your Python". wasn't enough of a hint for you to get started on?19:44
thomasmgordc, It was, but that was after a lot of digging.19:44
gordcthomasm: i made the mistake of fixing the backend tests once. HBase was a trip. luckily it was pretty minor fix.19:44
thomasmgordc, You see, being so new to this, I was thinking HappyBase would provide similar querying capability to like PyMongo with Mongo or SQLAlchemy. I was dead wrong and felt as such about a day and a half into digging through documentation.19:45
gordcthomasm: you got a new skill now. add that to your resume: HBase expert. :)19:46
thomasmgordc, LOL19:46
thomasmgordc, I think they'll see it in my face.19:46
thomasmgordc, Nah, HBase looks really interesting. I am curious to see what it's strengths are relative to other solutions.19:47
gordcthomasm: just don't break gaze..lol19:47
thomasmhahaha19:48
gordcthomasm: yeah, i only started to look at mongo and hbase after joining ceilometer. definitely good to learn about them.19:48
thomasmGotcha. gordc, I honestly didn't know we had specific teams to maintain certain drivers, though it sort of makes sense to allow domain expertise to drive the implementation. Otherwise we end up with a collaborative effort of junior skillsets.19:50
litong@thomasm, just added some code which distingushes between db2 and mongodb.19:50
litongin your patch, you probably can use that. so you can mark the method this.19:50
litongif self._using_mongodb: notImplemented.19:51
litong@thomasm, then I can fix things in db2 driver.19:51
gordcthomasm: backend stuff definitely has gaps, even sql backend is getting fixed constantly.19:52
litong@thomasm, that way, your patch does not have to hold up because you do not know how db2 works.19:52
thomasmgordc, Definitely. We need to get tests around that too. I think we have a ton of blind spots and that's where this pain comes from.19:52
litong@thomasm, unless we get all the right backend on jenkins, and on all develop env. which is not easy.19:53
thomasmBut, that's growing pains for you.19:53
thomasmyeah19:53
gordcagreed, definitely need to look a fixing/beefing tests up in Icehouse.19:54
litong@thomasm, did you get the suggestion above?19:54
litong@thomasm, using self._using_mongodb which I just added, it can be used to get around these problems.19:55
thomasmlitong, Yes, I saw it - it's the patch from last week; I remember the code. :\ The problem is that this driver seems to be in a more experimental phase right now...19:56
litong@thomasm, when you do rebase again you should have it in.19:57
litong@thomasm, looks like you will need another patchset since there are still some comments.19:57
litong@thomasm, it is in this patchset. https://review.openstack.org/#/c/44514/19:58
thomasmlitong, The comments were resolved this morning, though. The decision from leadership was to continue raising the error. We will be addressing this in the meeting this week.19:58
litong@thomasm, I know, but that is 9/5, will be too late for a patchset to make ot h3.19:59
thomasmlitong, Then we should probably have this conversation sooner with them. The problem is manually passing tests for a driver undermines the purpose.20:00
litong@thomasm, at this point, there is no way around it, there is no db2 on jenkins.20:00
litongthe db2 driver was meant for db2, not for mongodb.20:01
thomasmlitong, Of course, and if there was we'd still have to pass the tests because db2 can't support the operations, according to your points last week.20:01
litong@thomasm, I bet you do not have db2 in your env. right?20:01
litong@thomasm, my point was that we can not use aggregate method to do that same you did for mongodb.20:01
litong@thomasm, I did not say that the entire method can not be done using other methods.20:02
litong@thomasm, you actually did not quote me correctly in earlier discussion.20:02
thomasmlitong, That's what I thought you had said last week. You said that if I wanted historical data we could not do that.20:03
thomasmwith the current DB2 functionality20:03
thomasm2013-08-30T15:33:24  <litong> @thomasm, oh, wow, you are looking for a history. I did not get that,20:03
thomasm2013-08-30T15:33:34  <litong> @thomasm, if that is the case, I do not think you can do that.20:03
litong@thomasm, I said since resource collection does not have that, you can not do it against resource collection.20:03
litong@thomasm, need to use the meter collection, not the resource collection, that is what I am saying.20:04
thomasmlitong, That was the point I was trying to make during most of that conversation. We have to use samples since that's the only place for a historical representation.20:04
litongby samples you mean from meter collection, right?20:04
thomasmyes20:04
litongprobably some misunderstanding, if you only look at resource collection, then you can not.20:05
thomasmYeah, because that's only the latest *stored* representation which we also can't trust.20:05
litongif you bring in meter, then you have timestamp,20:05
litongthat is what the patch I first proposed did.20:06
thomasmYes, but I can't aggregate/group, so I guess we'd have to do it in the Python, or over several DB calls to pick out a sample and min(timestamp) for each resource.20:06
litong@thomasm, ok,  I think that is where you lost me. I feel we are going around and around.20:07
litongup for a call ?20:07
thomasmlitong, I do too. Sure, I can do that.20:07
thomasmLet me brb really fast.20:07
litonglet's use my conf #.20:08
litongcall this # 888-426-684020:08
litongand use this code 6384022420:09
litong@thomasm, I am in the call now.20:10
*** dina_belova has joined #openstack-metering20:24
litonghttps://review.openstack.org/#/c/44514/20:28
*** dina_belova has quit IRC20:29
litonghttps://review.openstack.org/#/c/44390/20:32
EmilienMHi here, if some people from ceilometer team could review this small patch in the doc, I would pay a beer to them > https://review.openstack.org/#/c/44584/20:37
thomasmlitong, https://review.openstack.org/#/c/44277/620:45
*** evanjfraser has joined #openstack-metering20:50
*** boris-42 has quit IRC20:59
*** SergeyLukjanov has quit IRC21:12
*** sandywalsh has quit IRC21:12
openstackgerritMonsyne Dragon proposed a change to openstack/ceilometer: Add configuration-driven conversion to Events  https://review.openstack.org/4271321:20
*** sandywalsh has joined #openstack-metering21:24
*** dina_belova has joined #openstack-metering21:25
*** dina_belova has quit IRC21:30
*** eglynn has joined #openstack-metering21:30
*** Bada has quit IRC21:30
*** litong has quit IRC21:37
*** openstackgerrit has quit IRC21:48
*** openstackgerrit has joined #openstack-metering21:48
*** thomasm has quit IRC22:02
*** thomasm has joined #openstack-metering22:03
openstackgerritAlessandro Pilotti proposed a change to openstack/ceilometer: Updates oslo-incubator files  https://review.openstack.org/4496122:17
*** dina_belova has joined #openstack-metering22:25
*** changbl has quit IRC22:28
*** dina_belova has quit IRC22:30
*** jergerber has quit IRC22:48
*** eglynn has quit IRC22:48
*** evanjfraser has quit IRC23:07
*** evanjfraser has joined #openstack-metering23:08
*** gordc has quit IRC23:17
*** shardy is now known as shardy_afk23:21
*** changbl has joined #openstack-metering23:42

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