Monday, 2014-03-10

*** yamahata has quit IRC00:28
*** zhiyan_ is now known as zhiyan01:24
*** yamahata has joined #openstack-oslo01:30
*** gcb has joined #openstack-oslo01:36
*** xuhanp has joined #openstack-oslo01:45
*** mriedem has left #openstack-oslo02:01
*** yamahata has quit IRC02:09
*** yamahata has joined #openstack-oslo03:44
*** hdd_ has quit IRC05:46
*** regard has quit IRC06:08
*** flaper87|afk is now known as flaper8708:14
openstackgerritIldiko Vancsa proposed a change to openstack/oslo-incubator: Add copyright text to openstack/common/__init__.py  https://review.openstack.org/7927308:21
*** ihrachys|afk is now known as ihrachys08:28
*** xuhanp has quit IRC10:18
openstackgerritNikola Dipanov proposed a change to openstack-dev/hacking: Make H202 check honor pep8 #noqa comment  https://review.openstack.org/7928710:25
*** lbragstad has joined #openstack-oslo10:49
*** lbragstad__ has quit IRC10:50
openstackgerritNikola Dipanov proposed a change to openstack-dev/hacking: Make H202 check honor pep8 #noqa comment  https://review.openstack.org/7928711:03
openstackgerritNikola Dipanov proposed a change to openstack-dev/hacking: Make H202 check honor pep8 #noqa comment  https://review.openstack.org/7928711:17
*** lbragstad has quit IRC11:51
*** yamahata has quit IRC11:54
*** lbragstad has joined #openstack-oslo12:27
*** mriedem has joined #openstack-oslo12:34
openstackgerritFlavio Percoco proposed a change to openstack/oslo-incubator: User a more accurate max_delay for reconnects  https://review.openstack.org/7930412:40
*** dims_ has quit IRC12:44
openstackgerritCyril Roelandt proposed a change to openstack/oslosphinx: Add Python 3 trove classifiers  https://review.openstack.org/7931112:51
*** dims_ has joined #openstack-oslo12:56
*** gcb has quit IRC13:11
*** rustlebee is now known as russellb13:26
*** yamahata has joined #openstack-oslo13:44
*** yamahata has quit IRC13:58
*** beekneemech is now known as bnemec14:02
*** yamahata has joined #openstack-oslo14:04
*** yamahata has quit IRC14:08
*** yamahata has joined #openstack-oslo14:15
*** yamahata has quit IRC14:20
openstackgerritIldiko Vancsa proposed a change to openstack/oslo-incubator: Add copyright text to openstack/common/__init__.py  https://review.openstack.org/7927314:24
*** yamahata has joined #openstack-oslo14:26
*** yamahata has quit IRC14:33
*** yamahata has joined #openstack-oslo14:36
*** yamahata__ has joined #openstack-oslo14:41
*** yamahata has quit IRC14:42
*** yamahata__ has quit IRC14:43
*** yamahata has joined #openstack-oslo14:45
*** yamahata has quit IRC14:48
*** yamahata has joined #openstack-oslo14:50
openstackgerritJenkins proposed a change to openstack/oslo-incubator: Updated from global requirements  https://review.openstack.org/7764414:51
*** hdd_ has joined #openstack-oslo14:52
openstackgerrittherese-mchale proposed a change to openstack/oslo-incubator: Retry running queries when not in a transaction  https://review.openstack.org/7613614:52
openstackgerritJenkins proposed a change to openstack/stevedore: Updated from global requirements  https://review.openstack.org/7559514:52
*** corvus is now known as jeblair15:07
*** hdd_ has quit IRC15:13
*** hdd has joined #openstack-oslo15:45
hddanyone else having problems using run_tests.sh for oslo-incubator?15:46
hddI'm getting "ImportError: No module named openstack.common.db"15:46
dhellmannhdd: I usually call tox directly to run the tests, have you tried that?15:48
hdddhellmann, I'll give it a whirl15:54
dhellmannhdd, fwiw I did just try "run_tests.sh" and saw the same error15:54
dhellmannI'm running tox now on master to see if it shows up there, too15:54
dhellmannhdd: tests pass for me with "tox -e py27" so I don't know if the issue is with the virtualenv created by run_tests.sh or the different way it runs the tests15:56
hddyeah, tox works for me too15:58
hddthanks15:58
openstackgerritZhi Yan Liu proposed a change to openstack/oslo-incubator: Making table utf-8 charset checking be optional for DB migration  https://review.openstack.org/7535616:07
dhellmanndims, did we ever announce that we were creating this channel on the mailing list?16:08
dims_dhellmann, don't think so16:09
openstackgerritZhi Yan Liu proposed a change to openstack/oslo-incubator: Making table utf-8 charset checking be optional for DB migration  https://review.openstack.org/7535616:10
dhellmanndims_: ok, I'll do that now16:10
*** yamahata has quit IRC16:13
openstackgerritZhi Yan Liu proposed a change to openstack/oslo-incubator: Making table utf-8 charset checking be optional for DB migration  https://review.openstack.org/7535616:14
zhiyanhi folks, i'd like to raise a review request for https://review.openstack.org/75356 in this "preferred" channel ;)16:20
openstackgerritJoe Gordon proposed a change to openstack-dev/hacking: Revert "Make H202 check honor pep8 #noqa comment"  https://review.openstack.org/7935416:21
*** manask has joined #openstack-oslo16:25
*** manask has left #openstack-oslo16:27
dhellmannhi, zhiyan16:32
dhellmannzhiyan: do you consider that change critical for the release candidate?16:33
zhiyandhellmann: i think it is a important "fix" for glance, at least16:33
dhellmannzhiyan: ok, there wasn't a priority attached to the bug report yet, so I wasn't sure how big of an issue it was16:34
zhiyandhellmann: without it, deployer will failed to do db migration for glance16:34
dhellmannzhiyan: that sounds pretty critical :-)16:35
dhellmannzhiyan: how does the deployer set the option to not require utf8? or is that something glance would do?16:35
zhiyandhellmann: could you pls help set a bug priority for oslo one?16:35
zhiyandhellmann: 2 secs, i have one patch for it16:35
dhellmannzhiyan: the change in glance is only marked medium16:36
zhiyandhellmann: https://review.openstack.org/#/c/75865/16:36
zhiyandhellmann: yes, it now is. i can set it up if needed16:36
dhellmannso every project that wants to use this flag would have to update the command they use to run the migrations to add the new switch?16:37
zhiyandhellmann: tbh i'm sure glance project only currently16:38
bnemecI wonder if this should have been opt-in.16:38
bnemecWe hit it in heat in tripleo too.16:38
bnemecOur fix was to globally enable utf8 tables in our mysql config, but in retrospect that probably should have been a red flag.16:38
dhellmannbnemec: yes, I'm starting to think so16:38
dhellmannI wonder if we make any assumptions elsewhere that we are using utf8 in the database16:39
bnemecdhellmann: The original bug that prompted this was here: https://bugs.launchpad.net/heat/+bug/126160516:41
openstackgerritChris Buccella proposed a change to openstack/oslo-incubator: Don't store the request ID value in middleware  https://review.openstack.org/7935816:42
dhellmannbnemec: thanks16:43
zhiyanbnemec: hi, iirc, there's a change which changes heat db create CLI script, to use utf8 as the db default charset, right?16:44
bnemeczhiyan: Yes, there was a separate bug raised and fixed about that: https://bugs.launchpad.net/heat/+bug/127688016:45
zhiyandhellmann: btw, thanks for you review/pickup16:45
bnemecBut it still doesn't help you if you have an existing install with incorrect encoding.16:45
bnemecWhich is going to cause deployer headaches on H->I upgrades.16:46
dhellmannbnemec: that original bug makes me think that if we're not consistent, we will continue to have failures with foreign keys between tables where the encodings don't match16:46
dhellmannor charsets, I guess, which may not be the same thing as encoding16:46
bnemecYeah, I don't know if they tested that.16:46
dhellmannso I think we want all the tables to have the same charset, even if it isn't utf-816:46
zhiyanbnemec: indeed! that's what i want to say here, seems currently we can only give a flag to db_sync to make it be possible, i mean execute migration to auto "fix" utf8 issue (and foreign keys issue maybe)16:47
zhiyandhellmann: agree16:49
*** harlowja has joined #openstack-oslo16:49
dhellmannzhiyan: so if we want the charsets to match, then just disabling the utf-8 check isn't going to do the right thing16:50
dhellmannisn't there a migration to update the charsets of all tables? that's probably very expensive16:50
bnemecHere's now nova handled it: https://github.com/openstack/nova/blob/0a2ab98491cbf62e148e8289bc69c26357bd136c/nova/db/sqlalchemy/migrate_repo/versions/170_havana.py#L139516:51
bnemecdhellmann: zhiyan: ^16:51
zhiyanbnemec: dhellmann: so i prepared this https://review.openstack.org/#/c/75898/5/glance/db/sqlalchemy/migrate_repo/versions/035_mysql_set_utf8_charset.py16:52
zhiyanbut, as we know, deployer need a chance to execute it.16:53
dhellmannzhiyan: I think I need to see something explaining the bigger picture. What effect does it have on glance if the charset is no longer consistent across tables? How does a deployer fix up the charset and tables? That sort of thing.16:55
dhellmannI think I understand some of the issues, but I'm not sure I understand how the proposed solution fixes them, if that makes sense.16:55
dhellmannIf you could add some details to the bug report answering some of those questions, that would help me with the review.16:56
zhiyandhellmann: ok, so pls raise you questions in the bug report. it will help us to track them.16:57
dhellmannzhiyan: sure, I can do that16:57
zhiyandhellmann: thanks again. no rush, but tbh you know this issue might break glance now db_sync under particular deployment, so i think it is a worth fix for the coming release.16:59
*** yamahata__ has joined #openstack-oslo17:07
*** boris-42 has joined #openstack-oslo17:11
boris-42Nice17:12
boris-42Finially we have oslo chat!17:12
dhellmannhi, boris-42 !17:14
boris-42dhellmann hi!17:15
openstackgerritIldiko Vancsa proposed a change to openstack/oslo-incubator: Add copyright text to openstack/common/__init__.py  https://review.openstack.org/7927317:15
boris-42dhellmann I think this will be quite popular chat=)17:16
*** saikrishna_ has joined #openstack-oslo17:16
dhellmannboris-42: :-)17:17
*** yamahata__ has quit IRC17:18
*** yamahata__ has joined #openstack-oslo17:18
*** yamahata__ has quit IRC17:18
*** yamahata has joined #openstack-oslo17:18
*** lbragstad has left #openstack-oslo17:23
*** dhellmann is now known as dhellmann_17:23
*** lbragstad has joined #openstack-oslo17:24
*** saikrishna_ has quit IRC17:57
*** mriedem1 has joined #openstack-oslo18:02
*** mriedem has quit IRC18:04
*** zhiyan is now known as zhiyan_18:08
harlowjadhellmann_ nice blog post btw, a+18:13
harlowja:)18:14
harlowjafor others, http://doughellmann.com/2014/03/04/the-intersection-of-the-openstack-and-python-communities.html18:14
harlowja“That is a lot of code. Why do we have so much code?”, lol18:14
*** SergeyLukjanov has joined #openstack-oslo18:15
*** zhiyan_ is now known as zhiyan18:19
dhellmann_harlowja: thanks :-)18:23
*** dhellmann_ is now known as dhellmann18:23
harlowjawhy do we have so much code, lol18:25
dhellmannquestions most people don't ask :-)18:25
harlowja:)18:28
openstackgerritJoshua Harlow proposed a change to openstack/taskflow: Lock test tweaks  https://review.openstack.org/7940118:31
*** zhiyan is now known as zhiyan_18:34
mriedem1dims_: could you join #openstack-cinder quick?18:43
harlowjaintersting, getting taskflow notifications in here also18:52
mriedem1dims_: https://bugs.launchpad.net/cinder/+bug/129050318:53
dhellmannharlowja: all of the oslo repos should notify here now18:55
harlowjadhellmann k, good to know18:55
*** rpodolyaka has joined #openstack-oslo18:57
*** rpodolyaka has quit IRC19:04
*** rpodolyaka has joined #openstack-oslo19:06
*** mriedem has joined #openstack-oslo19:10
*** mriedem1 has quit IRC19:15
bnemecdhellmann: Do you want another look at https://review.openstack.org/#/c/78806/ or should I go ahead and approve?19:21
dhellmannbnemec: lgtm, but you can approve19:22
bnemecdhellmann: Okay, cool.  Just wanted to check because you had left a lot of comments on it. :-)19:22
dhellmannbnemec: yep, thanks :-)19:23
dims_mriedem, ack19:34
mriedemdims_: opened https://bugs.launchpad.net/cinder/+bug/1290503, was wondering if any of that made sense to you since you worked on that domain context stuff19:36
mriedembut now i'm wondering if it's related to bug 128804919:36
*** rpodolyaka has quit IRC19:41
dims_mriedem, see the differences in the log format string19:41
dims_oslo-incubator/etc/openstack.conf.sample: #logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s19:41
dims_nova/etc/nova.conf.sample:                #logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s19:41
dims_cinder may be using user19:42
dims_mriedem, try switching https://github.com/openstack/cinder/blob/master/cinder/openstack/common/log.py#L144 to look like Nova's19:44
mriedemdims_: well nova doesn't use that stuff in it's request context i don't think, nova has it's own request context19:44
mriedemit doesn't use oslo's19:44
mriedemfrom what i remmeber19:44
openstackgerritBen Nemec proposed a change to openstack/oslo-incubator: Be smarter about config generator default package name  https://review.openstack.org/7942919:52
bnemecHah!  20 pending reviews.  Pretty sure that's a new record for me. :-)19:54
lbragstadbnemec: ++ nice19:55
bnemeclbragstad: Clearly I need to get busy reviewing now. :-)19:56
lbragstad:)19:57
dims_mriedem, that was just the initial thought looking at the stack trace. i am heading out, should be back later today. will look deeper19:57
bnemecHeh, awesome.  The utf8 thing came up on the list about an hour after we discussed it here.20:01
bnemecGuess we're not the only ones worried about it.20:01
openstackgerritgordon chung proposed a change to openstack/pycadf: add docstrings to functions  https://review.openstack.org/7944020:29
*** rpodolyaka has joined #openstack-oslo20:41
*** rpodolyaka has quit IRC20:46
*** rpodolyaka has joined #openstack-oslo20:47
openstackgerritgordon chung proposed a change to openstack/pycadf: add docstrings to functions  https://review.openstack.org/7944021:18
openstackgerritJenkins proposed a change to openstack/oslo-incubator: Updated from global requirements  https://review.openstack.org/7764421:36
*** dims_ has quit IRC21:58
*** lbragstad has quit IRC22:15
*** dims_ has joined #openstack-oslo22:15
harlowjadhellmann off the top of your head do u know if there are bugs/blueprints tracking the oslo.messaging py3.3 adjustments?22:32
*** mriedem has left #openstack-oslo22:37
*** yamahata has quit IRC22:54
*** yamahata has joined #openstack-oslo22:56
*** rpodolyaka has quit IRC23:04
*** rpodolyaka has joined #openstack-oslo23:09
*** flaper87 is now known as flaper87|afk23:22
openstackgerritJoshua Harlow proposed a change to openstack/oslo.messaging: Start adding a futures executor based executor  https://review.openstack.org/7091423:23
*** yamahata has quit IRC23:31
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: WIP: Support -S flag in scripts  https://review.openstack.org/7949223:39
*** beav has quit IRC23:45
*** beav has joined #openstack-oslo23:46
*** beav has quit IRC23:50
*** bknudson has joined #openstack-oslo23:58

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