Thursday, 2016-05-19

*** r-mibu has quit IRC00:05
*** harlowja_ has joined #openstack-telemetry00:11
*** harlowja has quit IRC00:15
*** r-mibu has joined #openstack-telemetry00:20
*** sheeprine has quit IRC00:22
*** nadya has joined #openstack-telemetry00:22
*** diogogmt has quit IRC00:23
*** sheeprine has joined #openstack-telemetry00:26
*** nadya has quit IRC00:27
*** diogogmt has joined #openstack-telemetry00:27
*** thorst_ has joined #openstack-telemetry00:27
*** donghao has quit IRC00:29
*** julim has joined #openstack-telemetry00:35
*** diogogmt has quit IRC00:36
*** julim has quit IRC00:49
openstackgerritliusheng proposed openstack/aodh: Clean unrelated error of two tests  https://review.openstack.org/31539600:58
*** cheneydc has joined #openstack-telemetry00:59
*** Kevin_Zheng has joined #openstack-telemetry01:03
openstackgerritliusheng proposed openstack/aodh: Update the home-page with developer documentation  https://review.openstack.org/31839501:11
*** diogogmt has joined #openstack-telemetry01:14
*** thorst_ has quit IRC01:42
*** thorst_ has joined #openstack-telemetry01:42
*** thorst_ has quit IRC01:51
*** ljxiash has joined #openstack-telemetry01:54
*** pradk has joined #openstack-telemetry01:59
openstackgerritMerged openstack/python-ceilometerclient: Update the home-page with developer documentation  https://review.openstack.org/31723102:02
*** pradk_ has joined #openstack-telemetry02:06
*** liamji has joined #openstack-telemetry02:09
*** vishwanathj has quit IRC02:09
openstackgerritgordon chung proposed openstack/gnocchi: enable pagination when querying metrics  https://review.openstack.org/31840902:10
*** pradk has quit IRC02:10
*** pradk_ is now known as pradk02:10
*** vinaypotluri has quit IRC02:10
*** nadya has joined #openstack-telemetry02:23
*** llu has joined #openstack-telemetry02:25
*** nadya has quit IRC02:27
*** links has joined #openstack-telemetry02:35
*** thorst_ has joined #openstack-telemetry02:48
*** thorst_ has quit IRC02:57
*** vinaypotluri has joined #openstack-telemetry03:04
openstackgerritliyuanzhen proposed openstack/python-aodhclient: Add explanation for how to get meter name  https://review.openstack.org/31792803:05
*** ljxiash has quit IRC03:41
*** thorst_ has joined #openstack-telemetry03:54
*** ljxiash has joined #openstack-telemetry03:56
*** ljxiash has quit IRC04:00
*** links has quit IRC04:00
*** thorst_ has quit IRC04:01
*** chlong has joined #openstack-telemetry04:04
*** flwang has quit IRC04:04
*** flwang has joined #openstack-telemetry04:11
*** links has joined #openstack-telemetry04:16
*** nadya has joined #openstack-telemetry04:23
*** nadya has quit IRC04:28
*** ljxiash has joined #openstack-telemetry04:53
*** thorst_ has joined #openstack-telemetry04:59
*** flwang1 has quit IRC05:00
*** thorst_ has quit IRC05:06
*** cheneydc has quit IRC05:07
openstackgerritMerged openstack/python-aodhclient: Update the home-page with developer documentation  https://review.openstack.org/31722505:07
*** cheneydc has joined #openstack-telemetry05:10
*** chlong has quit IRC05:17
*** nadya has joined #openstack-telemetry05:20
*** yprokule has joined #openstack-telemetry05:23
*** chlong has joined #openstack-telemetry05:30
*** apoorv has joined #openstack-telemetry05:57
*** thorst_ has joined #openstack-telemetry06:04
*** chlong has quit IRC06:05
*** nadya has quit IRC06:10
*** thorst_ has quit IRC06:10
*** nadya has joined #openstack-telemetry06:10
*** rcernin has joined #openstack-telemetry06:13
*** nadya has quit IRC06:15
*** chlong has joined #openstack-telemetry06:22
*** flwang1 has joined #openstack-telemetry06:25
*** tomoiaga has joined #openstack-telemetry06:39
*** nadya has joined #openstack-telemetry06:39
*** belmoreira has joined #openstack-telemetry06:45
*** jmccarthy has left #openstack-telemetry06:50
*** LanceHaig has joined #openstack-telemetry06:51
*** chlong has quit IRC06:54
*** nadya has quit IRC07:01
*** nadya has joined #openstack-telemetry07:01
*** nadya has quit IRC07:06
*** jmccarthy has joined #openstack-telemetry07:06
*** jmccarthy has left #openstack-telemetry07:07
*** thorst_ has joined #openstack-telemetry07:08
*** thorst_ has quit IRC07:15
*** flwang1 has quit IRC07:20
*** donghao has joined #openstack-telemetry07:30
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Add grenade plugin  https://review.openstack.org/30632907:37
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: devstack: remove support for old devstack ceph plugin  https://review.openstack.org/31599407:37
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: gate: remove old job conf  https://review.openstack.org/31590907:37
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: Make tempest tests compatible with keystone v3  https://review.openstack.org/31599107:37
*** flwang1 has joined #openstack-telemetry07:39
*** fwdit has joined #openstack-telemetry07:40
*** vinaypotluri has quit IRC07:40
*** shardy has joined #openstack-telemetry08:05
jd__I have an UUID collision in the test08:13
jd__how unlikely08:14
*** thorst_ has joined #openstack-telemetry08:14
silehtjd__, you should play loto  today08:15
jd__I'm suspicious…08:16
jd__is it like really possible?08:16
jd__http://logs.openstack.org/07/305307/25/check/gate-gnocchi-tox-db-py34-postgresql/6dd2710/console.html#_2016-05-18_16_36_18_21708:17
jd__i'll recheck, we'll see08:19
silehtjd__, 1/10^36 possibilities ?08:19
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on PostgreSQL catalog errors too  https://review.openstack.org/31690908:19
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: avoid deadlock on list_metrics()  https://review.openstack.org/31789308:19
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlocks in get_resource()  https://review.openstack.org/31804408:19
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlock for create_metric()  https://review.openstack.org/31754608:19
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: create common resources at class init time  https://review.openstack.org/31596008:19
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: remove database synchronization code on upgrade  https://review.openstack.org/31596108:19
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: move custom agg setup code in the tests using it  https://review.openstack.org/31595808:19
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlock for create_resource_type()  https://review.openstack.org/31805108:19
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: remove skip_archive_policies_creation  https://review.openstack.org/31595908:19
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: add retry on deadlock for delete_resource()  https://review.openstack.org/31595708:19
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: set max_retries & all when retrying  https://review.openstack.org/31594008:19
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: do not create legacy resources  https://review.openstack.org/30530708:19
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlock for create_resource()  https://review.openstack.org/31636508:19
*** thorst_ has quit IRC08:21
*** nadya has joined #openstack-telemetry08:29
*** nadya has quit IRC08:34
*** liusheng has quit IRC08:34
*** liusheng has joined #openstack-telemetry08:35
*** nadya has joined #openstack-telemetry08:39
*** yassine has joined #openstack-telemetry08:40
*** yassine is now known as Guest8606108:40
*** ljxiash has quit IRC08:42
*** ljxiash has joined #openstack-telemetry08:42
EmilienMjd__, sileht: hi guys, could you please review this backport? https://review.openstack.org/#/c/318503/08:45
jd__EmilienM: sure08:45
jd__EmilienM: so that solved your problem in the end? cool08:46
jd__approved08:46
EmilienMjd__: yeah !08:46
EmilienMawesome !08:46
EmilienMjd__: http://logs.openstack.org/20/316520/5/check/gate-puppet-openstack-integration-3-scenario001-tempest-centos-7/4359dc4/console.html#_2016-05-19_08_05_21_85508:46
EmilienMwe have tempest tests working again for Ceilo08:46
jd__great08:47
*** ljxiash has quit IRC08:47
*** cdent has joined #openstack-telemetry08:48
openstackgerritHe Xin proposed openstack/python-ceilometerclient: Correct the usage of the method assertEqual()  https://review.openstack.org/31793008:54
EmilienMjd__: ubuntu guys are asking when you plan to release a new ceilometer/mitaka08:56
jd__I think there's a review for that EmilienM and that it does not depend on us but on the release team08:57
jd__ah no that's for liberty08:58
jd__then, I don't know, we could do anytime now08:58
jd__EmilienM: I can do it after your fix is landed08:58
EmilienMok08:58
EmilienMjd__: another thing08:58
EmilienMjd__: https://github.com/openstack/tempest/commit/e4796f8de446aaaafa83902d1fb2d613331436cf08:58
EmilienMthis famous patch08:58
EmilienMI think it broke our gate on Liberty because there is no longer tests in Tempest for ceilometer08:58
EmilienMand the in-tree plugin was introduced after Liberty IIRC08:59
openstackgerritMerged openstack/aodh: Update the home-page with developer documentation  https://review.openstack.org/31839508:59
jd__likely indeed EmilienM08:59
EmilienMI'm not sure about that08:59
EmilienMyeah I'm sure now, I haven't found any tempest in ceilo/liberty08:59
jd__that's a problem due to the old tempest design indeed08:59
jd__I'm not sure what the solution is08:59
jd__revert this patch until liberty is EOL?08:59
EmilienMI'm going to propose it09:00
EmilienMwe can also disable testing for ceilomter in our liberty gate09:01
EmilienMbut well...09:01
EmilienMdisabling testing is not really what we want...09:01
jd__agreed09:01
EmilienMjd__: https://review.openstack.org/#/c/318519/09:04
*** LanceHaig has quit IRC09:13
*** LanceHaig has joined #openstack-telemetry09:13
openstackgerritHe Xin proposed openstack/python-ceilometerclient: Correct the usage of the method assertEqual()  https://review.openstack.org/31793009:16
*** thorst_ has joined #openstack-telemetry09:19
*** thorst_ has quit IRC09:26
openstackgerritMerged openstack/gnocchi: devstack: remove support for old devstack ceph plugin  https://review.openstack.org/31599409:26
*** zqfan has joined #openstack-telemetry09:30
openstackgerritMerged openstack/gnocchi: doc: add a glossary  https://review.openstack.org/31511309:46
openstackgerritliusheng proposed openstack/aodh: Add a tool for migrating alarms data from NoSQL to SQL  https://review.openstack.org/30991509:47
*** donghao has quit IRC09:48
*** cheneydc has quit IRC10:00
*** Novegin has joined #openstack-telemetry10:15
NoveginHi10:15
NoveginAny one knows how to delay the instances creation10:16
*** cdent has quit IRC10:21
openstackgerritliyuanzhen proposed openstack/python-aodhclient: Add unit test to validate composite alarm args  https://review.openstack.org/31855810:37
*** apoorv has quit IRC10:47
*** apoorv has joined #openstack-telemetry10:53
*** cdent has joined #openstack-telemetry10:55
*** thorst_ has joined #openstack-telemetry11:27
*** cdent has quit IRC11:38
*** gordc has joined #openstack-telemetry11:41
*** fwdit has quit IRC11:45
*** fwdit has joined #openstack-telemetry11:46
*** Novegin has quit IRC11:47
*** liamji has quit IRC12:00
*** cdent has joined #openstack-telemetry12:05
*** ljxiash has joined #openstack-telemetry12:15
jd__sileht: looks like ceph is broken on gnocchi stable/2.1, but it looks like a devstack issue (lol), you know something about that?12:17
*** ljxiash has quit IRC12:19
*** apoorv has quit IRC12:25
silehtjd__, do you have a link ?12:30
jd__sure12:30
jd__sileht: http://logs.openstack.org/81/317081/1/check/gate-gnocchi-dsvm-functional-ceph-mysql/fa7e6fb/12:30
jd__from https://review.openstack.org/#/c/317081/12:30
silehtjd__, I have missed to backport some change to stable branches before jobs switch12:31
*** julim has joined #openstack-telemetry12:34
openstackgerritMerged openstack/aodh: Clean unrelated error of two tests  https://review.openstack.org/31539612:34
silehtjd__, https://review.openstack.org/#/c/318616/12:34
*** links has quit IRC12:36
jd__sileht: ok, we miss the cherry-pick tag though :]12:37
jd__sileht: i'll edit12:38
*** _prad_ has joined #openstack-telemetry12:40
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on PostgreSQL catalog errors too  https://review.openstack.org/31690912:44
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: avoid deadlock on list_metrics()  https://review.openstack.org/31789312:44
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlocks in get_resource()  https://review.openstack.org/31804412:44
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlock for create_metric()  https://review.openstack.org/31754612:44
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: create common resources at class init time  https://review.openstack.org/31596012:44
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: remove database synchronization code on upgrade  https://review.openstack.org/31596112:44
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlock for create_resource_type()  https://review.openstack.org/31805112:44
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: move custom agg setup code in the tests using it  https://review.openstack.org/31595812:44
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: remove skip_archive_policies_creation  https://review.openstack.org/31595912:44
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: add retry on deadlock for delete_resource()  https://review.openstack.org/31595712:44
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: set max_retries & all when retrying  https://review.openstack.org/31594012:44
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: do not create legacy resources  https://review.openstack.org/30530712:44
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlock for create_resource()  https://review.openstack.org/31636512:44
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: no fail if resources and type are deleted under our feet  https://review.openstack.org/31863712:44
jd__sileht: you'll like https://review.openstack.org/31863712:44
jd__I'm not sure, but it seems to be MySQL specific, probably a transaction thing that differs with PostgreSQL12:45
openstackgerritliusheng proposed openstack/aodh: Add a tool for migrating alarms data from NoSQL to SQL  https://review.openstack.org/30991512:45
gordcjd__: is there a reason why metric name isn't mandatory in gnocchi?12:46
jd__gordc: because there's no reason to make it mandatory12:47
jd__not sure it's a reason :p12:47
silehtjd__, yeah deleting a table are not done in an transaction with mysl12:47
* jd__ throws table12:47
gordcjd__: :) but we have a unique constraint on name+resource_id12:47
jd__gordc: and?12:49
jd__you either attach it to a resource or you don't, that's what it means12:50
gordcjd__: i believe oslo.db pagination will fail if you try to sort against a column with NULL in it.12:52
gordclet me find the error12:52
jd__gordc: fix oslo.db?12:52
jd__:P12:52
gordcnah. that's too much work.12:53
gordcactually it might be sqlalchemy.12:55
gordcit will fail here https://github.com/openstack/oslo.db/blob/master/oslo_db/sqlalchemy/utils.py#L168-L17012:55
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: create common resources at class init time  https://review.openstack.org/31596012:57
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: remove database synchronization code on upgrade  https://review.openstack.org/31596112:57
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: remove skip_archive_policies_creation  https://review.openstack.org/31595912:57
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: do not create legacy resources  https://review.openstack.org/30530712:57
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: add missing constraint delete_resource_type()  https://review.openstack.org/31864312:57
*** ljxiash has joined #openstack-telemetry13:06
jd__sileht: I finally understand what INFO alembic.runtime.migration [-] Will assume non-transactional DDL. means13:09
jd__:)13:09
jd__gordc: yeah so let's fix it13:09
jd__gordc: wanna help seriously?13:09
silehtjd__, do you plan the replace the message to something clearer ? poor database detected13:09
jd__sileht: "crazy bastard"13:09
jd__YOLO database detected13:10
openstackgerritJulien Danjou proposed openstack/aodh: api: deprecate and disable combination alarms  https://review.openstack.org/31805213:11
gordcjd__: i can fix it. but the question is "is None greater than or less than a non-None value"13:12
*** dave-mccowan has joined #openstack-telemetry13:12
gordci think that's why sqlalchemy just throws an error when you try x > None13:12
*** peristeri has joined #openstack-telemetry13:15
*** nadya has quit IRC13:16
jd__gordc: sounds like a philosophical issue13:17
jd__is the absence of something bigger than anything?13:17
*** diogogmt has quit IRC13:17
silehtgordc, that was working before13:17
openstackgerritMerged openstack/gnocchi: Backlog status not accurate when batching  https://review.openstack.org/31830513:18
gordc*shrugs* i think sql returns null as smaller than non-null13:18
silehtgordc, you can choice the behavior with "nullsfirst" and "nullslast"13:18
*** nadya has joined #openstack-telemetry13:20
gordcsileht: if you use pagination code in oslo.db, sqlalchemy will throw https://github.com/zzzeek/sqlalchemy/blob/732c613eeb890e7b7cbd04750468dac584151a31/lib/sqlalchemy/sql/default_comparator.py#L53-L5513:20
silehtI have written the fixes13:20
gordcif it compares something >|< None13:20
gordcdon't have the exact error since it's on my machine at home...13:21
*** rbak has quit IRC13:22
silehtgordc, looks like I have written broken code one more times x)13:22
gordc:) i think it might just avoid your code.13:23
gordci can see the nullslast stuff.13:23
silehtgordc, the fact is that marker have to be a non-null column13:23
silehtgordc, otherwise the whole sort code will not work as expected13:23
silehtgordc, and a uniq column too obviously13:24
gordcsileht: ack. i think the only marker in metric model is id13:24
gordcand i can't write a gabbi test for it. (unless there's a way to save multiple responses in variables?)13:25
gordccdent: ^13:25
cdentgordc: que?13:25
gordccan i save multiple responses in gabbi? not just the previous13:26
cdentnot really (and on purpose), but there are often ways to accomplish what you want to do. what data are you trying to access?13:27
cdent(if what you're trying to do is get the next page of a set paginated results, then the current page should have a 'next' link, but it sounds like you're trying to do something more complex?)13:28
gordccdent: i want to create 5 different metrics (5 separate posts) and on the 6th request, i want ot compare response to the ids in previous 5 responses13:28
gordcwe didnt' need to do this for resources because we could actually set the id in resources (not so in metrics)13:29
cdentthis might not work as you want, but i'd post and get 5 times to confirm each one, and then on the 6th request check the `len` of results13:30
cdentso in the sixth check you are checking that they are all there, but not what they are13:30
gordccdent: oh. yeah, i want to check the order on 6th req13:30
gordcforgot to mention that. :)13:31
cdentcheck length and the value of the last one in the list?13:31
cdent(which you presumably know from the previous request?)13:31
cdentif you've got code in progress, show me, maybe I can think of something?13:31
openstackgerritJulien Danjou proposed openstack/aodh: Replace overtest by pifpaf  https://review.openstack.org/31866413:32
gordc... i don't want to show you because then it's obvious my code is (arguably) broken13:32
gordclet's say, hypothetically, it's this: https://review.openstack.org/#/c/318409/1/gnocchi/tests/gabbi/gabbits/pagination.yaml13:33
openstackgerritgordon chung proposed openstack/python-gnocchiclient: add support for update archive policy  https://review.openstack.org/30736613:34
*** BigWillie has joined #openstack-telemetry13:37
*** rbak has joined #openstack-telemetry13:38
*** vint_bra has joined #openstack-telemetry13:40
*** ametts has joined #openstack-telemetry13:52
cdentgordc: sorry, I went away for a minute13:55
*** belmoreira has quit IRC13:55
cdentfirst off you could move the repeated request_headers into a defaults: , if you wanted13:55
*** belmoreira has joined #openstack-telemetry13:56
cdentand there's some new fancy that you might like13:56
cdentinstead of method: post\nurl: /foo/bar you can do POST: /foo/bar13:57
cdentgordc: what's missing from what you've got there?13:57
jd__sileht: I really hit a mystery with PG14:02
jd__sileht: I get http://paste.openstack.org/show/497718/ which says that "test_indexer" resource type is already there… except that there is only one test using that as a name for a resource type14:04
jd__so how that can happen, I'm circumspect14:04
*** KrishR has joined #openstack-telemetry14:05
*** vint_bra1 has joined #openstack-telemetry14:08
*** liamji has joined #openstack-telemetry14:10
silehtjd__, do you known how I can checkout the whole topic from gerrit  ?14:10
jd__sileht: git review -d <id of review> ?14:11
silehtjd__, or what is the top patch of your big branch ?14:11
jd__sileht: git review -d 31596014:11
silehtjd__, this one is the HEAD ? https://review.openstack.org/#/c/315958/14:11
silehtjd__, thx14:11
*** vint_bra has quit IRC14:12
jd__sileht: while tox -e py27-postgresql-file; do true; done14:12
jd__:-)14:12
jd__it'll crash at some point14:12
silehtjd__, I catch it14:18
jd__cool14:20
silehtjd__, take a looks to https://review.openstack.org/#/c/318051/414:20
jd__sileht: oh fuck yeah14:21
jd__you're good at that!14:21
jd__sileht: which is directly in line with https://twitter.com/juldanjou/status/73329868405880012814:21
jd__sileht: I guess you wondered the same14:22
*** fwdit has quit IRC14:23
silehtjd__, thx14:24
*** belmoreira has quit IRC14:27
gordccdent: nothing's technically missing. it's just that i'm currently sorting on metric.name and in theory that isn't something that you can sort on. (since it's nullable)14:28
cdentgordc: are you trying to test the api with these tests, or are you trying to test something elsewhere in the stack?14:29
gordcboth? testing pagination works and you can configure it via api14:30
*** diogogmt has joined #openstack-telemetry14:33
*** belmoreira has joined #openstack-telemetry14:38
silehtjd__, I was looking at what alexis was looking about ceilometer maturity indicator: https://www.openstack.org/software/releases/mitaka/components/ceilometer14:38
jd__this is lolilol14:38
silehtjd__, some line are set to No, but when you click on details, ceilometer have the tag ...14:38
gordcsileht: yeah, i saw that. it's broken on a lot of projects...14:39
silehtawesome...14:40
gordci think we should be 7 of 814:40
jd__how is that maintained?14:41
gordcit's suppose to be 'tags'... 'tags' are amazing things...14:43
silehtgordc, you can make 'cloud tags' with them14:43
silehtcloud is so amazing14:45
gordcsileht: it fixes everything. no more war after cloud is ready14:46
*** EZPZ has joined #openstack-telemetry14:47
jd__sileht: turns out map_and_create…() fails a lot even with retry=1014:53
jd__I'm worried14:53
silehtjd__, with PG, delete/create tables lock the whole table resource14:54
silehtjd__, while all other operation lock only a row14:54
openstackgerritJulien Danjou proposed openstack/aodh: Replace overtest by pifpaf  https://review.openstack.org/31866414:55
*** cdent has quit IRC14:55
jd__Gonna go to 20 retry with less time14:55
*** julim has quit IRC14:56
silehtjd__, in real life this  API should not be public I think due to the huge impact on the BD14:56
jd__true14:56
*** julim has joined #openstack-telemetry14:56
jd__it's admin by default anyway, and the uniq name of resource types implies it's not by-user14:56
silehtjd__, if we want something that can be public, we should rewrite the model to not have one table per resource_type that will be less performant14:57
jd__yeah I don't think it's a good idea14:57
silehtjd__, and will looks like ceilometer metadata model...14:57
jd__i like what we have :) people can run their own Gnocchi then…14:58
*** tomoiaga has quit IRC15:02
*** shardy has quit IRC15:07
*** vinaypotluri has joined #openstack-telemetry15:08
silehtjd__, I got an idea to workaround the fact that we don't have transaction for DDL15:10
jd__sileht: 20 retries over 17s and I still got a failure with that transaction -_-15:11
jd__I am going to start preferring MySQL lol15:11
*** links has joined #openstack-telemetry15:11
silehtjd__, I would add a state for resource_type15:11
silehtjd__, with two values CREATING, CREATED15:12
jd__are you suggesting we implement a transactional DDL for MySQL?15:12
jd__SURE WHY NOT15:12
silehtjd__, that will ensure we will not have race between map_and_creates/get_classes15:14
*** cdent has joined #openstack-telemetry15:15
silehtjd__, because list_resource_types should not return resource_type in creation15:15
silehtjd__, currently it does, because the resource_type creation cannot be atomic, sqlalchemy doesn't allow that15:16
silehtjd__, if we do this we can release the process lock that sqlalchemy mappers during resource_type creation/deletion15:18
silehtthat/that protect15:18
jd__sileht: sounds like a good idea I guess15:21
silehtjd__, code is always more readable15:22
*** links has quit IRC15:26
*** belmoreira has quit IRC15:28
*** ljxiash has quit IRC15:35
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on PostgreSQL catalog errors too  https://review.openstack.org/31690915:43
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: create common resources at class init time  https://review.openstack.org/31596015:43
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: no fail if resources and type are deleted under our feet  https://review.openstack.org/31863715:43
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: add missing constraint delete_resource_type()  https://review.openstack.org/31864315:43
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on deadlock for create_resource_type()  https://review.openstack.org/31805115:43
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: remove skip_archive_policies_creation  https://review.openstack.org/31595915:43
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: do not create legacy resources  https://review.openstack.org/30530715:43
*** stupidni` is now known as stupidnic15:46
jd__sileht: finally won over PG :) you need to reset the connection so I picked a new one and now it's solid15:47
silehtjd__, ...15:48
jd__would be cool to have session support for create_all() then15:48
jd__not sure if it's somewhere15:48
silehtjd__, session support will never work for mysql, DDL are non transactionnal15:53
silehtnon/not15:53
jd__yeah but with PG it would15:53
silehtjd__, yeah15:53
silehtjd__, my idea will workaround the issue and perhaps will remove the lock that protect sqlalchemt mapper15:54
silehtjd__, less lock contention should reduce the deadlock occurence15:54
jd__cool15:57
*** nadya has quit IRC16:00
*** julim has quit IRC16:02
*** nadya has joined #openstack-telemetry16:03
*** rcernin has quit IRC16:04
*** nadya has quit IRC16:13
*** vishwanathj has joined #openstack-telemetry16:20
*** lsmola has quit IRC16:24
*** peristeri has quit IRC16:26
openstackgerritMehdi Abaakouk (sileht) proposed openstack/gnocchi: WIP: track resource_type creation/deletion state  https://review.openstack.org/31876816:28
silehtjd__, I haven't tested but that the idea: https://review.openstack.org/31876816:29
*** adrian_otto has joined #openstack-telemetry16:37
*** vint_bra has joined #openstack-telemetry16:42
*** vint_bra1 has quit IRC16:43
*** vint_bra1 has joined #openstack-telemetry16:43
*** vint_bra has quit IRC16:47
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: retry on PostgreSQL catalog errors too  https://review.openstack.org/31690916:47
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: create common resources at class init time  https://review.openstack.org/31596016:47
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: no fail if resources and type are deleted under our feet  https://review.openstack.org/31863716:47
openstackgerritJulien Danjou proposed openstack/gnocchi: sqlalchemy: add missing constraint delete_resource_type()  https://review.openstack.org/31864316:47
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: remove skip_archive_policies_creation  https://review.openstack.org/31595916:47
openstackgerritJulien Danjou proposed openstack/gnocchi: tests: do not create legacy resources  https://review.openstack.org/30530716:47
*** vint_bra1 has quit IRC16:50
*** yprokule has quit IRC16:56
*** r-daneel has joined #openstack-telemetry16:58
*** julim has joined #openstack-telemetry17:10
*** nadya has joined #openstack-telemetry17:23
*** liamji has quit IRC17:30
*** jwcroppe_ has quit IRC17:33
*** r-daneel has quit IRC17:44
*** Guest86061 has quit IRC17:47
*** jwcroppe has joined #openstack-telemetry17:51
*** nadya has quit IRC18:10
*** nadya has joined #openstack-telemetry18:18
*** j_king has quit IRC18:26
*** kfox1111 has quit IRC18:26
*** ityaptin has quit IRC18:26
*** j_king has joined #openstack-telemetry18:26
*** kfox1111 has joined #openstack-telemetry18:26
*** ityaptin has joined #openstack-telemetry18:26
*** llu has quit IRC18:31
*** llu has joined #openstack-telemetry18:34
*** efoley has joined #openstack-telemetry18:38
*** rcernin has joined #openstack-telemetry18:47
*** renatoarmani has joined #openstack-telemetry18:53
*** renatoarmani has quit IRC18:54
*** diogogmt has quit IRC18:55
*** nadya has quit IRC18:57
*** diogogmt has joined #openstack-telemetry19:12
*** diogogmt has quit IRC19:15
*** adrian_otto has quit IRC19:26
*** jwcroppe has quit IRC19:28
*** cdent has quit IRC19:28
*** jwcroppe has joined #openstack-telemetry19:30
*** nadya has joined #openstack-telemetry19:33
*** diogogmt has joined #openstack-telemetry19:37
*** rbak has quit IRC19:38
openstackgerritMerged openstack/gnocchi: gate: remove old job conf  https://review.openstack.org/31590919:51
*** rbak has joined #openstack-telemetry19:51
*** efoley has quit IRC19:53
*** diogogmt has quit IRC19:55
*** diogogmt has joined #openstack-telemetry20:04
*** diogogmt has quit IRC20:08
*** diogogmt has joined #openstack-telemetry20:09
*** diogogmt has quit IRC20:25
*** flwang1 has quit IRC20:26
*** diogogmt has joined #openstack-telemetry20:29
*** julim has quit IRC20:42
*** julim has joined #openstack-telemetry20:42
*** adrian_otto has joined #openstack-telemetry20:52
*** zqfan has quit IRC20:53
*** BigWillie has quit IRC20:58
*** julim has quit IRC21:20
*** thorst_ has quit IRC21:23
*** flwang1 has joined #openstack-telemetry21:24
*** thorst_ has joined #openstack-telemetry21:25
*** thorst_ has quit IRC21:29
*** imcsk8 has quit IRC21:34
*** imcsk8 has joined #openstack-telemetry21:37
*** EZPZ has quit IRC21:44
*** thorst_ has joined #openstack-telemetry21:45
*** thorst_ has quit IRC21:49
*** diogogmt has quit IRC21:50
*** adrian_otto has quit IRC22:04
flwanggordc: ping22:06
flwangjd__: ping any luck you guys around?22:06
*** nadya has quit IRC22:07
gordcflwang: whatsup?22:07
flwangi'm trying to figure out how to maintain customized pollsters22:07
gordcopen source them ;)22:07
gordcflwang: did something break?22:07
flwanggordc: nope, you know, the operations guys always don't want to keep a private pkg22:08
flwangmeans we don't want to maintain a private ceilometer repo/pkg just for some customized pollsters22:09
flwangthen we would like to keep it in a central repo and install the repo separately22:09
flwangwith that way, can the customzied pollsters work well ?22:09
gordci'm not entirely sure what you're asking.22:10
gordcyou're asking how make sure your custom pollsters aren't broken?22:10
gordcflwang: have you seen what powervm folks did with their pollsters?https://review.openstack.org/#/q/project:openstack/ceilometer-powervm22:15
flwanggordc: yep, that's what i'm looking for, thanks, looking now..22:16
flwanggordc: so it's a powervm pollster for ceilometer?22:17
gordcyeah, they just wrote their own compute pollsters for powervm22:18
*** diogogmt has joined #openstack-telemetry22:19
flwanggordc: cool, thanks22:21
gordcflwang: np. thorst is the person who manages it i think so you can ask him how easy/hard it is.22:22
gordcwe can streamline it if needed22:22
*** rcernin has quit IRC22:23
flwanggordc: i'm looking for some support like nova scheduler filter22:24
gordcflwang: hmm.. it should work. in theory you just need to add entry_point22:32
flwanggordc: yep,i guess so22:32
flwanggordc: just like this, right?22:33
*** diogogmt has quit IRC22:56
*** ametts has quit IRC23:04
*** adrian_otto has joined #openstack-telemetry23:19
*** gordc has quit IRC23:26
*** imcsk8 has quit IRC23:27
*** imcsk8 has joined #openstack-telemetry23:27
openstackgerritgordon chung proposed openstack/gnocchi: fix details filter for measures report  https://review.openstack.org/31897623:32
*** zqfan has joined #openstack-telemetry23:41
*** adrian_otto has quit IRC23:56

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