Monday, 2018-08-06

*** fanzhang has joined #openstack-sdks01:04
*** mhen has quit IRC01:27
openstackgerritMerged openstack/openstacksdk master: Pass microversion info through from Profile  https://review.openstack.org/58743502:17
openstackgerritChen proposed openstack/python-openstackclient master: Add info to --live flag for 'openstack server migrate'  https://review.openstack.org/58901203:57
*** Luzi has joined #openstack-sdks05:53
*** slaweq has quit IRC06:55
*** slaweq has joined #openstack-sdks06:58
*** jpenag is now known as jpena07:40
*** Kvisle is now known as Kvisle_07:44
*** gtema has joined #openstack-sdks07:46
*** dtantsur|afk is now known as dtantsur07:59
*** cdent has joined #openstack-sdks08:00
openstackgerritJens Harbott (frickler) proposed openstack/python-openstackclient master: Add DNS support to floating IP commands  https://review.openstack.org/55882408:14
*** cdent has quit IRC08:45
*** olivierbourdon38 has joined #openstack-sdks09:00
*** olivierbourdon38 has quit IRC09:23
*** olivierbourdon38 has joined #openstack-sdks09:29
*** cdent has joined #openstack-sdks10:06
*** dave-mccowan has joined #openstack-sdks10:46
*** dave-mccowan has quit IRC11:03
*** cdent has quit IRC11:09
*** jpena is now known as jpena|lunch11:14
*** cdent has joined #openstack-sdks11:23
cdentedleafe, elmiko, dtantsur: looks like we have some bad links, maybe in zuul jobs. On http://specs.openstack.org/ the link of guidelines is /api-sig but the content is at /api-wg11:38
dtantsurugh11:42
dtantsuryeah, it may be zuul jobs11:42
cdentI'm fixing some links in the actual content right now, but though I would pawn that off on one you :)11:43
openstackgerritChris Dent proposed openstack/api-sig master: Update web frontpage to link to SIG not WG  https://review.openstack.org/58913012:01
openstackgerritChris Dent proposed openstack/api-sig master: Explicitly link to the HTTP RFCs  https://review.openstack.org/58913112:01
openstackgerritChris Dent proposed openstack/api-sig master: Add link to Building Protocols with HTTP  https://review.openstack.org/58913212:01
*** cdent has quit IRC12:02
*** e0ne has joined #openstack-sdks12:08
*** e0ne has quit IRC12:13
*** jpena|lunch is now known as jpena12:18
*** cdent has joined #openstack-sdks12:23
*** Luzi has quit IRC12:34
*** dtantsur is now known as dtantsur|brb12:36
*** cdent has quit IRC12:39
*** cdent has joined #openstack-sdks12:43
*** Luzi has joined #openstack-sdks12:49
*** dave-mccowan has joined #openstack-sdks12:51
*** Luzi has quit IRC12:58
*** dave-mccowan has quit IRC13:03
openstackgerritMerged openstack/microversion-parse master: fix tox python3 overrides  https://review.openstack.org/57388013:12
*** Luzi has joined #openstack-sdks13:13
*** edmondsw has joined #openstack-sdks13:13
*** jroll has quit IRC13:19
*** jroll has joined #openstack-sdks13:19
*** Luzi has quit IRC13:34
*** olivierbourdon38 has quit IRC13:38
*** mriedem has joined #openstack-sdks13:41
*** olivierbourdon38 has joined #openstack-sdks13:41
*** olivierbourdon38 has quit IRC13:44
*** olivierbourdon38 has joined #openstack-sdks13:44
*** lbragstad has joined #openstack-sdks13:44
*** olivierbourdon38 has quit IRC13:46
*** olivierbourdon38 has joined #openstack-sdks13:47
*** olivierbourdon38 has quit IRC13:47
*** olivierbourdon38 has joined #openstack-sdks13:59
elmikocdent: ack, just saw the message14:18
mordreddtantsur|brb: I made some patches over the weekend I think you're going to like ...14:23
*** Tahvok_ has joined #openstack-sdks14:23
*** Tahvok has quit IRC14:26
*** baffle has quit IRC14:26
*** dtantsur|brb has quit IRC14:26
*** Tahvok_ is now known as Tahvok14:26
*** dtantsur has joined #openstack-sdks14:28
*** e0ne has joined #openstack-sdks14:43
*** bobh has joined #openstack-sdks14:45
*** cdent has quit IRC14:45
*** dave-mccowan has joined #openstack-sdks14:56
*** e0ne has quit IRC15:14
*** cdent has joined #openstack-sdks15:17
*** ebbex has joined #openstack-sdks15:23
*** olivierbourdon38 has quit IRC15:24
dtantsurmordred: heads-up: os-service-types from master breaks openstacksdk15:28
mordreddtantsur: really? well crap15:28
dtantsurtry ./.tox/py27/bin/pip install git+https://git.openstack.org/openstack/os-service-types && tox -epy2715:28
mordredk. will do in just a sec15:29
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Make resource a dict subclass usable by shade layer  https://review.openstack.org/53083515:31
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Rename Resource get and update to not clash with dict  https://review.openstack.org/58919315:31
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add computed attribute type and location to base resource  https://review.openstack.org/58919415:31
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Remove special handling of stacks  https://review.openstack.org/58919515:31
mordreddtantsur: ^^ so that's ALMOST working (this is making the Resource objects dict subclasses so we can have shade methods return them directly)15:31
dtantsuryay!15:32
mordreddtantsur: there's one weird bug in the final patch that is confusing to me - I've got an infinite recursion thing happening and I cannot see why15:32
mordredthere's 2 lines commented out in openstack/resource.py with a note above them about it15:33
mordredlooing at the os-service-types thing now15:33
mordredoh - fun15:33
dtantsurmordred: filed a story https://storyboard.openstack.org/#!/story/200331415:34
openstackgerritMonty Taylor proposed openstack/os-service-types master: Fix service_type normalization  https://review.openstack.org/58919915:35
mordreddtantsur: there ya go ^^15:35
mordredand thanks!15:35
dtantsurnp, it failed the RDO build of metalsmith :)15:36
openstackgerritMerged openstack/openstacksdk master: Don't wait for task in submit_task  https://review.openstack.org/58865615:39
mordreddtantsur: yay for CI!15:47
dtantsur:)15:49
*** Leo_m has joined #openstack-sdks15:52
openstackgerritMonty Taylor proposed openstack/os-service-types master: Fix service_type normalization  https://review.openstack.org/58919915:52
dtantsurmordred: I wonder if we should be calling get_all_types if service_type is None at all15:53
mordreddtantsur: nope. I'm pretty sure we shouldn't15:54
cdenti was gonna ask that16:01
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Stop calling get_all_types when service-type is None  https://review.openstack.org/58921216:07
mordreddtantsur, cdent: ^^ there, fixed it on that side too16:07
dtantsurmordred: a unit test here as well? :)16:07
mordreddtantsur: if you get bored with your real job and feel like trying to debug the intersection between magical descriptor objects and dict subclasses ...16:08
mordreddtantsur: hrm. just one that calls _get_config with None?16:08
dtantsurmordred: 1. not THAT bored, but can give it a try, 2. yep16:09
*** jpena is now known as jpena|off16:12
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Stop calling get_all_types when service-type is None  https://review.openstack.org/58921216:18
mordreddtantsur, cdent: ^^ how does that look?16:18
*** bobh has quit IRC16:18
*** olivierbourdon38 has joined #openstack-sdks16:20
cdentmordred: looks sane, but I'm not quite sure I grok what it means for service-type to be None at this stage, so I can mostly just take your word for it16:20
mordredcdent: well - the times in which service-type should be none in the real world are pretty low16:20
mordredoh - hahahahahaha16:21
mordredI was about to make some snide comments about unit tests - but amusingly the thing I randomly chose as the config value for that unittest16:22
mordredis the use case that caused this to fail in the first place16:22
mordredin fact - lemme change that test ..16:23
*** olivierbourdon38 has quit IRC16:24
openstackgerritMerged openstack/os-service-types master: Fix service_type normalization  https://review.openstack.org/58919916:25
dtantsurheh16:30
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Stop calling get_all_types when service-type is None  https://review.openstack.org/58921216:31
mordredk. maybe that test is clearer16:31
*** imacdonn has quit IRC16:38
*** imacdonn has joined #openstack-sdks16:38
*** SamYaple has joined #openstack-sdks16:39
mordreddtantsur: aha! the dict issue that exists in that patch exists without that patch - the patch just triggers it16:41
mordreddtantsur: tl;dr - there are some objects that, if you call to_dict() on them - will infinite recursion16:42
dtantsur\o/16:42
*** gtema has quit IRC16:42
mordredyeah. SO exciting16:42
dtantsurthis is Monday16:42
mordredyup16:43
mordredit's such a monday bug isn't it?16:43
dtantsurtruly16:43
mordredotoh - it makes debugging it easier - because I was going CRAZY trying to figure out how the patch was breaking it16:43
mordredturns out - it wasn't :)16:43
dtantsurthis happens and usually is quite frustrating indeed :)16:45
*** e0ne has joined #openstack-sdks16:47
*** bobh has joined #openstack-sdks16:55
*** olivierbourdon38 has joined #openstack-sdks16:56
*** bobh has quit IRC17:02
*** bobh has joined #openstack-sdks17:02
*** bobh has quit IRC17:07
*** olivierbourdon38 has quit IRC17:40
*** bobh has joined #openstack-sdks17:48
*** dtantsur is now known as dtantsur|afk17:53
*** e0ne has quit IRC18:05
*** e0ne has joined #openstack-sdks18:14
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix to_dict recursion issues with circular aliases  https://review.openstack.org/58925018:17
mordreddtantsur|afk: ^^ that's a test that shows the breakage18:18
*** bobh has quit IRC18:23
*** bobh has joined #openstack-sdks18:23
Leo_mhi, where in git can I see the methods of each service of the connection object, for ex. conn.identity.users() where conn is the openstack sdk connection object19:14
mordredLeo_m: that one is either in http://git.openstack.org/cgit/openstack/openstacksdk/tree/openstack/identity/v3/_proxy.py#n660 or http://git.openstack.org/cgit/openstack/openstacksdk/tree/openstack/identity/v2/_proxy.py#n25019:15
Leo_mmordred: thx! do you know how to set a timeout on those type of calls in case the cloud is unavailable?19:21
Leo_mmaybe in the clouds.yaml config, or the connection object creation or a method service call?19:23
mordredLeo_m: you can set "api_timeout" in clouds.yaml - or you should be able to pass api_timeout to the Connection constructor19:25
Leo_mmordred: thanks! that did it. btw, couldn't find all the params the clouds.yaml file can have, just found a couple of examples.19:44
mordredLeo_m: yeah - sorry about that - it's an unfortunately long-lived bug that the docs for clouds.yaml are incomplete20:00
*** e0ne has quit IRC20:11
*** bobh has quit IRC20:55
Leo_mmordred: no worries, thanks for the feedback!21:15
*** edmondsw has quit IRC21:15
*** harlowja has joined #openstack-sdks21:21
*** bobh has joined #openstack-sdks21:28
*** bobh has quit IRC21:35
*** cdent has quit IRC21:40
*** bobh has joined #openstack-sdks21:47
*** thrash is now known as thrash|g0ne21:57
*** bobh has quit IRC22:02
*** bobh has joined #openstack-sdks22:03
*** bobh has quit IRC22:07
*** Leo_m has quit IRC22:57
*** bobh has joined #openstack-sdks23:12
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix to_dict recursion issues with circular aliases  https://review.openstack.org/58925023:58
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Rename Resource get and update to not clash with dict  https://review.openstack.org/58919323:58
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add computed attribute type and location to base resource  https://review.openstack.org/58919423:58
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Remove special handling of stacks  https://review.openstack.org/58919523:58
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Make resource a dict subclass usable by shade layer  https://review.openstack.org/53083523:58

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