Wednesday, 2016-02-03

*** browne has quit IRC00:01
*** browne has joined #openstack-oslo00:02
*** jamielennox|away is now known as jamielennox00:02
*** zz_dimtruck is now known as dimtruck00:11
*** thumpba has quit IRC00:20
*** yamamoto_ has joined #openstack-oslo00:24
*** abitha has joined #openstack-oslo00:25
*** yamamoto_ has quit IRC00:30
*** yamamoto_ has joined #openstack-oslo00:30
*** elarson has quit IRC00:34
*** yamamot__ has joined #openstack-oslo00:34
*** yamamoto_ has quit IRC00:34
openstackgerritJoshua Harlow proposed openstack/oslo.service: Allow the backdoor to serve from a local unix domain socket  https://review.openstack.org/27545300:35
*** elarson has joined #openstack-oslo00:35
*** jamielennox is now known as jamielennox|away00:38
*** jamielennox|away is now known as jamielennox00:39
openstackgerritJoshua Harlow proposed openstack/oslo.service: Allow the backdoor to serve from a local unix domain socket  https://review.openstack.org/27545300:40
*** lucasagomes has quit IRC00:42
*** yamamot__ has quit IRC00:46
*** lucasagomes has joined #openstack-oslo00:49
*** EinstCrazy has joined #openstack-oslo00:50
openstackgerritJoshua Harlow proposed openstack/taskflow: Handle rejected execution submission exceptions better  https://review.openstack.org/27373100:51
*** EinstCrazy has quit IRC00:55
*** mriedem_machell is now known as mriedem_afk00:58
*** sputnik13 has quit IRC01:19
*** pradk has quit IRC01:22
*** abitha has quit IRC01:30
*** jamielennox is now known as jamielennox|away01:30
*** achanda has joined #openstack-oslo01:32
*** flwang has quit IRC01:39
openstackgerritJoshua Harlow proposed openstack/oslo.serialization: Allow msgpack extension registry to be copied  https://review.openstack.org/27547001:40
*** dimtruck is now known as zz_dimtruck01:40
*** mtanino has quit IRC01:45
*** zz_dimtruck is now known as dimtruck01:47
*** ozamiatin_ has quit IRC01:52
*** flwang has joined #openstack-oslo01:53
*** salv-orl_ has joined #openstack-oslo02:09
*** salv-orlando has quit IRC02:12
*** EinstCrazy has joined #openstack-oslo02:17
*** browne has quit IRC02:18
*** amotoki has joined #openstack-oslo02:24
*** jamielennox|away is now known as jamielennox02:31
*** dims_ has quit IRC02:40
*** dimtruck is now known as zz_dimtruck02:41
*** zz_dimtruck is now known as dimtruck02:42
*** yamamoto has joined #openstack-oslo02:46
*** vilobhmm11 has quit IRC02:48
*** yamamoto has quit IRC02:49
*** links has joined #openstack-oslo03:06
*** browne has joined #openstack-oslo03:10
*** jamespd_ is now known as jamespd03:34
*** yamamoto has joined #openstack-oslo03:34
*** jamielennox is now known as jamielennox|away04:09
*** mriedem_afk has quit IRC04:22
*** achanda has quit IRC04:28
*** dimtruck is now known as zz_dimtruck04:29
*** achanda has joined #openstack-oslo04:43
*** EinstCrazy has quit IRC04:53
*** amotoki has quit IRC04:57
*** vilobhmm11 has joined #openstack-oslo05:02
*** abitha has joined #openstack-oslo05:16
*** amotoki has joined #openstack-oslo05:18
*** amotoki_ has joined #openstack-oslo05:30
*** amotoki has quit IRC05:33
*** Khayam has joined #openstack-oslo05:35
KhayamHi everyone05:36
Khayamis there a way to do logging the information and traceback at the same time05:36
KhayamCurrently I am doing it like this05:37
KhayamLOG.error(_LE('Record already exists: %(exception)s '05:37
Khayam                          '\n %(traceback)'),05:37
Khayam                      {'exception': e1},05:37
Khayam                      {'traceback': traceback.print_stack()})05:37
*** abitha has quit IRC05:47
*** nkrinner has joined #openstack-oslo05:50
*** amotoki_ has quit IRC05:52
*** amotoki has joined #openstack-oslo06:05
*** amotoki has quit IRC06:18
*** amotoki has joined #openstack-oslo06:26
*** Khayam has quit IRC06:26
*** jaypipes has quit IRC06:26
*** eliqiao has joined #openstack-oslo06:32
eliqiaohello osloers, I am try to understand oslo.objects.indirection_api, can anyone give a quick explaination on in what situiation we need to set it?06:36
*** dkehn has quit IRC06:43
*** amotoki has quit IRC06:46
*** dkehn has joined #openstack-oslo06:49
*** browne has quit IRC07:06
*** amotoki has joined #openstack-oslo07:06
*** fungi has quit IRC07:17
*** yamahata has quit IRC07:19
openstackgerritlokesh s proposed openstack/pycadf: Adding ironic api specific audit map configuration  https://review.openstack.org/27553807:27
openstackgerritlokesh s proposed openstack/pycadf: Adding ironic api specific audit map configuration  https://review.openstack.org/27553807:29
*** fungi has joined #openstack-oslo07:32
*** vilobhmm11 has quit IRC07:58
*** salv-orlando has joined #openstack-oslo08:10
*** salv-orl_ has quit IRC08:12
*** salv-orlando has quit IRC08:14
*** salv-orlando has joined #openstack-oslo08:14
*** ihrachys has joined #openstack-oslo08:15
*** boris-42 has joined #openstack-oslo08:18
*** markus_z has joined #openstack-oslo08:21
*** amotoki has quit IRC08:25
*** nikhil has joined #openstack-oslo08:25
*** nikhil_k has quit IRC08:28
*** ihrachys has quit IRC08:30
*** ihrachys has joined #openstack-oslo08:36
*** zakora has joined #openstack-oslo08:37
*** ihrachys has quit IRC08:38
*** bnemec has joined #openstack-oslo08:39
*** ihrachys has joined #openstack-oslo08:44
*** ihrachys has quit IRC08:46
*** ihrachys has joined #openstack-oslo08:49
*** salv-orlando has quit IRC08:52
*** ihrachys has quit IRC08:56
*** EinstCrazy has joined #openstack-oslo09:01
openstackgerritlokesh s proposed openstack/pycadf: Adding ironic api specific audit map configuration  https://review.openstack.org/27553809:04
*** ozamiatin_ has joined #openstack-oslo09:08
*** ihrachys has joined #openstack-oslo09:10
*** ihrachys has quit IRC09:10
*** achanda has quit IRC09:14
*** achanda has joined #openstack-oslo09:18
*** yassine__ has joined #openstack-oslo09:21
*** markus_z has quit IRC09:22
*** achanda has quit IRC09:24
*** newbie has joined #openstack-oslo09:25
newbieHi09:25
*** newbie is now known as Guest9549709:25
*** Guest95497 is now known as newcomer09:25
newcomerHi09:25
*** dguitarbite has quit IRC09:25
newcomerI came to know about oslo and have started using it09:25
newcomerI an using the typical way of using it09:26
newcomerNow i have got a requirement where as per the name of the service i want to change the following09:26
*** dguitarbite has joined #openstack-oslo09:27
newcomercfg.CONF.service_name.host09:27
newcomerHiw can i substitute service_name here ??09:27
*** EinstCrazy has quit IRC09:29
*** EinstCrazy has joined #openstack-oslo09:29
*** dguitarbite has quit IRC09:37
*** ashishjain has joined #openstack-oslo09:37
*** nkrinner has quit IRC09:38
*** newcomer has quit IRC09:39
*** e0ne has joined #openstack-oslo09:45
*** dguitarbite has joined #openstack-oslo09:47
lxsli_webnewcomer: use getattr09:54
*** nkrinner has joined #openstack-oslo10:05
*** e0ne has quit IRC10:05
*** cdent has joined #openstack-oslo10:07
*** binarin has quit IRC10:09
*** obondarev_ has joined #openstack-oslo10:14
*** obondarev has quit IRC10:14
*** salv-orlando has joined #openstack-oslo10:16
*** salv-orlando has quit IRC10:21
*** ashishjain has quit IRC10:26
*** yamamoto has quit IRC10:27
openstackgerritDmitry Tantsur proposed openstack/futurist: Allow PeriodicWorker to skip executor shutdown in case of a preexisting executor  https://review.openstack.org/27532610:34
*** d0ugal has quit IRC10:42
*** d0ugal has joined #openstack-oslo10:42
*** e0ne has joined #openstack-oslo10:51
*** obondarev_ has quit IRC10:52
*** obondarev has joined #openstack-oslo10:53
*** ndipanov has joined #openstack-oslo11:00
*** ndipanov has joined #openstack-oslo11:01
*** yassine__ has quit IRC11:05
*** salv-orlando has joined #openstack-oslo11:07
*** mhickey has joined #openstack-oslo11:12
openstackgerritAlexis Lee proposed openstack/oslo.config: Fix unrecognized subparser args  https://review.openstack.org/27530711:22
lxsli_webdims: https://review.openstack.org/27530711:24
*** ndipanov has quit IRC11:27
*** yamamoto has joined #openstack-oslo11:32
*** yamamoto has quit IRC11:33
*** boris-42 has quit IRC11:43
*** _amrith_ is now known as amrith11:53
*** ihrachys has joined #openstack-oslo12:10
*** links has quit IRC12:11
*** ihrachys has quit IRC12:13
*** zz_dimtruck has quit IRC12:15
*** lucasagomes is now known as lucas-hungry12:25
*** mhickey_ has joined #openstack-oslo12:32
*** dims has joined #openstack-oslo12:32
*** mhickey has quit IRC12:34
*** amrith is now known as _amrith_12:37
-openstackstatus- NOTICE: Infra running with lower capacity now, due to a temporary problem affecting one of our nodepool providers. Please expect some delays in your jobs. Apologies for any inconvenience caused.12:40
*** yassine has joined #openstack-oslo12:43
dimssileht : ozamiatin : easy one if you get a chance (pep8 fixes) https://review.openstack.org/#/c/275314/12:44
dimslxsli_web : not sure i have mentioned before, we have handy dashboards for gerrit - /Users/dims/openstack/oslo/oslo-incubator/dashboards/main.dash12:45
*** ozamiatin_ has quit IRC12:51
*** dguitarbite has quit IRC12:57
*** rohanion has joined #openstack-oslo13:00
*** coolno1 has joined #openstack-oslo13:01
coolno1hello13:01
dimssileht : ozamiatin : dukhlov : cutting oslo.messaging release. we may need to fix something quickly if we break folks13:01
coolno1I am using oslo messaging and have been hitting this error13:01
coolno1AttributeError: 'Module_six_moves_urllib_parse' object has no attribute 'SplitResult'13:02
coolno1I have seen lot of blog post which talks about moving from 1.5.x to 1.6.x, 1.9.x etc13:02
*** openstackgerrit has quit IRC13:02
coolno1I have tried all but this does not help13:02
*** openstackgerrit has joined #openstack-oslo13:02
coolno1I am using this library independently and not in conjunction with openstack13:03
coolno1Any ideas how to get rid of this error?13:03
coolno1here when I say 1.5.x to 1.6.x it is for Six13:03
*** rohanion has quit IRC13:05
dukhlovdims: I would like to merge https://review.openstack.org/#/c/274708/13:05
dukhlovdims: if it is possible13:06
coolno1solved13:06
dukhlovdims: and also I have added celometer job for pika which is failing now, I have a fix for it and it would be nice to include it13:07
dimsdukhlov : with the main line of code, i would not rush merges changes. let's get some votes from sileht and ozamiatin please13:07
dukhlovdims: sure13:08
dimsdukhlov : ack. can you give me a link for one of those failures please?13:08
*** ihrachys has joined #openstack-oslo13:08
dukhlovdims: do you mean link with patch which fix ceilo gate?13:09
dimsyes13:09
dukhlovdims: I have not created patch yet but it will based on this change https://review.openstack.org/#/c/274255/13:11
dimsdukhlov : ah gotcha13:13
dimsdukhlov : for this review, throw in a "[WIP]" in the commit message title (Work In Progress)13:17
dimsplease13:17
dukhlovok13:17
dimslxsli_web : looks like the oslo.config unblock review ran into trouble - https://review.openstack.org/#/c/275307/13:22
*** gordc has joined #openstack-oslo13:29
*** lucas-hungry is now known as lucasagomes13:29
*** ihrachys has quit IRC13:30
*** ihrachys has joined #openstack-oslo13:32
*** edmondsw has joined #openstack-oslo13:38
*** amotoki has joined #openstack-oslo13:57
openstackgerritMerged openstack/oslosphinx: Correct project source guessing for OpenStack  https://review.openstack.org/27488113:57
*** ihrachys has quit IRC14:01
*** jecarey has quit IRC14:02
coolno1exit14:06
*** coolno1 has quit IRC14:06
*** _amrith_ is now known as amrith14:09
*** yamamoto has joined #openstack-oslo14:11
openstackgerritgordon chung proposed openstack/oslo.messaging: support ability to set thread pool size per listener  https://review.openstack.org/27543414:12
*** kgiusti has joined #openstack-oslo14:14
*** thumpba has joined #openstack-oslo14:16
*** rlrossit has joined #openstack-oslo14:16
*** thumpba has quit IRC14:17
*** amotoki has quit IRC14:17
*** thumpba has joined #openstack-oslo14:17
*** amotoki has joined #openstack-oslo14:21
lxsli_webdims: OK checking14:28
lxsli_webcurses14:29
*** ihrachys has joined #openstack-oslo14:31
openstackgerritMerged openstack/oslo.config: Removal of bandit.yaml  https://review.openstack.org/27493514:33
openstackgerritMerged openstack/oslo.utils: Narrow mock for getfilesystemencoding  https://review.openstack.org/27443414:33
openstackgerritAlexis Lee proposed openstack/oslo.config: Fix unrecognized subparser args  https://review.openstack.org/27530714:35
lxsli_webdims: ^^ my bad, spent so long making sure the test failed pre-fix I forgot to check it passed post-fix...14:36
*** ihrachys has quit IRC14:37
dimslxsli_web : do we fail now where we did not before? :)14:39
openstackgerritMerged openstack/oslo.log: set oslo.cache and dogpile to INFO  https://review.openstack.org/27451014:40
openstackgerritMerged openstack/automaton: Add a state-space machine building example  https://review.openstack.org/27147814:40
lxsli_webdims: I guess we didn't test subparsers very thoroughly? I haven't done coverage, just took the specific bug and minimised it into a test14:41
*** regXboi has joined #openstack-oslo14:41
*** yamamoto has quit IRC14:43
*** yamamoto has joined #openstack-oslo14:47
*** yamamoto_ has joined #openstack-oslo14:52
*** yamamoto has quit IRC14:52
*** mriedem has joined #openstack-oslo14:54
*** yamamoto_ has quit IRC14:57
*** pradk has joined #openstack-oslo14:59
*** yamamoto has joined #openstack-oslo15:01
*** mss-4 has quit IRC15:07
*** amotoki has quit IRC15:08
dimslxsli_web : mind if i touch up the tests?15:08
openstackgerritDmitriy Ukhlov proposed openstack/oslo.messaging: Switches pika driver ro eager initialization  https://review.openstack.org/27425515:11
openstackgerritDavanum Srinivas (dims) proposed openstack/oslo.config: Fix unrecognized subparser args  https://review.openstack.org/27530715:12
dimslxsli_web : dhellmann : rbradfor : can you please take a look at ^^. i'd like to see if we can unblock oslo.config release (the above review will get us past neutron py27 unit test failures)15:13
*** jecarey has joined #openstack-oslo15:14
*** boris-42 has joined #openstack-oslo15:16
*** mtanino has joined #openstack-oslo15:19
*** ihrachys has joined #openstack-oslo15:23
*** sigmavirus24_awa is now known as sigmavirus2415:24
rbradfordims, looking15:30
*** dimtruck has joined #openstack-oslo15:42
haypodoes anyone know how to see the print(...) that i added in the code when i run tests using testr?15:42
haypoit looks like testr eats stdout & stderr15:42
openstackgerritOleksii Zamiatin proposed openstack/oslo.messaging: [zmq] RPC timeout for CAST  https://review.openstack.org/27401315:46
dimshaypo : i throw in a raise Exception() as the last line the test :)15:48
openstackgerritOleksii Zamiatin proposed openstack/oslo.messaging: [zmq] Support transport URL  https://review.openstack.org/27258315:52
*** salv-orl_ has joined #openstack-oslo15:54
*** thumpba has quit IRC15:55
*** salv-orlando has quit IRC15:57
*** nkrinner has quit IRC15:57
haypodims: right now, i'm using 'python -u -m subunit.run discover -t ./ ./glance/tests  --load-list LIST 2>&1|subunit2pyunit|less'16:02
haypodims: it sounds silly to use to type such crazy command just to get stdout...16:02
dhellmannhaypo, dims: the fixture looks for some environment variables: http://git.openstack.org/cgit/openstack/oslotest/tree/oslotest/output.py#n4616:04
dhellmannhaypo , dims: the log capture fixture works in a similar way16:05
dimshaypo : y i just activate venv and run py.test usually16:05
dhellmannlxsli_web : for that config change, it makes me wonder if we shouldn't be delegating all attribute management as a fallback?16:07
bknudson_haypo: don't run tester., run nose.16:09
haypohum ok16:09
haypoi fixed my bug by calling eventlet.sleeep(0)16:10
haypook...16:10
*** ihrachys has quit IRC16:20
*** dtardivel has joined #openstack-oslo16:29
*** mss-4 has joined #openstack-oslo16:34
*** ihrachys has joined #openstack-oslo16:34
*** binarin has joined #openstack-oslo16:35
*** thumpba has joined #openstack-oslo16:35
haypodims, sileht : fixing eventlet magic with more magic :-) https://review.openstack.org/27581516:38
*** mgarza_ has joined #openstack-oslo16:39
*** freealvin has quit IRC16:40
silehthaypo: wierd Time is not monkeypatched ?16:40
*** mriedem is now known as mriedem_afk16:40
*** cdent has quit IRC16:41
hayposileht: it looks like eventlet monkey-patching is *not* enabled to run integration tests, nor unit tests16:44
hayposileht: the real weird thing is that tests pass!?16:45
hayposileht: i also proposed a different fix to enable monkey-patching as soon as possible when running tests: https://review.openstack.org/#/c/275816/116:45
*** mugsie has quit IRC16:46
*** mugsie has joined #openstack-oslo16:46
silehthaypo: that's make sense to me16:47
hayposileht: i'm not sure that tests will pass with my change16:48
*** ndipanov has joined #openstack-oslo16:48
hayposileht: again, the real strange things is that tests pass without monkey-patching16:48
hayposileht: well, the tests in most cases, but sometimes... it fails :)16:48
openstackgerritMerged openstack/pycadf: Enable cadf support for Heat  https://review.openstack.org/27020616:49
*** yassine has quit IRC16:54
*** EinstCrazy has quit IRC16:56
*** zakora has quit IRC16:56
*** e0ne has quit IRC16:59
openstackgerritJoshua Harlow proposed openstack/taskflow: Split off completion state-changing from '_safe_change_state'  https://review.openstack.org/27539317:01
*** yamahata has joined #openstack-oslo17:02
*** dims has quit IRC17:04
*** dims has joined #openstack-oslo17:06
openstackgerritJoshua Harlow proposed openstack/oslo.service: Allow the backdoor to serve from a local unix domain socket  https://review.openstack.org/27545317:10
*** ihrachys has quit IRC17:10
*** dims has quit IRC17:12
*** yamamoto has quit IRC17:17
*** dims has joined #openstack-oslo17:18
*** mhickey_ has quit IRC17:21
*** harlowja_at_home has joined #openstack-oslo17:22
*** achanda has joined #openstack-oslo17:27
*** achanda has quit IRC17:42
*** harlowja_at_home has quit IRC17:43
*** vilobhmm11 has joined #openstack-oslo17:43
*** vilobhmm11 has quit IRC17:44
*** vilobhmm11 has joined #openstack-oslo17:46
*** yamahata has quit IRC17:46
openstackgerritSteve Martinelli proposed openstack/pycadf: Adding ironic api specific audit map configuration  https://review.openstack.org/27553817:49
openstackgerritSteve Martinelli proposed openstack/pycadf: Adding ironic api specific audit map configuration  https://review.openstack.org/27553817:51
openstackgerritDmitriy Ukhlov proposed openstack/oslo.messaging: Refactors base classes  https://review.openstack.org/27470817:55
*** sputnik13 has joined #openstack-oslo17:57
*** lucasagomes has quit IRC17:58
*** ndipanov has quit IRC18:01
*** lucasagomes has joined #openstack-oslo18:04
*** bnemec has quit IRC18:05
*** vilobhmm11 has quit IRC18:08
*** vilobhmm11 has joined #openstack-oslo18:19
*** e0ne has joined #openstack-oslo18:24
*** achanda has joined #openstack-oslo18:29
*** yamahata has joined #openstack-oslo18:43
dimsdhellmann : do the tests look ok? if "bar" is not registered then we bail out with SystemExit18:48
*** vilobhmm111 has joined #openstack-oslo18:49
*** vilobhmm11 has quit IRC18:51
*** tcammann has joined #openstack-oslo18:51
*** browne has joined #openstack-oslo18:52
*** mc_nair_ has joined #openstack-oslo18:55
*** mc_nair_ is now known as mc_nair18:56
*** vilobhmm111 has quit IRC18:57
*** vilobhmm11 has joined #openstack-oslo18:57
*** tcammann has quit IRC18:57
*** rlrossit has quit IRC18:59
*** hongbin has joined #openstack-oslo19:01
hongbindansmith: Hi, I have questions about indirectional_api of versioned object. Do you have time?19:02
*** browne has quit IRC19:03
*** browne has joined #openstack-oslo19:05
dansmithhongbin: yeah19:06
hongbindansmith: A Magnum team member raise a question about the indirectional_api19:07
hongbinhttp://lists.openstack.org/pipermail/openstack-dev/2016-February/085652.html19:07
hongbinSo, I want to understand what exactly is the use case of that feature19:07
hongbinCould you give an example of a sample use cases19:07
hongbinLike how Nova is using it, to achieve which goals?19:08
dansmithhongbin: the indirection_api is how you make @remotable calls into rpc calls19:08
hongbinyes19:08
dansmithhongbin: in nova, the apis have no indirection_api set and talk directly to the database19:08
dansmithhongbin: but we don't allow the computes to talk directly to the db, they have indirection_api set to something that sends requests over rpc instead19:09
harlowjaisn't it for sending rpc msg -> somewhere else to fullfill it (which may involve versioning)  ---> back to sender19:09
harlowja(the middle part is the indirection) afaik19:09
dansmithharlowja: it doesn't have to be rpc, but yes19:09
harlowjaright19:09
harlowjasending over pigeons not implemented19:09
hongbindansmith: ack19:09
dansmithharlowja: if it's set, then instead of actually running the @remotable call you called, we pass it to the indirection_api to handle, however that might be19:10
harlowjaright19:10
hongbindansmith: sounds like this feature is for a service that is not allowed to access DB19:10
hongbindansmith: so it is used to proxy to DB19:10
dansmithharlowja: you don't know that I don't have a pidgeon-based transport implemented..19:10
dansmithhongbin: it has nothing to do with the db specifically, but that is most of what we use it for in nova, yes19:10
harlowjadansmith i didn't know u were into pigeons19:11
dansmithhongbin: normally our apis talk directly to the db, but we may turn on the indirection api for them during an upgrade, to insulate them from what is going on in the database during a maintenance period, for example19:11
harlowja(there is probably a name for folks with a pigeon  hobby), lol19:11
hongbindansmith: ack19:12
dansmithhongbin: it really depends on what your goals are.. having apis talk through your conductor all the time may indeed be what you want for a variety of reasons19:12
hongbindansmith: I see19:13
hongbindansmith: Another question.19:14
harlowjadansmith bit.ly/1mdRX1g (is that u??) lol19:14
hongbindansmith: could this feature be turned off at runtime19:14
hongbindansmith: For example, turn on this feature on upgrade19:14
hongbindansmith: turn it off otherwises19:14
dansmithharlowja: definitely not :)19:14
harlowjalol19:14
harlowjaif so u grew a beard19:14
dansmithhongbin: I'm really not the right person to ask -- I don't know what magnum's architecture is or aims to be19:15
dansmithhongbin: but just making the call to stop setting that for api services is a pretty major change,19:15
dansmithhongbin: I can't really imagine that it was just done accidentally19:15
hongbindansmith: OK, then I asked it in a different way19:16
hongbindansmith: why nova-api doesn't use indirectional_api.19:16
*** achanda has quit IRC19:17
dansmithhongbin: because our architecture doesn't depend on nova-api being insulated from the database.. We require nova-api, conductor, scheduler, etc to all be on exactly the same code level at all times, and restarts must be atomic19:17
hongbindansmith: got it19:18
dansmithhongbin: if we were designing nova from scratch today, we'd probably try to avoid that requirement, which might mean setting indirection_api19:18
dansmithhongbin: since magnum was *designed* very recently, I would assume that the decision to set indirection_api was made consciously with upgrades (and maybe security) in mind19:18
hongbindansmith: Actually, that was copied from Ironic19:19
hongbindansmith: So, it is there because Ironic was using it19:19
dansmiththe same argument holds19:19
hongbinYes19:19
hongbindansmith: Thanks. That is helpful information19:20
dansmithhongbin: I don't see that ironic ever sets it, fwiw19:20
dansmithhongbin: they have nothing that implements object_action()19:20
dansmithnor object_class_action19:21
hongbinI see19:21
harlowjamagnum was copied from ironic?19:22
* harlowja didn't know that19:22
harlowja(or parts of it?)19:22
hongbinharlowja: Yes, that happened at the very beginning of the project19:22
harlowjainteresting19:22
hongbinharlowja: The versioned object is a copy19:22
harlowjasomeday i'll write a book about this stuff, lol19:22
harlowjathe history of openstack19:22
dansmithI really didn't think that was the case, but .. whatever :)19:23
*** e0ne has quit IRC19:35
*** achanda has joined #openstack-oslo19:35
*** ihrachys has joined #openstack-oslo19:37
*** achanda has quit IRC19:43
*** boris-42 has quit IRC19:43
*** mgarza__ has joined #openstack-oslo19:50
*** mgarza_ has quit IRC19:53
*** vilobhmm11 has quit IRC19:55
*** achanda has joined #openstack-oslo19:59
*** jecarey_ has joined #openstack-oslo19:59
*** jecarey__ has joined #openstack-oslo20:01
*** rlrossit has joined #openstack-oslo20:01
*** jecarey has quit IRC20:02
*** jecarey_ has quit IRC20:03
*** ihrachys has quit IRC20:10
*** rlrossit has quit IRC20:12
*** mgarza__ has quit IRC20:19
*** rlrossit_ has joined #openstack-oslo20:20
*** ozamiatin_ has joined #openstack-oslo20:23
*** vilobhmm11 has joined #openstack-oslo20:23
*** vilobhmm11 has quit IRC20:30
openstackgerritGraham Hayes proposed openstack/oslo.versionedobjects: Deprecate current UUIDField behaviour  https://review.openstack.org/27591420:42
mugsiedansmith: new patch with requested deprecation route ^20:44
*** gordc has quit IRC20:46
*** vilobhmm11 has joined #openstack-oslo20:47
*** dtardivel has quit IRC20:48
dansmithmugsie: left a comment20:51
dansmithdims: is there any reason not to use python.warnings instead of debtcollector just to raise a one time warning? I'd rather not add a new dependency to o.vo just for emitting a warning20:51
*** dims has quit IRC20:56
openstackgerritJoshua Harlow proposed openstack/oslo.service: Add a more useful/detailed frame dumping function  https://review.openstack.org/27592120:58
mugsiei figured that there is a openstack lib for deprecations, i would use it.20:59
mugsiei suppose it keeps the message syntax similar across the suite20:59
dansmithmugsie: not really a selling point, IMHO :D20:59
dansmithmugsie: the "except" thing just reads wrongly to me, because I thought you either meant "expect" or "accept"20:59
dansmithon the other,21:00
mugsieyeah - I meant it as the keyword, but can see that being confusing21:00
dansmithnova won't ever allow non-uuids at runtime because of other checks, and I would expect the others (well, cinder at least) to be the same21:00
dansmithI would think we *would* want a runtime warning if we actually get a uuid21:01
dansmithare you saying that the deprecation warning in both places isn't emitted normally?21:01
mugsienot unless you set python warnings up properly21:01
mugsieafaik nova etc have it in the tox command21:02
dansmithdon't you think that the warning in coerce should always be emitted (once)?21:02
*** ozamiatin_ has quit IRC21:02
mugsieit makes it more diffiuct to track down usages - eg the nova tests, when it emits warnings for all of them is easier to see what to change21:03
*** dims has joined #openstack-oslo21:05
dansmiththat's going to inflate log storage a lot until it can be dealt with21:05
dansmithlet me clarify what I'm thinking:21:06
mugsie:/21:06
mugsiedidnt think of that21:06
dimsdansmith : +1 to just python.warnings if it's limited like that21:06
mugsiethe cloud is infinte right?21:06
dansmithOn coerce, emit a warning one time .. a real one that would get seen at runtime21:06
mugsieok21:06
mugsiesomething like a FutureWarning ?21:06
dansmithOn init, if you really want it, a deprecation warning that gets emitted only once per field creation if deprecation warnings are enabled21:07
dansmithbut I'd really say that the point is just to indicate that we're going to be requiring this at some point21:07
dansmithspamming the hell out of their logs seems unproductive21:07
dansmithdims: cool, I'd prefer python warnings too21:07
mugsieok, cool. will update with a single warn on coerce, a depricated warnign on __init__ and drop debtcollector.21:08
dansmithmugsie: if they need to track down usage, I'd expect they'd do some mocking to catch them in a DNM patch or something, which is how mikal is doing it now21:08
mugsiewill do it in the am, getting late here.21:08
dansmithmugsie: okay, I'm cool with that21:09
*** amrith is now known as _amrith_21:09
openstackgerritMerged openstack/taskflow: Use 'addCleanup' instead of 'tearDown' in engine(s) test  https://review.openstack.org/20326021:14
*** clayton has quit IRC21:14
*** boris-42 has joined #openstack-oslo21:15
*** kgiusti has left #openstack-oslo21:16
openstackgerritJoshua Harlow proposed openstack/oslo.service: Add a more useful/detailed frame dumping function  https://review.openstack.org/27592121:17
openstackgerritJoshua Harlow proposed openstack/oslo.service: Add a more useful/detailed frame dumping function  https://review.openstack.org/27592121:19
*** gordc has joined #openstack-oslo21:20
*** jecarey__ has quit IRC21:23
openstackgerritJoshua Harlow proposed openstack/oslo.service: Add a more useful/detailed frame dumping function  https://review.openstack.org/27592121:28
*** hongbin has left #openstack-oslo21:29
*** abitha has joined #openstack-oslo21:33
openstackgerritMerged openstack/oslo.db: Add exc_filter for invalid Unicode string  https://review.openstack.org/26592121:34
*** achanda has quit IRC21:35
*** jecarey__ has joined #openstack-oslo21:39
*** jecarey__ has quit IRC21:40
*** jecarey_ has joined #openstack-oslo21:40
*** clayton has joined #openstack-oslo21:43
*** achanda has joined #openstack-oslo21:43
*** salv-orlando has joined #openstack-oslo21:54
*** thumpba has quit IRC21:55
*** salv-orl_ has quit IRC21:56
*** _amrith_ is now known as amrith22:12
*** gordc has quit IRC22:16
*** achanda has quit IRC22:16
*** dims_ has joined #openstack-oslo22:17
*** dims has quit IRC22:21
*** dims_ has quit IRC22:27
openstackgerritJoshua Harlow proposed openstack/taskflow: Handle rejected execution submission exceptions better  https://review.openstack.org/27373122:34
openstackgerritMerged openstack/taskflow: Handle cases where exc_args can't be serialized as JSON in the WBE  https://review.openstack.org/27274822:39
openstackgerritEric Brown proposed openstack/oslo.privsep: Add version and download badges to README  https://review.openstack.org/27596422:47
openstackgerritEric Brown proposed openstack/oslosphinx: Add version and download badges to README  https://review.openstack.org/27596522:49
*** rlrossit_ has quit IRC22:58
*** regXboi has quit IRC23:03
openstackgerritJoshua Harlow proposed openstack/taskflow: Split off completion state-changing from '_safe_change_state'  https://review.openstack.org/27539323:08
*** achanda has joined #openstack-oslo23:09
*** achanda has quit IRC23:12
*** ozamiatin_ has joined #openstack-oslo23:20
*** e0ne has joined #openstack-oslo23:24
openstackgerritJoshua Harlow proposed openstack/oslo.service: Allow the backdoor to serve from a local unix domain socket  https://review.openstack.org/27545323:24
openstackgerritJoshua Harlow proposed openstack/oslo.service: Allow the backdoor to serve from a local unix domain socket  https://review.openstack.org/27545323:25
*** jecarey_ has quit IRC23:28
*** sigmavirus24 is now known as sigmavirus24_awa23:30
*** e0ne has quit IRC23:33
*** dimtruck is now known as zz_dimtruck23:42
*** jamielennox|away is now known as jamielennox23:47
*** edmondsw has quit IRC23:49
*** pradk has quit IRC23:51

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