| *** terrylhowe has quit IRC | 00:30 | |
| *** stevemar has joined #openstack-sdks | 01:01 | |
| *** briancurtin has joined #openstack-sdks | 01:20 | |
| *** stevemar has quit IRC | 02:03 | |
| *** etoews has joined #openstack-sdks | 02:03 | |
| *** stevemar has joined #openstack-sdks | 03:00 | |
| *** stevemar has quit IRC | 03:46 | |
| *** stevemar has joined #openstack-sdks | 03:46 | |
| *** terrylhowe has joined #openstack-sdks | 03:55 | |
| *** terrylhowe has left #openstack-sdks | 04:12 | |
| *** HenryG is now known as HenryG_afk | 04:45 | |
| *** briancurtin has quit IRC | 05:02 | |
| *** briancurtin has joined #openstack-sdks | 05:03 | |
| *** briancurtin has quit IRC | 05:07 | |
| *** elight has quit IRC | 06:01 | |
| *** elight has joined #openstack-sdks | 06:06 | |
| *** briancurtin has joined #openstack-sdks | 06:13 | |
| *** briancurtin has quit IRC | 06:18 | |
| *** elight has quit IRC | 06:25 | |
| *** elight has joined #openstack-sdks | 06:29 | |
| openstackgerrit | wanghong proposed a change to openstack/python-openstackclient: fix typo in identity/v3/endpoint.py https://review.openstack.org/110222 | 07:37 |
|---|---|---|
| *** stevemar has quit IRC | 07:46 | |
| *** jamielennox is now known as jamielennox|away | 08:23 | |
| *** mattyw has joined #openstack-sdks | 09:35 | |
| openstackgerrit | A change was merged to openstack/python-openstackclient: fix typo in identity/v3/endpoint.py https://review.openstack.org/110222 | 10:32 |
| *** HenryG_afk is now known as HenryG | 10:53 | |
| *** stevemar has joined #openstack-sdks | 13:28 | |
| *** smashwilson has joined #openstack-sdks | 13:30 | |
| *** bknudson has joined #openstack-sdks | 13:41 | |
| *** terrylhowe has joined #openstack-sdks | 13:46 | |
| *** briancurtin has joined #openstack-sdks | 14:06 | |
| *** briancurtin has joined #openstack-sdks | 14:06 | |
| *** terrylhowe has quit IRC | 14:15 | |
| *** dhellmann has quit IRC | 14:17 | |
| *** terrylhowe has joined #openstack-sdks | 14:18 | |
| *** briancurtin has quit IRC | 14:20 | |
| *** briancurtin has joined #openstack-sdks | 14:20 | |
| *** dhellmann has joined #openstack-sdks | 14:20 | |
| *** briancurtin has quit IRC | 14:54 | |
| *** briancurtin has joined #openstack-sdks | 14:55 | |
| *** briancurtin has quit IRC | 14:59 | |
| *** terrylhowe has quit IRC | 15:02 | |
| *** etoews has joined #openstack-sdks | 15:03 | |
| *** briancurtin has joined #openstack-sdks | 15:16 | |
| *** briancurtin has joined #openstack-sdks | 15:16 | |
| *** briancurtin has quit IRC | 15:22 | |
| *** terrylhowe has joined #openstack-sdks | 15:25 | |
| *** HenryG_ has joined #openstack-sdks | 15:48 | |
| *** HenryG has quit IRC | 15:52 | |
| *** HenryG_ is now known as HenryG_afk | 15:52 | |
| *** HenryG_afk is now known as HenryG | 15:52 | |
| *** terrylhowe has quit IRC | 16:09 | |
| *** briancurtin has joined #openstack-sdks | 16:11 | |
| *** briancurtin has quit IRC | 16:11 | |
| *** briancurtin has joined #openstack-sdks | 16:11 | |
| *** briancurtin has quit IRC | 16:16 | |
| *** briancurtin has joined #openstack-sdks | 16:16 | |
| *** briancurtin has quit IRC | 16:16 | |
| *** smashwilson has quit IRC | 16:18 | |
| *** briancurtin has joined #openstack-sdks | 16:20 | |
| *** terrylhowe has joined #openstack-sdks | 16:28 | |
| *** smashwilson has joined #openstack-sdks | 16:28 | |
| *** smashwilson has quit IRC | 16:28 | |
| *** terrylhowe has quit IRC | 16:29 | |
| *** smashwilson has joined #openstack-sdks | 16:30 | |
| *** briancurtin has quit IRC | 16:41 | |
| *** briancurtin has joined #openstack-sdks | 16:42 | |
| *** briancurtin has quit IRC | 16:42 | |
| *** briancurtin has joined #openstack-sdks | 16:42 | |
| *** terrylhowe has joined #openstack-sdks | 16:55 | |
| *** mattyw has quit IRC | 17:13 | |
| *** terrylhowe has quit IRC | 17:14 | |
| *** etoews has quit IRC | 17:24 | |
| *** etoews has joined #openstack-sdks | 17:27 | |
| *** smashwilson has quit IRC | 17:30 | |
| *** smashwilson has joined #openstack-sdks | 17:31 | |
| *** smashwilson has quit IRC | 17:44 | |
| *** smashwilson has joined #openstack-sdks | 17:48 | |
| *** terrylhowe has joined #openstack-sdks | 18:02 | |
| *** smashwil_ has joined #openstack-sdks | 18:03 | |
| *** smashwilson has quit IRC | 18:04 | |
| *** jamielennox|away is now known as jamielennox | 18:07 | |
| *** briancurtin has quit IRC | 18:17 | |
| *** briancurtin has joined #openstack-sdks | 18:18 | |
| *** briancurtin has quit IRC | 18:19 | |
| *** briancurtin has joined #openstack-sdks | 18:20 | |
| *** briancurtin has quit IRC | 18:20 | |
| *** briancurtin has joined #openstack-sdks | 18:20 | |
| *** smashwil_ has quit IRC | 18:28 | |
| *** smashwilson has joined #openstack-sdks | 18:28 | |
| *** smashwilson has quit IRC | 18:39 | |
| *** smashwilson has joined #openstack-sdks | 18:40 | |
| briancurtin | FYI python-openstacksdk meeting in 12 minutes in #openstack-meeting-3, small agenda at https://wiki.openstack.org/wiki/Meetings/PythonOpenStackSDK#Agenda_for_2014-07-29_1900_UTC | 18:48 |
| briancurtin | terrylhowe, dtroyer, jamielennox around for the meeting? | 19:01 |
| jamielennox | briancurtin: oops, coming | 19:02 |
| *** smashwilson has quit IRC | 19:19 | |
| *** smashwilson has joined #openstack-sdks | 19:23 | |
| *** openstackgerrit has quit IRC | 19:48 | |
| jamielennox | dtroyer: so keystoneclient does some bad things to make the session stuff backwards compatible with the older keystoneclient | 19:58 |
| jamielennox | it's something i've just ignored when doing the other clients, but as it 'grew' in keystoneclient it was kind of the only choice | 19:58 |
| dtroyer | jamielennox: right, and I really want to avoid that stuff if possible | 19:59 |
| dtroyer | but I may be abusing some session stuff myself in trying to pass in one created earlier | 19:59 |
| dtroyer | that the more I think about it, if I get the session == auth context in my head I shouldn't want to do that | 20:00 |
| dtroyer | I thought there might be a connection pool advantage, but I suspect now that would be small | 20:00 |
| dtroyer | if there even is one | 20:00 |
| jamielennox | for OSC i don't think its going to matter | 20:06 |
| jamielennox | dtroyer: so i based this stuff on the requests session which has auth as either something permanent and stored on session or you can pass it as a parameter | 20:06 |
| jamielennox | and session supports both because the likes of horizon should only need 1 session object and a whole lot of auth objects | 20:07 |
| jamielennox | though for OSC i don't see why you couldn't combine them | 20:08 |
| dtroyer | OSC has an interactive mode that is long-running like Horizon, but so far only a single set of credentials. But I should consider that may change, so what you describe for Horizon makes sense | 20:08 |
| dtroyer | I think it will be easier later if I manage sessions and auth explicitly | 20:09 |
| jamielennox | so the way i am converting clients is to base them on the keystoneclient.adapter | 20:09 |
| jamielennox | adapter takes an auth plugin and if present it will set it on all requests | 20:09 |
| jamielennox | so while it would be annoying and error prone to do client.users.list(auth=auth) every time | 20:09 |
| jamielennox | you should be able to do client = Client(session, auth) and create a client per/credentials | 20:10 |
| jamielennox | client objects are cheap because they won't auth on init any more | 20:10 |
| dtroyer | is that preferred in a non-compatibility-mode scenario? | 20:10 |
| jamielennox | honestly i don't think it matters | 20:11 |
| jamielennox | i see them for two different classes of users | 20:11 |
| jamielennox | the end user will almost always want to link session and auth because they are working with one set of credentials | 20:11 |
| jamielennox | horizon will want to manage them more fine grain | 20:11 |
| dtroyer | what I am after is the "right" way to setup OSC so if/when compat stuff can be removed it is not painful, then to switch to the sdk it still isn't (too) painful | 20:12 |
| jamielennox | OSC i'd have thought is a one-user kind of application, but if you want to juggle credentials there's no harm in doing it th eother way | 20:12 |
| dtroyer | my thought on multiple credentials is if we let users talk to multiple coulds in the same run | 20:13 |
| dtroyer | I've wanted that a time or two to move things between our internal dev clouds for example | 20:13 |
| jamielennox | hmm, that get's complicated - because that could be multiple sessions (cacerts etc) | 20:13 |
| dtroyer | the CLI to set that us in't pretty, but in my case ti is all the same except for auth_url | 20:14 |
| dtroyer | so if I add config files (yes, I know) to OSC you could define all that ahead of time and just refer to the clouds by name | 20:15 |
| jamielennox | i think so long as you create the session object yourself it's personal preference as to whether you hold on to the auth plugin or attach it to session | 20:15 |
| jamielennox | in OSC's case with the client manager i think it would be the matter of a couple of lines difference | 20:15 |
| jamielennox | you've got to store the auth somewhere so if you do self.auth = Auth() or self.session.auth = Auth() they will both be stored together | 20:16 |
| *** terrylhowe has quit IRC | 20:16 | |
| dtroyer | something like that is what I was aiming for, with a better understanding now I should be able to get it right | 20:16 |
| *** smashwilson has quit IRC | 20:42 | |
| *** smashwilson has joined #openstack-sdks | 20:44 | |
| *** briancurtin2 has joined #openstack-sdks | 20:46 | |
| *** briancurtin has quit IRC | 20:50 | |
| *** openstackgerrit has joined #openstack-sdks | 20:59 | |
| *** smashwilson has quit IRC | 21:02 | |
| *** terrylhowe has joined #openstack-sdks | 21:12 | |
| *** terrylhowe has quit IRC | 21:13 | |
| *** etoews has quit IRC | 21:32 | |
| *** terrylhowe has joined #openstack-sdks | 21:45 | |
| *** terrylhowe has quit IRC | 21:50 | |
| *** etoews has joined #openstack-sdks | 21:52 | |
| *** etoews_ has joined #openstack-sdks | 21:54 | |
| *** etoews has quit IRC | 21:57 | |
| *** etoews_ has quit IRC | 21:58 | |
| *** briancurtin2 has quit IRC | 22:01 | |
| *** briancurtin has joined #openstack-sdks | 22:02 | |
| *** briancurtin has quit IRC | 22:02 | |
| *** briancurtin has joined #openstack-sdks | 22:02 | |
| *** briancurtin has quit IRC | 22:06 | |
| *** HenryG is now known as HenryG_afk | 22:18 | |
| *** bknudson has quit IRC | 22:30 | |
| *** briancurtin has joined #openstack-sdks | 22:33 | |
| *** briancurtin has quit IRC | 22:33 | |
| *** briancurtin has joined #openstack-sdks | 22:33 | |
| *** mfer has joined #openstack-sdks | 22:38 | |
| *** mfer has quit IRC | 22:39 | |
| *** mattyw has joined #openstack-sdks | 22:58 | |
| *** terrylhowe has joined #openstack-sdks | 23:06 | |
| *** terrylhowe has quit IRC | 23:08 | |
| *** etoews has joined #openstack-sdks | 23:14 | |
| *** bknudson has joined #openstack-sdks | 23:20 | |
| *** bknudson has quit IRC | 23:25 | |
| *** bknudson has joined #openstack-sdks | 23:34 | |
| *** mattyw has quit IRC | 23:36 | |
| *** HenryG_afk is now known as HenryG | 23:45 | |
| *** etoews has quit IRC | 23:51 | |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!