*** cdent has quit IRC | 00:10 | |
mordred | morgan: how are your eyes? | 01:54 |
---|---|---|
morgan | mordred: lol | 01:54 |
morgan | i guess i can still see | 01:54 |
mordred | morgan: but do you want to? after the horrors you've witnessed? | 01:55 |
morgan | not really | 01:55 |
mordred | :) | 01:55 |
* morgan goes back to making TaskContextManager a thing in KSA now that MFA spec is proposed | 01:56 | |
morgan | hmm. | 01:57 |
morgan | should this be a wrap of requests.session? | 01:57 |
morgan | i'm thinking the answer is... yes? | 01:57 |
mordred | maybe? | 01:57 |
morgan | or should it be a requests adapter? | 01:58 |
morgan | that seems incorrect. | 01:58 |
mordred | I _think_ honestly the ksa.session code can be as simple as | 01:59 |
mordred | with self._context_manager(**request_args):\n self._session.request(**request_args) | 01:59 |
mordred | and then TaskContextManager just needs to feed that into a submitTask call, no? | 02:00 |
morgan | right. | 02:05 |
morgan | that is probably fine. | 02:06 |
morgan | i was just wondering if we should make it a wrap of requests.session | 02:06 |
morgan | and i think that is too much mechanical work | 02:06 |
morgan | and makes it *hard* to maintain | 02:06 |
*** rcarrillocruz has quit IRC | 02:12 | |
*** rcarrillocruz has joined #openstack-shade | 02:16 | |
morgan | mordred: https://review.openstack.org/#/c/362473/ something like this (missing tests) | 02:49 |
morgan | mordred: i might need to adjust how the context manager works to cover passing **kwargs and the like iun | 02:56 |
morgan | allowing for a pre-instantiated version for the session allowing clear serialization | 02:56 |
morgan | instead of the instaniate on-demand | 02:56 |
*** gouthamr has joined #openstack-shade | 05:33 | |
*** abregman has joined #openstack-shade | 07:27 | |
*** cdent has joined #openstack-shade | 09:17 | |
*** openstack has joined #openstack-shade | 10:03 | |
*** gouthamr has quit IRC | 11:35 | |
*** cdent has quit IRC | 11:35 | |
*** abregman has quit IRC | 12:53 | |
*** gouthamr has joined #openstack-shade | 14:17 | |
*** abregman has joined #openstack-shade | 14:18 | |
*** gouthamr_ has joined #openstack-shade | 14:22 | |
*** gouthamr has quit IRC | 14:22 | |
*** abregman has quit IRC | 14:23 | |
*** abregman has joined #openstack-shade | 14:23 | |
*** abregman has quit IRC | 14:25 | |
*** abregman has joined #openstack-shade | 14:25 | |
*** larainema has quit IRC | 14:32 | |
*** gouthamr has joined #openstack-shade | 14:34 | |
*** larainema has joined #openstack-shade | 14:35 | |
*** gouthamr_ has quit IRC | 14:36 | |
*** stevemar has joined #openstack-shade | 15:14 | |
*** stevemar_znc has joined #openstack-shade | 15:29 | |
*** cdent has joined #openstack-shade | 15:53 | |
*** larainema has quit IRC | 15:54 | |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Replace Image Create/Delete v2 PUT with REST calls https://review.openstack.org/385189 | 15:55 |
*** larainema has joined #openstack-shade | 15:56 | |
*** abregman has quit IRC | 16:01 | |
*** stevemar_znc is now known as topol_ | 16:12 | |
*** topol_ is now known as topol | 16:20 | |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Replace Image Create/Delete v2 PUT with REST calls https://review.openstack.org/385189 | 16:38 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Move image tasks to REST https://review.openstack.org/385190 | 16:38 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Remove a few glance client mocks we missed https://review.openstack.org/385191 | 16:55 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Change image update to REST and remove glanceclient https://review.openstack.org/385193 | 16:55 |
mordred | Shrews: ^^ booyah | 16:55 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Remove glanceclient and warlock from shade https://review.openstack.org/385194 | 17:04 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Remove a few glance client mocks we missed https://review.openstack.org/385191 | 17:12 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Update image downloads to use direct REST https://review.openstack.org/385192 | 17:12 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Change image update to REST and remove glanceclient https://review.openstack.org/385193 | 17:12 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Remove glanceclient and warlock from shade https://review.openstack.org/385194 | 17:12 |
mordred | ok. I think that's all of it - now let's see what jenkins things | 17:18 |
mordred | s/jenkins things/zuul thinks/ | 17:18 |
olaph | I hate it when jenkins things | 17:22 |
stevemar | mordred: shade and os-client-config gates are fine? devstack moved to keystone v3 (finally) | 17:36 |
mordred | stevemar: yup! | 17:45 |
mordred | stevemar: and congrats!!! | 17:45 |
mordred | stevemar: we have an explicit v2 test: http://logs.openstack.org/81/385981/4/gate/gate-shade-dsvm-functional-keystone2/46b0a3b/ | 17:46 |
mordred | stevemar: although I think that just tells shade to override what it detects and pretend v3 isn't there | 17:47 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Replace Image Create/Delete v2 PUT with REST calls https://review.openstack.org/385189 | 18:17 |
*** morgan is now known as morgred | 18:20 | |
*** morgred is now known as morgan | 18:21 | |
morgan | mordred: so, did you take a look at the context manager version of ksa? | 18:23 |
morgan | task manager | 18:23 |
morgan | i need your feedback as well before i finalize it. i think it needs one more pass honestly to make it not instantiate-on-demand the contextmanager | 18:23 |
mordred | morgan: I did! I even commented | 18:24 |
morgan | aha cool | 18:24 |
morgan | will circle back on it this morning then | 18:24 |
mordred | morgan: but I may be smoking crack | 18:24 |
morgan | lol | 18:24 |
morgan | as long as you're sharing... it's all good >.> | 18:24 |
mordred | btw - this: | 18:24 |
mordred | shade.exc.OpenStackCloudHTTPError: (400) Client Error: Bad Request for url: http://10.12.191.73:9292/v2/images | 18:24 |
mordred | is the worst error | 18:24 |
mordred | WHAT'S BAD ABOUT THE REQUEST???? | 18:25 |
mordred | that's ok - I've enabled http_debugging for the next run, so we'll get ALL of the http interactionsin the log :) | 18:25 |
morgan | ugh | 18:26 |
morgan | i hate writing functools.partials :P | 18:26 |
morgan | but it makes a ton of sense btw. | 18:26 |
morgan | thnx for reminding me about it | 18:26 |
morgan | that should absolutly solve the concern. | 18:26 |
morgan | *i think* | 18:27 |
morgan | mordred: no. a partial doesn't really solve the issue... if we want to pass instantiated objects | 18:28 |
morgan | mordred: i could just say screw it and not have the pre-run post-run stuff, and have all the logic wedged into the main function | 18:28 |
morgan | that way we circumvent __enter__ __exit__'s very limited argument passing | 18:29 |
morgan | and don't run into instance-attribute bugs | 18:29 |
mordred | morgan: lemme re-read | 18:29 |
morgan | the issue is we can't pass anything to __enter__, and pre-run pulls method, url, **kwargs fom instance variables in __enter__ | 18:29 |
morgan | so you have to use __init__ to pass data that is processed on __enter__ | 18:30 |
*** abregman has joined #openstack-shade | 18:30 | |
mordred | morgan: brain can't process - must eat lunch | 18:34 |
morgan | lol go eat lunch | 18:34 |
morgan | i have a fix. | 18:34 |
morgan | it'll just remove some code. | 18:35 |
morgan | and we'll convince stevemar to do a release once this lands ;) | 18:35 |
mordred | morgan: stevemar is a friendly fellow | 18:45 |
stevemar | mordred: lies | 18:46 |
*** cdent has quit IRC | 18:50 | |
*** abregman has quit IRC | 19:07 | |
SamYaple | stevemar: you cant fool me! | 19:14 |
stevemar | SamYaple: see, you know the truth | 19:15 |
*** openstackgerrit has quit IRC | 19:32 | |
*** openstackgerrit has joined #openstack-shade | 19:33 | |
*** openstackgerrit has quit IRC | 19:36 | |
*** openstack has joined #openstack-shade | 20:43 | |
*** rcarrillocruz has quit IRC | 21:12 | |
*** rcarrillocruz has joined #openstack-shade | 21:28 | |
*** abregman has joined #openstack-shade | 21:38 | |
*** cdent has joined #openstack-shade | 21:51 | |
*** gouthamr has quit IRC | 22:17 | |
*** cdent has quit IRC | 23:03 | |
*** abregman has quit IRC | 23:03 | |
*** openstackgerrit has joined #openstack-shade | 23:04 | |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Replace Image Create/Delete v2 PUT with REST calls https://review.openstack.org/385189 | 23:04 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Pull service_type directly off of the Adapter https://review.openstack.org/405674 | 23:04 |
openstackgerrit | Monty Taylor proposed openstack-infra/shade: Replace Image Create/Delete v2 PUT with REST calls https://review.openstack.org/385189 | 23:19 |
morgan | mordred: need to sync up on REST... APIs ... etc soon | 23:46 |
morgan | mordred: but i'm fooding and beering for a late lunch | 23:46 |
morgan | (and enjoying the rain) | 23:46 |
mordred | morgan: yes! | 23:51 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!