*** fanzhang has joined #openstack-sdks | 01:04 | |
*** mhen has quit IRC | 01:27 | |
openstackgerrit | Merged openstack/openstacksdk master: Pass microversion info through from Profile https://review.openstack.org/587435 | 02:17 |
---|---|---|
openstackgerrit | Chen proposed openstack/python-openstackclient master: Add info to --live flag for 'openstack server migrate' https://review.openstack.org/589012 | 03:57 |
*** Luzi has joined #openstack-sdks | 05:53 | |
*** slaweq has quit IRC | 06:55 | |
*** slaweq has joined #openstack-sdks | 06:58 | |
*** jpenag is now known as jpena | 07:40 | |
*** Kvisle is now known as Kvisle_ | 07:44 | |
*** gtema has joined #openstack-sdks | 07:46 | |
*** dtantsur|afk is now known as dtantsur | 07:59 | |
*** cdent has joined #openstack-sdks | 08:00 | |
openstackgerrit | Jens Harbott (frickler) proposed openstack/python-openstackclient master: Add DNS support to floating IP commands https://review.openstack.org/558824 | 08:14 |
*** cdent has quit IRC | 08:45 | |
*** olivierbourdon38 has joined #openstack-sdks | 09:00 | |
*** olivierbourdon38 has quit IRC | 09:23 | |
*** olivierbourdon38 has joined #openstack-sdks | 09:29 | |
*** cdent has joined #openstack-sdks | 10:06 | |
*** dave-mccowan has joined #openstack-sdks | 10:46 | |
*** dave-mccowan has quit IRC | 11:03 | |
*** cdent has quit IRC | 11:09 | |
*** jpena is now known as jpena|lunch | 11:14 | |
*** cdent has joined #openstack-sdks | 11:23 | |
cdent | edleafe, 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-wg | 11:38 |
dtantsur | ugh | 11:42 |
dtantsur | yeah, it may be zuul jobs | 11:42 |
cdent | I'm fixing some links in the actual content right now, but though I would pawn that off on one you :) | 11:43 |
openstackgerrit | Chris Dent proposed openstack/api-sig master: Update web frontpage to link to SIG not WG https://review.openstack.org/589130 | 12:01 |
openstackgerrit | Chris Dent proposed openstack/api-sig master: Explicitly link to the HTTP RFCs https://review.openstack.org/589131 | 12:01 |
openstackgerrit | Chris Dent proposed openstack/api-sig master: Add link to Building Protocols with HTTP https://review.openstack.org/589132 | 12:01 |
*** cdent has quit IRC | 12:02 | |
*** e0ne has joined #openstack-sdks | 12:08 | |
*** e0ne has quit IRC | 12:13 | |
*** jpena|lunch is now known as jpena | 12:18 | |
*** cdent has joined #openstack-sdks | 12:23 | |
*** Luzi has quit IRC | 12:34 | |
*** dtantsur is now known as dtantsur|brb | 12:36 | |
*** cdent has quit IRC | 12:39 | |
*** cdent has joined #openstack-sdks | 12:43 | |
*** Luzi has joined #openstack-sdks | 12:49 | |
*** dave-mccowan has joined #openstack-sdks | 12:51 | |
*** Luzi has quit IRC | 12:58 | |
*** dave-mccowan has quit IRC | 13:03 | |
openstackgerrit | Merged openstack/microversion-parse master: fix tox python3 overrides https://review.openstack.org/573880 | 13:12 |
*** Luzi has joined #openstack-sdks | 13:13 | |
*** edmondsw has joined #openstack-sdks | 13:13 | |
*** jroll has quit IRC | 13:19 | |
*** jroll has joined #openstack-sdks | 13:19 | |
*** Luzi has quit IRC | 13:34 | |
*** olivierbourdon38 has quit IRC | 13:38 | |
*** mriedem has joined #openstack-sdks | 13:41 | |
*** olivierbourdon38 has joined #openstack-sdks | 13:41 | |
*** olivierbourdon38 has quit IRC | 13:44 | |
*** olivierbourdon38 has joined #openstack-sdks | 13:44 | |
*** lbragstad has joined #openstack-sdks | 13:44 | |
*** olivierbourdon38 has quit IRC | 13:46 | |
*** olivierbourdon38 has joined #openstack-sdks | 13:47 | |
*** olivierbourdon38 has quit IRC | 13:47 | |
*** olivierbourdon38 has joined #openstack-sdks | 13:59 | |
elmiko | cdent: ack, just saw the message | 14:18 |
mordred | dtantsur|brb: I made some patches over the weekend I think you're going to like ... | 14:23 |
*** Tahvok_ has joined #openstack-sdks | 14:23 | |
*** Tahvok has quit IRC | 14:26 | |
*** baffle has quit IRC | 14:26 | |
*** dtantsur|brb has quit IRC | 14:26 | |
*** Tahvok_ is now known as Tahvok | 14:26 | |
*** dtantsur has joined #openstack-sdks | 14:28 | |
*** e0ne has joined #openstack-sdks | 14:43 | |
*** bobh has joined #openstack-sdks | 14:45 | |
*** cdent has quit IRC | 14:45 | |
*** dave-mccowan has joined #openstack-sdks | 14:56 | |
*** e0ne has quit IRC | 15:14 | |
*** cdent has joined #openstack-sdks | 15:17 | |
*** ebbex has joined #openstack-sdks | 15:23 | |
*** olivierbourdon38 has quit IRC | 15:24 | |
dtantsur | mordred: heads-up: os-service-types from master breaks openstacksdk | 15:28 |
mordred | dtantsur: really? well crap | 15:28 |
dtantsur | try ./.tox/py27/bin/pip install git+https://git.openstack.org/openstack/os-service-types && tox -epy27 | 15:28 |
mordred | k. will do in just a sec | 15:29 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Make resource a dict subclass usable by shade layer https://review.openstack.org/530835 | 15:31 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Rename Resource get and update to not clash with dict https://review.openstack.org/589193 | 15:31 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Add computed attribute type and location to base resource https://review.openstack.org/589194 | 15:31 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Remove special handling of stacks https://review.openstack.org/589195 | 15:31 |
mordred | dtantsur: ^^ so that's ALMOST working (this is making the Resource objects dict subclasses so we can have shade methods return them directly) | 15:31 |
dtantsur | yay! | 15:32 |
mordred | dtantsur: 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 why | 15:32 |
mordred | there's 2 lines commented out in openstack/resource.py with a note above them about it | 15:33 |
mordred | looing at the os-service-types thing now | 15:33 |
mordred | oh - fun | 15:33 |
dtantsur | mordred: filed a story https://storyboard.openstack.org/#!/story/2003314 | 15:34 |
openstackgerrit | Monty Taylor proposed openstack/os-service-types master: Fix service_type normalization https://review.openstack.org/589199 | 15:35 |
mordred | dtantsur: there ya go ^^ | 15:35 |
mordred | and thanks! | 15:35 |
dtantsur | np, it failed the RDO build of metalsmith :) | 15:36 |
openstackgerrit | Merged openstack/openstacksdk master: Don't wait for task in submit_task https://review.openstack.org/588656 | 15:39 |
mordred | dtantsur: yay for CI! | 15:47 |
dtantsur | :) | 15:49 |
*** Leo_m has joined #openstack-sdks | 15:52 | |
openstackgerrit | Monty Taylor proposed openstack/os-service-types master: Fix service_type normalization https://review.openstack.org/589199 | 15:52 |
dtantsur | mordred: I wonder if we should be calling get_all_types if service_type is None at all | 15:53 |
mordred | dtantsur: nope. I'm pretty sure we shouldn't | 15:54 |
cdent | i was gonna ask that | 16:01 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Stop calling get_all_types when service-type is None https://review.openstack.org/589212 | 16:07 |
mordred | dtantsur, cdent: ^^ there, fixed it on that side too | 16:07 |
dtantsur | mordred: a unit test here as well? :) | 16:07 |
mordred | dtantsur: 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 |
mordred | dtantsur: hrm. just one that calls _get_config with None? | 16:08 |
dtantsur | mordred: 1. not THAT bored, but can give it a try, 2. yep | 16:09 |
*** jpena is now known as jpena|off | 16:12 | |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Stop calling get_all_types when service-type is None https://review.openstack.org/589212 | 16:18 |
mordred | dtantsur, cdent: ^^ how does that look? | 16:18 |
*** bobh has quit IRC | 16:18 | |
*** olivierbourdon38 has joined #openstack-sdks | 16:20 | |
cdent | mordred: 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 it | 16:20 |
mordred | cdent: well - the times in which service-type should be none in the real world are pretty low | 16:20 |
mordred | oh - hahahahahaha | 16:21 |
mordred | I was about to make some snide comments about unit tests - but amusingly the thing I randomly chose as the config value for that unittest | 16:22 |
mordred | is the use case that caused this to fail in the first place | 16:22 |
mordred | in fact - lemme change that test .. | 16:23 |
*** olivierbourdon38 has quit IRC | 16:24 | |
openstackgerrit | Merged openstack/os-service-types master: Fix service_type normalization https://review.openstack.org/589199 | 16:25 |
dtantsur | heh | 16:30 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Stop calling get_all_types when service-type is None https://review.openstack.org/589212 | 16:31 |
mordred | k. maybe that test is clearer | 16:31 |
*** imacdonn has quit IRC | 16:38 | |
*** imacdonn has joined #openstack-sdks | 16:38 | |
*** SamYaple has joined #openstack-sdks | 16:39 | |
mordred | dtantsur: aha! the dict issue that exists in that patch exists without that patch - the patch just triggers it | 16:41 |
mordred | dtantsur: tl;dr - there are some objects that, if you call to_dict() on them - will infinite recursion | 16:42 |
dtantsur | \o/ | 16:42 |
*** gtema has quit IRC | 16:42 | |
mordred | yeah. SO exciting | 16:42 |
dtantsur | this is Monday | 16:42 |
mordred | yup | 16:43 |
mordred | it's such a monday bug isn't it? | 16:43 |
dtantsur | truly | 16:43 |
mordred | otoh - it makes debugging it easier - because I was going CRAZY trying to figure out how the patch was breaking it | 16:43 |
mordred | turns out - it wasn't :) | 16:43 |
dtantsur | this happens and usually is quite frustrating indeed :) | 16:45 |
*** e0ne has joined #openstack-sdks | 16:47 | |
*** bobh has joined #openstack-sdks | 16:55 | |
*** olivierbourdon38 has joined #openstack-sdks | 16:56 | |
*** bobh has quit IRC | 17:02 | |
*** bobh has joined #openstack-sdks | 17:02 | |
*** bobh has quit IRC | 17:07 | |
*** olivierbourdon38 has quit IRC | 17:40 | |
*** bobh has joined #openstack-sdks | 17:48 | |
*** dtantsur is now known as dtantsur|afk | 17:53 | |
*** e0ne has quit IRC | 18:05 | |
*** e0ne has joined #openstack-sdks | 18:14 | |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Fix to_dict recursion issues with circular aliases https://review.openstack.org/589250 | 18:17 |
mordred | dtantsur|afk: ^^ that's a test that shows the breakage | 18:18 |
*** bobh has quit IRC | 18:23 | |
*** bobh has joined #openstack-sdks | 18:23 | |
Leo_m | hi, 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 object | 19:14 |
mordred | Leo_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#n250 | 19:15 |
Leo_m | mordred: thx! do you know how to set a timeout on those type of calls in case the cloud is unavailable? | 19:21 |
Leo_m | maybe in the clouds.yaml config, or the connection object creation or a method service call? | 19:23 |
mordred | Leo_m: you can set "api_timeout" in clouds.yaml - or you should be able to pass api_timeout to the Connection constructor | 19:25 |
Leo_m | mordred: 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 |
mordred | Leo_m: yeah - sorry about that - it's an unfortunately long-lived bug that the docs for clouds.yaml are incomplete | 20:00 |
*** e0ne has quit IRC | 20:11 | |
*** bobh has quit IRC | 20:55 | |
Leo_m | mordred: no worries, thanks for the feedback! | 21:15 |
*** edmondsw has quit IRC | 21:15 | |
*** harlowja has joined #openstack-sdks | 21:21 | |
*** bobh has joined #openstack-sdks | 21:28 | |
*** bobh has quit IRC | 21:35 | |
*** cdent has quit IRC | 21:40 | |
*** bobh has joined #openstack-sdks | 21:47 | |
*** thrash is now known as thrash|g0ne | 21:57 | |
*** bobh has quit IRC | 22:02 | |
*** bobh has joined #openstack-sdks | 22:03 | |
*** bobh has quit IRC | 22:07 | |
*** Leo_m has quit IRC | 22:57 | |
*** bobh has joined #openstack-sdks | 23:12 | |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Fix to_dict recursion issues with circular aliases https://review.openstack.org/589250 | 23:58 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Rename Resource get and update to not clash with dict https://review.openstack.org/589193 | 23:58 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Add computed attribute type and location to base resource https://review.openstack.org/589194 | 23:58 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Remove special handling of stacks https://review.openstack.org/589195 | 23:58 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Make resource a dict subclass usable by shade layer https://review.openstack.org/530835 | 23:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!