Wednesday, 2019-08-07

*** camelCaser has quit IRC00:11
*** camelCas- has joined #openstack-sdks00:11
*** logan- has quit IRC00:12
*** logan- has joined #openstack-sdks00:13
*** ricolin has joined #openstack-sdks01:02
*** ricolin_ has joined #openstack-sdks01:17
*** ricolin has quit IRC01:20
*** bobh has joined #openstack-sdks01:40
*** ricolin_ is now known as ricolin02:27
*** bobh has quit IRC02:53
*** whoami-rajat has joined #openstack-sdks03:19
*** icarusfactor has joined #openstack-sdks05:08
*** factor has quit IRC05:08
*** Luzi has joined #openstack-sdks05:19
*** icarusfactor has quit IRC06:01
*** factor has joined #openstack-sdks06:02
*** slaweq has joined #openstack-sdks06:48
*** dtantsur|afk is now known as dtantsur06:55
*** tosky has joined #openstack-sdks07:22
*** ralonsoh has joined #openstack-sdks07:29
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504907:52
*** jpich has joined #openstack-sdks07:53
*** ralonsoh has quit IRC07:54
openstackgerritAdrian Turjak proposed openstack/keystoneauth master: add support for auth_receipts and multi-method auth  https://review.opendev.org/67504907:59
*** jangutter has joined #openstack-sdks08:05
*** e0ne has joined #openstack-sdks08:18
*** cdent has joined #openstack-sdks08:23
*** ralonsoh has joined #openstack-sdks08:26
*** ralonsoh has quit IRC08:35
*** ralonsoh has joined #openstack-sdks08:47
*** ricolin_ has joined #openstack-sdks10:01
*** ricolin has quit IRC10:03
dtantsurmordred: we don't have anything to build swift temporary URLs in SDK, do we?10:10
dtantsurwe could probably just copy https://opendev.org/openstack/python-swiftclient/src/branch/master/swiftclient/utils.py#L71 as it is :)10:13
*** gtema has joined #openstack-sdks10:26
*** jangutter_ has joined #openstack-sdks10:55
*** jangutter has quit IRC10:58
*** jangutter_ has quit IRC11:08
*** jangutter has joined #openstack-sdks11:12
*** jangutter has quit IRC11:14
*** gtema has quit IRC11:16
*** jangutter has joined #openstack-sdks11:38
*** jangutter has quit IRC11:40
*** jangutter has joined #openstack-sdks11:43
*** jangutter has quit IRC11:45
*** mgariepy has joined #openstack-sdks11:58
*** jangutter has joined #openstack-sdks11:59
*** zbr has quit IRC12:46
*** ricolin_ is now known as ricolin12:48
*** zbr has joined #openstack-sdks13:03
mordreddtantsur: we've got support for form_post which uses the temp-url-key infrastructure13:04
mordreddtantsur: so yeah, we could probably lift in that code for generating temp_urls themselves pretty easily13:05
openstackgerritLoan Harrouin proposed openstack/openstacksdk master: Add get_actions for servers  https://review.opendev.org/67511313:05
dtantsurmakes sense. it seems that the code in swiftclient doesn't depend on anything specific to swiftclient13:05
openstackgerritLoan Harrouin proposed openstack/openstacksdk master: Add get_actions for server resource  https://review.opendev.org/67511313:08
*** mriedem has joined #openstack-sdks13:10
*** gtema has joined #openstack-sdks13:17
edleafeWho knew that our API work extended to snail mail? https://twitter.com/shawnacscott/status/115881346870469836813:22
*** gtema has quit IRC13:22
dtantsuroh lol13:24
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add support for global_request_id  https://review.opendev.org/67480713:39
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Initalize pool_executor so close works  https://review.opendev.org/67512013:39
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix discovery cache sharing  https://review.opendev.org/67512113:39
mordreddtantsur, efried: ^^ there we go - with discovery cache fixed and also with context manager fixed13:39
*** factor has quit IRC13:44
*** factor has joined #openstack-sdks13:45
Shrewsmordred: do we have any existing tests in sdk that exercise the large object code? I'm not finding any13:46
mordredShrews: yes - becuase they sucked to write13:46
Shrews:)13:46
Shrewsi must be looking in the wrong places then13:46
mordredShrews: test_create_dynamic_large_object and test_create_static_large_object in openstack/tests/unit/cloud/test_object.py13:48
Shrewsah ha13:48
mordredalso test_object_segment_retry_failure13:48
Shrewsi forgot we still have mixed tests13:48
*** jpich has quit IRC13:51
*** jpich has joined #openstack-sdks13:52
mordredyeah. one of these days it's all going to be perfect and shiny13:52
*** whoami-rajat has quit IRC13:57
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix discovery cache sharing  https://review.opendev.org/67512114:03
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add support for global_request_id  https://review.opendev.org/67480714:03
mordredShrews: if you have a sec, the first two in that stack are bugfixes I noticed while working on the third for efried14:04
openstackgerritLoan Harrouin proposed openstack/openstacksdk master: Add get_actions for server resource  https://review.opendev.org/67511314:04
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add support for global_request_id  https://review.opendev.org/67480714:05
mordredefried: you are quick at re-reviewing things14:05
mordreddtantsur: if we do lift in the temp-url stuff, we should probably look to see what from the form_post method we can reuse. (we're using that form-post method in zuul log uploading to swift, so I'm pretty sure it's solid)14:06
dtantsurmakes sense, yeah14:07
*** slaweq has quit IRC14:07
*** slaweq has joined #openstack-sdks14:08
*** dtantsur is now known as dtantsur|bbl14:21
*** Luzi has quit IRC14:30
efriedmordred: I just happened to be looking at my email at the time :)14:41
*** altlogbot_3 has quit IRC14:46
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Rationalize endpoint_for and get_endpoint_from_catalog  https://review.opendev.org/67513014:47
mordredShrews, dtantsur|bbl: ^^ that also adds some tests and docs for a method we added last week - and makes it make sense with the existing method that was already there14:47
*** altlogbot_2 has joined #openstack-sdks14:47
efriedmordred: Attempting to use sdk auto passthrough proxy for cyborg gets Sundar this error: http://paste.openstack.org/show/755594/14:52
efriedis that expected?14:52
mordredefried: does cyborg not publish a version discovery document?14:55
efriedI was certain they did14:56
efriedmordred: esp because they have a v1 that's dead, and are working up v2 now.14:56
*** factor has quit IRC14:57
mordredhrm. do you have a link to code where that's happening? I'd like to see the value for accelerator_api_version - or more generally the clouds.yaml / config settings and also the discovery documents14:58
*** factor has joined #openstack-sdks14:58
mordredthat error basically happens when a version has been requested and discovery can't find a major api version on the service14:59
mordredin any cas e- let's dig in and figure out what's going on there15:00
mordredefried: oh - I'm sorry - I misspoke - that's what happens when there is no configured api version15:01
efriedmordred: Okay. Sundar is Pacific so might be a bit before he's on. The conf is here http://paste.openstack.org/show/755593/15:01
mordredefried: oh - blerg. this is dumb15:01
efriedmordred: Oh, so you mean he could put a version in the conf and/or constructor and be good to go?15:01
mordredefried: I have NO IDEA why I thought the logic for this case would be reasonable15:01
efriedheh15:02
*** factor has quit IRC15:03
mordredefried: fix coming. also - I think we can make a more substantial improvement - which is to make a base class and a subclass of the ServiceDescription object - one that we use for services we know about, and one for thigns that we're just creating becaues they're in service-types-authority15:05
mordredbecause there's warnings we throw in the current case for "you're only going to get passthrough REST here" - but that's a warning if we have a supported Proxy version because that means something went wrong15:05
mordredif we DON'T have one of those, then you're expecting a REST passthrough, so the warning is stupid15:06
mordredbut - there's just a dumb logic error for the cyborg case15:06
efriedmordred: So then we wouldn't actually need the placement passthrough you made earlier this week?15:06
efriedthis feels like it's kinda in the same neighborhood15:07
openstackgerritDavid Shrewsbury proposed openstack/openstacksdk master: WIP: Retry SLO manifest upload  https://review.opendev.org/67513415:08
Shrewsmordred: Want to check that I'm attacking this in the right way before I get too far?  ^^^15:09
mordredefried: it is in the same neighborhood - and perhaps15:10
mordredShrews: yeah - I thnik so15:10
mordredefried: yah - I can make one small patch to make this whole thing much easier I think15:13
efriednice15:13
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Skip most service_description for unknown services  https://review.opendev.org/67513515:18
mordredefried: ^^ that patch might fix the placement and the cyborg issue15:18
efriedmordred: asking Sundar to try it. (He's in a mtg, may be an hour or so.)15:21
mordredefried: ok. let him know I'm very keen to make sure his stuff is working here15:23
efriedwill do, and thanks mordred15:24
*** slaweq_ has joined #openstack-sdks15:26
*** slaweq has quit IRC15:29
*** factor has joined #openstack-sdks15:30
*** dtantsur|bbl is now known as dtantsur15:49
*** icarusfactor has joined #openstack-sdks15:50
*** factor has quit IRC15:52
*** icarusfactor has quit IRC15:55
*** whoami-rajat has joined #openstack-sdks15:55
*** ralonsoh has quit IRC15:57
*** ralonsoh has joined #openstack-sdks15:57
Shrewsmordred: ooh, delete_autocreated_image_objects *almost* does what we need for failed upload cleanup. Maybe add an optional parameter to limit it to object name prefix?16:07
*** efried is now known as efried_rollin16:12
Shrewsoh, actually, don't think i can use that at the point i need it16:12
* Shrews tries anyway16:14
*** cdent has quit IRC16:22
*** ricolin_ has joined #openstack-sdks16:23
*** jpich has quit IRC16:25
*** ricolin has quit IRC16:26
*** ricolin_ is now known as ricolin16:29
*** factor has joined #openstack-sdks16:35
*** ricolin has quit IRC16:40
*** dtantsur is now known as dtantsur|afk16:55
*** e0ne has quit IRC17:06
*** altlogbot_2 has quit IRC17:17
*** gtema has joined #openstack-sdks17:19
*** gtema has quit IRC17:23
*** altlogbot_3 has joined #openstack-sdks17:23
*** mgariepy has quit IRC17:29
*** mgariepy has joined #openstack-sdks17:30
*** altlogbot_3 has quit IRC17:30
*** altlogbot_2 has joined #openstack-sdks17:35
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Skip most service_description for unknown services  https://review.opendev.org/67513517:42
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add remove_service to token fixtures  https://review.opendev.org/67517418:34
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Validate that connect_as connects as the project  https://review.opendev.org/67517818:45
*** e0ne has joined #openstack-sdks18:49
*** mgariepy has quit IRC19:13
*** mgariepy has joined #openstack-sdks19:13
*** mgariepy has quit IRC19:14
*** mgariepy has joined #openstack-sdks19:15
*** mgariepy has quit IRC19:16
*** mgariepy has joined #openstack-sdks19:18
*** mgariepy has quit IRC19:19
*** mgariepy has joined #openstack-sdks19:20
*** gtema has joined #openstack-sdks19:20
*** gtema has quit IRC19:25
*** mgariepy has quit IRC19:33
*** dave-mccowan has joined #openstack-sdks19:33
*** mgariepy has joined #openstack-sdks19:34
*** camelCas- has quit IRC19:38
*** e0ne has quit IRC19:46
openstackgerritMonty Taylor proposed openstack/openstacksdk master: WIP Make a reusable fixture for mocking clouds  https://review.opendev.org/67518719:50
efried_rollinoo19:59
*** efried_rollin is now known as efried19:59
mordredefried: that's VERY VERY early and is almost completely unuseful for you yet20:02
efriedbut the train has left the station20:02
mordredmy plan is to do some refactoring inside of sdk so that we make the fixture and then we use that fixture in our tests20:02
mordredso that, you know - you can count on it20:02
mordredI thnik it's going to make sdk's tests better too20:02
efriedspect so20:03
mordredbecause we have a bunch of wonky hacks going on right now20:03
* mordred looks at some kmalloc todo comments ...20:03
* mordred looks at some mordred todo comments20:03
efriedmordred: Have we done the thing yet where we run some form of nova dsvm CI on sdk patches?20:03
*** factor has quit IRC20:03
efriedyou start mucking with endpoint methods, makes me nervous.20:03
*** factor has joined #openstack-sdks20:03
mordreddon't be nervous - we never write bugs20:04
mordredefried: and no - but we should20:04
*** factor has quit IRC20:05
mordredefried: we have plenty of dsvm jobs going in sdk - but nothing running a tempest-based anything because up until recently there was no need to20:05
*** factor has joined #openstack-sdks20:05
kmallocmordred: my TODO comments are.... long ago todo ;)20:08
mordredkmalloc: :)20:08
mordredkmalloc: well - check that WIP - I think you'll immediately get where I'm going with that and will hopefully like it20:09
kmallocmordred: oh that is a good direction20:09
kmallocdidn't even take long to see it.20:09
kmallocgood stuff20:09
mordred\o/20:09
kmalloci'll review a bit more in depth knowing it's WIP20:12
kmallocbut i think you're headed the right way for sure.20:12
*** whoami-rajat has quit IRC20:17
openstackgerritDavid Shrewsbury proposed openstack/openstacksdk master: WIP: Retry SLO manifest upload  https://review.opendev.org/67513420:20
mordredShrews: ^^ \o/20:23
Shrewsmordred: i'm completely boggled on the new test_slo_manifest_fail test and what requests to mock for the object cleanup phase20:24
Shrewsthat's where it's barfing for me, atm20:25
Shrewsi know what calls i *think* it's going to make, but not the details20:25
mordredhrm.20:26
mordredwell - it *should* fire a delete for each segment it sent an upload for, right?20:27
mordred(in some order or another)20:27
mordredoh - well - except  - in this case you're going to return a list of segment objects as the return value from the list_objects call it's going to make20:28
mordredso the json you return from list_object in your requests_mock should feed which segments it fires deletes for, yeah?20:28
mordred(and you could probably make it a small list of segments so you don't go crazy)20:28
Shrewsi think that's right, just trying to figure out how to make that happen. thus far, it doesn't like my list objects uri i'm creating there20:29
Shrews'{endpoint}/{container}?format=json&prefix={prefix}' <<--  that one20:31
*** factor has quit IRC20:32
*** factor has joined #openstack-sdks20:32
*** factor has quit IRC20:35
*** factor has joined #openstack-sdks20:36
mordredShrews: oh - so ... theres a thing with url parameters where you have to pass a thing20:44
mordredShrews: complete_qs=True20:44
mordredShrews: if the query string is meaningful, complete_qs causes it to be considered20:44
Shrewsmordred: i was wondering what that meant20:45
Shrewsi found nothing meaningful  :(   thx20:46
mordredShrews: are you saying we should document our test framework?20:46
mordredShrews: if so - you're in luck - because I'm working on extracting all this requests-mock/url stuff into a reusable fixture that openstacksdk consumers can also use - which means we'll necessarily need to give it a proper api and document that API20:47
mordredif that's not what your'e saying, you're still in luck, for the same reason ;)20:47
*** ralonsoh has quit IRC20:58
*** slaweq_ has quit IRC21:06
*** camelCaser has joined #openstack-sdks21:09
*** slaweq_ has joined #openstack-sdks21:11
*** slaweq_ has quit IRC21:17
*** factor has quit IRC21:35
*** factor has joined #openstack-sdks21:35
openstackgerritMorgan Fainberg proposed openstack/keystoneauth master: Add remove_service to token fixtures  https://review.opendev.org/67517421:43
efriedmordred: Sundar has been pretty busy today, so only sparsely working with your patch, but we seem to have at least gotten past that initial crash.22:05
*** slaweq_ has joined #openstack-sdks22:11
*** slaweq_ has quit IRC22:16
*** mriedem has quit IRC22:24
mordredefried: sweet22:49
openstackgerritMonty Taylor proposed openstack/openstacksdk master: WIP Replace catalog-v3.json with keystoneauth fixture  https://review.opendev.org/67518722:51
openstackgerritMonty Taylor proposed openstack/openstacksdk master: WIP Replace catalog-v3.json with keystoneauth fixture  https://review.opendev.org/67518723:08
*** slaweq_ has joined #openstack-sdks23:11
*** slaweq_ has quit IRC23:16
*** tosky has quit IRC23:20
*** gtema has joined #openstack-sdks23:22
*** gtema has quit IRC23:26

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