Friday, 2015-04-03

*** dims has quit IRC00:04
*** achanda has joined #openstack-oslo00:09
*** li-ma has quit IRC00:14
*** li-ma has joined #openstack-oslo00:14
*** li-ma has quit IRC00:20
*** dims has joined #openstack-oslo00:22
*** YorikSar has quit IRC00:25
*** li-ma has joined #openstack-oslo00:30
*** bknudson has joined #openstack-oslo00:43
*** ChuckC has quit IRC00:44
*** cpg is now known as cpg|away00:46
*** ujjain has quit IRC00:48
*** BrianShang_ has joined #openstack-oslo00:54
*** BrianShang has quit IRC00:56
*** sputnik13 has quit IRC00:58
*** redrobot has quit IRC00:59
*** tteggel_ has quit IRC01:00
*** amauryme` has quit IRC01:01
*** jgrimm has quit IRC01:01
*** tteggel has joined #openstack-oslo01:01
*** jgrimm has joined #openstack-oslo01:02
*** amaurymedeiros has joined #openstack-oslo01:05
*** amaurymedeiros has quit IRC01:05
*** amaurymedeiros has joined #openstack-oslo01:05
*** redrobot has joined #openstack-oslo01:06
*** redrobot is now known as Guest4807401:06
*** stevemar has quit IRC01:07
*** li-ma has quit IRC01:18
*** kiseok7_ has joined #openstack-oslo01:33
*** takedakn has joined #openstack-oslo01:38
*** harlowja is now known as harlowja_away01:52
*** amrith is now known as _amrith_01:54
*** yamahata has quit IRC01:59
*** elarson has quit IRC02:00
*** li-ma has joined #openstack-oslo02:03
*** takedakn has quit IRC02:06
*** li-ma has quit IRC02:30
*** li-ma has joined #openstack-oslo02:34
*** takedakn has joined #openstack-oslo02:46
*** takedakn has quit IRC02:49
*** cpg|away is now known as cpg02:58
*** max_lobur has quit IRC02:59
*** achanda has quit IRC03:03
*** li-ma has quit IRC03:12
*** achanda has joined #openstack-oslo03:16
*** sputnik13 has joined #openstack-oslo03:32
*** achanda has quit IRC03:36
*** links has joined #openstack-oslo03:45
*** achanda has joined #openstack-oslo03:45
*** zzzeek has joined #openstack-oslo03:46
*** stevemar has joined #openstack-oslo03:46
*** rushiagr_away is now known as rushiagr03:58
*** achanda has quit IRC04:02
*** subscope has quit IRC04:07
*** YorikSar has joined #openstack-oslo04:27
*** achanda has joined #openstack-oslo04:45
*** dougwig has quit IRC04:46
*** zhiyan has quit IRC04:46
*** zhiyan has joined #openstack-oslo04:47
*** dougwig has joined #openstack-oslo04:48
*** YorikSar has quit IRC04:58
*** zzzeek has quit IRC05:11
*** rushiagr is now known as rushiagr_away05:20
*** mdbooth has quit IRC05:32
*** sreshetn1 has joined #openstack-oslo05:36
*** arnaud___ has joined #openstack-oslo05:37
*** mdbooth has joined #openstack-oslo05:38
*** achanda has quit IRC05:57
*** YorikSar has joined #openstack-oslo05:58
*** BrianShang_ has quit IRC06:06
*** achanda has joined #openstack-oslo06:26
*** rushiagr_away is now known as rushiagr06:29
*** ihrachyshka has joined #openstack-oslo06:31
*** ttx has quit IRC06:44
*** ttx has joined #openstack-oslo06:44
*** ihrachyshka has quit IRC06:47
*** arnaud___ has quit IRC06:51
*** e0ne has joined #openstack-oslo07:09
*** stevemar has quit IRC07:18
*** e0ne has quit IRC07:20
*** amotoki has joined #openstack-oslo07:23
*** e0ne has joined #openstack-oslo07:24
*** achanda has quit IRC07:33
*** achanda has joined #openstack-oslo07:33
*** ihrachyshka has joined #openstack-oslo07:37
*** e0ne has quit IRC07:40
openstackgerritTiantian Gao proposed openstack/oslo.messaging: Do not skip functional test for amqp driver  https://review.openstack.org/17036907:41
*** spyyy has joined #openstack-oslo07:45
*** ihrachyshka has quit IRC07:47
*** sreshetn1 has quit IRC07:48
*** arnaud___ has joined #openstack-oslo07:51
*** arnaud___ has quit IRC07:56
*** dulek has joined #openstack-oslo07:57
*** sreshetn1 has joined #openstack-oslo08:01
*** dims has quit IRC08:03
*** rushiagr is now known as rushiagr_away08:04
*** sreshetn1 has quit IRC08:20
*** e0ne has joined #openstack-oslo08:28
*** sreshetn1 has joined #openstack-oslo08:30
*** sreshetn1 has quit IRC08:35
*** salv-orlando has quit IRC08:40
*** cpg is now known as cpg|away08:40
*** ndipanov has joined #openstack-oslo08:46
*** e0ne is now known as e0ne_08:48
*** e0ne_ is now known as e0ne08:49
*** andreykurilin_ has joined #openstack-oslo08:50
*** ihrachyshka has joined #openstack-oslo08:52
*** arnaud___ has joined #openstack-oslo08:52
*** sreshetn1 has joined #openstack-oslo08:53
*** achanda has quit IRC08:55
*** achanda has joined #openstack-oslo08:55
*** arnaud___ has quit IRC08:57
*** salv-orlando has joined #openstack-oslo08:57
*** sreshetn1 has quit IRC08:59
*** subscope has joined #openstack-oslo09:02
*** rushiagr_away is now known as rushiagr09:09
*** achanda has quit IRC09:25
*** achanda has joined #openstack-oslo09:28
*** achanda has quit IRC09:28
*** achanda has joined #openstack-oslo09:30
*** sreshetn1 has joined #openstack-oslo09:31
*** bnemec has quit IRC09:33
*** rushiagr is now known as rushiagr_away09:43
*** andreykurilin_ has quit IRC09:50
*** rushiagr_away is now known as rushiagr09:58
*** achanda has quit IRC10:02
*** dims has joined #openstack-oslo10:12
*** dims has quit IRC10:13
*** bnemec has joined #openstack-oslo10:19
*** dims has joined #openstack-oslo10:20
*** sreshetn1 has quit IRC10:42
*** sreshetn1 has joined #openstack-oslo10:48
*** sputnik13 has quit IRC10:52
*** sreshetn1 has quit IRC10:52
*** dulek_ has joined #openstack-oslo10:55
*** sreshetn1 has joined #openstack-oslo10:57
*** dulek has quit IRC10:59
*** sreshetn1 has quit IRC11:09
*** sreshetn1 has joined #openstack-oslo11:10
*** pblaho has joined #openstack-oslo11:12
*** e0ne is now known as e0ne_11:25
openstackgerritMerged openstack/oslo.messaging: Do not skip functional test for amqp driver  https://review.openstack.org/17036911:29
openstackgerritMerged openstack/oslo.serialization: Make the msgpackutils handlers more extendable  https://review.openstack.org/15601311:35
*** e0ne_ has quit IRC11:35
dhellmanngood morning, everyone11:40
*** alexpilotti has joined #openstack-oslo11:42
dhellmanndims: I'm not sure why https://review.openstack.org/#/c/163027/ didn't merge - maybe it actually needs 2 +2 votes? /cc bnemec11:45
*** ndipanov is now known as ndipanoff11:51
sdaguedhellmann: no workflow bit11:55
sdaguedims added it, then removed it11:56
dhellmannsdague: ah, missed that11:56
sdaguewhen he added it it would have entered the gate11:56
sdaguebut zuul wouldn't have merged it when it passed because W was missing11:56
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Add `versionutils` for version compatibility checks  https://review.openstack.org/17045212:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Remove vim header  https://review.openstack.org/17045312:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Adds decorator to deprecate functions and methods  https://review.openstack.org/17045412:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Fix violations of H302:import only modules  https://review.openstack.org/17045512:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: fixed typos  https://review.openstack.org/17045612:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Use hacking import_exceptions for gettextutils._  https://review.openstack.org/17045712:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Use oslotest instead of common test module  https://review.openstack.org/17045812:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: pep8: fixed multiple violations  https://review.openstack.org/17045912:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Add JUNO as a target to versionutils module  https://review.openstack.org/17046012:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Allow deprecated decorator to specify no plan for removal  https://review.openstack.org/17046112:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Add Kilo release name to versionutils  https://review.openstack.org/17046212:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Enhance versionutils.deprecated to work with classes  https://review.openstack.org/17046312:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Remove code that moved to oslo.i18n  https://review.openstack.org/17046412:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Remove oslo.log code and clean up versionutils API  https://review.openstack.org/17046512:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Switch from oslo.config to oslo_config  https://review.openstack.org/17046612:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Expose opts entry point for version_utils  https://review.openstack.org/17046712:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Add liberty release name to versionutils  https://review.openstack.org/17046812:09
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Move versionutils into place and remove deprecation tools  https://review.openstack.org/17046912:09
openstackgerritDoug Hellmann proposed openstack/oslo-specs: graduate-oslo-versionutils  https://review.openstack.org/16773712:11
*** stpierre has joined #openstack-oslo12:16
openstackgerritDoug Hellmann proposed openstack/oslo.log: Remove is_compatible from versionutils  https://review.openstack.org/17047112:16
sdaguedhellmann: oof, you pushed a giant series with early pep8 fails12:18
*** _amrith_ is now known as amrith12:18
dhellmannsdague: hmm, those were passing for me here -- they're old commits imported from the incubator :-/12:19
sdague2015-04-03 12:15:28.384 | ./tests/unit/test_versionutils.py:19:1: H307  like imports should be grouped together (testtools.matchers and openstack.common.test from third-party are separated by whitespace)12:19
sdague2015-04-03 12:15:28.384 | from openstack.common import test12:19
sdague2015-04-03 12:15:28.384 | ^12:19
dhellmannI wonder how that passed in the oslo.log repo when the changes went there12:20
dhellmanndid we update hacking or something?12:20
*** e0ne has joined #openstack-oslo12:21
sdaguethe kilo cycle hacking is - hacking<0.11,>=0.10.012:21
sdagueso it looks like this never updated12:21
sdagueH307 was dropped because it does bogus things like this12:21
*** prad has joined #openstack-oslo12:25
dhellmannah, so we haven't updated it in oslo.utils yet12:25
*** pblaho_ has joined #openstack-oslo12:27
viktorsdhellmann: as for patches ^ - should openstack/common/versionutils.py be added similar to sync from oslo-incubator?12:28
viktors*in a similar way12:28
dhellmannviktors: I'm not sure what you mean?12:28
sdaguedhellmann: some of these patches are weird - https://review.openstack.org/#/c/170455/1 and https://review.openstack.org/#/c/170457/1 which just set then invert the same thing12:28
viktorsdhellmann: I mean, add versionutils to openstack-common.conf and run sync script12:29
*** ihrachyshka has quit IRC12:29
dhellmannsdague: I'm importing the history of that module from the incubator, so we want it intact12:29
sdagueah.... gotcha12:30
dhellmannviktors: no, we're moving the file and we want to take all of its history12:30
dimshey dhellmann, weclome back :)12:30
dhellmannsdague: https://review.openstack.org/167737 is the spec12:30
dhellmanndims: thanks! :-)12:30
sdagueok, is there missing tox.ini changes to go with all that?12:30
sdaguebecause those commits and those commit messages don't seem to match12:30
sdaguemaybe that's just what happens in these cases12:31
*** pblaho has quit IRC12:31
*** pblaho__ has joined #openstack-oslo12:31
dhellmannsdague: yeah, the filter script removes files from commits, so the messages may no longer match exactly what changes are being made12:32
*** pblaho_ has quit IRC12:32
viktorsdhellmann: it seems to be, that I missed something. Is there any bp/etherpad/spec about it ?12:32
dhellmannwe normally don't see this, because it normally turns into a new library without the old commits being reviewed12:32
dhellmannviktors: https://review.openstack.org/16773712:32
viktorsthanks12:32
sdaguedhellmann: you fixing the hacking thing, or would you like me to?12:33
dhellmannsdague: i'm going to submit it as the first patch in my series12:34
sdagueok, coolio12:34
dhellmannrunning the tests locally now to make sure it works12:34
dhellmannthere has to be a more clever way to do this than: while tox -e pep8,py27 && git rebase --continue ; do echo ; done12:34
dhellmanndoes git have something like this?12:35
*** sreshetn1 has quit IRC12:36
sdaguegit-bisect ?12:36
*** e0ne is now known as e0ne_12:37
dhellmannyeah, I suppose that would have been another way to do it12:37
*** e0ne_ is now known as e0ne12:37
dhellmannalthough I wouldn't want it to skip around -- I would want to fix commits as needed, so doing them sequentially would be better12:39
*** miqui has joined #openstack-oslo12:42
*** sreshetn1 has joined #openstack-oslo12:47
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Add liberty release name to versionutils  https://review.openstack.org/17046812:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Move versionutils into place and remove deprecation tools  https://review.openstack.org/17046912:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Switch from oslo.config to oslo_config  https://review.openstack.org/17046612:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Expose opts entry point for version_utils  https://review.openstack.org/17046712:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Remove code that moved to oslo.i18n  https://review.openstack.org/17046412:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Remove oslo.log code and clean up versionutils API  https://review.openstack.org/17046512:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Remove vim header  https://review.openstack.org/17045312:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Add `versionutils` for version compatibility checks  https://review.openstack.org/17045212:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Fix violations of H302:import only modules  https://review.openstack.org/17045512:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Adds decorator to deprecate functions and methods  https://review.openstack.org/17045412:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Allow deprecated decorator to specify no plan for removal  https://review.openstack.org/17046112:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Add JUNO as a target to versionutils module  https://review.openstack.org/17046012:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Enhance versionutils.deprecated to work with classes  https://review.openstack.org/17046312:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Add Kilo release name to versionutils  https://review.openstack.org/17046212:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Use hacking import_exceptions for gettextutils._  https://review.openstack.org/17045712:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: fixed typos  https://review.openstack.org/17045612:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: pep8: fixed multiple violations  https://review.openstack.org/17045912:51
openstackgerritDoug Hellmann proposed openstack/oslo.utils: Use oslotest instead of common test module  https://review.openstack.org/17045812:51
*** sreshetn1 has quit IRC12:53
*** pblaho__ is now known as pblaho12:56
*** pblaho has joined #openstack-oslo12:56
*** bknudson has quit IRC13:00
*** dulek_ has quit IRC13:00
*** dims has quit IRC13:01
*** dims has joined #openstack-oslo13:02
*** elarson has joined #openstack-oslo13:18
*** sreshetn1 has joined #openstack-oslo13:26
*** mriedem_away is now known as mriedem13:26
*** miqui has quit IRC13:29
*** bknudson has joined #openstack-oslo13:30
*** amotoki has quit IRC13:33
*** openstackgerrit has quit IRC13:36
*** openstackgerrit has joined #openstack-oslo13:36
*** jecarey has joined #openstack-oslo13:39
*** rushiagr is now known as rushiagr_away13:41
*** sigmavirus24_awa is now known as sigmavirus2413:43
openstackgerritMerged openstack/oslo.policy: Lists for Generic Checks  https://review.openstack.org/16904513:49
openstackgerritDoug Hellmann proposed openstack/oslo.config: Update hacking to kilo level  https://review.openstack.org/17049413:55
openstackgerritDoug Hellmann proposed openstack/oslo.context: Update to latest hacking  https://review.openstack.org/17049513:58
openstackgerritDoug Hellmann proposed openstack/oslo.db: Update to latest hacking  https://review.openstack.org/17049613:59
openstackgerritDoug Hellmann proposed openstack/oslo.log: Update to latest hacking  https://review.openstack.org/17049714:02
openstackgerritDoug Hellmann proposed openstack/oslo.middleware: Update to latest hacking  https://review.openstack.org/17049814:03
*** sdake has joined #openstack-oslo14:03
sdakehey quick question about versioned objects support14:03
sdakeanyone around that knows about this code?14:03
dhellmannsdake: you likely want dansmith14:04
openstackgerritDoug Hellmann proposed openstack/oslo.rootwrap: Update to latest hacking  https://review.openstack.org/17049914:04
sdakedhellman thanks ill ping him14:04
sdakedansmith happen to have 5 minutes to answer some basic q's about versioned objects?14:05
openstackgerritDoug Hellmann proposed openstack/oslo.versionedobjects: Update to the latest version of hacking  https://review.openstack.org/17050314:08
*** exploreshaifali has joined #openstack-oslo14:09
openstackgerritDoug Hellmann proposed openstack/oslo.vmware: Update to latest hacking  https://review.openstack.org/17050614:11
openstackgerritDoug Hellmann proposed openstack/oslosphinx: Update to latest hacking  https://review.openstack.org/17050714:12
openstackgerritDoug Hellmann proposed openstack/oslotest: Update to latest hacking  https://review.openstack.org/17050814:13
*** zul has quit IRC14:13
*** zul has joined #openstack-oslo14:14
dansmithsdake: yeah14:20
dansmithsdake: I'm supposed to be out today, so...14:22
* dansmith taps his watch14:22
sdakedansmith is it a normal design pattern to create a version object in the api -> https://github.com/openstack/magnum/blob/master/magnum/api/controllers/v1/pod.py#L24714:22
sdakesorry was gettinga link :)14:22
*** jungleboyj has joined #openstack-oslo14:22
sdakethis model seems to work reallly  well for magnum14:22
dansmithsdake: yep, pretty normal14:23
sdakethen when it gets to the rpc server (or daemon process) it autoconverts into a new versioned object14:23
sdakecool so not doing anything out of the ordinary?14:23
dansmithwhat do you mean "autoconverts to a new versioned object" ?14:23
sdakeI copied ironic's code base early on for magnum - based upon suggestions from asalkeld14:23
sdakedansmith I mean it comes into the rpc server as a versioned object14:24
sdakekind of automatically14:24
sdakenot quite sure how that part works ;)14:24
dansmithsdake: you mean it serializes and deserializes so you get an actual object on the other side? that's ... kinda the idea :)14:24
sdakeits like somehow the object is serialized/deserialized automatically14:24
dansmithhah14:24
dansmithyeah, that's the whole point here :)14:24
sdakeright14:24
dansmithwell, one of the whole points14:24
sdakeit rocks :)14:24
dansmith\o/14:25
sdakeis it hard to convert to the oslo version of the library?14:25
dansmithit will be some work for nova for $old_reasons,14:25
dansmithbut if you copied ironic, it should be much easier14:25
sdakenice14:25
sdakeya all that code in ironic rocks14:25
sdakeif I started a new project  today I'd copy ironic14:26
sdakenot fork but copy14:26
dansmiththe library is really just a lift of the code, but with some cleanups we've been wanting to make for a long time14:26
dansmiththe major one is we removed the metaclass14:26
dansmithbecause it causes problems automatically registering everything at times,14:26
dansmithwhere you want to be able to disable something, objects for testing, etc14:26
dansmithso now there is just a decorator that says "make this a thing I can send"14:26
sdakeis there still an as_dict()?14:28
sdakewe rely on that14:28
dansmiththat's an ironic thing14:28
*** rushiagr_away is now known as rushiagr14:28
dansmithfor anything like that, you (and nova) will just subclass the main versionedobject and add those sorts of helpers to your base class14:29
dansmithand then inherit from that everywhere14:29
sdakeright14:29
sdakemakes sense14:29
sdakeone last q14:29
sdakethe versioned in the name14:29
sdakewhat is that all about?14:29
dansmithlol14:29
openstackgerritJulien Danjou proposed openstack/oslo.db: Handle CHECK constraint integrity in PostgreSQL  https://review.openstack.org/17051514:29
dansmithso the other "whole point" of this is that all objects have a version number attached,14:30
dansmithwhich lets you indicate every change you make to the object, so that if you send one to a node running old code, it can say "I don't support this version" in a handle-able way14:30
sdakeminor version number results in an exception?14:31
dansmithin nova, we automatically kick those to a service on the network that is always newer than everything else, and it can "backport" that object for the older node14:31
dansmithyes, because it's not semver14:31
sdakecool - we are not using thatfeature yet but i"m sure we will14:31
dansmithyeah, I don't think ironic is either14:31
sdakewe odnt have horizontal scale in magnum atm14:32
dansmithyeah14:32
dansmithwhen you do, we have a lot of battle scars in nova to help :)14:32
sdakecool14:32
sdakewell, versioned objects rocks when I implemente dit from ironic in december/january14:32
*** links has quit IRC14:33
sdakeI was really impressed with how it worked14:33
sdakeseemed a bit ike heavy wizardry14:33
sdakebut whatever, its a lbirary :)14:33
dansmithheh14:33
dansmithwell, glad it's working14:33
sdakeso nice job on that :)14:33
dansmiththanks :)14:34
*** subscope has quit IRC14:35
*** openstackgerrit has quit IRC14:39
*** openstackgerrit has joined #openstack-oslo14:39
*** eezhova has quit IRC14:41
*** jaypipes has joined #openstack-oslo14:42
openstackgerritJulien Danjou proposed openstack/oslotest: mockpatch: factorize code  https://review.openstack.org/16381714:43
openstackgerritMerged openstack/stevedore: Updated from global requirements  https://review.openstack.org/16647614:46
*** eezhova has joined #openstack-oslo14:49
openstackgerritMerged openstack/oslo.context: Updated from global requirements  https://review.openstack.org/16645114:55
*** daniel3_ has joined #openstack-oslo14:58
*** jaypipes is now known as leakypipes15:02
*** sdake_ has joined #openstack-oslo15:03
*** sdake has quit IRC15:07
*** exploreshaifali has quit IRC15:08
*** spyyy1 has joined #openstack-oslo15:14
*** spyyy has quit IRC15:14
*** salv-orlando has quit IRC15:20
*** exploreshaifali has joined #openstack-oslo15:21
*** zzzeek has joined #openstack-oslo15:23
*** links has joined #openstack-oslo15:26
*** YorikSar has quit IRC15:32
*** amotoki has joined #openstack-oslo15:35
*** sputnik13 has joined #openstack-oslo15:36
*** rushiagr is now known as rushiagr_away15:40
*** dims is now known as dimsum__15:44
*** harlowja_at_home has joined #openstack-oslo15:46
*** arnaud___ has joined #openstack-oslo15:50
*** rushiagr_away is now known as rushiagr15:51
*** sreshetn1 has quit IRC15:52
*** prad has quit IRC15:56
*** sreshetn1 has joined #openstack-oslo15:59
*** harlowja_at_home has quit IRC16:01
krotscheckAnyone have suggestions on how to modify/improve the configuration section in https://review.openstack.org/#/c/170260/ ?16:08
krotscheck(Best example of what I'm trying to do is here: http://docs-draft.openstack.org/60/170260/3/check/gate-oslo.middleware-docs/1e0dbec//doc/build/html/cors.html#quickstart )16:10
*** e0ne is now known as e0ne_16:14
*** exploreshaifali has quit IRC16:15
*** arnaud___ has quit IRC16:20
*** e0ne_ is now known as e0ne16:20
*** e0ne has quit IRC16:21
*** pblaho has quit IRC16:21
*** stevemar has joined #openstack-oslo16:34
*** stevemar has quit IRC16:38
openstackgerritMerged openstack/taskflow: Put the examples/misc/considerations under a new section  https://review.openstack.org/16992216:45
*** sdake_ has quit IRC16:52
*** sdake has joined #openstack-oslo16:53
*** YorikSar has joined #openstack-oslo16:57
*** jogo is now known as flashgordon16:57
*** yamahata has joined #openstack-oslo16:58
*** prad has joined #openstack-oslo16:59
dimsum__krotscheck: ping17:00
*** sreshetn1 has quit IRC17:00
dimsum__krotscheck: i was thinking more like this - http://paste.openstack.org/show/198159/17:00
krotscheckdimsum__: pong!17:00
dimsum__a common group and specific ones overriding17:01
*** jecarey has quit IRC17:01
krotscheckdimsum__: Oh, interesting. So a global config, and then individual overrides.17:01
dimsum__y17:01
krotscheckdimsum__: I can do that. Back in a bit.17:01
dimsum__krotscheck: we were thinking about that pattern for say ssl config for different services17:01
dimsum__cool thanks17:01
*** harlowja_away is now known as harlowja17:02
*** sreshetn1 has joined #openstack-oslo17:04
*** sigmavirus24 is now known as sigmavirus24_awa17:07
openstackgerritMerged openstack/taskflow: Add a suspension engine section  https://review.openstack.org/16954817:08
openstackgerritMerged openstack/taskflow: Shrink the bookshelf description  https://review.openstack.org/17024117:08
openstackgerritMerged openstack/taskflow: Remove link about implementing job garbage binning  https://review.openstack.org/16995317:08
*** hogepodge has quit IRC17:12
*** hogepodge has joined #openstack-oslo17:14
*** sreshetn1 has quit IRC17:20
krotscheckdimsum__: Is there any good way to detect whether a particular configuration option is reaching for the Opt default rather than the config file?17:20
dimsum__krotscheck: don't think so17:21
*** leakypipes has quit IRC17:21
krotscheckdimsum__: That's going to make a graceful degradation tricky. If I can't ask "Is this property set in this particular config block" I can't degrade gracefully, since it'll always hit the default.17:22
*** exploreshaifali has joined #openstack-oslo17:22
*** links has quit IRC17:27
*** david-lyle has quit IRC17:29
*** sputnik13 has quit IRC17:29
openstackgerritJoshua Harlow proposed openstack/taskflow: Add a example showing how to share an executor  https://review.openstack.org/17057117:30
openstackgerritJoshua Harlow proposed openstack/taskflow: Add a example showing how to share an executor  https://review.openstack.org/17057117:31
*** yamahata has quit IRC17:31
*** yamahata has joined #openstack-oslo17:31
krotscheckdimsum__: I'm rooting around cfg.py right now, and it doesn't look like I can do what you want me to without using private methods. Do you have any alternative suggestions?17:35
openstackgerritJoshua Harlow proposed openstack/taskflow: Add a example showing how to share an executor  https://review.openstack.org/17057117:40
dimsum__krotscheck: if you register CORS_OPTS using rregister_opts(CORS_OPTS, "cors"). then you can do CONF.cors.allowed_methods. right? that will let you get the values from "[cors]" and you already have code for "[cors.xyz]". no?17:40
dimsum__ok i see the problem now17:41
dimsum__you have defaults as well in the options definitions17:41
krotscheckdimsum__: I can, but how can I determine whether cors.xyz is reaching for the CORS_OPTS default value rather than a configured value, and should therefore fall back to cors?17:41
krotscheckRight17:41
krotscheckGiven the complexity of the available options, I feel that defaults are necessary.17:42
krotscheckI could create a second OPTS block with no defaults though.17:43
dimsum__hang on17:43
krotscheckThough, well, copy/pasta17:43
dimsum__y, i dont' see a way to do it...am ok with what you have :) only issue i have with what you have is when we run oslo-config-generator, these options do not end up in the sample configuration file17:47
dimsum__typically we do this by exposing list_opts()17:48
dimsum__with a specific group name17:48
*** bknudson has quit IRC17:48
dimsum__in your case if we use group name as "cors" then people will end up trying "[cors]" in their sample file and it won't be picked up17:49
dimsum__s/sample/config/17:49
krotscheckdimsum__: Well, I can add an extra config block with slightly different configuration options.17:49
krotscheckAs in, do an explicit register for the global overrides so that it gets picked up, and add the complex config parsing as the 'advanced' feature.17:50
dimsum__sounds good krotscheck.17:51
*** achanda has joined #openstack-oslo17:57
*** sheeprine has quit IRC18:00
*** stpierre has quit IRC18:03
openstackgerritMerged openstack/oslo.log: Restore automatic unicode conversion  https://review.openstack.org/16302718:05
openstackgerritMichael Krotscheck proposed openstack/oslo.middleware: Add CORS Middleware for Oslo.  https://review.openstack.org/17026018:09
krotscheckdimsum__: I think ^^ will do what you're asking for.18:10
*** leakypipes has joined #openstack-oslo18:10
*** sputnik13 has joined #openstack-oslo18:12
dimsum__krotscheck: need a list_opts() (see http://specs.openstack.org/openstack/oslo-specs/specs/juno/oslo-config-generator.html)18:13
*** sdake_ has joined #openstack-oslo18:20
*** daniel3_ has quit IRC18:20
*** achanda has quit IRC18:20
*** achanda has joined #openstack-oslo18:24
*** sdake has quit IRC18:24
openstackgerritDoug Hellmann proposed openstack/oslo.db: Update to latest hacking  https://review.openstack.org/17049618:32
*** alexpilotti has quit IRC18:37
openstackgerritMichael Krotscheck proposed openstack/oslo.middleware: Add CORS Middleware for Oslo.  https://review.openstack.org/17026018:40
krotscheckdimsum__: Like ^^?18:41
*** cpg|away is now known as cpg18:46
*** daniel3_ has joined #openstack-oslo18:53
dimsum__krotscheck: since the subdomain is dynamic, we may want to drop that line https://review.openstack.org/#/c/170260/4..5/oslo_middleware/opts.py,cm18:53
krotscheckdimsum__: Maybe. I can see either side of the argument, we may want to let that shake out in the gerrit discussion.18:55
dimsum__sounds good18:55
*** sdake has joined #openstack-oslo18:56
openstackgerritJoshua Harlow proposed openstack/taskflow: Allow for decommissioning a board via a .tombstone file  https://review.openstack.org/9228918:57
openstackgerritJoshua Harlow proposed openstack/taskflow: Allow for decommissioning a board via a .tombstone file  https://review.openstack.org/9228918:59
*** sdake_ has quit IRC19:00
*** exploreshaifali has quit IRC19:00
*** daniel3_ has quit IRC19:02
*** daniel3_ has joined #openstack-oslo19:03
*** daniel3_ has quit IRC19:03
*** daniel3_ has joined #openstack-oslo19:03
*** sdake_ has joined #openstack-oslo19:05
*** sdake has quit IRC19:08
*** sdake has joined #openstack-oslo19:15
*** achanda has quit IRC19:15
*** sdake_ has quit IRC19:19
*** ndipanoff has quit IRC19:21
*** YorikSar has quit IRC19:26
*** jstacks has joined #openstack-oslo19:27
jstacksIs there a specific channel to ask oslo messaging questions in?19:29
*** achanda has joined #openstack-oslo19:29
*** e0ne has joined #openstack-oslo19:31
dimsum__jstacks: just ask here, no separate channel19:34
openstackgerritJoshua Harlow proposed openstack/taskflow: Allow for decommissioning a board via a .tombstone file  https://review.openstack.org/9228919:35
jstacksThanks dimsum__, I'm trying to use oslo messaging to listen to events and run some custom scripts. If I create an endpoint, will it create a new queue that is connected to the target or will it try to find an existing queue?19:37
openstackgerritMichael Krotscheck proposed openstack/oslo.middleware: Add CORS Middleware for Oslo.  https://review.openstack.org/17026019:39
dhellmannjstacks: I think by default it creates a queue with the same name as the topic, but there should be a way to specify a different name19:43
jstacksThanks dhellmann, I'm worried I'm bleeding the default notifications.info queue and other subscribers won't get the messages. I'll look to see if there is a way to specify a queue name19:45
dhellmannjstacks: you might want to look in ceilometer's code base to see how they subscribe. IIRC, they use a custom queue for exactly the reason you mention19:46
jstacksdhellmann: thanks, don't know why i didn't think to look there19:47
*** amotoki has quit IRC19:47
*** zzzeek has quit IRC19:47
*** zzzeek has joined #openstack-oslo19:48
openstackgerritMichael Krotscheck proposed openstack/oslo.middleware: Add CORS Middleware for Oslo.  https://review.openstack.org/17026019:51
openstackgerritJeremy Stanley proposed openstack-dev/cookiecutter: Don't omit tests from coverage  https://review.openstack.org/17059419:51
* krotscheck just dropped his middleware into Ironic for some actual use tests. Just needed a few tweaks :)19:51
*** pblaho has joined #openstack-oslo19:52
*** pblaho has quit IRC19:53
openstackgerritJeremy Stanley proposed openstack-dev/cookiecutter: More portable to use setup.py test not testr  https://review.openstack.org/17059619:55
dimsum__jstacks: see the simulator.py, it has a working example19:55
*** ozamiatin_ has joined #openstack-oslo19:56
*** ozamiatin_ has quit IRC19:57
*** ozamiatin_ has joined #openstack-oslo19:57
jstacksdimsum__: where would i find the simulator.py file? Not seeing it in the ceilometer repo19:58
dimsum__in oslo.messaging repo19:58
jstacksoh okay. Thanks :)19:59
openstackgerritJoshua Harlow proposed openstack/debtcollector: By default mutate the docstring(s) for deprecations  https://review.openstack.org/15598820:00
*** ozamiatin_ has quit IRC20:04
dimsum__krotscheck: why StrOpt for max_age?20:04
krotscheckdimsum__: Because all HTTP headers need to be strings, and since we're just passing it through, it seemed easier.20:04
dimsum__or a str()20:06
dimsum__since you lose validation20:06
krotscheckI could do that. No issues with py34 on str()?20:07
openstackgerritMichael Krotscheck proposed openstack/oslo.middleware: Add CORS Middleware for Oslo.  https://review.openstack.org/17026020:08
krotscheckdimsum__: ^^ There ya go20:09
*** YorikSar has joined #openstack-oslo20:10
*** e0ne has quit IRC20:13
*** sheeprine has joined #openstack-oslo20:20
*** daniel3_ has quit IRC20:27
*** prad has quit IRC20:39
*** harlowja has quit IRC20:53
*** daniel3_ has joined #openstack-oslo20:57
*** sdake has quit IRC20:58
*** andreykurilin_ has joined #openstack-oslo21:00
*** jungleboyj has quit IRC21:08
*** achanda has quit IRC21:08
*** andreykurilin_ has quit IRC21:08
*** andreykurilin_ has joined #openstack-oslo21:09
*** jstacks has quit IRC21:11
*** daniel3_ has quit IRC21:13
openstackgerritMichael Krotscheck proposed openstack/oslo.middleware: Add CORS Middleware for Oslo.  https://review.openstack.org/17026021:18
*** yamahata has quit IRC21:40
*** yamahata has joined #openstack-oslo21:40
*** mriedem has quit IRC21:44
*** sputnik13 has quit IRC21:46
openstackgerritMerged openstack/oslosphinx: Update to latest hacking  https://review.openstack.org/17050721:47
openstackgerritMerged openstack/oslotest: mockpatch: factorize code  https://review.openstack.org/16381721:48
*** achanda has joined #openstack-oslo22:08
*** david-lyle has joined #openstack-oslo22:12
*** achanda has quit IRC22:14
*** yamahata has quit IRC22:21
*** achanda has joined #openstack-oslo22:26
openstackgerritMerged openstack/oslo.middleware: Update to latest hacking  https://review.openstack.org/17049822:33
openstackgerritMerged openstack/oslo.config: Update hacking to kilo level  https://review.openstack.org/17049422:36
openstackgerritMerged openstack/oslo.utils: Update hacking setting  https://review.openstack.org/17047822:37
*** harlowja has joined #openstack-oslo22:40
openstackgerritMerged openstack/oslo.context: Update to latest hacking  https://review.openstack.org/17049522:41
*** andreykurilin_ has quit IRC22:42
*** amotoki has joined #openstack-oslo22:48
*** amotoki has quit IRC22:52
openstackgerritMerged openstack/oslo.versionedobjects: Update to the latest version of hacking  https://review.openstack.org/17050322:53
*** achanda has quit IRC22:53
*** sputnik13 has joined #openstack-oslo22:56
openstackgerritJoshua Harlow proposed openstack/taskflow: Use the ability to chain exceptions correctly  https://review.openstack.org/15518723:05
*** zzzeek has quit IRC23:06
openstackgerritJoshua Harlow proposed openstack/taskflow: Avoid going into causes of non-taskflow exceptions  https://review.openstack.org/17062523:10
openstackgerritJoshua Harlow proposed openstack/taskflow: Avoid going into causes of non-taskflow exceptions  https://review.openstack.org/17062523:11
*** zzzeek has joined #openstack-oslo23:26
*** zzzeek has quit IRC23:26
*** Viswanath has joined #openstack-oslo23:31
*** achanda has joined #openstack-oslo23:32
*** rushiagr is now known as rushiagr_away23:33
*** Viswanath has quit IRC23:40
*** cpg is now known as cpg|away23:46

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