Monday, 2015-03-16

*** achanda has joined #openstack-oslo00:07
*** achanda has quit IRC00:12
*** subscope has quit IRC00:18
openstackgerritMerged openstack/oslo-incubator: Add tox env for listing unreleased changes  https://review.openstack.org/16263400:57
*** kiseok7_ has joined #openstack-oslo01:11
*** liusheng has quit IRC01:13
*** alexpilotti has quit IRC01:19
*** harlowja_at_home has joined #openstack-oslo01:21
*** salv-orlando has quit IRC01:22
*** YorikSar has quit IRC01:23
*** mtanino has joined #openstack-oslo01:25
*** amotoki has joined #openstack-oslo01:38
openstackgerritJoshua Harlow proposed openstack/taskflow: Just use the class name instead of TYPE constant  https://review.openstack.org/16455401:41
openstackgerritMerged openstack/oslo.messaging: Fix coverage report generation  https://review.openstack.org/16396701:46
openstackgerritMerged openstack/oslo.messaging: Fix the bug redis do not delete the expired keys  https://review.openstack.org/15247101:48
*** harlowja_at_home has quit IRC01:50
*** bknudson has quit IRC01:53
*** dims_ has quit IRC02:13
*** salv-orlando has joined #openstack-oslo02:22
*** salv-orlando has quit IRC02:25
*** salv-orlando has joined #openstack-oslo02:29
*** salv-orlando has quit IRC02:38
*** hogepodge has joined #openstack-oslo02:43
*** takedakn has joined #openstack-oslo02:49
*** jungleboyj_ has joined #openstack-oslo02:53
*** takedakn has quit IRC02:57
openstackgerritMerged openstack/taskflow: Attempt to extract traceback from exception  https://review.openstack.org/16451903:00
*** sputnik13 has joined #openstack-oslo03:04
*** kiseok7_ has quit IRC03:05
*** kiseok7_ has joined #openstack-oslo03:06
*** salv-orlando has joined #openstack-oslo03:12
*** dimsum__ has joined #openstack-oslo03:14
*** salv-orlando has quit IRC03:16
*** stevemar has joined #openstack-oslo03:19
*** dimsum__ has quit IRC03:19
*** salv-orlando has joined #openstack-oslo03:26
*** amotoki has quit IRC03:28
*** ChuckC has joined #openstack-oslo03:28
*** salv-orlando has quit IRC03:29
*** salv-orlando has joined #openstack-oslo03:32
*** salv-orlando has quit IRC03:32
*** takedakn has joined #openstack-oslo03:35
*** salv-orlando has joined #openstack-oslo03:36
*** isviridov has quit IRC03:38
*** salv-orlando has quit IRC03:38
*** salv-orlando has joined #openstack-oslo03:41
*** salv-orlando has quit IRC03:45
*** takedakn has quit IRC03:48
*** salv-orlando has joined #openstack-oslo03:50
*** salv-orlando has quit IRC03:57
*** achanda has joined #openstack-oslo04:10
*** salv-orlando has joined #openstack-oslo04:19
*** salv-orlando has quit IRC04:24
*** salv-orlando has joined #openstack-oslo04:27
*** salv-orlando has quit IRC04:28
*** mtanino is now known as mtanino_away04:40
lanAnyone help review this patch: https://review.openstack.org/#/c/163316/   , this patch fix the problem of "the [DEFAULT]amqp_durable_queues  option can't work in config file", thanks!05:33
*** stevemar has quit IRC05:55
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.db: Imported Translations from Transifex  https://review.openstack.org/16457906:01
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.utils: Imported Translations from Transifex  https://review.openstack.org/16064906:11
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.messaging: Imported Translations from Transifex  https://review.openstack.org/16440406:11
*** achanda has quit IRC06:15
*** salv-orlando has joined #openstack-oslo06:17
*** amotoki has joined #openstack-oslo06:21
*** salv-orlando has quit IRC06:23
*** salv-orlando has joined #openstack-oslo06:34
*** achanda has joined #openstack-oslo06:42
*** amotoki has quit IRC06:43
*** amotoki has joined #openstack-oslo06:44
*** sreshetn1 has joined #openstack-oslo06:46
*** amotoki has quit IRC06:48
*** salv-orlando has quit IRC06:50
*** salv-orlando has joined #openstack-oslo06:57
*** achanda has quit IRC07:12
*** inc0 has joined #openstack-oslo07:13
*** pcaruana has quit IRC07:14
*** mtanino_away has quit IRC07:28
*** e0ne has joined #openstack-oslo07:34
*** andreykurilin_ has joined #openstack-oslo07:37
*** salv-orlando has quit IRC07:37
*** e0ne has quit IRC07:39
*** sreshetn1 has quit IRC07:40
*** amotoki has joined #openstack-oslo07:44
*** liusheng has joined #openstack-oslo07:44
*** andreykurilin_ has quit IRC07:56
*** ihrachyshka has joined #openstack-oslo07:58
*** ihrachyshka has quit IRC08:14
*** dulek has joined #openstack-oslo08:16
*** pblaho has joined #openstack-oslo08:19
*** shardy has joined #openstack-oslo08:31
*** ndipanov has joined #openstack-oslo08:33
*** ihrachyshka has joined #openstack-oslo08:35
*** ajo has joined #openstack-oslo08:36
*** salv-orlando has joined #openstack-oslo08:38
*** dtantsur has joined #openstack-oslo08:40
openstackgerritMehdi Abaakouk proposed openstack/oslo.messaging: rabbit: heartbeat implementation  https://review.openstack.org/14604708:41
*** salv-orl_ has joined #openstack-oslo08:50
*** jd__ has quit IRC08:50
*** jd__` has joined #openstack-oslo08:50
*** jd__` is now known as jd__08:51
*** salv-orlando has quit IRC08:51
*** salv-orl_ has quit IRC08:57
*** ihrachyshka has quit IRC08:59
*** salv-orlando has joined #openstack-oslo09:02
*** YorikSar has joined #openstack-oslo09:03
*** salv-orlando has quit IRC09:05
*** sreshetn1 has joined #openstack-oslo09:15
*** salv-orlando has joined #openstack-oslo09:22
*** salv-orlando has quit IRC09:25
*** salv-orlando has joined #openstack-oslo09:34
*** salv-orlando has quit IRC09:37
*** salv-orlando has joined #openstack-oslo09:38
*** salv-orlando has quit IRC09:43
*** salv-orlando has joined #openstack-oslo09:44
*** dimsum__ has joined #openstack-oslo09:46
*** cdent has joined #openstack-oslo09:52
*** salv-orlando has quit IRC09:56
*** enykeev has joined #openstack-oslo09:56
*** salv-orl_ has joined #openstack-oslo09:58
*** sabari has quit IRC10:00
*** sabari has joined #openstack-oslo10:01
*** salv-orl_ has quit IRC10:08
*** salv-orlando has joined #openstack-oslo10:13
*** salv-orlando has quit IRC10:17
*** salv-orlando has joined #openstack-oslo10:22
*** salv-orlando has quit IRC10:29
*** salv-orlando has joined #openstack-oslo10:33
openstackgerritMehdi Abaakouk proposed openstack/tooz: fix concurrency issue with file lock  https://review.openstack.org/16464210:34
silehtjd__, I got a concurrency bug in tooz:  a10:34
silehthttps://review.openstack.org/#/c/164642/10:34
silehtjd__, the driver use a bool to tracking locking inside a process, do we consider GIL is sufficient in case of locking is done is multiple threads ?10:36
*** salv-orlando has quit IRC10:36
jd__sileht: I guess it's not enough10:36
jd__the GIL is an implementation detail, not a feature10:37
silehtjd__, I will fix that too, so10:37
*** SridharGaddam has joined #openstack-oslo10:37
hayposileht: most cpython bytecodes are atomic, but some simple python instructions are compiled to multiple bytecodes10:44
hayposileht: so it depends on your exact code10:44
hayposileht, jd__ : (hi)10:44
*** dtantsur is now known as dtantsur|bbl10:49
*** salv-orlando has joined #openstack-oslo10:51
*** exploreshaifali has joined #openstack-oslo10:51
*** salv-orlando has quit IRC10:56
*** dims_ has joined #openstack-oslo11:02
*** dimsum__ has quit IRC11:04
*** dims_ has quit IRC11:07
*** dimsum__ has joined #openstack-oslo11:13
*** takedakn has joined #openstack-oslo11:14
*** exploreshaifali has quit IRC11:14
openstackgerritAbhijeet Malawade proposed openstack/tooz: fix mysql driver url parsing  https://review.openstack.org/15983511:15
*** takedakn has quit IRC11:18
*** takedakn has joined #openstack-oslo11:18
*** rushiagr_away is now known as rushiagr11:39
*** tsufiev_ is now known as tsufiev11:42
*** jaypipes has joined #openstack-oslo11:51
*** _amrith_ is now known as amrith11:51
*** rushiagr is now known as rushiagr_away11:55
*** dtantsur|bbl is now known as dtantsur11:57
*** rushiagr_away is now known as rushiagr12:01
*** kgiusti has joined #openstack-oslo12:02
*** salv-orlando has joined #openstack-oslo12:07
*** sreshetn1 has quit IRC12:11
*** salv-orlando has quit IRC12:14
*** salv-orlando has joined #openstack-oslo12:21
*** salv-orlando has quit IRC12:22
*** salv-orlando has joined #openstack-oslo12:22
*** sreshetn1 has joined #openstack-oslo12:25
*** alexpilotti has joined #openstack-oslo12:27
*** dimsum__ has quit IRC12:32
*** dimsum__ has joined #openstack-oslo12:32
*** subscope has joined #openstack-oslo12:37
*** openstackgerrit has quit IRC12:50
*** openstackgerrit has joined #openstack-oslo12:50
openstackgerritAbhijeet Malawade proposed openstack/tooz: fix mysql driver url parsing  https://review.openstack.org/15983513:17
jd__now = timeutils.parse_isotime(timeutils.strtime())13:19
*** amrith is now known as _amrith_13:25
*** amotoki has quit IRC13:26
*** bknudson has joined #openstack-oslo13:30
*** ChuckC has quit IRC13:33
*** dimsum__ is now known as dims13:33
dimsbknudson: hi13:35
bknudsondims: what's up?13:35
dimsbknudson: is there some code that looks at the incoming http headers and builds up an oslo.context's RequestContext?13:35
dimsbknudson: we have this code in Nova, https://github.com/openstack/nova/blob/master/nova/api/auth.py#L11913:36
bknudsondims: I don't think I've ever looking into that...13:36
*** jungleboyj_ has quit IRC13:37
bknudsondims: so that's getting the fields from the auth_token middleware13:37
*** mriedem has joined #openstack-oslo13:37
bknudsonauth_token middleware sets a bunch of fields in the request (X_USER_ID, etc.)13:37
dimsy https://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/__init__.py13:37
bknudsonright, it's all these guys https://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/__init__.py#L8613:38
bknudsonif all that nova code is take the auth_token variables and make an oslo RequestContext then no reason that couldn't be shared everywhere13:39
bknudsonor, if you want auth_token to make a RequestContext we could do that too.13:39
dimsnova code does not pick up domain etc, so wanted to see what else i need to pick up from request headers13:39
dimsbknudson: latter would be great13:39
dims"auth_token to make a RequestContext"13:39
dimsnow that we have an oslo.context standardized13:40
*** exploreshaifali has joined #openstack-oslo13:41
dimsonce we have that, it will be easy for nova components to query/support domain concepts13:41
bknudsondims: is this something you've got time to work on?13:42
bknudsonI could get it done sometime.13:42
bknudson(or, ask jamielennox since he spends a lot of time in auth_token)13:43
*** jaosorior has joined #openstack-oslo13:43
dulekHi, wanted to ask about lockutils.remove_external_lock_file13:44
dulekThe docstring says "Remove an external lock file when it's not used anymore"13:44
dimsbknudson: will ping jamielennox later, i was chasing an old bug and realized we still have that hole to fill. thanks!13:44
dulekBut I'm able to use this method even if lock is acquired.13:45
dulekAm I missing something here?13:45
dimsdulek: you are only supposed to use it when you know the lock is not used. sorry the wording may not have been clear.13:46
*** stpierre has joined #openstack-oslo13:47
dulekdims: Ah, okay...13:47
dimsdulek: meant for cleaning up13:47
dulekdims: Any idea how I can delete the lock only if it isn't acquired?13:48
dimsdulek: i don't think that scenario has come up before...13:48
dulekdims: I'm trying to write clean up procedure for Cinder, but we have locks working between processes so I would need to be sure that lock isn't held by anyone.13:49
dimsdulek: bnemec and dhellmann should be around shortly13:50
dulekdims: Okay, I'll repeat the question then. Thanks!13:51
dimsthanks dulek13:51
*** _amrith_ is now known as amrith13:52
bnemecdulek: There isn't really a way to do that.  You have to know on your end that the lock is not being used anymore.14:00
bnemecdulek: TBH, I would not worry about cleaning up the files unless it's causing problems.14:00
dulekbnemec: Well, cinder is creating a lockfile per every delete volume request, so this can create a lot of them.14:04
dulekbnemec: There's trylock in _FileLock but I wonder if this is working correctly...14:04
bnemecdulek: Sure, but a modern filesystem can handle a _lot_ of empty files.14:04
bnemecdulek: You could try grabbing the lock and then deleting the file, but I seem to recall we were concerned that might cause issues if anyone else was waiting on the lock.14:05
dulekbnemec: Uhm, I can imagine that situation.14:06
dulekbnemec: Thanks for help anyway!14:06
*** takedakn has quit IRC14:09
*** inc0 has quit IRC14:11
*** ChuckC has joined #openstack-oslo14:15
*** jecarey has joined #openstack-oslo14:21
*** jungleboyj_ has joined #openstack-oslo14:24
*** sigmavirus24_awa is now known as sigmavirus2414:25
*** jungleboyj_ is now known as jungleboyj14:26
*** amotoki has joined #openstack-oslo14:26
*** amotoki has quit IRC14:32
*** zz_jgrimm- is now known as jgrimm14:35
*** stevemar has joined #openstack-oslo14:40
*** ChuckC has quit IRC14:43
*** sreshetn1 has quit IRC14:46
*** sreshetn1 has joined #openstack-oslo14:52
*** gordc has joined #openstack-oslo14:59
*** zzzeek has joined #openstack-oslo15:01
*** rushiagr is now known as rushiagr_away15:02
*** prad has joined #openstack-oslo15:07
*** david-lyle_afk is now known as david-lyle15:15
*** achanda has joined #openstack-oslo15:17
*** tsekiyama has joined #openstack-oslo15:22
*** achanda has quit IRC15:25
*** rushiagr_away is now known as rushiagr15:30
*** roaet has joined #openstack-oslo15:37
roaetanyone have any tips for migrating away from the ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option15:38
roaetI believe that's oslo.config15:39
roaetIt'd be pretty sweet if that exception would throw out which CLI option failed to load.15:39
*** achanda has joined #openstack-oslo15:48
dhellmannroaet: "migrating away from"?15:49
roaetdhellmann: nevermind I need to just fix a lot of things15:51
roaetdhellmann: I didn't realize how big of a change that was. it broke quite a bit of things.15:51
dhellmannroaet: ok15:52
*** exploreshaifali has quit IRC15:52
*** rushiagr is now known as rushiagr_away15:53
*** harlowja_at_home has joined #openstack-oslo15:56
harlowja_at_homehmmm, is there a meeting today16:01
bnemecdhellmann: ^16:01
*** rushiagr_away is now known as rushiagr16:02
*** achanda has quit IRC16:04
*** dulek has quit IRC16:11
*** openstackgerrit has quit IRC16:11
*** openstackgerrit has joined #openstack-oslo16:11
*** amotoki has joined #openstack-oslo16:16
*** amotoki has quit IRC16:21
toabctlzzzeek: you added recently (6ccea346) testresources and testscenarios to requirements.txt in oslo.db . shouldn't that be in test-requirements.txt ?16:24
zzzeektoabctl: no because those packages are part of the oslo_db/sqlalchemy/test_utils package which is used by the test suites of other libraries16:25
zzzeektoabctl: hence those other libs have oslo.db in their test requirements (but really they’d have oslo.db in their main requirements)16:25
zzzeekthere was some controversy over whether those packages should also be required to add testresources/testscenarios to their own test-requirements.txt or if oslo.db should be spun out into oslo.db.test16:26
zzzeeki think there may be a plan for oslo.db.test but not for kilo16:26
toabctlzzzeek: I guess you mean oslo_db/sqlalchemy/test_base.py ...16:27
zzzeektoabctl: yes16:27
zzzeekdhellmann: I know we’re in meeting, but for later, ^^^16:29
dimszzzeek: sileht: dhellmann: please bless https://review.openstack.org/#/c/164767/16:31
toabctlzzzeek: hm. the main problem seems that oslo_db/sqlalchemy/provision.py uses16:31
dimsbackport zzzeek's commit to stable/kilo16:31
toabctltestresources.16:31
*** salv-orlando has quit IRC16:31
zzzeektoabctl: yeah, this whole series of fixes took months of back and forth on the list to get committed16:31
toabctlzzzeek: doesn't that mean that I need to install testresources in a production env?16:32
zzzeektoabctl: so its awesome that people have an issue after all that discussion is done ! :)16:32
zzzeektoabctl: yes16:32
zzzeektoabctl: feel fere to raise on the list, whatever16:32
toabctlzzzeek: ok. I guess the discussion was in the gerrit review?16:32
zzzeektoabctl: it was everywehre.  i had a whole solution without any testresources/testsceanrios ready to go, lifeless -1’ed it, etc.16:33
toabctl:)16:33
zzzeektoabctl: the key issue is that all the “help me with tests” stuff in oslo.db should be in a new package16:33
toabctlzzzeek: I haven't followed the discussions. I just recognized this fact while I was packaging the new version for openSUSE.16:33
zzzeektoabctl: so, im not sure if smoeone has proposed taht already, or waht16:33
dimszzzeek: toabctl: i started down that path - https://review.openstack.org/#/c/162276/16:35
dimsand then it turned into the discussion of how best to specify optional dependencies and test fixture dependencies...16:36
zzzeekdims: i think test_base.py should be moved out entirely16:36
openstackgerritJoshua Harlow proposed openstack/oslo.utils: Provide common `fetch_current_thread_functor` function  https://review.openstack.org/16477116:41
*** exploreshaifali has joined #openstack-oslo16:44
*** cdent has quit IRC16:52
*** openstackgerrit has quit IRC16:54
*** openstackgerrit has joined #openstack-oslo16:54
*** mtanino has joined #openstack-oslo16:59
*** harlowja_at_home has quit IRC17:00
*** yamahata has quit IRC17:00
*** dtantsur is now known as dtantsur|afk17:02
*** salv-orlando has joined #openstack-oslo17:07
*** zzzeek has quit IRC17:12
*** amrith is now known as _amrith_17:15
*** harlowja has joined #openstack-oslo17:28
*** klindgren has joined #openstack-oslo17:35
*** rushiagr is now known as rushiagr_away17:36
*** _amrith_ is now known as amrith17:38
*** saikrishna has joined #openstack-oslo17:38
*** yamahata has joined #openstack-oslo17:38
*** jungleboyj has quit IRC17:46
*** jungleboyj has joined #openstack-oslo17:49
*** achanda has joined #openstack-oslo17:50
*** sigmavirus24 is now known as sigmavirus24_awa17:51
*** achanda_ has joined #openstack-oslo17:55
*** salv-orl_ has joined #openstack-oslo17:57
*** achanda has quit IRC17:58
*** yamahata has quit IRC18:00
*** yamahata has joined #openstack-oslo18:00
*** salv-orlando has quit IRC18:01
klindgrenI am doing testing on https://review.openstack.org/#/c/146047/29 and in gerneal this makes things *much* better for dealing with failovers.  Though in failover testing I  am running into a single problem18:02
klindgrenI am seeing errors during _publish18:02
klindgrenOccassionally.  I have two rabbitmq servers behind haproxy.  I will set the rabbitmq server that I want to drain connections from in maintenace mode in haproxy18:03
klindgrenthen restart rabbitmq on that host18:03
klindgrenmost of the connections will switch over to the second host in my test setup ~330 active rabbit connections18:04
klindgren~320 will move over and ~10 stay stuck to the old rabbit server18:04
klindgrenwhen I look at these connections on the hosts that have them open they are in a CLOSED_WAIT state18:05
klindgrenErrors are logged like the following:  AMQP server on <vip>:5671 is unrechable: connection already closed.  Trying again in 1 seconds18:06
klindgrenhttps://gist.github.com/krislindgren/2d6527d876ae1034686218:09
*** amrith is now known as _amrith_18:10
klindgrenEventually the connection gets closed and the errors stop happening18:10
klindgrenWhich is when I see: https://gist.github.com/krislindgren/2d6527d876ae10346862#file-gistfile1-txt18:12
*** _amrith_ is now known as amrith18:13
dimsklindgren: does that ssl error stop after some time?18:16
*** rushiagr_away is now known as rushiagr18:17
harlowjasileht ^18:17
klindgrenyea - the ssl error seems to be the error that happens when it finally realized the connection was closed and did something different - after that ssl error - their were no more errors18:17
dimsok, so if we mute the stack trace, we are good then?18:18
dimsprint something similar to the "connection already closed" in the logs instead18:19
*** sreshetn1 has quit IRC18:19
klindgrenI dont think so.  The issue is that for some period of time something (everything that I saw was a call to conductor in nova) gets stuck trying to send a message using a closed channel - which eventually after many many minutes recovers18:20
dimsis it easy to recreate this klindgren?18:21
*** jungleboyj has quit IRC18:21
*** jungleboyj has joined #openstack-oslo18:22
klindgrenI think so - let me do a few more failovers just to make sure.  It happened twice during the two failover tests I have done18:23
*** saikrishna has quit IRC18:25
*** jecarey has quit IRC18:25
dimsklindgren: could there be something sticky in your haproxy settings?18:27
dims"~10 stay stuck to the old rabbit server"18:27
dimsklindgren: will you be able to share snippets?18:31
klindgrenyea - I can share whatever18:32
klindgrenchecking the haproxy stuff - but I dont think anything would specifically send stuff there if the backend was set to maintenace mode18:33
*** jungleboyj has quit IRC18:38
*** jungleboyj has joined #openstack-oslo18:39
harlowjahaypo i merged some of your reasons for why eventlet isn't good into https://review.openstack.org/#/c/164035/ + a few more of my own releated to wsgi servers/containers... if u get some time check it out, lifeless also, or any others that wish to read some stuff, lol18:39
*** sreshetn1 has joined #openstack-oslo18:40
dhellmanndims: +2a18:45
*** jecarey has joined #openstack-oslo18:47
openstackgerritMerged openstack/oslo.utils: Imported Translations from Transifex  https://review.openstack.org/16064918:50
*** amrith is now known as _amrith_18:53
*** sigmavirus24_awa is now known as sigmavirus2419:04
*** jecarey has quit IRC19:08
*** sputnik13 has quit IRC19:14
*** jecarey has joined #openstack-oslo19:18
*** _amrith_ is now known as amrith19:24
openstackgerritJoshua Harlow proposed openstack/oslo-incubator: Recommend users of service.py use `launch_service_cls`  https://review.openstack.org/16483619:35
harlowjadhellmann ^ might just do the trick, now if people will just use it :-P19:36
klindgrendims, https://gist.github.com/krislindgren/9a66dd02e0619d6cdbcc19:37
*** mriedem has quit IRC19:39
dhellmannharlowja: I like the general idea, but I'll have to give it a closer review. An example in the docstring for that module would be useful.19:39
harlowjasureee19:40
*** rushiagr is now known as rushiagr_away19:42
*** mriedem has joined #openstack-oslo19:47
lifelessharlowja: ack aye19:48
*** alexpilotti has quit IRC19:50
*** amotoki has joined #openstack-oslo19:53
*** salv-orl_ has quit IRC19:55
*** sputnik13 has joined #openstack-oslo19:56
*** amotoki has quit IRC19:58
*** ajo has quit IRC19:58
harlowjadhellmann ok; example @ http://paste.ubuntu.com/10611676/19:58
harlowjaalthough guess i could include that whole thing in the docstring, lol19:58
*** ajo has joined #openstack-oslo19:58
dhellmannharlowja: yeah, the docstring is a good place for it now but we can move it to a separate doc file when we graduate the module (we don't have good external docs for a lot of the incubator code)20:03
*** sreshetn1 has quit IRC20:06
*** rushiagr_away is now known as rushiagr20:07
*** tsufiev is now known as tsufiev_20:10
*** sreshetn1 has joined #openstack-oslo20:13
*** ndipanov has quit IRC20:16
*** alexpilotti has joined #openstack-oslo20:19
openstackgerritDoug Hellmann proposed openstack/oslo-specs: Change oslo.log to keep other libraries quiet in the logs  https://review.openstack.org/16485120:19
*** jungleboyj has quit IRC20:21
*** jungleboyj has joined #openstack-oslo20:22
dimsklindgren: thanks looking20:23
*** kgiusti has left #openstack-oslo20:23
*** jungleboyj has quit IRC20:27
*** rushiagr is now known as rushiagr_away20:27
*** jungleboyj has joined #openstack-oslo20:28
*** jungleboyj has quit IRC20:33
*** jungleboyj has joined #openstack-oslo20:33
*** ajo has quit IRC20:34
*** salv-orlando has joined #openstack-oslo20:35
dimsklindgren: the line numbers in the stack trace don't match up to the line numbers in the commit (https://review.openstack.org/#/c/146047/29/oslo_messaging/_drivers/impl_rabbit.py,cm) can you please look?20:37
*** e0ne has joined #openstack-oslo20:39
*** e0ne has quit IRC20:49
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.versionedobjects: Updated from global requirements  https://review.openstack.org/16091820:50
*** andreykurilin_ has joined #openstack-oslo20:50
dimsklindgren: please review this information as well :) http://john.eckersberg.com/improving-ha-failures-with-tcp-timeouts.html20:53
dhellmanndims, rpodolyaka, zzzeek: the backport in oslo.db landed so I'll cut 1.7.1 from the stable/kilo branch tomorrow20:54
dimsklindgren: could explain some of what you see20:54
dimsdhellmann: sounds good, and rev the g-r update too?20:54
dhellmanndims: no, as a bug fix we don't need to bump the minimum again20:55
dimsah ok20:55
dhellmannwe only need to do that to ensure that new features are present20:55
dhellmannif a deployer has an issue fixed in a later release, we can just tell them to update the lib, but if they get the wrong version on a fresh install so something doesn't work at all it looks bad20:55
*** jaypipes has quit IRC20:56
*** jaypipes has joined #openstack-oslo20:57
*** harlowja is now known as harlowja_away20:58
*** sigmavirus24 is now known as sigmavirus24_awa21:00
openstackgerritDoug Hellmann proposed openstack/oslo-specs: Change oslo.log to keep other libraries quiet in the logs  https://review.openstack.org/16485121:06
*** jgrimm is now known as zz_jgrimm21:07
*** amotoki has joined #openstack-oslo21:09
*** andreykurilin_ has quit IRC21:09
*** sreshetn1 has quit IRC21:14
klindgrendims - I have seen htis before... but https://gist.githubusercontent.com/krislindgren/9a66dd02e0619d6cdbcc/raw/286e961a2e3680a2363838dda32a1b0b1dbcd6b1/impl_rabbit.py is the code from the server21:16
bknudsondhellmann: stevedore question -- what do you think about https://github.com/openstack/neutron/blob/master/neutron/manager.py#L130-L143 ?21:17
bknudsonand https://bugs.launchpad.net/python-keystoneclient/+bug/142534521:17
openstackLaunchpad bug 1425345 in python-keystoneclient "Can't load auth_plugin by full-class-name of plugin class" [Wishlist,In progress] - Assigned to Yuki Nishiwaki (uckey-1067)21:17
bknudsonfeature for stevedore?21:17
klindgrenand https://gist.github.com/krislindgren/9a66dd02e0619d6cdbcc#file-impl_rabbit-errors-to-commit is a translation of the lines from that file to the line numbers in the error21:18
dhellmannbknudson: I don't understand what the first function is doing21:18
dhellmannoh, it's taking a specifier for a class name?21:18
bknudsondhellmann: if stevedore doesn't load it then it imports the mod.21:18
dhellmannbknudson: that's not needed. A plugin can be registered with that name pointing to itself and pkg_resources will do the load21:19
klindgrendims - I know about ha failures with tcp timeouts.  But I thought the point of this commit to was to enable heartbeats so that the connection can see that it has not seen or replied with a heartbeat after x amount of seconds and will be able to detect a broken channel and take a corrective action?21:19
dhellmannbknudson: when we first moved to oslo.messaging that's how we handled backwards compatibility for the old strings that pointed to the rpc modules that lived in nova, for instance21:20
klindgrenIt seems that while it mostly does this - their does end up being an issue with services that get "stuck" on a connection that is closed from server but the client is still keeping it open/trying to use it.  This should be caught by the heart beating and fixed no?21:20
bknudsondhellmann: it's not a feature you want to see in stevedore?21:20
bknudsonor a pattern you want to see copy-pasted all over?21:21
*** sreshetn1 has joined #openstack-oslo21:21
dhellmannbknudson: no, it can be handled without any code at all - just register the class specifier as the name of a plugin21:21
dimsklindgren: you are one patchset behind :)21:21
dhellmannbknudson: for example, set up a plugin like: mypackage.mymodule.myclass = mypackage.mymodule:myclass21:23
dimsklindgren: can you please rev-up to changeset 29 and try the same exact steps and let me know?21:23
bknudsondhellmann: can you do that in code, or do I have to edit a file?21:23
bknudsonthis is the part I'm always confused about.21:23
*** jungleboyj has quit IRC21:23
dhellmannbknudson: the package that installs the plugin should have ^^ in its setup.cfg in the appropriate namespace21:23
klindgrendism - ok - checking....  I am pretty sure at thats changed is only enabling heartbeating if everythign supports it - otherwise it appears to be the same21:24
bknudsonso in this case the package is python-keystoneclient, and the plugin is one that the user just has on their system.21:24
bknudsonwe don't know about it ahead of time.21:24
*** YorikSar has quit IRC21:25
dhellmannbknudson: so it's the responsibility of the plugin to keystoneclient to set this up, then21:25
bknudsonis setup.cfg a config file, like in etc/?21:25
bknudsonok, as long as the plugin can do it that works.21:26
dhellmannbknudson: no it's part of the packaging files for the thing that's being installed21:26
bknudsonwonders how a plugin sets it up.21:26
dhellmannbknudson: http://git.openstack.org/cgit/openstack/oslo.messaging/tree/setup.cfg#n3221:27
bknudsonright, so say I'm implementing a oslo.messaging driver out of tree...21:27
bknudsonhow do I get myself in http://git.openstack.org/cgit/openstack/oslo.messaging/tree/setup.cfg#n32 ?21:28
bknudsonfor example, wouldn't it be nice to get the "fake" driver out of setup.cfg?21:28
dhellmannyou don't have to -- the namespaces for plugins are global across all installed packages, so you can declare in your own packaging metadata that you have a plugin that is part of that namespace21:28
bknudsonahhh21:28
dhellmannthe fact that we use library/module names as namespaces is a little confusing21:28
dhellmannthe two things are actually completely separate21:29
bknudsonso I just have an [entry_points] with mydriver = mydrvier:MyDriver in mydriver's setup.cfg21:29
dhellmannbknudson: https://etherpad.openstack.org/p/GHG6Kl8hCD21:30
* dhellmann should really blog about entry points21:30
dhellmannbknudson: make more sense?21:32
bknudsondhellmann: yes that makes total sense now.21:32
*** stpierre has quit IRC21:32
bknudsonI was mostly confused about how you could register your plugins from a different setup.cfg.21:32
*** mriedem is now known as mriedem_away21:33
dhellmannyeah, that's not obvious if you don't understand that the namespaces are global21:33
dhellmannI need to add an example to the stevedore docs showing how to create a plugin out of tree21:33
bknudsonthat would be great.21:34
dhellmannit's on my todo list, so maybe it'll happen before the summit21:35
dhellmannsdague: you may be interested in this logging-related spec: https://review.openstack.org/16485121:35
bknudsonactually, we've got an example: https://github.com/openstack/python-openstackclient/blob/master/setup.cfg#L3021:35
dhellmannsdague: I think we talked about that in paris21:35
dhellmannbknudson: yeah, that's it21:36
*** cdent has joined #openstack-oslo21:38
*** sreshetn1 has quit IRC21:44
*** sigmavirus24_awa is now known as sigmavirus2421:47
*** jamielennox has joined #openstack-oslo21:50
*** zzzeek has joined #openstack-oslo21:50
*** prad has quit IRC21:53
*** cdent has quit IRC21:58
*** harlowja_away is now known as harlowja22:11
klindgrendims, Still happens22:12
*** gordc has quit IRC22:12
klindgrendims, https://gist.github.com/krislindgren/6a05e91263801de94ca122:13
*** stevemar has quit IRC22:13
klindgrenI included both the failures when I restarted rabbitmq and then what happened 4 minutes later when nova-compute tried to publish something to conductor22:13
*** sputnik13 has quit IRC22:21
*** bknudson has quit IRC22:22
openstackgerritJoshua Harlow proposed openstack/oslo-incubator: Recommend users of service.py use `launch_service_class`  https://review.openstack.org/16483622:22
openstackgerritJoshua Harlow proposed openstack/oslo-incubator: Recommend users of service.py use `launch_service_class`  https://review.openstack.org/16483622:24
openstackgerritJoshua Harlow proposed openstack/oslo.utils: Provide common `fetch_current_thread_functor` function  https://review.openstack.org/16477122:33
*** salv-orl_ has joined #openstack-oslo22:37
*** salv-orlando has quit IRC22:39
dimsklindgren: one of the stack traces changed slightly22:42
dimsback shortly22:43
*** dims has quit IRC22:43
*** sigmavirus24 is now known as sigmavirus24_awa22:43
openstackgerritJoshua Harlow proposed openstack/oslo-incubator: Recommend users of service.py use `launch_service_class`  https://review.openstack.org/16483622:46
*** dims has joined #openstack-oslo22:46
*** dims has quit IRC22:47
*** dims has joined #openstack-oslo22:47
*** tsekiyam_ has joined #openstack-oslo22:52
*** YorikSar has joined #openstack-oslo22:53
*** tsekiyama has quit IRC22:55
*** tsekiyam_ has quit IRC22:57
*** amotoki has quit IRC23:01
*** jecarey has quit IRC23:05
*** ChuckC has joined #openstack-oslo23:09
lifelessdhellmann: did you see my thing about requirements-py3 being harmful ?23:11
*** jaosorior has quit IRC23:12
*** dims has quit IRC23:18
*** dims has joined #openstack-oslo23:18
*** andreykurilin_ has joined #openstack-oslo23:20
harlowjalifeless then i guess u are ok with https://review.openstack.org/#/c/164523/ :-P23:20
*** salv-orl_ has quit IRC23:23
lifelessyes23:24
harlowja;)23:25
harlowjathought so, ha23:25
lifelesscan't have universal wheels otherwise23:28
harlowjaya23:31
*** salv-orlando has joined #openstack-oslo23:31
*** salv-orlando has quit IRC23:35
*** jaypipes has quit IRC23:41
*** andreykurilin_ has quit IRC23:48
dimsklindgren: still around?23:50
klindgrendims, I am23:50
*** sputnik13 has joined #openstack-oslo23:51
dimsam scratching my head trying to figure out who logs this traceback at the TRACE level - https://gist.github.com/krislindgren/6a05e91263801de94ca1#file-fail-after-reconnect-L4023:51
dimsklindgren: i can see where we print the line just before it...23:52
*** bknudson has joined #openstack-oslo23:55
lifelessharlowja: dhellmann: mailed the list for visibility23:56
harlowjak23:56
harlowjalifeless thx23:57
*** alexpilotti has quit IRC23:57

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