Thursday, 2016-04-07

*** zz_dimtruck is now known as dimtruck00:00
*** mriedem has left #openstack-oslo00:12
*** dimtruck is now known as zz_dimtruck00:13
*** sputnik13 has quit IRC00:18
*** sputnik13 has joined #openstack-oslo00:19
*** mriedem has joined #openstack-oslo00:19
*** amrith is now known as _amrith_00:21
*** sputnik13 has quit IRC00:23
*** mtanino__ has joined #openstack-oslo00:27
*** mtanino has quit IRC00:28
*** mtanino__ has quit IRC00:33
*** achanda has quit IRC00:40
*** _amrith_ is now known as amrith00:40
*** vilobhmm111 has quit IRC00:41
*** vilobhmm11 has joined #openstack-oslo00:46
*** browne has quit IRC00:47
*** zz_dimtruck is now known as dimtruck00:54
*** jimbobhickville has joined #openstack-oslo00:58
*** harlowja has quit IRC01:00
*** harlowja has joined #openstack-oslo01:03
*** achanda has joined #openstack-oslo01:18
*** EinstCrazy has joined #openstack-oslo01:29
*** zqfan has joined #openstack-oslo01:54
*** amrith is now known as _amrith_01:59
*** salv-orlando has joined #openstack-oslo02:03
*** mriedem has quit IRC02:16
*** browne has joined #openstack-oslo02:16
*** salv-orlando has quit IRC02:23
*** salv-orlando has joined #openstack-oslo02:28
*** salv-orlando has quit IRC02:33
*** jimbobhickville has quit IRC02:34
*** EinstCrazy has quit IRC02:35
*** EinstCrazy has joined #openstack-oslo02:36
*** edmondsw has quit IRC02:36
*** yamamoto_ has joined #openstack-oslo02:37
*** gcb has quit IRC02:47
*** eliqiao has quit IRC03:01
*** openstackstatus has quit IRC03:01
*** eliqiao has joined #openstack-oslo03:02
*** gcb has joined #openstack-oslo03:08
*** achanda has quit IRC03:09
*** yamamoto_ has quit IRC03:20
*** dimtruck is now known as zz_dimtruck03:32
*** salv-orlando has joined #openstack-oslo03:50
*** sekrit has quit IRC03:51
*** salv-orlando has quit IRC03:52
*** salv-orlando has joined #openstack-oslo03:53
*** salv-orlando has quit IRC03:58
*** jamespage has quit IRC04:00
*** jamespage has joined #openstack-oslo04:01
*** sekrit has joined #openstack-oslo04:05
*** yamamoto_ has joined #openstack-oslo04:10
*** links has joined #openstack-oslo04:12
*** amotoki has joined #openstack-oslo04:20
*** achanda has joined #openstack-oslo04:22
*** achanda has quit IRC04:37
*** eliqiao_ has joined #openstack-oslo04:43
*** eliqiao has quit IRC04:44
*** salv-orlando has joined #openstack-oslo04:57
*** salv-orlando has quit IRC05:01
*** achanda has joined #openstack-oslo05:03
*** salv-orlando has joined #openstack-oslo05:11
*** harlowja_at_home has joined #openstack-oslo05:17
openstackgerritOleksii Zamiatin proposed openstack/oslo.messaging: wip: [zmq] Fix cast message loss in simulator  https://review.openstack.org/30251405:21
*** achanda has quit IRC05:33
*** Will_wj has quit IRC05:39
openstackgerritJoshua Harlow proposed openstack/taskflow: Make it easier to restart/resume a prior reverted flow  https://review.openstack.org/30193905:42
openstackgerritJuan Antonio Osorio Robles proposed openstack/oslo.messaging: Make transport_url config option secret  https://review.openstack.org/29914005:43
*** rcernin has joined #openstack-oslo05:45
*** nkrinner has joined #openstack-oslo05:49
*** achanda has joined #openstack-oslo05:59
*** lpetrut has joined #openstack-oslo06:05
*** ksnihyr has joined #openstack-oslo06:08
*** harlowja_at_home has quit IRC06:12
*** dukhlov has joined #openstack-oslo06:20
*** achanda has quit IRC06:22
*** pcaruana has joined #openstack-oslo06:26
*** eliqiao_ is now known as eliqiao06:28
*** dukhlov has quit IRC06:31
*** dukhlov has joined #openstack-oslo06:32
*** dukhlov has quit IRC06:34
*** tesseract has joined #openstack-oslo06:45
*** tesseract is now known as Guest1287606:45
*** salv-orlando has quit IRC06:52
*** dukhlov has joined #openstack-oslo06:59
*** EinstCra_ has joined #openstack-oslo06:59
*** EinstCrazy has quit IRC07:02
openstackgerritMehdi Abaakouk (sileht) proposed openstack/oslo.messaging: wip: tests: rabbitmq failover test  https://review.openstack.org/30177107:11
*** ihrachys has joined #openstack-oslo07:11
*** lpetrut has quit IRC07:21
*** jpena|off is now known as jpean07:44
*** jpean is now known as jpena07:44
*** jamielennox is now known as jamielennox|away07:45
*** browne has quit IRC07:47
*** dukhlov has quit IRC07:47
*** shardy has joined #openstack-oslo07:47
*** dukhlov has joined #openstack-oslo07:50
*** dukhlov has quit IRC07:54
*** salv-orlando has joined #openstack-oslo07:54
*** dukhlov has joined #openstack-oslo07:55
*** dukhlov has quit IRC07:58
*** dukhlov has joined #openstack-oslo08:00
*** yassine__ has joined #openstack-oslo08:07
*** salv-orlando has quit IRC08:10
*** dukhlov has quit IRC08:17
*** dukhlov has joined #openstack-oslo08:20
*** salv-orlando has joined #openstack-oslo08:26
*** dukhlov has quit IRC08:27
*** dukhlov has joined #openstack-oslo08:29
*** openstackstatus has joined #openstack-oslo08:29
*** ChanServ sets mode: +v openstackstatus08:29
openstackgerritMehdi Abaakouk (sileht) proposed openstack/oslo.messaging: wip: tests: rabbitmq failover test  https://review.openstack.org/30177108:31
-openstackstatus- NOTICE: jobs depending on npm are now working again08:34
*** dukhlov has quit IRC08:38
*** dukhlov has joined #openstack-oslo08:40
*** dukhlov has quit IRC08:42
*** dukhlov has joined #openstack-oslo08:46
openstackgerritMehdi Abaakouk (sileht) proposed openstack/oslo.messaging: tests: allow to override the functionnal tests suite args  https://review.openstack.org/30260008:46
*** dukhlov has quit IRC08:48
*** dukhlov has joined #openstack-oslo08:49
*** ndipanov has joined #openstack-oslo08:50
*** cdent has joined #openstack-oslo08:50
*** e0ne has joined #openstack-oslo08:50
*** EinstCra_ is now known as EinstCrazy08:51
*** dukhlov has quit IRC08:51
*** salv-orl_ has joined #openstack-oslo08:52
*** salv-orlando has quit IRC08:55
*** vilobhmm11 has quit IRC09:09
*** lpetrut has joined #openstack-oslo09:28
*** links has quit IRC09:31
*** yamamoto_ has quit IRC09:40
*** links has joined #openstack-oslo09:44
*** ndipanov has quit IRC09:53
*** mhickey has joined #openstack-oslo09:54
*** ndipanov has joined #openstack-oslo09:54
*** achanda has joined #openstack-oslo09:56
*** obondarev has quit IRC10:00
*** achanda has quit IRC10:02
*** obondarev has joined #openstack-oslo10:06
*** obondarev has quit IRC10:12
*** ozamiatin has joined #openstack-oslo10:12
*** Kiall has quit IRC10:14
*** Kiall has joined #openstack-oslo10:14
*** cdent has quit IRC10:16
*** sdague has joined #openstack-oslo10:20
*** EinstCrazy has quit IRC10:30
*** obondarev has joined #openstack-oslo10:31
*** mhickey has quit IRC10:35
*** links has quit IRC10:39
openstackgerritOleksii Zamiatin proposed openstack/oslo.messaging: [zmq] Fix cast message loss in simulator  https://review.openstack.org/30251410:41
*** yamamoto has joined #openstack-oslo10:42
*** Guest12876 is now known as tesseract10:47
*** tesseract is now known as Guest7403610:48
*** mhickey has joined #openstack-oslo10:50
*** andymaier has joined #openstack-oslo10:53
*** links has joined #openstack-oslo10:56
*** achanda has joined #openstack-oslo10:58
*** pblaho has joined #openstack-oslo11:03
*** achanda has quit IRC11:03
*** yamamoto has quit IRC11:04
*** yamamoto has joined #openstack-oslo11:06
*** cdent has joined #openstack-oslo11:14
*** dukhlov has joined #openstack-oslo11:23
*** john_bar has quit IRC11:29
*** _amrith_ is now known as amrith11:44
*** jhesketh has joined #openstack-oslo11:50
*** ChanServ changes topic to "#openstack-oslo"11:50
*** asarfaty has joined #openstack-oslo11:52
asarfatyHi guys, I want to add a new Opt type in the oslo.config, for ports list. Could you please help me understand the number of version I should write as the version added for this type?11:53
*** cdent has quit IRC11:55
*** gordc has joined #openstack-oslo11:55
dims@asarfaty : we have 3.9.0 now (https://pypi.python.org/pypi/oslo.config/) so probably 3.10.0?11:57
*** cdent has joined #openstack-oslo11:59
*** andymaier has quit IRC11:59
asarfaty@dims : Thanks12:04
*** EinstCrazy has joined #openstack-oslo12:06
*** lpetrut has quit IRC12:07
*** jhesketh has quit IRC12:07
*** lpetrut has joined #openstack-oslo12:07
dims@asarfaty : hopefully others will chime in during review12:07
*** achanda has joined #openstack-oslo12:07
*** jhesketh has joined #openstack-oslo12:07
openstackgerritDmitry Mescheryakov (dmitryme) proposed openstack/oslo.messaging: Allow simulator to be launched from arbitrary directory  https://review.openstack.org/30270812:11
openstackgerritAdit Sarfaty proposed openstack/oslo.config: Add PortList Opt to support configuration of a list of tcp/ip ports  https://review.openstack.org/30271112:14
*** achanda has quit IRC12:15
*** asarfaty has quit IRC12:19
*** edmondsw has joined #openstack-oslo12:23
*** salv-orl_ has quit IRC12:28
*** pradk has joined #openstack-oslo12:34
*** kgiusti has joined #openstack-oslo12:34
*** jpena is now known as jpena|lunch12:35
*** lucasagomes has quit IRC12:37
*** lucasagomes has joined #openstack-oslo12:38
*** salv-orlando has joined #openstack-oslo12:40
*** lucasagomes has quit IRC12:45
*** lucasagomes has joined #openstack-oslo12:46
*** sigmavirus24_awa is now known as sigmavirus2412:47
*** achanda has joined #openstack-oslo12:47
*** achanda has quit IRC12:58
*** rlrossit has joined #openstack-oslo13:02
*** achanda has joined #openstack-oslo13:08
openstackgerritSean Dague proposed openstack/oslo.context: WIP: alternate approach to context building  https://review.openstack.org/30274413:12
sdaguerbradfor: so this is a different approach on the context which I thought was easier to push a random patch to show instead of comment on yours in gerrit13:12
sdagueI expect this is throw away, but it should get the concept across13:12
*** achanda has quit IRC13:13
*** jimbobhickville has joined #openstack-oslo13:16
*** dukhlov has quit IRC13:25
*** dukhlov has joined #openstack-oslo13:26
*** mriedem has joined #openstack-oslo13:26
*** cdent has quit IRC13:31
*** yamamoto has quit IRC13:40
*** jpena|lunch is now known as jpena13:41
*** links has quit IRC13:46
*** yamamoto has joined #openstack-oslo13:57
*** cdent has joined #openstack-oslo13:59
rbradforsdague, looking14:00
*** yamahata has joined #openstack-oslo14:01
rbradforsdague, so I've been looking at the mess that is context building of headers.14:01
rbradforyour approach is clean as it doesn't consider all of the deprecated approaches.14:02
rbradforuser_id = req.headers.get('X_USER_ID', req.headers.get('X_USER')), uth_token = req.headers.get('X_AUTH_TOKEN', req.headers.get('X_STORAGE_TOKEN')) and the whole X_TENANT_ID/X_TENANT handling.  I was trying to think of an agnositic approach.14:03
*** yamamoto has quit IRC14:03
rbradforyou have just assumed these legacy things are no longer applicable. I really like that, but I do not know the status of compatibility needs.14:04
rbradforsdague, another consideration, is in what use cases of instances are these _name variables needing to be defined, if generally always via middleware, then passing them just as environ is an approach we should standardize on.14:06
rbradforfuthermore, taking the kwargs approach further, there subclassed contexts, that just set X, by enabling oslo_context to accept a project specific set of keys, we can further reduce per project divergence of the base class.14:08
*** nkrinner has quit IRC14:12
krotscheckAny cores around? I've got a stack of middleware patches that are wedged on https://review.openstack.org/#/c/291381/14:15
patchbotkrotscheck: patch 291381 - oslo.middleware - Retain reference to GroupAttrs in CORS middleware14:15
krotscheckNot wedged. Blocked.14:15
openstackgerritOleksii Zamiatin proposed openstack/oslo.messaging: wip: [kafka] Add functional gate job for notifications  https://review.openstack.org/30279714:16
*** yamamoto has joined #openstack-oslo14:29
openstackgerritKirill Bespalov proposed openstack/oslo.messaging: Replace all direct imports of python logging module with oslo.log  https://review.openstack.org/30281114:30
*** zz_dimtruck is now known as dimtruck14:30
*** ozamiatin has quit IRC14:32
*** psanchez has quit IRC14:33
rbradforsdague, can I take https://review.openstack.org/#/c/302744 and clean it up!14:46
sdaguerbradfor: cool, great14:48
sdaguesorry, was on a call so missed your earlier messages14:48
rbradfornp14:48
rbradforI added some comments to your review, includes some of my research14:48
sdaguerbradfor: I was wondering about the deprecated options14:49
sdaguebut I didn't really go there14:49
sdagueso... the other thing we could do14:49
sdagueis make a RequestContext2 which is the clean new version14:50
rbradfori was just taking the low road first, incrementally adding attributes, that we could plug into to, your starting with the high road of a longer term goal, and honestly why tinker around the edges, lets just role with a solid change and see how it works out, got plenty of time in cycle14:50
sdaguethen get projects to cut over to that14:50
sdagueso that we don't need the complexity of deprecated handling bits in the main logic14:50
rbradforI think the deprecation complexity goes back to middleware to sort out, we keep context clean.14:51
sdagueok cool14:51
rbradforI don't see a need for a RequestContext2, lets' just get this right and see it is backwards compatible to enable changes to projects.14:52
*** salv-orl_ has joined #openstack-oslo14:52
rbradforI'll clean this up, and add some more thoughts I have today.  I'm on vacation from tomorrow so would like to get a passing version for feedback.14:52
*** salv-orl_ has quit IRC14:53
sdaguerbradfor: cool14:53
sdaguehonestly, I think the X_TENANT_ID / X_TENANT code in nova is super old, and I wouldn't worry about it in oslo.context14:54
rbradforsdague, you were just more aggressive in ripping this apart as a single change, I need to be more aggressive.14:54
*** salv-orlando has quit IRC14:54
rbradforyep, I'm going to assume project middleware can work out that deprecated stuff.14:54
sdaguebecause I think what ends up happening is step one, we get nova to pass the request env down14:54
sdaguethen we just stop it reading most of the env vars that oslo.context does14:54
rbradforfunny, I have a draft policy on better deprecation management, this is another example of no tracking on physical removal14:55
*** sigmavirus24 is now known as sigmavirus24_awa14:55
*** sigmavirus24_awa is now known as sigmavirus2414:55
sdagueyeh, I think it's one of those things where it was working with different behaviors of keystone middleware, and just no one did the cleanup when they could14:55
sdagueas it's not super clear when that would happen14:56
sdaguewe need to optimize for delete more often14:56
rbradforwell perhaps it's a cycle to push that discussion thru.14:56
rbradforsdague, why did you add domain_name?14:57
sdaguerbradfor: laziness?14:57
sdaguethis wasn't 100% right, I was just trying to sketch the concept14:58
sdagueof env parsing during __init__14:58
sdagueand processing kwargs for overrides14:58
sdagueall from a central master list14:58
*** regXboi has joined #openstack-oslo14:58
openstackgerritMerged openstack/oslo.messaging: Make transport_url config option secret  https://review.openstack.org/29914015:05
*** Guest74036 has quit IRC15:10
*** ksnihyr has quit IRC15:16
*** achanda has joined #openstack-oslo15:24
*** yamahata has quit IRC15:26
openstackgerritKirill Bespalov proposed openstack/oslo.messaging: Replace all direct imports of python logging module with oslo.log  https://review.openstack.org/30281115:31
rbradforsdague, so, just updated a version (see review), it didn't quite work out as planned, I had to make a few compromises, perhaps you can weigh in15:32
sdagueoslo.context changes not reporting in here?15:32
rbradforsdague, I noticed that, I don't know why, but its there15:33
rbradforbot fail!15:33
sdagueis it listed in project-config?15:33
rbradforplenty of other reviews for olso.context hit this channel15:33
sdagueoh, you are right15:34
sdaguehmmm15:34
rbradforsdague, anyway, a few things that bother me.15:34
rbradforI wanted to take your CONTEXT_ATTR idea and extend to attributes to set, but not have (at least yet) any environment component, but I ran foul of boolean defaults15:35
sdaguerbradfor: hmmm... I'm not sure exactly what you are saying there15:35
*** links has joined #openstack-oslo15:36
sdaguealso, is there a reason you didn't fill in the DOMAIN bits with headers?15:36
sdaguethe domain vars are listed here - http://docs.openstack.org/developer/keystonemiddleware/api/keystonemiddleware.auth_token.html#what-auth-token-adds-to-the-request-for-use-by-the-openstack-service15:36
*** EinstCrazy has quit IRC15:36
*** mtanino has joined #openstack-oslo15:37
*** achanda has quit IRC15:37
rbradforsdague, See L42-43,51,52,  given there is DOMAIN_ID and DOMAIN_NAME I'll add those.15:37
rbradforso see lines 51,5215:38
rbradforbut this does not work for is_admin L7915:38
sdagueright15:38
rbradforso it's usefullness was not as indented.15:39
sdaguehonestly, my feeling is that only things which have keystone vars should be in this list15:39
sdagueand everything else is just handed as a named parameter in __init__15:39
sdagueis_admin is one of those things that gets used when you need to create a context to do arbitrary db actions15:40
sdaguebecause it can pass all the policy checks15:40
rbradforok, so I can see we could go back to middleware only variables.15:40
sdaguehttp://codesearch.openstack.org/?q=get_admin_context&i=nope&files=&repos=15:41
rbradforI know of the various usages for the booleans, is_admin, overwrite etc15:42
sdaguerbradfor: right, I think my point is that typically contexts built with is_admin are done on the fly as ephemeral things in code15:43
sdaguekind of an in code sudo15:43
sdaguethat is orthoginal to the request context that was created15:43
sdaguefrom the wsgi request15:44
rbradfora context request is created for multiple purposes.15:44
sdagueso it's always going to be a thing you explicity ask for15:44
sdaguesure15:44
rbradforok, I'll revert to keystone only attributes15:44
sdagueyeh, that seems simpler15:45
*** links has quit IRC15:48
*** browne has joined #openstack-oslo15:53
*** pcaruana has quit IRC15:53
rbradforyou know if we overload CONTEXT_ATTRS with additional entries, we get _ids for free (e.g. project_id, user_id), and even project and tenant15:53
rbradforI just don't know how we could then ever deprecate the user,project,tenant etc (non id) attributes15:54
rbradforsdague, it would not populate them accordingly if passed as kwarg (e.g. passing user_id would not populate user)15:56
sdaguerbradfor: right that was actually part of the reason I set up that datastructure that way15:57
sdaguehowever, I agree, that means we can't deprecate them because they are auto filled15:57
openstackgerritRonald Bradford proposed openstack/oslo.context: WIP: alternate approach to context building  https://review.openstack.org/30274415:57
sdagueI would tend to pick the names we eventually want here15:57
sdaguewhich seem like they should all end in _id or _name for clarity15:58
sdagueand do custom folding of any legacy attributes you think we want15:58
rbradforsdague, hence https://review.openstack.org/#/c/290907/15:58
patchbotrbradfor: patch 290907 - oslo-specs - Standardize Context Arguments spec15:58
sdagueright15:58
rbradforperhaps after vacation I'll just do that, I find all the duplication across multiple projects for _id's really annoying15:59
*** dukhlov has quit IRC16:02
*** mtanino has quit IRC16:02
*** mtanino has joined #openstack-oslo16:03
sdagueyeh16:04
sdaguerbradfor: when are you back from vacation?16:05
rbradforsdague, Apr 21st?16:06
*** yamamoto has quit IRC16:06
*** yamahata has joined #openstack-oslo16:07
sdagueok cool16:08
*** e0ne has quit IRC16:08
sdagueso basically back, regroup, then Austin?16:08
rbradforsdague, yes16:09
*** e0ne has joined #openstack-oslo16:09
sdagueok, so who else do we need to review context changes?16:11
rbradforI have some other context stuff I'd like to see happen, so perhaps just do it and see what people say!  It can be tough because of the project dependencies, and when core patches get stuck in limbo I get a lot of half done things16:11
sdaguebecause I'd love to get that context building one out there16:11
rbradforsdague, well, I've invalidated myself, but I'll push for feedback, dhellmann has a good grasp of it16:12
*** ksnihyr has joined #openstack-oslo16:14
sdagueok, I'm going to get a bit of outside time before the rain comes.16:15
*** mhickey has quit IRC16:17
*** david-lyle has quit IRC16:36
*** browne has quit IRC16:37
*** e0ne has quit IRC16:42
*** pblaho has quit IRC16:49
*** pblaho has joined #openstack-oslo16:51
*** rcernin has quit IRC16:52
*** lpetrut has quit IRC17:00
*** zqfan has quit IRC17:02
*** jpena is now known as jpena|off17:03
*** yamahata has quit IRC17:06
*** david-lyle has joined #openstack-oslo17:06
*** yamamoto has joined #openstack-oslo17:07
*** pcaruana has joined #openstack-oslo17:08
*** david-lyle has quit IRC17:11
*** salv-orlando has joined #openstack-oslo17:12
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.service: Updated from global requirements  https://review.openstack.org/30298817:13
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.utils: Updated from global requirements  https://review.openstack.org/30298917:13
openstackgerritOpenStack Proposal Bot proposed openstack/oslo.versionedobjects: Updated from global requirements  https://review.openstack.org/30299017:13
openstackgerritOpenStack Proposal Bot proposed openstack/oslotest: Updated from global requirements  https://review.openstack.org/30299117:13
openstackgerritOpenStack Proposal Bot proposed openstack/pycadf: Updated from global requirements  https://review.openstack.org/30299217:13
*** salv-orlando has quit IRC17:15
*** yamamoto has quit IRC17:16
*** david-lyle has joined #openstack-oslo17:17
*** cdent has quit IRC17:20
*** browne has joined #openstack-oslo17:21
*** david-lyle has quit IRC17:23
*** rcernin has joined #openstack-oslo17:33
*** rlrossit has quit IRC17:33
*** ihrachys has quit IRC17:41
*** rlrossit has joined #openstack-oslo17:48
*** e0ne has joined #openstack-oslo17:53
*** david-lyle has joined #openstack-oslo17:56
*** david-lyle has quit IRC17:56
*** david-lyle has joined #openstack-oslo17:58
*** e0ne has quit IRC18:03
*** shardy has quit IRC18:12
*** vilobhmm11 has joined #openstack-oslo18:13
*** e0ne has joined #openstack-oslo18:13
*** vilobhmm111 has joined #openstack-oslo18:14
*** e0ne has quit IRC18:14
*** vilobhmm11 has quit IRC18:18
*** salv-orlando has joined #openstack-oslo18:32
*** salv-orlando has quit IRC18:38
*** nihilifer has quit IRC18:39
*** vilobhmm111 has quit IRC18:39
*** cdent has joined #openstack-oslo18:40
openstackgerritMerged openstack/oslotest: Updated from global requirements  https://review.openstack.org/30299118:47
*** salv-orlando has joined #openstack-oslo18:52
*** e0ne has joined #openstack-oslo19:00
*** salv-orlando has quit IRC19:01
*** nikhil has quit IRC19:07
*** rlrossit has quit IRC19:10
*** nikhil has joined #openstack-oslo19:11
*** david-lyle_ has joined #openstack-oslo19:13
*** salv-orlando has joined #openstack-oslo19:14
*** david-lyle has quit IRC19:15
*** sigmavirus24 is now known as sigmavirus24_awa19:17
*** david-lyle_ has quit IRC19:19
*** ihrachys has joined #openstack-oslo19:24
openstackgerritMerged openstack/oslo.config: Updated from global requirements  https://review.openstack.org/30287419:26
*** david-lyle has joined #openstack-oslo19:29
*** vilobhmm11 has joined #openstack-oslo19:30
*** david-lyle has quit IRC19:31
rbradforsdague, was waiting for jenkins to submit a followup on https://review.openstack.org/#/c/302744/ . looking at more info on the 110 failed tempest tests, http://logs.openstack.org/44/302744/3/check/gate-tempest-dsvm-neutron-src-oslo.context/b8aeab6/console.html#_2016-04-07_18_08_14_94419:31
patchbotrbradfor: patch 302744 - oslo.context - WIP: alternate approach to context building19:31
*** david-lyle has joined #openstack-oslo19:31
*** dukhlov has joined #openstack-oslo19:32
*** rlrossit has joined #openstack-oslo19:35
sdaguerbradfor: looks like roles didn't get set correctly -19:36
sdague<rbradfor> sdague, was waiting for jenkins to submit a followup on https://review.openstack.org/#/c/302744/ . looking at more info on the 110 failed tempest tests, http://logs.openstack.org/44/302744/3/check/gate-tempest-dsvm-neutron-src-oslo.context/b8aeab6/console.html#_2016-04-07_18_08_14_94419:36
patchbotsdague: patch 302744 - oslo.context - WIP: alternate approach to context building19:36
sdaguehttp://logs.openstack.org/44/302744/3/check/gate-tempest-dsvm-neutron-src-oslo.context/b8aeab6/logs/screen-n-cpu.txt.gz#_2016-04-07_17_44_46_01719:37
rbradfornova fails, http://logs.openstack.org/44/302744/3/check/gate-tempest-dsvm-neutron-src-oslo.context/b8aeab6/logs/screen-n-cpu.txt.gz#_2016-04-07_17_44_46_01719:37
sdagueso nova compute died19:37
rbradforsdague, ok, same one19:37
sdagueright, roles isn't an array19:37
*** david-lyle has quit IRC19:37
rbradforwell, NoneType would indicate it was not set?19:38
sdagueso... what must be happening here is nova is explicitly sending None down19:39
sdaguewhich used to convert to an array19:39
sdagueyeh...19:40
sdaguethis is going to need a bit of legacy compat for that19:40
sdaguehttps://review.openstack.org/#/c/302744/319:42
patchbotsdague: patch 302744 - oslo.context - WIP: alternate approach to context building19:42
sdagueupdated the review comment there, I think that's the fix19:42
rbradforwell, I was testing in this defensive condition for other errors, I thought roles was an array19:43
rbradforif not set, just checking19:43
rbradforperhaps not19:43
sdaguethe from env is going to set it to []19:43
sdaguehowever, we process kwargs after that19:43
rbradforagreed19:44
sdagueso if you sent roles=None it will happy set self.roles = None19:44
kevinbentondims: yo, oslo config question for you19:44
rbradforsdague, ok, I'll add it to my next patchset19:44
dimsyes kevinbenton19:44
sdaguewe could also try to go through kwargs and only set the attr if it's not None19:44
sdagueunder the assumption that no one really wants to zero those out for real19:45
sdaguewhich might be a fine assumption19:45
sdagueI don't know19:45
rbradforsdague, so we need to have some attributes defined, i.e. set to at least None19:45
kevinbentondims: would it be possible to change the deprecation warning logic to only print if a value is not specified to a particular option?19:45
sdaguerbradfor: the attrs are exist19:45
sdagueself.roles is there19:45
kevinbentondims: right now, it only prints if they specify non-default, right?19:46
sdaguethe from_environ did that19:46
sdaguebut, it's None, so the iteration fails on type failure19:46
rbradforyeah, the array is a special case we need as per your review comment.19:46
sdagueyeh19:46
dimskevinbenton : like deprecated values?19:47
kevinbentondims: yeah19:47
kevinbentondims: want to deprecate all but one value19:47
kevinbentondims: and unfortunately that value is not the default19:47
dimsinteresting, guess it should be possible19:47
kevinbentondims: we have a legacy crappy option that is the default in the neutron l3 agent19:47
kevinbentondims: and we want to warn people that it sucks and it might be removed later19:48
sdaguerbradfor: also, yay for pre testing libraries in a full stack :)19:48
dimskevinbenton : there's probably another way to do it. give me a sec19:48
kevinbentondims: excellent, right now i have this. https://review.openstack.org/#/c/298443/19:49
patchbotkevinbenton: patch 298443 - neutron - Fix deprecation warning for external_network_bridge19:49
kevinbentondims: but i was hoping for something more contained in oslo cfg19:49
rbradforsdague, np, I just have to rebase as I'd added to the patchset19:49
openstackgerritRonald Bradford proposed openstack/oslo.context: Alternate approach to context building  https://review.openstack.org/30274419:52
openstackgerritRonald Bradford proposed openstack/oslo.context: Support extra attributes for context  https://review.openstack.org/30304919:52
*** rlrossit has quit IRC19:53
dimskevinbenton : sounds like a good feature to add... rbradfor : what do you think?19:57
dimsharlowja : ^^19:58
harlowjaseems fair to me19:58
kevinbentonbasically a "warn_if_not_value" param19:58
harlowjaright19:59
dimsharlowja : i was looking at debtcollector to see if there was anything there..19:59
dims:)19:59
kevinbentonso i'm looking at the _get_from_namespace function in olso cfg19:59
kevinbentonwhere the warning is emitted19:59
harlowjadims don't think so19:59
rbradforso, this is warn if value?19:59
harlowjawarn_if_value is a lambda, or just something else?20:00
kevinbentonprobably a lambda20:00
harlowjak20:00
kevinbentonbecause in our case we need a warn if not value20:00
kevinbentonthere is one value we want to push everyone towards20:00
*** yamahata has joined #openstack-oslo20:00
harlowjaright20:00
harlowjathe-one-value-to-rule-them-all20:00
kevinbentonwe can call it the value_worthiness_evaluator20:01
harlowja:)20:01
rbradforso, you have a default, and you say, must be set to '',  how does oslo.config treat '' as a default?20:03
kevinbentonrbradfor: '' is not the default though20:03
kevinbentonrbradfor: and unfortunately we can't change that without breaking installations20:04
rbradforkevinbenton, right, so it's a backward compat issue.20:04
kevinbentonrbradfor: yep20:04
kevinbentonso i had thought that it only warns right now if something non-default is specified, is that correct?20:05
rbradforwe talk about deprecated options, names,groups etc in https://review.openstack.org/#/c/288720/,  but this seems a case of a deprecated default value.20:06
patchbotrbradfor: patch 288720 - oslo-specs - [WIP] Add policy for managing deprecation20:06
*** jpena|off is now known as jpena20:07
*** jpena is now known as jpena|off20:08
*** jpena|off is now known as jpena20:09
rbradforkevinbenton, your review seems to address your needs, seems a discussion for us to determine usefulness of a general feature.20:11
kevinbentonrbradfor: ack20:12
rbradforkevinbenton, but it's an interesting condition.20:12
*** lpetrut has joined #openstack-oslo20:13
*** kgiusti has left #openstack-oslo20:20
*** dukhlov has quit IRC20:31
*** jpena is now known as jpena|off20:33
*** dukhlov has joined #openstack-oslo20:34
*** ericksonsantos has joined #openstack-oslo20:41
openstackgerritMerged openstack/oslo.concurrency: Updated from global requirements  https://review.openstack.org/30298120:41
*** mriedem has quit IRC20:46
openstackgerritMerged openstack/oslo.messaging: Updated from global requirements  https://review.openstack.org/30298320:52
*** nihilifer has joined #openstack-oslo20:54
openstackgerritMerged openstack/oslo.db: Updated from global requirements  https://review.openstack.org/30287520:54
*** david-lyle has joined #openstack-oslo20:56
openstackgerritMerged openstack/oslo.cache: Updated from global requirements  https://review.openstack.org/30298020:59
openstackgerritMerged openstack/oslo.versionedobjects: Updated from global requirements  https://review.openstack.org/30299021:00
*** jimbobhickville has quit IRC21:00
openstackgerritMerged openstack/oslo.i18n: Updated from global requirements  https://review.openstack.org/30298221:00
openstackgerritMerged openstack/oslo.privsep: Updated from global requirements  https://review.openstack.org/30298621:01
*** pcaruana has quit IRC21:01
*** lucasagomes has quit IRC21:03
*** e0ne has quit IRC21:04
*** ksnihyr has quit IRC21:09
*** ksnihyr has joined #openstack-oslo21:10
*** lucasagomes has joined #openstack-oslo21:11
*** e0ne has joined #openstack-oslo21:11
*** ndipanov has quit IRC21:13
*** ksnihyr has quit IRC21:14
*** shakamunyi has joined #openstack-oslo21:17
openstackgerritMerged openstack/oslo.middleware: Updated from global requirements  https://review.openstack.org/30298421:18
*** salv-orl_ has joined #openstack-oslo21:18
*** e0ne has quit IRC21:18
*** dukhlov has quit IRC21:19
*** dukhlov has joined #openstack-oslo21:19
*** salv-orlando has quit IRC21:22
*** shakamunyi has quit IRC21:24
openstackgerritDmitriy Ukhlov proposed openstack/oslo.messaging: test  https://review.openstack.org/28523921:26
openstackgerritMerged openstack/oslo.reports: Updated from global requirements  https://review.openstack.org/30298721:29
*** lucasagomes has quit IRC21:37
rbradfordims, re https://review.openstack.org/#/c/302876/ , not sure what to make of During handling of the above exception, another exception occurred  http://logs.openstack.org/76/302876/2/gate/gate-oslo.log-python34/193802d/console.html#_2016-04-07_19_33_33_21321:41
patchbotrbradfor: patch 302876 - oslo.log - Updated from global requirements21:41
*** lucasagomes has joined #openstack-oslo21:45
openstackgerritMerged openstack/pycadf: Updated from global requirements  https://review.openstack.org/30299221:48
*** lucasagomes has quit IRC21:50
*** lucasagomes has joined #openstack-oslo21:56
*** regXboi has quit IRC21:58
*** ihrachys has quit IRC22:05
*** ksnihyr has joined #openstack-oslo22:10
*** jeckersb is now known as jeckersb_gone22:11
*** ksnihyr has quit IRC22:15
*** shakamunyi has joined #openstack-oslo22:18
*** mikal has quit IRC22:18
*** mikal has joined #openstack-oslo22:18
*** barra204 has joined #openstack-oslo22:20
openstackgerritDmitriy Ukhlov proposed openstack/oslo.messaging: test  https://review.openstack.org/28523922:22
*** dukhlov has quit IRC22:22
*** shakamunyi has quit IRC22:24
*** barra204 has quit IRC22:25
*** dimtruck is now known as zz_dimtruck22:28
*** rcernin has quit IRC22:29
*** lpetrut has quit IRC22:32
*** yassine__ has quit IRC22:37
*** gordc has quit IRC22:46
openstackgerritMerged openstack/oslo.service: Updated from global requirements  https://review.openstack.org/30298822:56
openstackgerritMerged openstack/oslo.utils: Updated from global requirements  https://review.openstack.org/30298922:56
*** zz_dimtruck is now known as dimtruck22:56
*** sdague has quit IRC22:57
*** ksnihyr has joined #openstack-oslo23:11
*** mriedem has joined #openstack-oslo23:14
*** vilobhmm111 has joined #openstack-oslo23:15
*** ksnihyr has quit IRC23:17
*** vilobhmm11 has quit IRC23:17
openstackgerritMerged openstack/oslo.policy: Updated from global requirements  https://review.openstack.org/30298523:21
*** salv-orl_ has quit IRC23:24
*** jamielennox|away is now known as jamielennox23:36
*** vilobhmm111 has quit IRC23:46

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