Friday, 2014-07-04

*** dims__ has quit IRC00:17
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Move attribute dictionary to a dictionary type  https://review.openstack.org/10469500:29
*** harlowja_at_home has quit IRC00:30
*** zzzeek has quit IRC00:43
*** dims__ has joined #openstack-oslo00:45
*** zzzeek has joined #openstack-oslo00:45
*** dims__ has quit IRC00:51
*** zzzeek has quit IRC00:53
*** zzzeek has joined #openstack-oslo01:07
*** yamahata has joined #openstack-oslo01:08
guszzzeek: so my first tests with OS_TEST_DBAPI_ADMIN_CONNECTION=mysql+mysqlconnector://... (and my patches from yesterday) fails at the unicode tests (eg tests.sqlalchemy.test_sqlalchemy.RegexpFilterTestCase.test_regexp_filter_unicode)01:14
guswith ...01:14
gusDatabaseError: (DatabaseError) 1366: Incorrect string value: '\xE2\x99\xA5' for column 'bar' at row 1 'INSERT INTO __tmp__test__tmp__regexp (bar) VALUES (%(bar)s)' {'bar': u'\u2665'}01:15
zzzeekgus: i think you need encoding on the connecvtion01:15
zzzeekutf-801:15
zzzeekgus: all SQLAlchemy tests pass for mysql-connecvtor01:15
gusyeah, comparing the sql statements issued with mysqldb, mysqlconnector sends a SET NAMES 'utf8' call, and mysqldb doesn't01:16
gusI imagine this is real simple to fix :P01:16
zzzeekum probably :)01:17
*** mriedem has left #openstack-oslo01:44
*** mriedem has quit IRC01:44
*** dims__ has joined #openstack-oslo01:46
*** dims__ has quit IRC01:50
*** zzzeek has quit IRC01:53
*** mkoderer has quit IRC02:02
*** arnaud has quit IRC02:09
*** zhiyan_ is now known as zhiyan02:17
*** dims__ has joined #openstack-oslo02:25
*** SridharG has joined #openstack-oslo02:44
openstackgerritAlex Xu proposed a change to openstack/oslo-specs: Support policy configuration directories  https://review.openstack.org/10415702:55
*** ajc_ has joined #openstack-oslo03:28
*** ajc_ has quit IRC03:28
*** ajc_ has joined #openstack-oslo03:30
*** arnaud has joined #openstack-oslo03:38
*** yamahata has quit IRC03:42
*** dims__ has quit IRC03:56
*** prashanthr_ has joined #openstack-oslo03:56
prashanthr_Hello03:57
prashanthr_can someone let me know03:57
prashanthr_if encryption keys are stored as a part of oslo cache ?03:57
*** james_li has joined #openstack-oslo04:13
*** openstackgerrit has quit IRC04:14
*** dims__ has joined #openstack-oslo04:22
*** dims__ has quit IRC04:24
*** prashanthr_ has quit IRC04:32
*** arnaud has quit IRC04:40
*** arnaud has joined #openstack-oslo04:40
*** dstanek is now known as dstanek_zzz04:58
*** harlowja_at_home has joined #openstack-oslo04:59
*** eezhova has quit IRC05:01
*** james_li has quit IRC05:24
*** dims has joined #openstack-oslo05:24
*** dims has quit IRC05:29
*** AAzza_afk is now known as AAzza06:24
*** AAzza is now known as AAzza_afk06:25
*** tkelsey has joined #openstack-oslo06:37
*** prashanthr_ has joined #openstack-oslo06:40
*** ildikov has joined #openstack-oslo06:44
*** arnaud has quit IRC06:46
*** arnaud has joined #openstack-oslo06:56
*** harlowja_at_home has quit IRC07:10
*** AAzza_afk is now known as AAzza07:14
*** dims_ has joined #openstack-oslo07:26
*** dims_ has quit IRC07:31
*** markmc has joined #openstack-oslo07:34
*** markmc has joined #openstack-oslo07:35
*** mkoderer has joined #openstack-oslo07:37
*** mrda is now known as mrda-away07:41
*** ajo has joined #openstack-oslo07:50
*** AAzza is now known as AAzza_afk07:50
*** ildikov has quit IRC07:50
*** AAzza_afk is now known as AAzza07:57
*** ihrachyshka has joined #openstack-oslo08:01
*** nacim has joined #openstack-oslo08:04
*** ildikov has joined #openstack-oslo08:18
*** openstackgerrit has joined #openstack-oslo08:20
guszzzeek (if you can still read this when you reconnect):  I think it _is_ a bug in sqlalchemy - it doesn't seem to do anything to make Unicode columns actually be unicode on mysql.08:21
gushttps://github.com/zzzeek/sqlalchemy/pull/102 fixes it for me.08:22
gusI can only assume the sqlalchemy jenkins tests have mysql configured to default to utf8 encoding, but I'm not sure how to inspect the my.cnf + command line in use.08:23
*** ajo|mac has quit IRC08:23
*** ajo|mac has joined #openstack-oslo08:23
openstackgerritAbhijeet Malawade proposed a change to openstack/oslo.messaging: Cleanup listener after stopping rpc server  https://review.openstack.org/10318608:25
*** dims_ has joined #openstack-oslo08:26
*** ajo|mac has quit IRC08:27
*** ajo|mac has joined #openstack-oslo08:27
*** arnaud has quit IRC08:29
*** dims_ has quit IRC08:33
*** ajo|mac has quit IRC08:34
*** ajo|mac has joined #openstack-oslo08:35
*** i159 has joined #openstack-oslo08:39
*** dstanek_zzz is now known as dstanek08:40
openstackgerritMark McLoughlin proposed a change to openstack/oslo-specs: Add a 'greenio' oslo.messaging executor  https://review.openstack.org/10479208:43
markmchaypo, ^^08:46
haypomarkmc: great!08:50
haypomarkmc: i'm upstair, i finish to fill some papers and i came later08:51
markmchaypo, now it's just a mere matter of programming08:51
haypoi come*08:51
haypomarkmc: my change for tulip (add a "task_factory") is currently under review08:51
*** pblaho has joined #openstack-oslo08:51
markmchaypo, coolness08:51
haypomarkmc: my pull request for greenio is also under review08:51
markmchaypo, you're not on twitter, are you?08:52
haypomarkmc: when all code will be merged, i will ask for a greenio release, and release trollius08:52
haypomarkmc: my twitter account is "victor.stinner"08:52
haypooh, maybe victor_stinner, let me check08:52
haypomarkmc: https://twitter.com/victor_stinner/08:52
haypomarkmc: i don't think that greenio is currently in open stack, i will have to add it to the global requirements08:53
haypo(trollius is already part of global requirements)08:53
markmchaypo, look at this for a conversation: https://twitter.com/zzzeek/status/48478803974791987208:54
markmchaypo, yep08:54
markmchaypo, yep (re trollius/greenio in requirements)08:54
*** AAzza is now known as AAzza_afk09:05
*** dstanek is now known as dstanek_zzz09:05
openstackgerritA change was merged to openstack/oslo-specs: Add oslo-config-generator  https://review.openstack.org/10254809:08
*** oomichi has quit IRC09:08
*** ajo|mac has quit IRC09:17
*** AAzza_afk is now known as AAzza09:19
*** prashanthr_ has quit IRC09:28
boris-42markmc hi, fyi I update osprofiler read me, so now it's much cleaner then before https://github.com/stackforge/osprofiler , so it can help to understand spec and see full picture.09:34
*** praneshp has quit IRC09:52
*** ndipanov has joined #openstack-oslo09:56
haypomarkmc: see http://aiopg.readthedocs.org/en/0.3/sa.html for async SQLAchemy (with PostgreSQL)09:56
ndipanovhey markmc I too have a question about your email for porting to asyncIO09:57
ndipanovor rather asyncio09:57
haypondipanov: hey. i can maybe help you, i know async09:59
haypoio09:59
ndipanovthe gist of the problem as I understand it is moving from just calling things that will (not)block to caling them in the asyncio generator fashion10:00
markmchaypo, interesting ... not for the ORM tho10:00
markmcndipanov, yep10:01
haypondipanov: if a function is async, "just" put "yield from" (or "yield From()") before calling it10:01
haypondipanov: and it's better to decorate the function with @asyncio.coroutine10:01
ndipanovand iiu the email correctly - what you propose with adding the green loop to asyncio does not really help with it - ie - you can refactor the code wiithout any of that stuff10:01
markmcyou need a way to have the eventlet event loop schedule asyncio coroutines as greenlets10:03
ndipanovwell you can't use the yield from but everything else you can10:03
markmcusing yield from is much of the point10:03
ndipanovmarkmc, I am just thinking that bulk of the refactoring can be done without it - as you mention - this is the bulk of the work10:03
markmcreplacing some_sync_op() with yield from some_async_op() is the bulk of the work10:04
haypomarkmc: the twitter discussion about async and SQLAchemy is not very interesting10:04
openstackgerritRomain Soufflet proposed a change to openstack/oslo-incubator: Delete 'deprecated' directory  https://review.openstack.org/10484910:04
markmcand you can't do that without a way of running asyncio coroutines on eventlet10:04
ndipanovmarkmc, hmmm10:05
markmchaypo, heh; I didn't read much of it10:05
markmchaypo, but it did make me wonder about ORM type APIs vs asyncio10:05
openstackgerritMark McLoughlin proposed a change to openstack/oslo-specs: Add a 'greenio' oslo.messaging executor  https://review.openstack.org/10479210:08
ndipanovmarkmc, what confuses me is that your approach still won't prevent you from messing up and making eventlet yield in the asyncio "coroutine" which is what you cannot do once you move to asyncio10:09
ndipanovmarkmc, or am I not understanding something (likely)10:09
markmcndipanov, yes, that's true10:10
ndipanovwhich if is true - makes it not much better than just refactoring with imaginary yield froms10:10
markmcthis porting isn't just going around sticking 'yield froms' in the code10:11
markmcyou'll be calling different APIs10:11
markmcthis change allows us to start using the new APIs10:12
ndipanovmarkmc, could you give me an example other than yield from/Futures? just so that I understand10:12
markmcsay, 'result = yield from client.call_async()'10:13
markmcrather than 'result = client.call()'10:13
markmcit's a different call() API10:14
*** flaper87|afk is now known as flaper8710:15
ndipanovmarkmc, and then call_async() you refactored to be a generator that yields stuff that block/suspend, right?10:16
markmcndipanov, right10:18
*** ildikov_ has joined #openstack-oslo10:19
* markmc objects to the term 'refactor' - this isn't reorganizing code without making functional changes :)10:19
ndipanovyes fair enough - you will have to change how stuff works10:19
* ndipanov pretends he knows ceilo code10:19
*** ildikov has quit IRC10:21
*** eezhova has joined #openstack-oslo10:42
ekarlsoSo is there any common pattern now for the authplugins stuff and all that ?10:48
ekarlsoor is it still the hacky way of using apiclient from o.incubator ?10:49
*** flaper87 is now known as flaper87|afk10:50
openstackgerritYuriy Taraday proposed a change to openstack/oslo.rootwrap: Let tests pass on distros where "ip" is in /bin  https://review.openstack.org/10486510:54
openstackgerritYuriy Taraday proposed a change to openstack/oslo.rootwrap: Add an option to run rootwrap as a daemon  https://review.openstack.org/8179810:56
*** rdopieralski has joined #openstack-oslo10:58
rdopieralskiWRT periods in section names in oslo.config, I just wanted to point out that setuptools uses such sections in the egg-info files, for example, so they are quite common10:59
*** Alexei_987 has joined #openstack-oslo11:07
openstackgerritChristian Berendt proposed a change to openstack/taskflow: Raise NotImplementedError instead of NotImplemented  https://review.openstack.org/10486811:09
*** zhiyan is now known as zhiyan_11:12
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: Add a base test case for DB schema comparison  https://review.openstack.org/9339811:20
*** dims has joined #openstack-oslo11:31
*** dims has quit IRC11:35
openstackgerritMark McLoughlin proposed a change to openstack/oslo-specs: Add a 'greenio' oslo.messaging executor  https://review.openstack.org/10479211:38
*** openstackgerrit has quit IRC11:49
*** openstackstatus has quit IRC11:50
*** openstack has joined #openstack-oslo11:51
*** openstackstatus has joined #openstack-oslo11:51
*** ChanServ sets mode: +v openstackstatus11:51
*** ajc_ has quit IRC12:07
*** dhellmann is now known as dhellmann_12:20
*** yamahata has joined #openstack-oslo12:22
*** pcm_ has joined #openstack-oslo12:40
*** yamahata has quit IRC12:40
*** yamahata has joined #openstack-oslo12:41
*** pcm__ has joined #openstack-oslo12:44
*** pcm_ has quit IRC12:47
*** dstanek_zzz is now known as dstanek12:52
*** dims has joined #openstack-oslo13:09
openstackgerritCyril Roelandt proposed a change to openstack/oslo-incubator: Python 3: enable tests/unit/test_log.py  https://review.openstack.org/10489013:11
*** linkid has joined #openstack-oslo13:11
linkidhi13:11
linkidI have a question about oslo-incubator13:13
ihrachyshkalinkid: ?13:16
rdopieralskilinkid: would you care to share your question with all the people who have gathered here, so that we can debate it?13:20
rdopieralskicome on, don't keep us hanging...13:21
openstackgerritCyril Roelandt proposed a change to openstack/oslo-incubator: Python 3: enable tests/unit/test_log.py  https://review.openstack.org/10489013:21
linkidI wonder why there is no try here https://github.com/openstack/oslo-incubator/blob/master/openstack/common/importutils.py#L61 while there is one here https://github.com/openstack/oslo-incubator/blob/master/openstack/common/importutils.py#L24. Can I add it or is it useless ?13:23
linkidrdopieralski: sorry, I was so distracted by the yoda's sentence ^^13:24
rdopieralskilinkid: the try in the first one is because it would raise a wrong exception type13:24
*** prashanthr_ has joined #openstack-oslo13:24
rdopieralskilinkid: it's there to catch it and raise ImportError13:24
rdopieralskilinkid: the second one already raises an ImportError, so no try-except is needed13:24
rdopieralskiat least that's how I understand it13:24
linkidah, ok13:25
linkidbut there is no one for "import_module" too13:25
linkidwhich import something13:25
linkid*imports13:25
rdopieralskiit raises ImportError on failure too13:25
linkidah, ok, I understand13:27
linkidbecause my issue was there :  https://github.com/openstack/oslo-incubator/blob/master/openstack/common/apiclient/client.py#L34513:29
linkidit tries to import a client with the right version13:29
linkidbut it is using importutils.import_class but not importutils.import_versioned_module13:30
linkiddue to the "version_map", I think13:31
openstackgerritCyril Roelandt proposed a change to openstack/oslo-incubator: Python 3: enable tests/unit/test_log.py  https://review.openstack.org/10489013:32
linkidwhile in ceilometer, the method to do the same seems to be pretty : https://github.com/openstack/python-ceilometerclient/blob/master/ceilometerclient/client.py#L21413:32
linkid*ceilometerclient13:33
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: Opportunistic migration tests  https://review.openstack.org/9342413:35
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: Implementation Alembic as migration engine  https://review.openstack.org/9996513:35
linkidI'm writing tests for a client and I think it is more obvious to get an "UnsupportedVersion" exception rather than an "ImportError" exception while calling importutils.import_versioned_module, no ?13:38
ruhei159: would https://review.openstack.org/93424 allow to use oslo.db for opportunistic migration tests in nova and get rid of all the code about this line http://git.openstack.org/cgit/openstack/nova/tree/nova/tests/db/test_migrations.py#n527 ?13:38
ruhe* above this line13:39
*** Ajaeger has joined #openstack-oslo13:39
AjaegerHi, I'd appreciate if the oslo.i18n project would also be translated - could you approve https://review.openstack.org/#/c/98243/ , please?13:40
linkidrdopieralski: what is your opinion about that ?13:40
rdopieralskilinkid: no opinion13:41
i159ruhe: Yes, with my change you can get rid from all the stuff like this http://git.openstack.org/cgit/openstack/nova/tree/nova/tests/db/test_migrations.py#n38813:45
i159ruhe: You will have an engine connected to existing drivers in your test cases and basic migration functionality, so you don't need no custom basic test cases for migrations.13:47
*** zzzeek has joined #openstack-oslo13:47
*** Ajaeger has quit IRC13:48
*** prashanthr_ has quit IRC13:48
ruhei159: that's great. i've been waiting for this for a long time. i felt guilty when i copy-pasted this code to storyboard and then to murano. and now it's consolidated in a library which is really great13:49
*** Ajaeger1 has joined #openstack-oslo13:49
ihrachyshkazzzeek: hey. it seems that mysql dialect switch is not completely trivial. some migration rules in e.g. keystone or glance fail (f.e. because of multiple SQL statements joined with semicolon passed to .execute(). is it expected that dialects may require adjustments to db layer?13:49
i159ruhe: I hope we will merge it soon. I'm sure this feature will be available in the next Oslo.db release.13:51
*** james_li has joined #openstack-oslo14:03
*** james_li has quit IRC14:08
*** james_li has joined #openstack-oslo14:09
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: oslo.db.api module documentation  https://review.openstack.org/9343414:11
*** james_li has quit IRC14:12
*** jecarey has quit IRC14:16
*** zzzeek has quit IRC14:19
*** AAzza is now known as AAzza_afk14:20
*** zzzeek has joined #openstack-oslo14:31
*** AAzza_afk is now known as AAzza14:33
*** ihrachyshka has quit IRC14:36
*** ihrachyshka has joined #openstack-oslo14:41
*** mkoderer has quit IRC14:42
*** zzzeek has quit IRC14:44
*** bogdando has quit IRC14:48
*** prashanthr_ has joined #openstack-oslo14:50
*** ihrachyshka has quit IRC15:00
*** nacim has quit IRC15:01
*** prashanthr_ has left #openstack-oslo15:02
openstackgerritTimur Sufiev proposed a change to openstack/oslo-incubator: Enhance versionutils.deprecated to work with classes  https://review.openstack.org/10491615:07
*** zzzeek has joined #openstack-oslo15:13
*** ildikov_ has quit IRC15:20
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: oslo.db.exceptions module documentation  https://review.openstack.org/9343515:27
*** pblaho has quit IRC15:28
*** rdopieralski has quit IRC15:29
*** viktors is now known as viktors|afk15:32
*** markmc has quit IRC15:33
*** Ajaeger1 has quit IRC15:46
i159Hi! American people, I congratulate you on the 4th of July! Since many of you have a holiday today, I have a question. Will be an Oslo meeting today?15:53
openstackgerritA change was merged to openstack/oslo.messaging: fixed pep8 issue E265  https://review.openstack.org/9350615:58
*** i159 has quit IRC16:03
*** ajo has quit IRC16:15
*** tkelsey has quit IRC16:15
*** linkid has left #openstack-oslo16:16
*** ndipanov has quit IRC16:35
*** praneshp has joined #openstack-oslo16:58
*** yamahata has quit IRC17:17
*** arnaud has joined #openstack-oslo17:21
*** harlowja_at_home has joined #openstack-oslo18:13
*** tkelsey has joined #openstack-oslo18:19
*** pblaho has joined #openstack-oslo18:27
*** tkelsey has quit IRC18:32
*** arnaud has quit IRC18:44
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Move failure to its own type specific module  https://review.openstack.org/10209118:52
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Mark 'task_notifier' as renamed to 'atom_notifier'  https://review.openstack.org/10328618:52
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Hoist the notifier to its own module  https://review.openstack.org/10237218:58
*** AAzza is now known as AAzza_afk19:05
*** pblaho has quit IRC19:12
*** SridharG has quit IRC19:12
*** dims has quit IRC19:22
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Add proxy heartbeat support  https://review.openstack.org/10439719:28
*** dstanek is now known as dstanek_zzz19:59
*** arnaud has joined #openstack-oslo20:08
*** pcm__ has quit IRC20:13
*** arnaud has quit IRC20:16
*** harlowja_at_home has quit IRC20:20
*** dstanek_zzz is now known as dstanek20:20
*** ildikov has joined #openstack-oslo20:25
*** dims has joined #openstack-oslo20:27
*** dstanek is now known as dstanek_zzz20:30
*** dstanek_zzz is now known as dstanek20:32
*** ildikov_ has joined #openstack-oslo20:54
*** ildikov has quit IRC20:55
*** dstanek is now known as dstanek_zzz21:05
*** dstanek_zzz is now known as dstanek21:12
*** dims has quit IRC21:12
*** linkid has joined #openstack-oslo21:29
*** linkid has left #openstack-oslo21:29
*** dstanek is now known as dstanek_zzz22:11
*** zhiyan_ is now known as zhiyan22:26
*** boris-42 has quit IRC22:29
*** boris-42 has joined #openstack-oslo22:29
*** ihrachyshka has joined #openstack-oslo22:58
*** arnaud has joined #openstack-oslo23:03
openstackgerritVictor Stinner proposed a change to openstack/oslo.messaging: Fix AMQPListener for polling with timeout  https://review.openstack.org/10496423:04
*** mrda-away is now known as mrda23:05
*** ildikov_ has quit IRC23:08
*** ildikov_ has joined #openstack-oslo23:08
*** zzzeek has quit IRC23:09
*** ihrachyshka has quit IRC23:12
*** dstanek_zzz is now known as dstanek23:13
*** dstanek is now known as dstanek_zzz23:22
*** zzzeek has joined #openstack-oslo23:25
*** zzzeek has quit IRC23:31
*** zzzeek has joined #openstack-oslo23:33
*** zhiyan is now known as zhiyan_23:36
*** arnaud has quit IRC23:38

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