*** slaweq has joined #openstack-sdks | 00:11 | |
*** slaweq has quit IRC | 00:16 | |
*** goldyfruit has quit IRC | 00:30 | |
*** goldyfruit has joined #openstack-sdks | 00:31 | |
*** goldyfruit has quit IRC | 00:55 | |
*** ricolin has joined #openstack-sdks | 00:58 | |
*** dave-mccowan has joined #openstack-sdks | 01:40 | |
*** goldyfruit has joined #openstack-sdks | 02:04 | |
*** bobh has joined #openstack-sdks | 02:06 | |
*** slaweq has joined #openstack-sdks | 02:11 | |
*** slaweq has quit IRC | 02:16 | |
openstackgerrit | Brin Zhang proposed openstack/python-openstackclient master: Microversion 2.77: Support Specifying AZ to unshelve https://review.opendev.org/665336 | 02:45 |
---|---|---|
*** slaweq has joined #openstack-sdks | 03:11 | |
*** dave-mccowan has quit IRC | 03:12 | |
*** slaweq has quit IRC | 03:16 | |
*** bobh has quit IRC | 03:25 | |
*** slaweq has joined #openstack-sdks | 05:11 | |
*** e0ne has joined #openstack-sdks | 05:13 | |
*** slaweq has quit IRC | 05:16 | |
*** e0ne has quit IRC | 05:27 | |
*** slaweq has joined #openstack-sdks | 06:50 | |
*** yolanda has joined #openstack-sdks | 06:55 | |
*** e0ne has joined #openstack-sdks | 07:52 | |
*** cdent has joined #openstack-sdks | 09:46 | |
*** cdent has quit IRC | 11:25 | |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: WIP: Connection(strict_proxies) https://review.opendev.org/676837 | 11:27 |
mordred | efried: I like your version. that ^^ fixes it so that the existing tests work - I'm gonna add new tests now | 11:27 |
*** cdent has joined #openstack-sdks | 12:10 | |
efried | mordred: awesome. I will try to spin up a nova patch that Depends-On it, but I've had trouble making that work recently. | 12:31 |
openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Add strict_proxies option for Connection https://review.opendev.org/676837 | 12:32 |
*** goldyfruit has quit IRC | 12:32 | |
mordred | efried: that now has tests (that showed some issues, so they're good tests :) ) | 12:32 |
efried | good stuff | 12:32 |
mordred | efried: I turned on strict_proxies in the from_conf tests - since the overlap of the two is gonna be pretty common | 12:33 |
efried | mordred: Do you think there's value in getting some real cloud to play around with before we unleash this on the world? | 12:33 |
mordred | maybe? | 12:33 |
efried | Since the last couple of iterations have only uncovered more problems we couldn't really have known about | 12:34 |
mordred | yeah. this is a tricky one | 12:34 |
efried | The release process is pretty smooth, but still takes a couple of days, so it would be nice to be able to iterate faster. | 12:34 |
mordred | although isn't it devstack that found the ironic thing? | 12:34 |
efried | It was devstack CI | 12:34 |
efried | which I don't have a way to do, I don't think. | 12:35 |
mordred | yeah - so that's at least good :) | 12:35 |
efried | I mean locally | 12:35 |
efried | "locally" | 12:35 |
efried | Donny at Fortnebula is a teammate, and loves slinging hardware at me, so this is a thing that could be set up in quite short order, and then both of us could play on it. | 12:36 |
mordred | dtantsur|afk: could use your eyes on https://review.opendev.org/#/c/676837/ - it's related to stuff found between ironic and nova originally | 12:36 |
mordred | oh cool, donny is awesome | 12:36 |
efried | indeed | 12:36 |
efried | mordred: Does _strict_proxies need to be private for some arcane reason related to "Connection objects need to be parsimonious about their public symbols"? | 12:47 |
efried | Cause as currently used it's accessed through an object, not through `self`, which makes my IDE sad (but is otherwise valid python) | 12:48 |
mordred | efried: weird that it makes your IDE sad... no, not really - I just tend to make all attributes private unless there's a reason to do otherwise. don't need to stand on principle or anything though | 12:50 |
efried | not sad like suicidal, just a faint grey underline with hover text like "Accessing a private thing from outside" | 12:51 |
mordred | oh - because of the instance thing ... private to class and private to library being concepts the ide likely can't just figure out. makes sense at least | 13:00 |
efried | It can figure them out, it's just a style rule that I have enabled (and personally like anyway) | 13:01 |
efried | it's totally nbd, I was just curious why you reverted that | 13:01 |
mordred | we can totally swap it back ... it's also totally nbd here | 13:03 |
*** goldyfruit has joined #openstack-sdks | 13:10 | |
Shrews | ???? | 13:14 |
Shrews | oh, i read that as "ndb", which scared me | 13:14 |
Shrews | because history | 13:15 |
efried | at the risk of making a fool of myself... what's ndb? | 13:15 |
Shrews | a mysql thing mordred and i did stuff worth waaaaaay back in time | 13:16 |
Shrews | s/worth/with/ | 13:16 |
Shrews | before open source companies sold for billions of $$$ | 13:17 |
mordred | back in the day ... | 13:20 |
efried | the air is thick with nostalgia | 13:21 |
Shrews | ooooh, that's what that stench is | 13:21 |
mordred | I thought it was jus tme | 13:22 |
efried | all work work work with you, never time for personal hygiene. | 13:25 |
*** goldyfruit_ has joined #openstack-sdks | 14:03 | |
*** goldyfruit has quit IRC | 14:06 | |
*** dave-mccowan has joined #openstack-sdks | 14:21 | |
*** bobh has joined #openstack-sdks | 14:33 | |
*** dave-mccowan has quit IRC | 14:35 | |
*** cmurphy is now known as cmorpheus | 14:48 | |
cmorpheus | mordred: dtantsur|afk thoughts on https://review.opendev.org/676648 ? | 15:04 |
efried | cmorpheus: Does this not percolate down from https://review.opendev.org/#/c/676648/1/keystoneauth1/adapter.py@150 ? | 15:06 |
cmorpheus | they don't want to use an adapter for some reason | 15:06 |
efried | ...or do you need it directly settable on the actual Session (vs the Adapter)? | 15:06 |
efried | ah | 15:06 |
efried | there's a few things that are missing in that case. | 15:06 |
efried | (in general, not related to retries) | 15:06 |
efried | If you're going to do that, you'll probably also want the other three | 15:07 |
efried | status code retries, and intervals for both. | 15:07 |
mordred | yeah. I think they'd be better served by removing all that custom code and using sdk - but I might be biased | 15:07 |
efried | oh, /me sees the comments now. | 15:07 |
cmorpheus | mordred: heh | 15:07 |
mordred | I mean - there's a TON of code in heat/common/context.py | 15:07 |
mordred | but - maybe there's a reason | 15:08 |
mordred | honestly, I can't think of a reason to _not_ support adding all of the retry options directly to session - since ultimately it is a session that is the one doing the http layer work and the adapter is an openstack service config layer on top of it | 15:08 |
mordred | but I agree I think we should add all of them if we're going to add them | 15:09 |
mordred | but I still think we should start thinking about how we can delete that file from heat | 15:10 |
efried | mordred: I think it was when I was adding global_request_id (??) that we talked about this and decided it was only necessary to do it on Adapter. | 15:10 |
efried | oh, actually, I added it to Session.request, never mind. | 15:11 |
cmorpheus | my general thought was that if you knew you had a flaky service you might want to set retries for that, if all your services are so flaky that you want to set it globally in the session then that is sad times | 15:11 |
cmorpheus | but i agree i can't think of a really serious reason not to add it to the session | 15:11 |
efried | cmorpheus: From the comments on that review, and the link into their code, I don't see where they're using a session at all | 15:12 |
cmorpheus | yeah it is really hard to follow the heat code | 15:12 |
efried | here https://github.com/openstack/heat/blob/master/heat/common/context.py#L113 | 15:12 |
efried | ...they could wrap that sucker in an Adapter very easily. | 15:13 |
mordred | yeah. I agree with cmorpheus that it's sad if you have to wrap it for everythig - and with efried that it's hard to see where this would get applied | 15:13 |
efried | ugh https://github.com/openstack/heat/blob/master/heat/common/config.py#L550 -- they should really be using ks loading | 15:14 |
cmorpheus | yep :( | 15:14 |
efried | so | 15:14 |
mordred | this is just an attempt to nerdsnipe me in to rewriting this code in heat isn' tit? | 15:14 |
efried | rather than ask ksa to retrofit to support them doing stuff the old way, we should ask them to get with the times | 15:15 |
cmorpheus | mordred: is it working? | 15:15 |
mordred | cmorpheus: it's getting close | 15:15 |
efried | I would say -1 that patch and tell them to do ^ first, unless they can give some really good reason that's not viable. | 15:16 |
efried | If it helps, here's how nova does it: | 15:18 |
efried | get_ksa_adapter (uses load_adapter_from_conf_options): https://opendev.org/openstack/nova/src/branch/master/nova/utils.py#L1194 | 15:18 |
efried | _get_auth_and_session (uses load_{auth|session}_from_conf_options): https://opendev.org/openstack/nova/src/branch/master/nova/utils.py#L1176 | 15:18 |
cmorpheus | sweet, thanks for the input guys | 15:19 |
efried | and this stuff https://github.com/openstack/heat/blob/master/heat/common/config.py#L331-L367 | 15:20 |
efried | should be replaced by something more like https://opendev.org/openstack/nova/src/branch/master/nova/conf/utils.py#L58 | 15:20 |
efried | (ks_loading.register_*_conf_options ^ ) | 15:21 |
*** goldyfruit___ has joined #openstack-sdks | 15:27 | |
*** goldyfruit_ has quit IRC | 15:28 | |
*** jkulik has quit IRC | 15:29 | |
*** goldyfruit_ has joined #openstack-sdks | 15:29 | |
*** goldyfruit___ has quit IRC | 15:32 | |
*** efried is now known as efried_afk | 15:56 | |
*** e0ne has quit IRC | 15:58 | |
mordred | kmalloc: if you get a sec, would you look at https://review.opendev.org/#/c/675187/ and https://review.opendev.org/#/c/675130 - I think you've probably got more context on that than most people | 16:07 |
kmalloc | looking | 16:10 |
kmalloc | ooh those ones.. going to take me a few to review it, want to make sure the use is sane. | 16:10 |
*** cdent has quit IRC | 16:22 | |
mordred | kmalloc: yes please | 16:23 |
*** yolanda has quit IRC | 16:30 | |
*** goldyfruit_ has quit IRC | 16:32 | |
*** yolanda has joined #openstack-sdks | 16:37 | |
*** goldyfruit_ has joined #openstack-sdks | 16:53 | |
*** bobh has quit IRC | 17:46 | |
*** ricolin has quit IRC | 18:24 | |
*** bobh has joined #openstack-sdks | 18:26 | |
*** bobh has quit IRC | 18:32 | |
*** bobh has joined #openstack-sdks | 18:48 | |
kmalloc | mordred: phew, this review is making my brain work :) | 18:50 |
kmalloc | mordred: because i need to keep looking at the fixture :P | 18:50 |
kmalloc | i *think* your changes are right. | 18:50 |
*** efried_afk is now known as efried | 18:52 | |
mordred | kmalloc: they seem to work at least ... | 19:06 |
mordred | kmalloc: the goal here is to pull all of the stuff you did with requests-mock into a fixture that provides catalogs and discovery documents and methods to manipulate those things based on the published ksa fixtures | 19:07 |
mordred | this was step one | 19:07 |
mordred | kmalloc: but yeah - it's ... right down deep in there | 19:07 |
*** bobh has quit IRC | 19:32 | |
kmalloc | yup | 20:02 |
*** bobh has joined #openstack-sdks | 20:11 | |
*** bobh has quit IRC | 20:16 | |
*** yolanda__ has joined #openstack-sdks | 20:45 | |
*** yolanda has quit IRC | 20:46 | |
kmalloc | mordred: added comment to https://review.opendev.org/#/c/675130/, it looks correct but I am confirming an assertion the test is making. | 21:17 |
*** dayou_ has quit IRC | 22:34 | |
*** dayou_ has joined #openstack-sdks | 22:56 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!