| mordred | indeed! I'll fix that first thing in the morning. | 00:19 |
|---|---|---|
| *** larainema has quit IRC | 01:13 | |
| *** jroll has quit IRC | 01:13 | |
| *** DuncanT has quit IRC | 01:13 | |
| *** greghaynes has quit IRC | 01:13 | |
| *** sc68cal has quit IRC | 01:13 | |
| *** jamielennox has quit IRC | 01:13 | |
| *** greghaynes has joined #openstack-shade | 01:14 | |
| *** jroll has joined #openstack-shade | 01:15 | |
| *** jroll is now known as Guest54515 | 01:16 | |
| *** sc68cal has joined #openstack-shade | 01:16 | |
| *** jamielennox has joined #openstack-shade | 01:18 | |
| *** larainema has joined #openstack-shade | 01:22 | |
| *** DuncanT has joined #openstack-shade | 01:26 | |
| *** Guest54515 is now known as jroll | 02:36 | |
| *** jroll has joined #openstack-shade | 02:36 | |
| *** yfried has joined #openstack-shade | 04:47 | |
| *** yfried has quit IRC | 05:43 | |
| *** gouthamr has quit IRC | 07:24 | |
| *** greghaynes has quit IRC | 08:31 | |
| *** jamielennox has quit IRC | 08:31 | |
| *** openstackgerrit has quit IRC | 08:31 | |
| *** larainema has quit IRC | 08:31 | |
| *** jroll has quit IRC | 08:31 | |
| *** DuncanT has quit IRC | 08:31 | |
| *** rcarrillocruz has quit IRC | 08:31 | |
| *** TheJulia has quit IRC | 08:31 | |
| *** yolanda has quit IRC | 08:31 | |
| *** clarkb has quit IRC | 08:31 | |
| *** Shrews has quit IRC | 08:31 | |
| *** SamYaple has quit IRC | 08:31 | |
| *** topol_ has quit IRC | 08:31 | |
| *** jeblair has quit IRC | 08:31 | |
| *** sc68cal has quit IRC | 08:31 | |
| *** timrc has quit IRC | 08:31 | |
| *** hoolio has quit IRC | 08:31 | |
| *** larainema has joined #openstack-shade | 08:37 | |
| *** jamielennox has joined #openstack-shade | 08:37 | |
| *** sc68cal has joined #openstack-shade | 08:37 | |
| *** jroll has joined #openstack-shade | 08:37 | |
| *** greghaynes has joined #openstack-shade | 08:37 | |
| *** SamYaple has joined #openstack-shade | 08:37 | |
| *** openstackgerrit has joined #openstack-shade | 08:37 | |
| *** Shrews has joined #openstack-shade | 08:37 | |
| *** timrc has joined #openstack-shade | 08:37 | |
| *** topol_ has joined #openstack-shade | 08:37 | |
| *** yolanda has joined #openstack-shade | 08:37 | |
| *** clarkb has joined #openstack-shade | 08:37 | |
| *** TheJulia has joined #openstack-shade | 08:37 | |
| *** hoolio has joined #openstack-shade | 08:37 | |
| *** jeblair has joined #openstack-shade | 08:37 | |
| *** rcarrillocruz has joined #openstack-shade | 08:38 | |
| *** TheJulia has quit IRC | 08:40 | |
| *** DuncanT has joined #openstack-shade | 08:44 | |
| *** TheJulia has joined #openstack-shade | 08:58 | |
| *** purplerbot has quit IRC | 10:41 | |
| *** purplerbot has joined #openstack-shade | 10:42 | |
| *** yfried has joined #openstack-shade | 10:50 | |
| *** yfried has quit IRC | 11:32 | |
| *** jamielennox is now known as jamielennox|away | 12:08 | |
| *** topol_ is now known as topol | 14:44 | |
| *** gouthamr has joined #openstack-shade | 15:33 | |
| openstackgerrit | Monty Taylor proposed openstack-infra/shade: Handle pagination for glance images https://review.openstack.org/417428 | 15:55 |
| openstackgerrit | Monty Taylor proposed openstack-infra/shade: Handle pagination for glance images https://review.openstack.org/417428 | 16:24 |
| Shrews | mordred: i guess we don't have an easy way to functionaly test 417428 | 17:42 |
| mordred | Shrews: not really, no. I mean, we could create 30 empty image records and then do a list images and make sure we get 30 back | 17:47 |
| mordred | Shrews: (without actually uploading content to those images) | 17:47 |
| mordred | morgan: SO - I have learned some things yesterady about nova (at least) and admin functions working across projects that may have some impact on your fixture | 17:53 |
| mordred | morgan: most importantly that it seems we will need a similar functionaility in not-test-cases | 17:54 |
| mordred | morgan: so it might be that we want to expose somehting in openstackcloud itself and then use that in the fixture | 17:54 |
| mordred | morgan: tl;dr - nova api always operates using the project fromthe current token context | 17:55 |
| morgan | oh fun | 17:55 |
| mordred | so if you authenticate as an admin user, then want to do something like cloud.get_compute_limits(project_id='some-specific-project') ... we need to get a new token scoped to that project for that call | 17:55 |
| mordred | of course, since we share the session on the OpenStackCloud object | 17:56 |
| mordred | just replacing the Session seems weird | 17:56 |
| morgan | right, passing the auth=auth in the call should do what we need | 17:57 |
| mordred | but instead it seems like a context manager for that call similar to the fixture | 17:57 |
| morgan | without changing the session | 17:57 |
| morgan | calls to the client can specify a separate auth plugin | 17:57 |
| mordred | morgan: you mean adapter.get('/limits', auth=auth) ? | 17:57 |
| morgan | yep | 17:57 |
| morgan | I think that should do it. | 17:58 |
| morgan | I was talking to Jamie about that earlier. | 17:58 |
| mordred | cool. so a context manager which provides an auth plugin that is based on the existing auth plugin except with different project information should be fairly easy yeah? | 17:58 |
| morgan | yah. need to suss out some of the pit falls, but it should be doable | 17:59 |
| mordred | like with project_scoped_auth(project_id=1234) as auth: adapter.get('/limits', auth=auth) | 17:59 |
| mordred | cool! | 17:59 |
| morgan | might need to functools.partial it somewhat | 17:59 |
| morgan | so the context manager can replace it inline but that is doable. | 17:59 |
| morgan | I need to look a bit more closely, it should be pretty easy to setup. | 18:00 |
| morgan | related, talked with Hodge yesterday over dinner, he wanted to know some things about oaktree and roadmap | 18:01 |
| mordred | cool | 18:01 |
| morgan | he is looking to get someone to actually use it and get dirty with non-python client OpenStack cloud access/interaction | 18:02 |
| mordred | yes. me too | 18:02 |
| morgan | so need to chat about state of the project and general roadmap by the PTG | 18:02 |
| morgan | or summit. | 18:02 |
| mordred | ++ | 18:02 |
| openstackgerrit | Roberto Polli proposed openstack-infra/shade: Basic volume_type access https://review.openstack.org/414561 | 18:03 |
| morgan | I'll bug you early next week and we can figure out such things and what should be expected on it | 18:03 |
| morgan | but in short, we might have a real user of oaktree soon :) | 18:04 |
| openstackgerrit | Merged openstack-infra/shade: Handle pagination for glance images https://review.openstack.org/417428 | 18:29 |
| *** Matias has quit IRC | 20:03 | |
| *** jamielennox|away is now known as jamielennox | 23:39 | |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!