Wednesday, 2015-08-05

*** pauldix has joined #openstack-ceilometer00:08
*** pauldix has quit IRC00:11
*** thorst has quit IRC00:20
*** pauldix has joined #openstack-ceilometer00:20
*** prad has quit IRC00:43
*** _cjones_ has quit IRC00:52
*** changbl has quit IRC00:59
*** jdandrea has quit IRC01:02
*** alexpilotti has quit IRC01:03
*** liusheng has quit IRC01:04
*** david-lyle has joined #openstack-ceilometer01:19
*** changbl has joined #openstack-ceilometer01:28
*** jruano has quit IRC01:30
openstackgerritliusheng proposed openstack/gnocchi: Drop downgrade field in alembic script.py.mako  https://review.openstack.org/20930801:44
*** jruano has joined #openstack-ceilometer01:44
openstackgerritliusheng proposed openstack/aodh: Drop downgrade field in alembic script.py.mako  https://review.openstack.org/20931001:46
*** liusheng has joined #openstack-ceilometer01:46
*** julim has joined #openstack-ceilometer01:51
*** fabian1 has joined #openstack-ceilometer01:54
*** fabian1 has quit IRC02:00
*** ddieterly has joined #openstack-ceilometer02:01
*** fabian1 has joined #openstack-ceilometer02:20
*** pauldix has quit IRC02:30
*** dikonoor has joined #openstack-ceilometer02:45
*** cmyster has quit IRC02:54
*** cmyster has joined #openstack-ceilometer02:58
*** cmyster has joined #openstack-ceilometer02:58
*** rjaiswal has quit IRC03:10
openstackgerritliusheng proposed openstack/ceilometer: Use cpu amount as the default workers  https://review.openstack.org/20933303:40
*** jruano has quit IRC03:55
*** jruano has joined #openstack-ceilometer03:57
*** ddieterly has quit IRC03:59
openstackgerritliusheng proposed openstack/ceilometer: Use cpu amount as the default workers  https://review.openstack.org/20933304:06
*** jwcroppe has joined #openstack-ceilometer04:23
*** dikonoor has quit IRC04:23
*** yprokule has joined #openstack-ceilometer04:25
*** fawadkhaliq has joined #openstack-ceilometer04:25
*** pauldix has joined #openstack-ceilometer04:30
*** pauldix has quit IRC04:35
*** julim has quit IRC04:38
*** jruano has quit IRC04:46
*** ildikov has quit IRC04:54
*** fawadkhaliq has quit IRC04:57
*** fawadkhaliq has joined #openstack-ceilometer04:58
*** pcaruana has quit IRC04:59
*** ddieterly has joined #openstack-ceilometer05:00
*** ddieterly has quit IRC05:05
*** ildikov has joined #openstack-ceilometer05:42
*** nadya has joined #openstack-ceilometer05:48
*** nadya has quit IRC05:49
*** neelabh_ has joined #openstack-ceilometer05:51
*** neelabh_ has quit IRC05:51
*** ddieterly has joined #openstack-ceilometer06:01
*** ddieterly has quit IRC06:05
*** neelabh has joined #openstack-ceilometer06:09
openstackgerritOpenStack Proposal Bot proposed openstack/ceilometer: Imported Translations from Transifex  https://review.openstack.org/20883306:14
*** neelabh has quit IRC06:17
*** neelabh has joined #openstack-ceilometer06:33
*** nadya has joined #openstack-ceilometer06:34
*** rjaiswal has joined #openstack-ceilometer06:36
*** pcaruana has joined #openstack-ceilometer06:36
openstackgerritMehdi Abaakouk (sileht) proposed openstack/aodh: gnocchi: percent_of_overlap=0 for agg. alarms  https://review.openstack.org/20910906:39
*** neelabh has quit IRC06:48
*** ddieterly has joined #openstack-ceilometer07:02
*** afazekas has joined #openstack-ceilometer07:02
*** neelabh has joined #openstack-ceilometer07:04
*** ddieterly has quit IRC07:06
*** nadya has quit IRC07:08
*** neelabh has quit IRC07:11
*** Ala has joined #openstack-ceilometer07:12
*** safchain has joined #openstack-ceilometer07:16
*** nadya has joined #openstack-ceilometer07:23
*** neelabh has joined #openstack-ceilometer07:27
*** nadya has quit IRC07:27
*** lsmola has joined #openstack-ceilometer07:29
*** neelabh has quit IRC07:30
*** nadya has joined #openstack-ceilometer07:34
*** fabian1 has quit IRC07:40
nadyasileht: Mehdi, hi! I'm trying to finish "Initial separating unit and functional tests" and looks like it's ready, but I'm not 100% sure. Could you please take a look if you have time? As I understand, success criteria is gate-ceilometer-dsvm-functional-mongodb job, isn't it?07:46
*** neelabh has joined #openstack-ceilometer07:47
*** neelabh has quit IRC07:47
silehtnadya, hi I will take a look, if mongo db is covered again, that should good to land :)07:48
silehtnadya, do you have the infra patch to pass the job as voting ?07:49
nadyasileht: not yet07:49
nadyasileht: should it be done before landing?07:49
silehtnadya, after, but we need to reduce the period without gating on mongo07:50
silehtnadya, a Approved infra  patch  with DependsOn: set will be awesome07:50
nadyasileht: ok, I'll prepare the one and will mark it as 'in progress'07:50
nadyasileht: aha, ok07:51
silehtnadya, so when we merged the ceilometer side, the infra side will be merged directly07:51
silehtand mongo will be always tested07:51
nadyasileht: and one more doubt... the job should run on mongo backend but test result contains all possible variants07:52
silehtnadya, that's good sqlite is always tested in functionnal tests07:54
silehtnadya, and db2 code is tested against a mongod server07:54
nadyasileht: but hbase :)07:55
silehtnadya, most of hbase tests as skipped07:55
silehtI guess In the future we can replace the scenario stuffs with the same kind of setup we have in gnocchi07:56
*** fabian1 has joined #openstack-ceilometer07:56
nadyasileht: ok, then I'm starting infra patch07:56
silehtie: running only tests against the storage url and not generate tests for all backends and skip them when the backend is not present07:57
*** yassine has joined #openstack-ceilometer08:02
*** ddieterly has joined #openstack-ceilometer08:03
*** neelabh has joined #openstack-ceilometer08:05
*** fawadkhaliq has quit IRC08:06
*** ddieterly has quit IRC08:07
*** neelabh has quit IRC08:09
*** belmoreira has joined #openstack-ceilometer08:23
*** barra204 has quit IRC08:25
*** neelabh has joined #openstack-ceilometer08:25
*** fawadkhaliq has joined #openstack-ceilometer08:28
*** jwcroppe has quit IRC08:29
*** boris-42 has quit IRC08:30
*** jwcroppe has joined #openstack-ceilometer08:35
*** neelabh has quit IRC08:42
openstackgerritJulien Danjou proposed openstack/ceilometer: Stop using openstack.common from keystoneclient  https://review.openstack.org/20940208:44
*** nadya_ has joined #openstack-ceilometer08:56
*** nadya has quit IRC08:59
*** neelabh has joined #openstack-ceilometer09:00
*** ddieterly has joined #openstack-ceilometer09:04
openstackgerritThomas Herve proposed openstack/ceilometer: Handle None actions in Alarm.delete_actions  https://review.openstack.org/20941009:04
therveaodh possible patch ^^^09:05
silehttherve, this is already fixed in aodh09:06
silehttherve, we should break heat less often ;) : https://review.openstack.org/#/c/207298/09:08
*** ddieterly has quit IRC09:08
silehtthe aodh fixe: https://github.com/openstack/aodh/commit/b40b4513e61cd76a11e031d5b77bffbda1d012f609:09
*** neelabh has quit IRC09:11
therveAh :)09:14
thervesileht, Interestingly, it doesn't seem to break test, just return a 500 that we deal with somehow09:15
silehttherve, it breaks my tests because the stack deletion fail because of the error 50009:15
*** neelabh has joined #openstack-ceilometer09:28
*** rjaiswal has quit IRC09:30
*** neelabh has quit IRC09:32
*** jwcroppe has quit IRC09:38
*** jwcroppe has joined #openstack-ceilometer09:39
*** jwcroppe has quit IRC09:44
*** cdent has joined #openstack-ceilometer09:45
*** neelabh has joined #openstack-ceilometer09:49
thervejd__, https://review.openstack.org/#/c/207140/09:50
jd__therve: si?09:50
thervejd__, The fix is already in aodh09:50
jd__therve: ah, then you should just assign #1479274 to ceilometer too and propose the backport as a fix for that I guess09:51
jd__I didn't realize it was the same09:51
therveWell, me neither09:51
jd__hihi09:51
jd__I'll reorganize things around09:51
jd__therve: that's because you're still using Ceilometer and not Aodh?09:52
thervejd__, Whatever my devstack does by default09:52
jd__therve: :(09:52
jd__we're removing Ceilometer from devstack anywya09:52
jd__therve: marked as duplicate09:53
therveI did it already09:53
thervesileht, Can you do the backport? I'll abandon my patch09:54
silehttherve, I will try09:54
*** neelabh has quit IRC09:54
therveCoolio09:54
*** nadya_ has quit IRC09:58
cdentis this pymongo failure in the py34 tests something we're already aware of: http://logs.openstack.org/41/196441/11/check/gate-ceilometer-python34/3f7f531/console.html#_2015-08-04_23_03_34_62710:04
*** nadya has joined #openstack-ceilometer10:04
*** ddieterly has joined #openstack-ceilometer10:04
* sileht just see postgresql and mysql doesn't return same elements order with order by on a nullable column and when some items are null10:07
* sileht cries10:07
cdentoh dear10:07
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: WIP: Implements list_resources limit/ordering  https://review.openstack.org/20943810:07
*** Qlawy has quit IRC10:08
*** ddieterly has quit IRC10:09
*** Qlawy has joined #openstack-ceilometer10:09
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements list_resources limit/ordering  https://review.openstack.org/20943810:11
*** neelabh has joined #openstack-ceilometer10:11
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements list_resources limit/ordering  https://review.openstack.org/20943810:12
*** neelabh has quit IRC10:13
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: fix alarm deletion and update  https://review.openstack.org/20944110:18
silehttherve, jd__ https://review.openstack.org/20944110:18
silehtjd__, I'm writting the pagination stuffs for 'resources' listing/searching, a good practive is to provide links10:19
silehtrel=self/next/previous10:19
silehtbut the returned json is just a list of resources10:20
sileht(not encapsuled in {'resources': [...]})10:20
silehtso I can't add links in payload without breaking API10:20
silehtThe alternative can be put links into headers like 'https://tools.ietf.org/html/draft-nottingham-link-hint-00#page-11' proposed10:21
silehtI haven't found any implementation examples of that, but I don't see other alternative without breaking gnocchi v1 API10:22
silehtcdent, jd__ ^10:22
silehtwdyt ? I put them into header or just add a TODO for next API version10:23
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements list_resources limit/ordering  https://review.openstack.org/20943810:24
cdentsileht: I've never been too keen on rel links in the headers but in the absence of of an encapsulation of the data it is rather hard to do10:26
cdentI guess at least a TODO and maybe header links may be the right way to go?10:27
cdentunless the client uses the header links they don't much matter?10:27
silehtcdent, many other openstack API use link into the JSON payload10:27
silehtcdent,I don't like to do something different for this10:27
*** neelabh has joined #openstack-ceilometer10:29
cdentI think links in the JSON makes relatively good sense, its just the headers that are not great10:30
cdentthey feel invisible10:30
*** pauldix has joined #openstack-ceilometer10:32
*** fabian1 has quit IRC10:32
cdentsileht: the encapsulation that you've described is probably something we're going to need to make happen at some point as its the only reliable way to make room for expansion10:35
silehtcdent, yes10:35
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements list_resources limit/ordering  https://review.openstack.org/20943810:37
*** exploreshaifali has joined #openstack-ceilometer10:42
*** jwcroppe has joined #openstack-ceilometer10:45
*** nadya has quit IRC10:47
openstackgerritJulien Danjou proposed openstack/gnocchi: InfluxDB storage driver  https://review.openstack.org/16540710:48
openstackgerritJulien Danjou proposed openstack/gnocchi: indexer: always eagerly load archive_policy  https://review.openstack.org/20920810:48
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: validate timestamp in metric value search query  https://review.openstack.org/20945010:48
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: directly pass metric to search_value()  https://review.openstack.org/20945110:48
*** jruano has joined #openstack-ceilometer10:50
*** nadya has joined #openstack-ceilometer10:50
*** fabian1 has joined #openstack-ceilometer10:53
openstackgerritMerged openstack/ceilometer: gnocchi: retry with a new token on 401  https://review.openstack.org/20656010:55
*** h00327910__ has quit IRC10:58
*** fabian1 has left #openstack-ceilometer11:00
openstackgerritJulien Danjou proposed openstack/gnocchi: InfluxDB storage driver  https://review.openstack.org/16540711:01
*** exploreshaifali has quit IRC11:04
*** ddieterly has joined #openstack-ceilometer11:05
*** ityaptin has quit IRC11:09
*** ityaptin has joined #openstack-ceilometer11:10
*** ddieterly has quit IRC11:10
thervesileht, You rock once again11:13
cdenthe's been rocking a lot lately11:14
cdentmight be time for a music video11:15
*** alexpilotti has joined #openstack-ceilometer11:26
*** gordc has joined #openstack-ceilometer11:28
cdentgordc: do you have the power to delete this: https://pypi.python.org/pypi/ceilometer11:29
cdentor maybe dhellmann can do it?11:29
gordccdent: i probably don't. i didn't create it and the powers above started removing release abilities from everyone.11:31
gordccdent: about the bug?11:31
cdentyeah, I'm just responding to the poor bastard now11:31
gordcit's pretty funny it got the other packages installed... it's some mashup of different 2-3 year old builds.11:32
*** jwcroppe has quit IRC11:33
cdentI made friendly and hopefully helpful comment and marked it invalid11:34
nadyacdent: gordc: sileht: folks, let me rebase it the last time and we merge it? Infra patch is ready, functional job is successful11:35
* cdent is happy11:35
gordccdent: friendly? well done. i'll lend you my suit one day.11:35
nadyaI forget to mention the patch....11:35
gordcnadya: :) yay11:36
nadyahttps://review.openstack.org/#/c/204128/ !11:36
gordcwhy does ask.openstack.org tell me to "please start posting anonymously" but then it tells me to signin to post.11:37
gordcnadya: is it difficult to get it gating on sql as well?11:38
gordcnot telling you to do it. just asking.11:38
nadyagordc: tbh, sql is tested as well11:38
nadyagordc: and I don't understand why :)11:39
nadyagordc: let me find the latest test results...11:39
gordcnadya: tested on sqlite or mysql/postgres?11:40
nadyagordc: sqlite11:40
gordcoh. yeah. i think that's because of the scenario stuff.11:41
gordcto get mysql/postgres it needs to be configured i believe.11:41
nadyayep, I believe it's needed to change CEILOMETER_TEST_BACKEND11:41
nadyagordc: ok, let me rebase it, run experimental job and then I ping you. The problem is that the patch outdates very often11:43
nadyagordc: the latest successful run http://logs.openstack.org/28/204128/13/experimental/gate-ceilometer-dsvm-functional-mongodb/33b7b10/11:44
silehtnadya,I have added a comment on the infra patch11:44
silehtbbl11:44
*** pauldix has quit IRC11:45
*** thorst has joined #openstack-ceilometer11:45
*** afazekas_ has joined #openstack-ceilometer11:46
nadyasileht: I should add smth like - name: gate-ceilometer-dsvm-functional-mongodb   branch: ^master$ ?11:47
openstackgerritNadya Shakhat proposed openstack/ceilometer: Initial separating unit and functional tests  https://review.openstack.org/20412811:48
*** afazekas has quit IRC11:48
*** julim has joined #openstack-ceilometer11:49
*** bdossant has joined #openstack-ceilometer11:51
openstackgerritgordon chung proposed openstack/ceilometer: add poll history to avoid duplicate samples  https://review.openstack.org/20916011:51
*** yassine has quit IRC11:51
gordcnadya: i think adding "branch: ^(?!stable/juno/kilo).*$" should work11:53
nadyagordc: ok, adding now...11:53
gordchmmm... seems like there's a different regex for everything in that layout file.11:57
*** bdossant_ has joined #openstack-ceilometer12:00
*** bdossant has quit IRC12:02
*** ddieterly has joined #openstack-ceilometer12:06
*** yassine has joined #openstack-ceilometer12:07
*** ddieterly has quit IRC12:07
*** ddieterly has joined #openstack-ceilometer12:08
*** jwcroppe has joined #openstack-ceilometer12:12
*** ddieterly has quit IRC12:12
nadyagordc: indeed12:17
openstackgerritChris Dent proposed openstack/ceilometer: Grenade plugin using devstack plugin for ceilometer  https://review.openstack.org/19644112:19
gordcnadya: opps i gave you wrong regex.12:19
*** alejandrito has joined #openstack-ceilometer12:19
openstackgerritChris Dent proposed openstack/ceilometer: Grenade plugin using devstack plugin for ceilometer  https://review.openstack.org/19644112:19
gordc"branch: ^(?!stable/(juno|kilo)).*$"12:20
nadyagordc: yep, I have too many parallel tasks today....btw, I wanted to discuss performance testing with you today12:21
gordcnadya: sure. i have a meeting at 1400UTC but should be ok rest of the time.12:22
nadyagordc: ok12:22
*** ddieterly has joined #openstack-ceilometer12:24
cdentjd__, gordc, liusheng I feel pretty alone on this issue, but I really think numcpu settings for all services is not a great idea as a default: https://bugs.launchpad.net/ceilometer/+bug/148125412:29
openstackLaunchpad bug 1481254 in Ceilometer "ceilometer default multiple workers option is unrelated with cpu amount" [Medium,In progress] - Assigned to Liusheng (liusheng)12:29
*** pauldix has joined #openstack-ceilometer12:30
*** edmondsw has joined #openstack-ceilometer12:34
*** fawadkhaliq has quit IRC12:38
gordccdent: just commented.12:39
gordci agreed12:39
*** jkraj has joined #openstack-ceilometer12:43
*** jwcroppe has quit IRC12:43
* cdent needs a proofreader12:49
*** prad has joined #openstack-ceilometer12:52
gordcnadya: what happens if you make ceilometer patch depend on infra patch?12:58
gordccdent: is it for a murder mystery story?12:58
nadyagordc: http://lists.openstack.org/pipermail/openstack-dev/2015-February/056515.html12:59
cdentgordc, no its so when I go back and read comments I leave on bugs I don't get embarassed by the strange typos and word rearrangments and drops and such that happen12:59
nadyagordc: I need to read this as well, because I've read only first paragraph13:00
gordcnadya: oh. i meant can you switch the depends on tag? i'd like to check in infra patch first and then merge the ceilometer patch.13:00
gordcnadya: not sure if this is possibel.13:00
gordcpossible*13:00
*** thumpba has joined #openstack-ceilometer13:01
gordccdent: oh. i type garbage 75% of time. which is why you see me always double responding like i'm talking to myself... or maybe i am.13:01
nadyagordc: I may add 'depends-on' in commit message and we will see13:01
gordcnadya: cool cool.13:02
openstackgerritNadya Shakhat proposed openstack/ceilometer: Initial separating unit and functional tests  https://review.openstack.org/20412813:03
*** thumpba has quit IRC13:04
*** edmondsw has quit IRC13:05
cdentpissing down rain here13:06
* cdent wants summer back13:07
gordcyou live in uk.13:08
gordcisn't that par for the course?13:08
cdentyes, but I've never been one for living by the rules13:09
nadyagordc: hmm, I got This change depends on a change that failed to merge.13:09
*** afazekas_ has quit IRC13:10
*** alejandrito has quit IRC13:10
nadyajd__: wrong channel :)13:11
jd__nadya: I thought so :)13:12
nadyajd__: https://review.openstack.org/#/c/165407/ failed13:13
gordcnadya: drop the depends on the infra patch. you can't have both depend on each other :)13:13
jd__nadya: ah my bad I didn't test with py34, I'll fix it13:13
gordc... is influx almost working :)13:13
jd__gordc: yes!13:14
gordcsweet!13:14
gordcwill get ready to test.13:14
nadyagordc: I thought It was that you wanted :) ok, will do13:14
nadyajd__: could you please add Ilya to co-authors? I don't know why he didn't do it by himself...13:15
gordcnadya: oh. yeah i should have clarified. i want ceilometer->depends on->infra... not infra->depends on->ceilometer13:15
jd__nadya: yup I will13:16
*** primechuck has joined #openstack-ceilometer13:16
jd__cdent: is there any plan to enhance $REPONSE in Gabbi to have all the older reponses available?13:18
cdentjd__: you mean to go back the entire stack of tests? no. did you have a particular use case in mind?13:19
openstackgerritliusheng proposed openstack/ceilometer: Use cpu amount as the default workers  https://review.openstack.org/20933313:19
*** bdossant_ has quit IRC13:20
jd__cdent: create 2 metrics in Gnocchi and then search in both so you need both ids13:20
*** alexpilotti has quit IRC13:21
openstackgerritJulien Danjou proposed openstack/gnocchi: InfluxDB storage driver  https://review.openstack.org/16540713:21
openstackgerritJulien Danjou proposed openstack/gnocchi: indexer: always eagerly load archive_policy  https://review.openstack.org/20920813:21
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: validate timestamp in metric value search query  https://review.openstack.org/20945013:21
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: directly pass metric to search_value()  https://review.openstack.org/20945113:21
jd__cdent: I might work on that then13:21
cdentI might not accept it13:21
* cdent is super hard core about complexity in gabbi13:21
cdentjust ask my friend FND about it, he hates  me13:21
jd__:(((13:22
cdentI'm not saying no, I'm just saying that changes to the test format are the hardest thing to get over the acceptance bar13:22
*** exploreshaifali has joined #openstack-ceilometer13:22
nadyagordc: I was trying to apply "Multi-way CRD allow for bidirectional links between changes" from the letter :)13:22
nadyagordc: infra is updated13:22
nadyajd__: thank you!13:23
*** jmank has joined #openstack-ceilometer13:23
cdentjd__: if you've got an idea for the syntax join me over in #gabbi to talk about it13:23
*** alexpilotti has joined #openstack-ceilometer13:23
* sileht grrr oslo.db still use mox13:23
gordclol13:24
*** bdossant has joined #openstack-ceilometer13:26
openstackgerritMehdi Abaakouk (sileht) proposed openstack/ceilometer: api: fix alarm deletion and update  https://review.openstack.org/20944113:31
*** neelabh has quit IRC13:31
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements list_resources limit/ordering  https://review.openstack.org/20943813:32
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements list_resources limit/ordering  https://review.openstack.org/20943813:34
*** jd__` has joined #openstack-ceilometer13:34
*** jd__- has joined #openstack-ceilometer13:35
* sileht remembers one of the reason we move to mock, reported errors are just not helpfull :(13:35
silehtmox3.mox.UnexpectedMethodCallError: Unexpected method call function.__call__(<mock.MagicMock object at 0x7f02238cf1d0>) -> None13:36
*** jdandrea has joined #openstack-ceilometer13:39
*** jd__` has quit IRC13:45
*** jd__- has quit IRC13:45
*** jd__ has quit IRC13:45
*** jd__ has joined #openstack-ceilometer13:45
gordcany know the reason for defining db connection in hook?13:45
*** jd__ has quit IRC13:46
*** jd__ has joined #openstack-ceilometer13:46
silehtgordc, we just want to not use global I guess13:46
*** exploreshaifali has quit IRC13:46
gordcsileht: reason i ask is the versionedobjects patches stop using it: ie https://review.openstack.org/#/c/190521/13:47
gordci can't tell if that's a bad thing or not.13:47
*** rbak has joined #openstack-ceilometer13:51
*** dobson has quit IRC13:52
*** briancline has quit IRC13:52
*** dobson has joined #openstack-ceilometer13:52
* sileht sad to see people continue using global for things that really don't need to13:53
silehtgordc, VersionnedObject creates 1 connections per object types ...13:54
silehtI hope I'm wrong13:54
*** briancline has joined #openstack-ceilometer13:54
silehtI have added this comment to the review13:55
gordcsileht: yeah that's what i understand too... which seems crazy13:56
*** rbak has quit IRC13:59
*** edmondsw has joined #openstack-ceilometer14:02
*** rbak has joined #openstack-ceilometer14:05
*** zigo has quit IRC14:05
*** zigo has joined #openstack-ceilometer14:06
*** thumpba has joined #openstack-ceilometer14:07
*** afazekas_ has joined #openstack-ceilometer14:12
*** bdossant has quit IRC14:19
*** bdossant has joined #openstack-ceilometer14:19
openstackgerritJulien Danjou proposed openstack/gnocchi: InfluxDB storage driver  https://review.openstack.org/16540714:19
openstackgerritJulien Danjou proposed openstack/gnocchi: indexer: always eagerly load archive_policy  https://review.openstack.org/20920814:19
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: directly pass metric to search_value()  https://review.openstack.org/20945114:19
*** bdossant has quit IRC14:21
*** bdossant has joined #openstack-ceilometer14:21
*** fawadkhaliq has joined #openstack-ceilometer14:22
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Implements list_resources limit/ordering  https://review.openstack.org/20943814:23
openstackgerritMehdi Abaakouk (sileht) proposed openstack/aodh: gnocchi: percent_of_overlap=0 for agg. alarms  https://review.openstack.org/20910914:31
openstackgerritChris Dent proposed openstack/ceilometer: Grenade plugin using devstack plugin for ceilometer  https://review.openstack.org/19644114:40
cdentone more try14:41
*** afazekas_ has quit IRC14:43
*** afazekas_ has joined #openstack-ceilometer14:43
*** nadya has quit IRC14:45
*** primechuck has quit IRC14:46
*** jruano has quit IRC14:49
*** afazekas_ has quit IRC14:54
*** nadya has joined #openstack-ceilometer14:55
cdentgordc: "wasn't aware of namespace" me neither. It blew a hole out the side of my head.15:02
gordccdent: i've no idea what it does. i'm just going to accept it for onw15:02
gordcnow*15:02
cdentbasically turns a nested dict into a nest object so that you can get stuff by attribute, which works better in the quoted environment required in eval and pipeline.yaml15:03
gordchmmm... maybe prad can use it for meter definitions.15:06
gordccdent: is it to avoid using eval() or to encourage using eval()15:07
gordcor neither15:07
cdentit allows the use of eval in a way that doesn't require escaping quotes15:08
pradthat sounds useful, i was researching something called safe_eval yesterday15:09
pradwhich is eval with better safety checks15:10
cdentsomeday there will be safe_safe_eval15:10
gordcimo, i don't really care. if the person hsa access to pipeline already, you're already screwed.15:14
cdenttru15:14
gordcbut if it makes people feel better, we can avoid eval.15:14
*** afazekas_ has joined #openstack-ceilometer15:15
*** nadya has quit IRC15:16
*** rbak has quit IRC15:16
*** Ephur has quit IRC15:16
gordcprad: http://stackoverflow.com/questions/2371436/evaluating-a-mathematical-expression-in-a-string seems like pyparsing is already in requirements15:18
gordcdon't know if you played with it before15:18
*** rjaiswal has joined #openstack-ceilometer15:18
pradgordc, yea I ran into that too. This seems definitely better than direct eval15:20
gordcprad: what do we have left? just port everything over, and support math in volume field?15:22
pradgordc, yea pretty much15:22
gordccool cool.15:23
*** Ephur has joined #openstack-ceilometer15:26
*** jasonamyers has joined #openstack-ceilometer15:27
openstackgerritChris Dent proposed openstack/gnocchi: Add to influx command's $PATH  https://review.openstack.org/20956115:31
gordccdent: sileht: i feel like i should tell you, we merged part of my code but before my spec: https://review.openstack.org/#/c/199331/15:32
cdentno soup for you15:32
silehtgordc, I will revert everything, sorry15:33
gordcalready got the soup.15:33
gordchahah15:33
sileht;)15:33
gordcno!15:33
*** afazekas_ has quit IRC15:33
*** rbak has joined #openstack-ceilometer15:34
*** shakamunyi has joined #openstack-ceilometer15:35
*** _cjones_ has joined #openstack-ceilometer15:36
cdentjd__, anyone: Are there already discussions/plans in place related to influxdb and devstack?15:37
gordchaven't heard anything15:38
gordci assume it's the same as elasticsearch... just put it up?15:38
silehtcdent, devstack == ubuntu should package it, so I don't think this will happen soon15:38
cdentI think there are sourcing-of-packages issues15:38
*** belmoreira has quit IRC15:39
*** bdossant has quit IRC15:39
gordci think it needs to be packaged in ubuntu/fedora to gat on... but you can still include it in devstack. or that was the criteria when i did elasticsearch (elasticsearch isn't packaged either)15:40
gordc(packaged in LTS)15:40
*** drjones has joined #openstack-ceilometer15:40
openstackgerritChris Dent proposed openstack/gnocchi: Add to influx command's $PATH  https://review.openstack.org/20956115:41
*** safchain has quit IRC15:41
*** drjones has quit IRC15:41
*** drjones has joined #openstack-ceilometer15:43
*** _cjones_ has quit IRC15:44
* cdent looks at the elasticsearch stuff15:47
*** drjones has quit IRC15:47
cdentgordc: are their other projects use es?15:48
gordcglance was suppose to be using it.15:49
gordcbut if i recalled the merged stuff when the spec was still being reviewed... i don't know if it ever did15:49
* cdent makes a bug to not forget15:51
*** adurbin_ has joined #openstack-ceilometer15:54
*** Ala has quit IRC15:57
openstackgerritMerged openstack/ceilometer: Corrected unit of snmp based harware disk and memory meters  https://review.openstack.org/20719916:00
*** ildikov has quit IRC16:01
*** alexpilotti has quit IRC16:06
*** ddieterly has quit IRC16:09
*** jasonamyers has quit IRC16:12
*** exploreshaifali has joined #openstack-ceilometer16:16
*** drjones has joined #openstack-ceilometer16:17
*** yprokule has quit IRC16:21
gordcanyone know what kiloeyes is?16:22
gordchttps://review.openstack.org/#/c/203259/16:22
openstackgerritChris Dent proposed openstack/ceilometer: Grenade plugin using devstack plugin for ceilometer  https://review.openstack.org/19644116:22
cdentgordc: sounds like it is probably what is says on the tin: cloud monitoring with monasca metrics api and elasticsearch16:24
openstackgerritJulien Danjou proposed openstack/gnocchi: InfluxDB storage driver  https://review.openstack.org/16540716:25
openstackgerritJulien Danjou proposed openstack/gnocchi: indexer: always eagerly load archive_policy  https://review.openstack.org/20920816:25
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: validate timestamp in metric value search query  https://review.openstack.org/20945016:25
openstackgerritJulien Danjou proposed openstack/gnocchi: rest: directly pass metric to search_value()  https://review.openstack.org/20945116:25
*** pcaruana has quit IRC16:26
gordccdent: you know what the metrics api part is?16:27
cdentgordc: no, but I know there's been plans to replicate the monasca api or apis in python for a while. I guess this is it.16:29
*** openstackgerrit_ has joined #openstack-ceilometer16:30
gordci'm not sure what the functionality you're describing is...16:31
cdentnor me, but we do know that a thing called monasca has existed for quite some time, in java form16:32
*** drjones has quit IRC16:33
gordc... right. i'm just going to take it as a bit tent thing... seems like the catch all term.16:34
*** thorst has quit IRC16:34
*** ddieterly has joined #openstack-ceilometer16:35
cdentgordc: are your curious or concerned?16:39
gordccurious. i don't know what it is to be concerned.16:39
openstackgerritRyota MIBU proposed openstack/aodh: Refactor alarm scenario tests (RuleCombination)  https://review.openstack.org/20433616:40
* cdent wonders if you'll get an answer to your comment16:40
gordcno clue... seems like it'd make sense to.16:41
*** ildikov has joined #openstack-ceilometer16:43
*** _cjones_ has joined #openstack-ceilometer16:47
*** _cjones_ has quit IRC16:49
gordccool influx patch seems to be passing for me.16:49
*** thorst has joined #openstack-ceilometer16:51
*** yassine has quit IRC16:56
*** _cjones_ has joined #openstack-ceilometer17:01
*** jwcroppe has joined #openstack-ceilometer17:03
*** openstackgerrit_ has quit IRC17:05
openstackgerritRyota MIBU proposed openstack/aodh: Add 'event' type and 'event_rule' to alarm API  https://review.openstack.org/20096717:08
*** nadya has joined #openstack-ceilometer17:10
*** tongli has joined #openstack-ceilometer17:12
*** nadya has quit IRC17:13
*** openstackgerrit_ has joined #openstack-ceilometer17:24
*** ddieterly has quit IRC17:30
rjaiswalgordc: regarding https://bugs.launchpad.net/ceilometer/+bug/1475441, PollsterPermanentError is thrown in context of multiple tenants/resources17:31
openstackLaunchpad bug 1475441 in Ceilometer "rgw still throwing errors" [Medium,Triaged] - Assigned to Rohit Jaiswal (rohit-jaiswal-3)17:31
rjaiswalhttps://github.com/openstack/ceilometer/blob/master/ceilometer/objectstore/rgw.py#L9717:32
*** nadya has joined #openstack-ceilometer17:33
rjaiswalalso, looks like the log message: Prevent pollster rgw.objects for polling source meter_source anymore! is in the except block https://github.com/openstack/ceilometer/blob/master/ceilometer/agent/base.py#L20017:34
*** openstackgerrit_ has quit IRC17:34
*** nadya has quit IRC17:38
*** jwcroppe has quit IRC17:41
*** lsmola has quit IRC17:42
*** jwcroppe has joined #openstack-ceilometer17:42
gordcrjaiswal: right. the exception should be returning the list of resources which it would add to blacklist in agent/base so it would avoid polling them again.17:42
rjaiswalgordc: ah, ok17:42
gordcright now it's passing back the error instead of resources so it's blacklisting the error.17:42
gordcthat said, i think you need to adjust the exception to all passing back a list of resources rather than one17:43
gordcto allow*17:43
rjaiswalyeah17:45
rjaiswalwas thinking the same17:45
*** fawadkhaliq has quit IRC17:45
rjaiswalcool, will have a patch up today17:45
gordcrjaiswal: cool cool17:45
rjaiswalthanks gordc17:45
gordcrjaiswal: awesome! thanks for the help.17:45
rjaiswalgordc: yw17:46
*** nadya has joined #openstack-ceilometer17:46
*** jwcroppe has quit IRC17:47
openstackgerritMerged openstack/aodh: Refactor alarm scenario tests (RuleCombination)  https://review.openstack.org/20433617:51
*** rbak has quit IRC17:53
*** nadya has quit IRC18:02
cdentjd__, liusheng: this is fun: https://bugs.launchpad.net/aodh/+bug/148187518:10
openstackLaunchpad bug 1481875 in Aodh "test_migrations test does not do what it is supposed to do" [Undecided,New]18:10
*** rbak has joined #openstack-ceilometer18:14
*** exploreshaifali has quit IRC18:20
*** rbak has quit IRC18:21
*** exploreshaifali has joined #openstack-ceilometer18:21
*** nadya has joined #openstack-ceilometer18:23
*** nadya has quit IRC18:28
openstackgerritMerged openstack/aodh: Add 'event' type and 'event_rule' to alarm API  https://review.openstack.org/20096718:33
jd__cdent: meh18:40
cdentmeh indeed18:40
cdentskip is dangerous18:40
*** rbak has joined #openstack-ceilometer18:41
gordccdent: if i run strace and it just loops the following non-stop, what's the deal? http://paste.openstack.org/show/409210/18:43
* cdent looks18:43
cdentgordc, sileht tells me that is the expected behavior of something that is using oslo.messaging18:44
cdentbasically it is waiting for activity on file descriptor 318:44
cdentnow, the normal way that epoll_wait works is that it, uh, waits, until the kernel has something18:45
gordcis it a listener thing? because i don't see it on collector ... i get something else18:45
cdentbut you can set the timeout really low18:45
cdentI think it it is a listener thing yes18:45
cdentI haven't got a clue _why_ this is the way it works as it seems fundamentally broken to me18:45
cdentit is the anti-epoll18:46
gordchmmm... my collector just spews:18:46
gordcwait4(0, 0x7ffeef378dc4, WNOHANG, NULL) = 018:46
gordcselect(0, NULL, NULL, NULL, {0, 9983})  = 0 (Timeout)18:46
*** openstackgerrit has quit IRC18:46
*** openstackgerrit has joined #openstack-ceilometer18:46
cdentyeah, so that's the same concept18:46
cdentbut done with an older system call18:46
cdentis dinner time, I'll be back a bit later18:47
gordckk. so confused why notification agent has cpu load but not collector.18:47
*** kfox1111 has joined #openstack-ceilometer18:54
kfox1111how do you change how frequently openstack-ceilometer-compute gathers?18:55
gordckfox1111: you'll need to edit pipeline.yaml... probably in /etc/ceilometer/pipeline.yaml18:59
gordcby default it does everything at 600s... you'll need to list meters explicitly if you want different intervals for different meters19:00
kfox1111ah. I see it. thanks.19:00
gordcnp19:00
*** nadya has joined #openstack-ceilometer19:03
*** rbak has quit IRC19:05
nadyagordc: should I mark https://review.openstack.org/209398 as 'in progress' ?19:07
nadyagordc: ok if it's merged?19:07
gordcnadya: i thought you said it was passing?19:10
nadyagordc: yep, it is. but we should merge our patch as well, right?19:10
gordcnadya: sure. i don't have any problems. merging it.19:11
nadyagordc: great :)19:12
cdentgordc: I couldn't figure it out for the life of me either, but it seems like sileht will probably know?19:12
cdentor at least be able to figure out?19:12
cdentI assume there must be something different about the kind of listener each is19:12
*** jkraj has quit IRC19:13
cdentanyway, I've been at this far too long today, need to stop thinking openstack for a few hours19:13
*** cdent has quit IRC19:13
gordcdamn... cdent logs off very quickly.lol19:13
openstackgerritMerged openstack/gnocchi: rest: validate timestamp in metric value search query  https://review.openstack.org/20945019:16
*** r-daneel has joined #openstack-ceilometer19:20
openstackgerritPradeep Kilambi proposed openstack/ceilometer: Convert instance, bandwidth and SwiftMiddleware meters  https://review.openstack.org/20963719:20
*** ddaskal has joined #openstack-ceilometer19:21
*** rbak has joined #openstack-ceilometer19:26
gordcprad: is there a reason your patches cover parts of different notifications?lol19:27
pradgordc, the latest one?19:27
pradgordc, that a WIP.. i'm wrapping up all meters that dont need special processing19:28
pradgordc, there are some meter where we put the yield through a loop like swiftmiddlewaremeters etc19:28
pradwhich i need to handle differently and ofcourse the math one which is just the cpu19:29
gordcyou could make each definition an endpoint... there'd be no reason to loop19:31
gordcalthough i don't understand the looping part... which meter are you talking about?19:33
pradwell we have two kinds, one is something like https://github.com/openstack/ceilometer/blob/master/ceilometer/objectstore/notifications.py#L7219:34
*** rbak has quit IRC19:36
pradgordc, other is when multiple resources are returned like in network notifications https://github.com/openstack/ceilometer/blob/master/ceilometer/network/notifications.py#L7719:36
gordcfor the first one i don't think you need anything special -- you just don't know what is in measurements.19:38
pradgordc, so these would be weird to handle declarative unless we know exactly whats in that payload19:38
gordcwhat happens when you meter definitino and field doesn't exist?19:38
pradif definition doesnt exist obviously we wont generate any samples19:39
gordcprad: no. i meant if the definition exists but the field(s) don't exist in payload19:40
*** ddaskal has quit IRC19:40
pradfor the fields, we expect certain fields to be present, else we raise a handled exception with field name.. for fields like unit/resourece  etc we default19:40
pradto None is all fails19:40
pradwe look first in the toplevel message else we look in payload else None19:40
pradfields like name, event, volume, unit etc are required19:41
gordcthe ones with multiple meters in payload i think you need a conditional to check... that or just ignore meters with missing fields19:41
prad<gordc> for the first one i don't think you need anything special - what ya mean?19:42
praddont convert it?19:42
gordcthis is payload for swift notifications: https://github.com/openstack/ceilometer/blob/master/ceilometer/tests/objectstore/test_notifications.py#L21-L8919:42
pradyea the problem is the measurements can be any #19:43
gordcis the issue that you can't tell the path because of list19:43
pradthe example has 2 metrics, we could have more when swift returns19:44
*** rbak has joined #openstack-ceilometer19:44
*** rbak has quit IRC19:46
gordctwo is the max... but i take it it's because you don't know ordering.19:47
*** rbak has joined #openstack-ceilometer19:51
pradgordc, do you know some projects send us bulk payload vs others just 1? this inconsistency makes things complicated19:52
pradstandardize notifications ... ugh wish it happens someday19:54
gordcprad: well there are a lot of different payloads which have more than one metric. every definition that act on same event_type has multiple payloads in it19:54
gordcprad: the swift notification is the only one with a standard.lol19:55
*** thumpba has quit IRC19:58
*** rbak has quit IRC20:01
gordci think i can see your problem with list. biab. need to step away20:01
*** boris-42 has joined #openstack-ceilometer20:12
*** rbak has joined #openstack-ceilometer20:15
*** rbak has quit IRC20:25
*** rbak has joined #openstack-ceilometer20:30
*** changbl has quit IRC20:39
*** rbak has quit IRC20:40
*** changbl has joined #openstack-ceilometer20:40
*** wayneeseguin has quit IRC20:41
*** wayneeseguin has joined #openstack-ceilometer20:43
*** rbak has joined #openstack-ceilometer20:44
*** rbak has quit IRC20:59
*** gordc has quit IRC20:59
*** rbak has joined #openstack-ceilometer21:00
*** jwcroppe has joined #openstack-ceilometer21:02
*** rbak has quit IRC21:03
-openstackstatus- NOTICE: Zuul has been restarted to resolve a reconfiguration failure: previously running jobs have been reenqueued but change events between 19:50-20:54 UTC have been lost and will need to be rechecked or their approvals reapplied to trigger testing.21:04
-openstackstatus- NOTICE: Correction: change events between 20:50-20:54 UTC (during the restart only) have been lost and will need to be rechecked or their approvals reapplied to trigger testing.21:09
*** julim has quit IRC21:10
*** exploreshaifali has quit IRC21:15
*** rbak has joined #openstack-ceilometer21:18
*** exploreshaifali has joined #openstack-ceilometer21:20
*** rbak has quit IRC21:20
*** rbak has joined #openstack-ceilometer21:21
*** rbak has quit IRC21:23
*** nadya has quit IRC21:25
*** jwcroppe has quit IRC21:25
*** jwcroppe has joined #openstack-ceilometer21:26
*** rbak has joined #openstack-ceilometer21:30
*** jwcroppe has quit IRC21:32
*** exploreshaifali has quit IRC21:36
*** rbak has quit IRC21:36
*** pauldix_ has joined #openstack-ceilometer21:38
*** pauldix has quit IRC21:39
*** prad has quit IRC21:48
*** edmondsw has quit IRC22:00
openstackgerritMerged openstack/ceilometer: Stop using openstack.common from keystoneclient  https://review.openstack.org/20940222:06
*** rbak has joined #openstack-ceilometer22:18
*** tongli has quit IRC22:28
*** thorst has quit IRC22:32
*** prad has joined #openstack-ceilometer22:38
*** pauldix_ has quit IRC22:56
*** pauldix has joined #openstack-ceilometer22:59
*** pauldix has quit IRC22:59
*** rbak has quit IRC23:01
*** julim has joined #openstack-ceilometer23:50

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