Thursday, 2014-06-26

*** mestery has quit IRC00:04
*** tsekiyama has quit IRC00:06
*** sileht has quit IRC00:06
*** yamahata has joined #openstack-oslo00:14
*** dstanek is now known as dstanek_zzz00:24
*** dstanek_zzz is now known as dstanek00:45
*** dstanek is now known as dstanek_zzz00:55
*** markmcclain has quit IRC01:03
*** lbragstad has joined #openstack-oslo01:11
*** markmcclain has joined #openstack-oslo01:26
*** markmcclain has quit IRC01:28
*** dstanek_zzz is now known as dstanek01:46
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Move failure to its own type specific module  https://review.openstack.org/10209101:51
*** mestery has joined #openstack-oslo02:30
*** jecarey has joined #openstack-oslo02:30
*** HenryG has joined #openstack-oslo02:36
*** praneshp has quit IRC02:37
*** yamahata has quit IRC02:52
*** yamahata has joined #openstack-oslo02:53
*** jecarey has quit IRC02:55
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Move failure to its own type specific module  https://review.openstack.org/10209102:57
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Hoist the notifier to its own module  https://review.openstack.org/10237202:58
*** praneshp has joined #openstack-oslo03:17
*** lbragstad has quit IRC03:38
*** zhiyan_ is now known as zhiyan03:55
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Move failure to its own type specific module  https://review.openstack.org/10209104:02
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Hoist the notifier to its own module  https://review.openstack.org/10237204:03
*** dstanek is now known as dstanek_zzz04:07
*** praneshp has quit IRC04:11
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Move failure to its own type specific module  https://review.openstack.org/10209104:12
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Hoist the notifier to its own module  https://review.openstack.org/10237204:13
openstackgerritgaryk proposed a change to openstack/oslo.vmware: Add exception NoRootDiskDefined  https://review.openstack.org/10271404:24
*** praneshp has joined #openstack-oslo04:32
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Use a common message dispatcher  https://review.openstack.org/10109404:44
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Move failure to its own type specific module  https://review.openstack.org/10209104:47
*** praneshp_ has joined #openstack-oslo04:47
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Hoist the notifier to its own module  https://review.openstack.org/10237204:48
*** praneshp has quit IRC04:50
*** praneshp_ is now known as praneshp04:50
*** dstanek_zzz is now known as dstanek04:58
*** ajc_ has joined #openstack-oslo04:59
*** SridharG has joined #openstack-oslo05:00
*** dims__ has quit IRC05:40
*** harlowja is now known as harlowja_away05:49
openstackgerritMark McLoughlin proposed a change to openstack/oslo.messaging: Add 'docs' tox environment  https://review.openstack.org/10272805:52
openstackgerritMark McLoughlin proposed a change to openstack/oslo.messaging: Add missing docs for list_opts()  https://review.openstack.org/10272905:53
openstackgerritMark McLoughlin proposed a change to openstack/oslo.messaging: Remove duplicate docs for MessageHandlingServer  https://review.openstack.org/10273105:53
openstackgerritMark McLoughlin proposed a change to openstack/oslo.messaging: Fix formatting of TransportURL.parse() docs  https://review.openstack.org/10273205:53
*** zhiyan is now known as zhiyan_06:13
*** zhiyan_ is now known as zhiyan06:14
*** dstanek is now known as dstanek_zzz06:18
*** ildikov has quit IRC06:31
openstackgerritMark McLoughlin proposed a change to openstack/oslo.config: Add oslo-config-generator  https://review.openstack.org/10094606:34
*** dims__ has joined #openstack-oslo06:36
*** dims__ has quit IRC06:41
*** jaosorior has joined #openstack-oslo06:42
*** sileht has joined #openstack-oslo06:44
*** pblaho has joined #openstack-oslo07:06
*** openstackgerrit has quit IRC07:07
*** ildikov has joined #openstack-oslo07:16
*** mrda is now known as manslaughter07:20
*** manslaughter is now known as mrda07:22
*** tkelsey has joined #openstack-oslo07:22
*** oomichi has quit IRC07:23
*** i159 has joined #openstack-oslo07:28
*** dims__ has joined #openstack-oslo07:30
*** dims__ has quit IRC07:35
*** praneshp has quit IRC07:38
*** ihrachyshka has joined #openstack-oslo07:55
*** nacim has joined #openstack-oslo08:05
*** mrda is now known as mrda-away08:08
*** prashanthr_ has joined #openstack-oslo08:15
prashanthr_hi I would like to add a redis backend to oslo cache.08:16
prashanthr_is there any existing blueprint / is a new one to be created ?08:16
*** viktors|afk is now known as viktors08:25
*** dims__ has joined #openstack-oslo08:31
*** dims__ has quit IRC08:36
ihrachyshkaprashanthr_: have you googled for it? I think there's one08:41
prashanthr_ihrachyska: https://blueprints.launchpad.net/oslo/+spec/cache-redis-backend . Is this the one ?08:42
ihrachyshkaprashanthr_: obviously, yes08:42
prashanthr_but this one looks quite old.08:43
prashanthr_hmm in 2013.08:43
ihrachyshkaprashanthr_: just ping the author on update08:44
prashanthr_ihrachyska: Okay sure.08:44
prashanthr_thanks08:44
prashanthr_:)08:44
*** pblaho is now known as pblaho|afk09:22
*** pblaho|afk is now known as pblaho09:27
*** GheRivero has quit IRC09:31
*** dims__ has joined #openstack-oslo09:32
*** GheRivero has joined #openstack-oslo09:33
*** dims__ has quit IRC09:37
*** markmc has joined #openstack-oslo09:41
*** ajo|mac has joined #openstack-oslo09:51
*** prashanthr_ has quit IRC09:57
*** pblaho is now known as pblaho|afk10:20
*** eezhova has joined #openstack-oslo10:27
*** dims__ has joined #openstack-oslo10:40
*** eezhova has quit IRC10:57
markmcboris-42, please stop with the 'recheck no bug'10:58
boris-42markmc ok)10:58
markmcboris-42, we need to understand failures, file bugs, file e-r queries, etc.10:58
boris-42markmc there is bug for fake?10:58
markmcboris-42, e.g. http://logs.openstack.org/82/102782/1/check/check-oslotest-dsvm-oslo.messaging/7958c0e/console.html10:58
boris-42markmc yep I am trying to fix it now10:58
boris-42markmc actually10:58
boris-42markmc so I should make a bug?10:59
boris-42markmc and then recheck bug?10:59
markmcboris-42, yes, check whether there's a bug, file one if not, use that in recheck10:59
boris-42markmc could you config it https://bugs.launchpad.net/oslo.messaging/+bug/1334607 ?11:01
boris-42markmc and add priority?11:01
markmcboris-42, wow, you used 'recheck no bug' 12 times in oslo.messaging in the last 24 hours!11:02
boris-42markmc yep11:02
boris-42markmc and most of them were related to this bug11:02
markmcboris-42, once or twice would be ok, maybe - but that many times is totally abusing our CI system11:02
boris-42markmc okay I am going to fix this bug11:02
boris-42markmc I think I know where is issue11:02
boris-42markmc sorry for rechecks=)11:02
markmcboris-42, ok, thanks11:02
boris-42markmc so one question11:03
boris-42markmc I will push script (and probably we will need to recheck multiply times, to ensure that everything works)11:04
boris-42markmc /script/patch**11:04
*** ildikov_ has joined #openstack-oslo11:04
boris-42markmc so do recheck bug #xxx11:04
boris-42?11:04
*** ildikov has quit IRC11:04
markmcboris-42, recheck no bug would be fine for that11:05
*** ajo|mac has quit IRC11:06
*** ajo|mac has joined #openstack-oslo11:07
*** ajo|mac has quit IRC11:13
*** ajo|mac has joined #openstack-oslo11:14
*** ajo|mac has quit IRC11:19
*** flaper87|afk is now known as flaper8711:19
*** ajo|mac has joined #openstack-oslo11:20
*** yamahata has quit IRC11:21
boris-42markmc https://review.openstack.org/#/c/102800/1 if this will work we have crap with stevedore11:23
boris-42markmc In Rally we have much better approach for plugins (so we can reuse the same approach in oslo.messaging) it works perfect and doesn't require any configuration11:23
markmcboris-42, "stevedore is crap, Rally has something much better" isn't how I like to start a technical discussion11:24
boris-42markmc =)11:25
boris-42markmc holywars stile=)11:25
boris-42markmc but let's just see will it work11:25
boris-42markmc if it works we will need to fix stevedore or use another (probably better) approach11:26
*** ajo|mac has quit IRC11:26
*** ajo|mac has joined #openstack-oslo11:27
*** pblaho|afk is now known as pblaho11:32
*** ajo|mac has quit IRC11:33
*** ajo|mac has joined #openstack-oslo11:34
*** pblaho is now known as pblaho|afk11:42
*** pblaho|afk is now known as pblaho11:46
*** lbragstad has joined #openstack-oslo11:52
*** lbragstad has quit IRC11:56
*** erecio has joined #openstack-oslo12:13
ihrachyshkamarkmc: around? I have a question regarding log translation12:22
markmcihrachyshka, sure12:22
ihrachyshkamarkmc: there was additional_locale proposed as a new config option, but was rejected12:23
ihrachyshkamarkmc: meaning, no way to translate logs?12:23
markmcihrachyshka, got a link?12:23
ihrachyshkamarkmc: there are some references to 'sample config file to be provided' in launchpad and irc logs though12:23
ihrachyshkabut I miss context on what it is12:23
ihrachyshkamarkmc: https://review.openstack.org/#/c/62508/12:23
ihrachyshkapart of https://blueprints.launchpad.net/oslo/+spec/i18n-messages12:23
ihrachyshkasorry, the reference is in gerrit, not LP12:24
markmcok12:27
markmcyou can have the logs be translated just by running the service in a different locale12:27
*** openstackgerrit has joined #openstack-oslo12:27
markmcif you want to log in *multiple* languages at once, you need to do that via logging.conf12:27
markmcihrachyshka, does that make sense?12:28
ihrachyshkamarkmc: what is that logging.conf?12:28
markmcihrachyshka, standard python logging configuration file12:29
ihrachyshkaaha. where is it located? how can I configure it?12:29
markmcihrachyshka, see log-config-append config option in openstack.common.log12:29
markmcnova has etc/nova/logging_sample.conf12:30
markmc# The name of a logging configuration file. This file is appended to12:31
markmc# any existing logging configuration files. For details about logging12:31
markmc# configuration files, see the Python logging module documentation.12:31
markmc# (string value)12:31
markmc# Deprecated group/name - [DEFAULT]/log_config12:31
markmc#log_config_append = <None>12:31
ihrachyshkamarkmc: I see. is there any config example to get multiple languages logged?12:36
markmcihrachyshka, no, but I suspect dhellmann could get you pointed in the right direction quickly12:36
ihrachyshkaok, thanks12:36
markmcihrachyshka, if you do figure it out, be sure to submit a sample for oslo.i18n docs12:36
ihrachyshka:)12:37
*** ildikov_ has quit IRC12:39
*** dstanek_zzz is now known as dstanek12:39
openstackgerritSean Dague proposed a change to openstack-dev/pbr: Update integration script for Apache 2.4  https://review.openstack.org/10258412:44
dhellmannihrachyshka: you need to set up a TranslationHandler. There's an example at the bottom of http://docs.openstack.org/developer/oslo.i18n/api.html#module-oslo.i18n.log12:51
*** ildikov has joined #openstack-oslo12:52
*** zzzeek has joined #openstack-oslo12:56
openstackgerritDoug Hellmann proposed a change to openstack/oslo.i18n: Remove mention of Message objects from public docs  https://review.openstack.org/10281912:57
*** ajc_ has quit IRC13:00
*** lbragstad has joined #openstack-oslo13:02
*** dstanek is now known as dstanek_zzz13:02
*** dstanek_zzz is now known as dstanek13:04
*** mriedem has joined #openstack-oslo13:08
ihrachyshkadhellmann: I've tried to set that as follows: http://paste.fedoraproject.org/113441/40378809/13:08
ihrachyshkamessages are still not translated13:08
*** flaper87 is now known as flaper87|afk13:10
ihrachyshkalocale is there in 'locale -a' list13:10
ihrachyshkahm, it's actually devstack installation. shouldn't we have .po files compiled into .mo somewhere? I can't find them13:11
markmchehe13:12
*** pblaho is now known as pblaho|afk13:12
markmcihrachyshka, sorry, I'm really LOLing here13:12
* markmc starts to cry now13:12
markmcyes, we do all this work for translating stuff and never actually install those translations in a way they can be used13:12
* ihrachyshka is confused13:12
ihrachyshkaah, got it :)13:13
ihrachyshkano one cares about use cases. let's do some engineering!13:13
markmchttps://etherpad.openstack.org/p/havana-oslo-i18n-strategy13:13
markmcas long as we give the translators tonnes of work to do, everyone's happy13:13
*** dstanek is now known as dstanek_zzz13:14
ihrachyshkayeah, I guess localizers also find lots of fun from the process13:14
*** zzzeek has quit IRC13:14
markmc    Making sure translations get compiled and installed correctly13:14
markmc    devstack needs to run setup.py compile_catalog13:14
ihrachyshkaok, I see the very last line13:14
dhellmannihrachyshka, markmc : if one of you will open a bug about that against devstack, I can see if daisy can find someone from the translation team to make a patch13:15
dhellmannthey're going to need to do that to add the testing required to make translations mandatory anyway13:15
markmcyeah13:16
dhellmannI think part of the problem in the past has been most devs don't care about translations, and most translators aren't devs, so they each focus on their own half of the work and don't talk much13:16
ihrachyshkamarkmc: where does compile_catalog target come from?13:16
markmcihrachyshka, babel installs setuptools commands AFAIR13:16
markmc    babel installs setup.py commands:13:16
markmc    extract_messages - pull strings marked with _() into e.g. nova.pot13:16
markmc    compile_catalog - compile .po files into .mo files13:16
markmc    update_catalog - copy strings from .pot into .po13:16
markmc(that's from the etherpad too)13:16
ihrachyshkaah, ok, thanks13:17
markmcdhellmann, https://bugs.launchpad.net/nova/+bug/99528713:17
dhellmannmarkmc: thanks13:17
ihrachyshkanot that I'm too interested in the topic, but our QA asked me for directions on how to verify that it works since Icehouse. and now I dig it. :)13:17
markmcdhellmann, that's why I added those LOCALEDIR env variables AFAIR13:18
dhellmannah, I wondered what all that was for13:18
markmchehe13:19
markmcit's all summarized in that bug13:19
* markmc couldn't be bothered re-reading it all13:19
openstackgerritMark McLoughlin proposed a change to openstack/oslo.config: Add oslo-config-generator  https://review.openstack.org/10094613:20
*** ildikov has quit IRC13:22
dhellmannmarkmc: I'm sending that to daisy to look at. She has said she'll find someone in IBM to do the work and she'll manage it.13:22
*** pblaho|afk is now known as pblaho13:22
markmcgreat13:22
markmcit was pretty much just daisy and I at that havana summit session AFAIR13:23
dhellmannyeah, we had a few more people interested in icehouse, but it's a small group13:23
dhellmannthey did a lot of work on the lazy translation stuff last cycle, but haven't been very engaged this cycle13:23
markmcno shortage of people interested in submitting patches to change the translation markers for log messages though :)13:24
markmcI sometimes wonder has anyone ever ran any openstack service with translations enabled13:25
ihrachyshkadhellmann: this will cover devstack. how about distributions? does it mean all packagers should make sure setup.py compile_catalog is called? 'cause I don't see neither .mo files nor this target called in redhat packaging :)13:25
markmcihrachyshka, yes13:25
markmcihrachyshka, and possibly you need to set the LOCALEDIR env variables in e.g. systemd targets13:25
ihrachyshkamarkmc: good to know we have such a 'minor' bug in packaging :P13:25
* markmc passes the tissues13:26
dhellmannihrachyshka: yes, the distros are responsible for that13:26
markmc(for crying)13:26
ihrachyshkamarkmc: what are LOCALEDIR for? wouldn't gettext be able to find catalog in default path?13:26
markmcihrachyshka, I don't remember, maybe they're just needed for devstack13:27
markmcihrachyshka, but yes, you're probably right - packages would install the catalogs in the default path13:27
ihrachyshkadhellmann: so, devstack will be handled by daisy, right? no need for bug?13:30
markmcihrachyshka, https://bugs.launchpad.net/devstack/+bug/99528713:32
ihrachyshkaah, ok, that's already there13:33
dhellmannihrachyshka: if you want to make a patch, I'm sure she'd be happy for you to do that :-)13:33
ihrachyshkadhellmann: ok, putting it in todo list somewhere after 'high priority stuff'13:34
*** dstanek_zzz is now known as dstanek13:34
dhellmannihrachyshka: if you don't get to it, she's likely to find someone, so no worries13:35
ihrachyshkaroger13:35
ihrachyshkaok, at least now I can tell our QA that "no, you can't check translated logs, because we don't even ship translations" lol13:36
markmcheh, job done13:36
openstackgerritChuck Short proposed a change to openstack-dev/pbr: Add Python 3.4 checking  https://review.openstack.org/10282813:44
openstackgerritChuck Short proposed a change to openstack-dev/hacking: Add Python 3.4 checking  https://review.openstack.org/10282913:47
*** jecarey has joined #openstack-oslo13:54
openstackgerritRadoslav Gerganov proposed a change to openstack/oslo.vmware: Add 'NoRootDiskDefined' exception  https://review.openstack.org/10283313:58
*** markmcclain has joined #openstack-oslo14:02
*** nacim has quit IRC14:04
*** ajo|mac has quit IRC14:07
*** ajo|mac has joined #openstack-oslo14:09
*** markmc has quit IRC14:11
*** ildikov has joined #openstack-oslo14:18
*** bknudson has quit IRC14:27
boris-42markmc seems like that dirty hack works14:38
*** ajo|mac has quit IRC14:40
dhellmannboris-42: why isn't the fake driver loading normally?14:43
boris-42dhellmann I don't know I am going to deep dive in configuration of stevedore14:44
boris-42dhellmann but if we force import in test module14:44
boris-42dhellmann it works without issues14:44
boris-42dhellmann I can recheck 4th time14:44
dhellmannboris-42: this feels like a test execution order issue14:45
boris-42dhellmann yep14:46
boris-42dhellmann if this module is not imported in some other test14:46
boris-42some other test module*14:46
boris-42this fails14:46
dhellmannso which test is triggering the fake driver to be loaded as a side-effect?14:46
boris-42dhellmann I don't know yet =)14:46
boris-42dhellmann as I say need to deep dive into this =)14:46
dhellmannok14:47
boris-42dhellmann newbie in oslo.messaging=)14:47
boris-42I am newbie*14:47
* dhellmann nods14:47
boris-42dhellmann btw https://review.openstack.org/#/c/102470/ and https://review.openstack.org/#/c/102471/ quite simple and ready to merge with +2 =)14:47
dhellmannboris-42: is the change you're having trouble with in the same series as those?14:48
boris-42dhellmann nope it's just restruct of unit test14:49
boris-42dhellmann to understand what modules are not tested14:49
boris-42dhellmann and what are tested14:49
*** ajo|mac has joined #openstack-oslo14:49
dhellmannok, I wondered if that restructuring caused something to happen in a different order14:49
boris-42dhellmann I don't think so=)14:49
boris-42dhellmann I just would like to help oslo.messaging with unit testing14:49
boris-42dhellmann and code cleanup / improvement14:50
*** pblaho is now known as pblaho|afk14:50
*** nacim has joined #openstack-oslo14:50
*** pblaho|afk is now known as pblaho14:51
dhellmannboris-42: ok, I'm working on that requirements issue still today, so it may be a while before I get to review anything14:52
boris-42dhellmann no worries, I am not blocked with it14:52
boris-42dhellmann cause I have to merge patch in ceilometer =)14:52
boris-42dhellmann and it doesn't depend on osprofiler14:52
boris-42dhellmann (btw thanks for fixing it)14:52
*** dstanek is now known as dstanek_zzz14:55
*** tongli has joined #openstack-oslo14:56
*** tsekiyama has joined #openstack-oslo14:57
*** hyakuhei__ is now known as hyakuhei_15:11
*** james_li has joined #openstack-oslo15:12
*** erecio has quit IRC15:14
*** zzzeek has joined #openstack-oslo15:17
*** ajo|mac has quit IRC15:21
*** dims__ has quit IRC15:21
*** dims__ has joined #openstack-oslo15:22
*** ajo|mac has joined #openstack-oslo15:22
openstackgerritThomas Herve proposed a change to openstack/oslo.messaging: Fix info method of ListenerSetupMixin  https://review.openstack.org/10286015:23
*** ajo|mac has quit IRC15:28
*** dstanek_zzz is now known as dstanek15:28
*** ajo|mac has joined #openstack-oslo15:29
*** nacim has quit IRC15:30
*** ajo|mac has quit IRC15:35
*** ajo|mac has joined #openstack-oslo15:36
openstackgerritSean Dague proposed a change to openstack-dev/pbr: Update integration script for Apache 2.4  https://review.openstack.org/10258415:37
*** markmcclain has quit IRC15:38
zzzeekhey bnemec : what exactly is the “negative test” you’re referring to on https://review.openstack.org/#/c/93398/?  trying to parse that15:38
bnemeczzzeek: I'm looking for something where the model doesn't match the migration.15:39
bnemecBasically a case where the test would fail.15:39
bnemecIt's nice that the test passes, but for all I know there's a logic error somewhere that means we aren't actually checking anything. :-)15:40
bnemec(probably not, but I've seen it happen before)15:40
zzzeekoh i see15:40
*** ajo|mac has quit IRC15:41
*** erecio has joined #openstack-oslo15:42
zzzeekthere’s kind of a crapload of classes here?   i thought I made complicaed hierarchies….15:43
*** nacim has joined #openstack-oslo15:43
*** dstanek is now known as dstanek_zzz15:52
*** jaosorior has quit IRC16:02
*** dshulyak has quit IRC16:04
*** bknudson has joined #openstack-oslo16:05
*** ajo|mac has joined #openstack-oslo16:06
*** ajo|mac has quit IRC16:11
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: Implementation Alembic as migration engine  https://review.openstack.org/9996516:17
*** erecio has quit IRC16:20
*** i159 has quit IRC16:21
*** pblaho is now known as pblaho|afk16:25
*** erecio has joined #openstack-oslo16:27
*** pblaho|afk is now known as pblaho16:29
*** zhiyan is now known as zhiyan_16:32
*** nacim has quit IRC16:34
*** viktors is now known as viktors|afk16:34
*** jaosorior has joined #openstack-oslo16:48
*** dstanek_zzz is now known as dstanek16:57
*** pblaho has quit IRC17:00
zzzeekis ilya here?17:01
* zzzeek sees no nickname that looks like “ilya pekelny” …17:02
*** hyakuhei_ is now known as hyakuhei17:02
*** hyakuhei has quit IRC17:02
*** hyakuhei has joined #openstack-oslo17:02
*** praneshp has joined #openstack-oslo17:04
*** harlowja_away is now known as harlowja17:10
*** james_li has quit IRC17:14
bnemeczzzeek: I think he's i159, but it looks like he left a bit ago.17:14
zzzeekok17:15
*** ildikov has quit IRC17:16
*** markmcclain has joined #openstack-oslo17:16
*** markmcclain1 has joined #openstack-oslo17:18
*** markmcclain has quit IRC17:20
*** dstanek is now known as dstanek_zzz17:25
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Clarify locked decorator is for instance methods  https://review.openstack.org/9869117:25
*** ihrachyshka has quit IRC17:25
*** markmcclain1 has quit IRC17:57
*** james_li has joined #openstack-oslo17:58
*** ildikov has joined #openstack-oslo18:03
mriedemjecarey: got an i18n bug in glance18:12
mriedemhttps://bugs.launchpad.net/glance/+bug/133477418:12
mriedemunicode error slipped in18:12
mriedemdoing this on an exception: msg = "Forbidden upload attempt: %s" % e18:13
mriedemi believe that is supposed to be: msg = "Forbidden upload attempt: %s" % str(e)18:13
mriedemnow right?18:13
jecareyNo ... shouldn't put a str() on it ... should work without the str on it ... format should do the right thing.18:14
*** dstanek_zzz is now known as dstanek18:14
jecarey self.assertIn('Attempted: 2, Maximum: 1', str(exc))18:15
jecareyshould be using six.text_type()18:15
dhellmannmriedem, jecarey : add the text_type around the string and leave the exception object unwrapped18:18
dhellmannbetter yet, just prefix the string with u as a unicode literal18:18
*** jokke_ has joined #openstack-oslo18:19
mriedemthat's in the test case assertion, but i'm also seeing it when logged18:19
mriedemhttp://logs.openstack.org/63/102863/1/check/gate-glance-python27/6ad16a3/console.html#_2014-06-26_15_57_12_26118:19
*** openstackgerrit has quit IRC18:20
mriedemso there is a problem in test_quota.py when it's doing the assertEquals, and a problem in upload_data_to_store when it's looking a str concatenated with an exception18:21
mriedem*logging18:21
*** tkelsey has quit IRC18:25
jecareyIt is trying to format unicode into non-unicode: msg = "Forbidden upload attempt: %s" % e18:26
mriedemso this is ok right? msg = _("Image storage media is full: %s") % e18:26
mriedembut this is not? msg = "Forbidden upload attempt: %s" % e18:26
jecareyYes ... but they just removed the _() because it is a message for a debug log.18:27
mriedemright18:27
mriedemso the string for the debug log message needs to be unicode?18:27
mriedemmsg = u"Forbidden upload attempt: %s" % e ?18:27
jecareyyes.  dhellmann that seems like a general direction when removing the _() for debug messages that have messages (exceptions) as replacement parms.18:29
mriedemeww, we're probably pretty exposed across all the projects then18:30
mriedemsince people are removing _() for debug level messages more now in juno18:30
*** ajo|mac has joined #openstack-oslo18:31
dhellmannyes, they jumped the gun on that a bit, we haven't had time to provide good instructions for how to make those changes18:32
mriedemok, thanks for clarifying - i'll get this glance fix up for review and add jecarey to it18:33
dhellmannI was planning to do that as part of releasing oslo.i18n, which has been delayed because of some other issues that have distracted me at work18:33
mriedemto make sure i'm following correctly18:33
dhellmanncool18:33
mriedemdamn day jobs :)18:33
dhellmannseriously :-)18:33
jecareyI know its been discussed before, but this seems like having _LD() which returns unicode (and doesnt' translate) would make things easier.18:33
mriedemjokke_: i'll add you to the glance change when i get it up also18:33
*** erecio has quit IRC18:34
jokke_yup, we have at least tons of those in glance18:34
jokke_would something like six.text_type() be more appropriate? I think there was some compability issues with u"", no?18:36
*** praneshp_ has joined #openstack-oslo18:37
*** praneshp has quit IRC18:39
*** praneshp_ is now known as praneshp18:39
*** openstackgerrit has joined #openstack-oslo18:39
*** tkelsey has joined #openstack-oslo18:42
*** openstackstatus has joined #openstack-oslo18:42
*** ChanServ sets mode: +v openstackstatus18:42
dhellmannjokke_: python 3.2 doesn't support u, but we don't support 3.2 so it shouldn't matter18:44
mriedemu"" doesn't work in py3?18:44
dhellmannit works in 3.3 and 3.418:44
mriedemok18:44
jokke_dhellmann: ah ok, thanks for that18:45
jokke_good to know18:45
openstackgerritPaul Michali proposed a change to openstack/oslo.messaging: Oslo: encoding error in file  https://review.openstack.org/10290918:45
*** james_li has quit IRC18:46
*** tsekiyama has quit IRC18:46
*** ekarlso has quit IRC18:46
*** viktors|afk has quit IRC18:46
*** praneshp has quit IRC18:46
*** ildikov has quit IRC18:46
*** bknudson has quit IRC18:46
*** zzzeek has quit IRC18:46
*** jecarey has quit IRC18:46
*** mriedem has quit IRC18:46
*** SlickNik has quit IRC18:46
*** zhiyan_ has quit IRC18:46
*** jd__ has quit IRC18:46
*** openstackgerrit has quit IRC18:46
*** mrda-away has quit IRC18:46
*** wendar has quit IRC18:46
*** mgagne has quit IRC18:46
*** russellb has quit IRC18:46
*** ttx has quit IRC18:46
*** hartsocks has quit IRC18:46
jokke_jecarey: I'd like that _LD( as if some point we can start translating debug messages as well, it would simplify the change18:46
*** openstackgerrit has joined #openstack-oslo18:46
*** praneshp has joined #openstack-oslo18:46
*** ildikov has joined #openstack-oslo18:46
*** james_li has joined #openstack-oslo18:46
*** bknudson has joined #openstack-oslo18:46
*** zzzeek has joined #openstack-oslo18:46
*** tsekiyama has joined #openstack-oslo18:46
*** jecarey has joined #openstack-oslo18:46
*** mriedem has joined #openstack-oslo18:46
*** SlickNik has joined #openstack-oslo18:46
*** zhiyan_ has joined #openstack-oslo18:46
*** mrda-away has joined #openstack-oslo18:46
*** russellb has joined #openstack-oslo18:46
*** ekarlso has joined #openstack-oslo18:46
*** viktors|afk has joined #openstack-oslo18:46
*** wendar has joined #openstack-oslo18:46
*** mgagne has joined #openstack-oslo18:46
*** jd__ has joined #openstack-oslo18:46
*** hartsocks has joined #openstack-oslo18:46
*** ttx has joined #openstack-oslo18:46
*** markmcclain has joined #openstack-oslo18:46
jokke_jecarey: I'd like that _LD( as if some point we can start translating debug messages as well, it would simplify the change (resent, due to split)18:47
*** flaper87|afk has quit IRC18:48
*** creiht has quit IRC18:48
*** mtreinish has quit IRC18:48
*** creiht has joined #openstack-oslo18:48
*** flaper87|afk has joined #openstack-oslo18:48
*** flaper87|afk is now known as flaper8718:48
*** flaper87 has quit IRC18:49
*** flaper87 has joined #openstack-oslo18:49
openstackgerritDoug Hellmann proposed a change to openstack/oslo.messaging: encoding error in file  https://review.openstack.org/10290918:49
bnemecdhellmann: Should https://review.openstack.org/#/c/102909 have a Related-Bug too?18:50
dhellmannoh, yeah, probably, he mentions the bug but not using the "right" syntax18:50
bnemecAlso, holy random problem batman!18:50
*** mtreinish has joined #openstack-oslo18:50
openstackgerritDoug Hellmann proposed a change to openstack/oslo.messaging: encoding error in file  https://review.openstack.org/10290918:51
*** openstackgerrit has quit IRC18:51
dhellmannyeah, really18:51
*** openstackgerrit has joined #openstack-oslo18:52
dhellmannbnemec: I blame sileht's french keyboard ;-)18:52
bnemeclol18:52
openstackgerritBen Nemec proposed a change to openstack/oslo.messaging: encoding error in file  https://review.openstack.org/10290918:53
bnemecWould anyone else like a crack at that commit message? :-)18:56
*** james_li has quit IRC18:56
*** tsekiyama has quit IRC18:56
*** ekarlso has quit IRC18:56
*** viktors|afk has quit IRC18:56
mriedemfix problem18:58
mriedem"fix problem"18:58
dhellmannbnemec: heh19:00
*** erecio has joined #openstack-oslo19:08
openstackgerritpritesh proposed a change to openstack-dev/hacking: Add hacking check for vim configuration in source files  https://review.openstack.org/10196919:14
openstackgerritDoug Hellmann proposed a change to openstack/oslo.i18n: Add links to policy discussions  https://review.openstack.org/10202819:17
*** james_li has joined #openstack-oslo19:19
*** tsekiyama has joined #openstack-oslo19:19
*** ekarlso has joined #openstack-oslo19:19
*** viktors|afk has joined #openstack-oslo19:19
*** ajo|mac has quit IRC19:23
*** harlowja is now known as harlowja_away19:24
*** erecio has quit IRC19:42
*** tkelsey has quit IRC19:44
*** james_li has quit IRC19:48
*** ajo|mac has joined #openstack-oslo19:59
openstackgerritKen Giusti proposed a change to openstack/oslo.messaging: An initial implementation of a 1.0 based messaging driver  https://review.openstack.org/7581520:00
*** lbragstad has left #openstack-oslo20:00
*** jecarey has quit IRC20:02
*** erecio has joined #openstack-oslo20:03
*** arnaud has joined #openstack-oslo20:04
*** harlowja_away is now known as harlowja20:23
*** stannie has joined #openstack-oslo20:26
*** stannie has left #openstack-oslo20:26
*** erecio has quit IRC20:30
*** ajo|mac_ has joined #openstack-oslo20:46
*** dstanek is now known as dstanek_zzz20:47
*** ajo|mac has quit IRC20:47
*** james_li has joined #openstack-oslo20:49
*** dims_ has joined #openstack-oslo20:49
*** jaosorior has quit IRC20:52
*** dims__ has quit IRC20:52
*** tongli has quit IRC20:54
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Use a common message dispatcher  https://review.openstack.org/10109420:58
morganfainbergdhellmann, ping, re: oslo.db and the sanity check code21:01
morganfainbergdhellmann, looks like in a case where a migration ends up being wrong (i.e. not InnoDB/utf8 in mysql), you might get wedged.21:02
morganfainbergdhellmann, we might want to provide (if we don't) a subclass of Table() that forces innodb/utf8 for the sanity check reasons.21:02
*** jecarey has joined #openstack-oslo21:07
*** dstanek_zzz is now known as dstanek21:09
*** dstanek is now known as dstanek_zzz21:19
*** ajo|mac_ has quit IRC21:32
*** markmcclain has quit IRC21:35
*** ajo|mac has joined #openstack-oslo21:37
*** mrda-away is now known as mrda21:39
*** ajo|mac has quit IRC21:45
*** ajo|mac has joined #openstack-oslo21:49
*** pcm_ has joined #openstack-oslo21:53
*** mriedem has left #openstack-oslo21:54
*** mriedem has quit IRC21:54
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Increase the logging of the WBE response/send activities  https://review.openstack.org/10295922:21
*** oomichi has joined #openstack-oslo22:24
*** toabctl has quit IRC22:28
*** toabctl has joined #openstack-oslo22:31
*** james_li has quit IRC22:33
*** dstanek_zzz is now known as dstanek22:40
*** markmcclain has joined #openstack-oslo22:52
*** markmcclain1 has joined #openstack-oslo22:53
*** markmcclain has quit IRC22:56
*** dims_ has quit IRC23:01
*** bknudson has quit IRC23:02
*** SridharG has quit IRC23:17
openstackgerritPranesh Pandurangan proposed a change to openstack/taskflow: Allow handlers to provide validation callables  https://review.openstack.org/10167923:20
*** dims_ has joined #openstack-oslo23:26
*** ajo|mac has quit IRC23:31
*** ajo|mac has joined #openstack-oslo23:33
*** mriedem has joined #openstack-oslo23:37
*** ajo|mac has quit IRC23:38
*** ajo|mac has joined #openstack-oslo23:40
*** ajo|mac has quit IRC23:40
*** yamahata has joined #openstack-oslo23:59

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