Friday, 2017-01-06

mordredindeed! I'll fix that first thing in the morning.00:19
*** larainema has quit IRC01:13
*** jroll has quit IRC01:13
*** DuncanT has quit IRC01:13
*** greghaynes has quit IRC01:13
*** sc68cal has quit IRC01:13
*** jamielennox has quit IRC01:13
*** greghaynes has joined #openstack-shade01:14
*** jroll has joined #openstack-shade01:15
*** jroll is now known as Guest5451501:16
*** sc68cal has joined #openstack-shade01:16
*** jamielennox has joined #openstack-shade01:18
*** larainema has joined #openstack-shade01:22
*** DuncanT has joined #openstack-shade01:26
*** Guest54515 is now known as jroll02:36
*** jroll has joined #openstack-shade02:36
*** yfried has joined #openstack-shade04:47
*** yfried has quit IRC05:43
*** gouthamr has quit IRC07:24
*** greghaynes has quit IRC08:31
*** jamielennox has quit IRC08:31
*** openstackgerrit has quit IRC08:31
*** larainema has quit IRC08:31
*** jroll has quit IRC08:31
*** DuncanT has quit IRC08:31
*** rcarrillocruz has quit IRC08:31
*** TheJulia has quit IRC08:31
*** yolanda has quit IRC08:31
*** clarkb has quit IRC08:31
*** Shrews has quit IRC08:31
*** SamYaple has quit IRC08:31
*** topol_ has quit IRC08:31
*** jeblair has quit IRC08:31
*** sc68cal has quit IRC08:31
*** timrc has quit IRC08:31
*** hoolio has quit IRC08:31
*** larainema has joined #openstack-shade08:37
*** jamielennox has joined #openstack-shade08:37
*** sc68cal has joined #openstack-shade08:37
*** jroll has joined #openstack-shade08:37
*** greghaynes has joined #openstack-shade08:37
*** SamYaple has joined #openstack-shade08:37
*** openstackgerrit has joined #openstack-shade08:37
*** Shrews has joined #openstack-shade08:37
*** timrc has joined #openstack-shade08:37
*** topol_ has joined #openstack-shade08:37
*** yolanda has joined #openstack-shade08:37
*** clarkb has joined #openstack-shade08:37
*** TheJulia has joined #openstack-shade08:37
*** hoolio has joined #openstack-shade08:37
*** jeblair has joined #openstack-shade08:37
*** rcarrillocruz has joined #openstack-shade08:38
*** TheJulia has quit IRC08:40
*** DuncanT has joined #openstack-shade08:44
*** TheJulia has joined #openstack-shade08:58
*** purplerbot has quit IRC10:41
*** purplerbot has joined #openstack-shade10:42
*** yfried has joined #openstack-shade10:50
*** yfried has quit IRC11:32
*** jamielennox is now known as jamielennox|away12:08
*** topol_ is now known as topol14:44
*** gouthamr has joined #openstack-shade15:33
openstackgerritMonty Taylor proposed openstack-infra/shade: Handle pagination for glance images  https://review.openstack.org/41742815:55
openstackgerritMonty Taylor proposed openstack-infra/shade: Handle pagination for glance images  https://review.openstack.org/41742816:24
Shrewsmordred: i guess we don't have an easy way to functionaly test 41742817:42
mordredShrews: not really, no. I mean, we could create 30 empty image records and then do a list images and make sure we get 30 back17:47
mordredShrews: (without actually uploading content to those images)17:47
mordredmorgan: SO - I have learned some things yesterady about nova (at least) and admin functions working across projects that may have some impact on your fixture17:53
mordredmorgan: most importantly that it seems we will need a similar functionaility in not-test-cases17:54
mordredmorgan: so it might be that we want to expose somehting in openstackcloud itself and then use that in the fixture17:54
mordredmorgan: tl;dr - nova api always operates using the project fromthe current token context17:55
morganoh fun17:55
mordredso 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 call17:55
mordredof course, since we share the session on the OpenStackCloud object17:56
mordredjust replacing the Session seems weird17:56
morganright, passing the auth=auth in the call should do what we need17:57
mordredbut instead it seems like a context manager for that call similar to the fixture17:57
morganwithout changing the session17:57
morgancalls to the client can specify a separate auth plugin17:57
mordredmorgan: you mean adapter.get('/limits', auth=auth) ?17:57
morganyep17:57
morganI think that should do it.17:58
morganI was talking to Jamie about that earlier.17:58
mordredcool. 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
morganyah. need to suss out some of the pit falls, but it should be doable17:59
mordredlike with project_scoped_auth(project_id=1234) as auth: adapter.get('/limits', auth=auth)17:59
mordredcool!17:59
morganmight need to functools.partial it somewhat17:59
morganso the context manager can replace it inline but that is doable.17:59
morganI need to look a bit more closely, it should be pretty easy to setup.18:00
morganrelated, talked with Hodge yesterday over dinner, he wanted to know some things about oaktree and roadmap18:01
mordredcool18:01
morganhe is looking to get someone to actually use it and get dirty with non-python client OpenStack cloud access/interaction18:02
mordredyes. me too18:02
morganso need to chat about state of the project and general roadmap by the PTG18:02
morganor summit.18:02
mordred++18:02
openstackgerritRoberto Polli proposed openstack-infra/shade: Basic volume_type access  https://review.openstack.org/41456118:03
morganI'll bug you early next week and we can figure out such things and what should be expected on it18:03
morganbut in short, we might have a real user of oaktree soon :)18:04
openstackgerritMerged openstack-infra/shade: Handle pagination for glance images  https://review.openstack.org/41742818:29
*** Matias has quit IRC20:03
*** jamielennox|away is now known as jamielennox23:39

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