Wednesday, 2015-11-04

openstackgerritSean Perry proposed openstack/python-openstackclient: Allow user to specify their own clouds.yaml or clouds-public.yaml file  https://review.openstack.org/20321100:05
*** hidekazu has joined #openstack-sdks00:07
*** pratikma_ has quit IRC00:17
*** dims has joined #openstack-sdks00:28
openstackgerritMerged openstack/keystoneauth: Make public the base loader classes  https://review.openstack.org/23676500:37
*** gildub has joined #openstack-sdks01:08
*** sigmavirus24_awa is now known as sigmavirus2401:16
*** chlong has joined #openstack-sdks01:17
*** lhcheng has quit IRC01:30
*** Yanyanhu has joined #openstack-sdks01:40
*** sigmavirus24 is now known as sigmavirus24_awa01:54
*** sigmavirus24_awa is now known as sigmavirus2401:55
*** Yanyanhu has quit IRC02:09
*** woodster_ has quit IRC02:09
*** dims has quit IRC02:13
*** pratikmallya has joined #openstack-sdks02:17
*** chlong has quit IRC02:25
*** Yanyanhu has joined #openstack-sdks02:28
*** chlong has joined #openstack-sdks02:31
*** Qiming has joined #openstack-sdks02:35
openstackgerritEverett Toews proposed openstack/python-openstacksdk: Remove the example code that mimics a CLI  https://review.openstack.org/24144602:41
*** chlong has quit IRC02:42
*** Qiming has quit IRC03:06
*** dims has joined #openstack-sdks03:33
*** Qiming has joined #openstack-sdks03:34
*** jamielennox is now known as jamielennox|away03:38
*** jamielennox|away is now known as jamielennox03:40
*** sigmavirus24 is now known as sigmavirus24_awa03:50
*** pratikmallya has quit IRC03:51
*** dims has quit IRC04:03
*** britthou_ has joined #openstack-sdks04:06
*** nini__ has joined #openstack-sdks04:07
*** gus_ has joined #openstack-sdks04:10
*** kragniz_ has joined #openstack-sdks04:10
*** Klumben has quit IRC04:11
*** isviridov_away has quit IRC04:11
*** britthouser has quit IRC04:11
*** nini has quit IRC04:11
*** gus has quit IRC04:11
*** kragniz has quit IRC04:11
*** nini__ is now known as nini04:11
*** isviridov_away has joined #openstack-sdks04:14
*** gus_ is now known as gus04:18
openstackgerritJamie Lennox proposed openstack/keystoneauth: Split ADFS and SAML2 plugins  https://review.openstack.org/24108104:26
openstackgerritJamie Lennox proposed openstack/keystoneauth: SAML2 authentication plugins in keystoneauth  https://review.openstack.org/23854904:26
*** boris-42 has quit IRC04:28
*** chlong has joined #openstack-sdks04:32
*** terrylhowe has quit IRC04:40
*** chlong has quit IRC04:45
openstackgerritMerged openstack/keystoneauth: Declare an extras directory for plugins  https://review.openstack.org/24105504:46
*** chlong has joined #openstack-sdks04:49
*** chlong has quit IRC05:10
openstackgerritMerged openstack/keystoneauth: Correct references in authentication-plugin.rst  https://review.openstack.org/24122905:11
*** kragniz_ is now known as kragniz05:18
*** Klumben has joined #openstack-sdks05:49
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Imported Translations from Zanata  https://review.openstack.org/23878306:04
*** lhcheng has joined #openstack-sdks06:36
*** e0ne has joined #openstack-sdks06:40
*** aufi has joined #openstack-sdks06:42
*** e0ne has quit IRC06:50
*** gildub has quit IRC06:58
*** jamielennox is now known as jamielennox|away07:02
*** thrash has joined #openstack-sdks07:20
*** thrash has quit IRC07:20
*** thrash has joined #openstack-sdks07:20
*** thrash|g0ne has quit IRC07:27
openstackgerritTang Chen proposed openstack/python-openstackclient: Add "server start" command to osc.  https://review.openstack.org/23926807:47
openstackgerritTang Chen proposed openstack/python-openstackclient: Add "server stop" command to osc.  https://review.openstack.org/23926907:47
*** lhcheng has quit IRC08:00
*** pratikmallya has joined #openstack-sdks08:27
*** Guest98556 is now known as d0ugal08:37
*** d0ugal has quit IRC08:38
*** d0ugal has joined #openstack-sdks08:38
*** e0ne has joined #openstack-sdks09:00
*** pratikmallya has quit IRC09:28
*** pratikmallya has joined #openstack-sdks09:45
*** gildub has joined #openstack-sdks09:49
*** jgriffith has quit IRC09:50
*** jgriffith has joined #openstack-sdks09:51
*** jgriffith is now known as Guest9024209:51
*** jamielennox|away is now known as jamielennox09:55
*** pratikmallya has quit IRC10:05
*** Qiming has quit IRC10:08
*** gildub has quit IRC10:37
*** Yanyanhu has quit IRC10:45
*** khomkrit has joined #openstack-sdks10:54
*** Qiming has joined #openstack-sdks11:01
*** pratikmallya has joined #openstack-sdks11:30
*** pratikmallya has quit IRC11:50
*** dims has joined #openstack-sdks12:18
*** chlong has joined #openstack-sdks12:43
*** dims has quit IRC12:43
*** Qiming has quit IRC12:45
*** jamielennox is now known as jamielennox|away12:48
openstackgerritMerged openstack/os-client-config: Disable spurious urllib warnings  https://review.openstack.org/24126212:52
mordredgit log12:58
mordredgah12:58
mordredthat does not work here12:58
*** chlong has quit IRC13:01
*** chlong has joined #openstack-sdks13:02
*** pratikmallya has joined #openstack-sdks13:06
*** dims has joined #openstack-sdks13:09
*** petertr7_away is now known as petertr713:18
*** dims has quit IRC13:20
*** pratikmallya has quit IRC13:26
*** sigmavirus24_awa is now known as sigmavirus2414:00
*** terrylhowe has joined #openstack-sdks14:10
openstackgerritMerged openstack/python-openstackclient: Imported Translations from Zanata  https://review.openstack.org/23878314:17
*** pdardeau has joined #openstack-sdks14:33
openstackgerritMerged openstack/python-openstackclient: Mark arguments for 'credential' commands as required  https://review.openstack.org/22692214:33
*** openstackgerrit has quit IRC14:47
*** openstackgerrit has joined #openstack-sdks14:47
*** pratikmallya has joined #openstack-sdks14:52
*** smalltrader1 has joined #openstack-sdks15:24
*** zz_steveortiz is now known as steveortiz15:28
openstackgerritxiexs proposed openstack/python-openstackclient: Add project-name/-id validation for the OSC "openstack quota set"  https://review.openstack.org/24115715:28
*** pdardeau has quit IRC15:51
*** pdardeau has joined #openstack-sdks15:55
*** britthou_ is now known as britthouser16:34
*** britthouser has quit IRC16:52
*** britthouser has joined #openstack-sdks16:52
*** petertr7 is now known as petertr7_away16:59
*** pratikma_ has joined #openstack-sdks17:04
*** pratikmallya has quit IRC17:07
*** pratikmallya has joined #openstack-sdks17:11
*** pratikma_ has quit IRC17:11
*** pratikma_ has joined #openstack-sdks17:11
*** pratikmallya has quit IRC17:16
*** e0ne has quit IRC17:27
*** pratikma_ has quit IRC17:41
*** aufi has quit IRC17:42
openstackgerritSean Perry proposed openstack/python-openstackclient: Import the module not the class  https://review.openstack.org/24170317:52
*** petertr7_away is now known as petertr717:56
*** petertr7 is now known as petertr7_away18:05
*** e0ne has joined #openstack-sdks18:17
openstackgerritTerry Howe proposed openstack/python-openstackclient: Allow int version numbers in the clouds.yaml  https://review.openstack.org/24171418:21
*** hitalia has joined #openstack-sdks18:23
openstackgerritMonty Taylor proposed openstack/os-client-config: Add method for registering argparse options  https://review.openstack.org/24171518:23
openstackgerritMonty Taylor proposed openstack/os-client-config: Add common client constructor args  https://review.openstack.org/24171618:23
*** hitalia has quit IRC18:23
mordredterrylhowe: I thought we'd fixed that in occ at some point18:23
terrylhowemaybe I just have an old occ in my venv?  let me check18:24
*** hitalia has joined #openstack-sdks18:24
mordredterrylhowe: it's also possible we didn't and that it's a bug :)18:24
*** pratikmallya has joined #openstack-sdks18:25
terrylhoweI just installed occ from master mordred and that problem is there.  Do you think I should of put in a patch for occ?18:26
mordredterrylhowe: probably? Shrews what do you think? I don't think there are any places that are actually accepting api version as an int18:27
Shrewsmordred: i thought we explicitly made everything string at some point18:31
mordredShrews: looks like we only do that for auth dict stuff18:32
Shrewsmordred: pretty much everything in shade is expecting strings for versions18:33
Shrewss/pretty much//18:34
openstackgerritMonty Taylor proposed openstack/os-client-config: Normalize int config values to string  https://review.openstack.org/24172518:35
mordredterrylhowe, Shrews: there you go18:35
openstackgerritMerged openstack/os-client-config: Normalize int config values to string  https://review.openstack.org/24172519:05
*** petertr7_away is now known as petertr719:16
mordred\o/19:19
openstackgerritMonty Taylor proposed openstack/os-client-config: Add common client constructor args  https://review.openstack.org/24171619:47
etoewsbriancurtin: terrylhowe: what do you think about this? https://bugs.launchpad.net/python-openstacksdk/+bug/150526619:48
openstackLaunchpad bug 1505266 in OpenStack SDK "Put admin functions in _proxy_admin" [Undecided,New]19:48
briancurtinetoews: i had a few thoughts around that which i hadn’t gotten around to, but involved leaving everything in the same proxy class but decorating admin functions and either running them if you can or raising something if you can’t. i haven’t really gone through the docs with a fine enough toothed comb to know how big of a list the admin-only methods19:52
briancurtinwould end up being to know if they should be separate or are just a small piece of a particular proxy19:52
etoewssure. doing some initial analysis seems reasonable.19:52
terrylhoweseems like it would be mostly in keystone.  I kind of like the idea, but I wonder how it would look from the connection.  would this _proxy_admin just be a subclass of _proxy loaded on the same point? etoews19:57
terrylhowethat would be nice in a way19:57
terrylhowethe other area of concern is just around the problems this causes OSC where depending on how you auth, you get different options, but I guess we already have that problem as some service might not load at all if they aren’t in the service catalog19:58
etoewsya. maybe something like that. then accessed like conn.compute_admin.create_flavor()19:59
terrylhoweI can’t think of an exact parallel where that would mess up the SDK, but for OSC it causes confusion when the user does things like ‘openstack help’ results may vary19:59
etoewsit would be nice if dir(conn.compute) only returned things you can actually do if you're a regular user.20:00
briancurtinif we know, perhaps via Session, that a user is/isnot admin, we can modify __dir__ and help results20:00
briancurtinjinx20:00
etoews:)20:00
terrylhoweyeh, I guess it is a matter of where it lands if the admin methods magically show up in conn.compute or conn.compute.admin or conn.compute_admin20:02
terrylhoweI kind of favor conn.compute I guess where _proxy_admin isa _proxy20:02
terrylhoweI guess one downside to this is users will get a create_flavor not found rather than permission denied20:03
etoewsif create_flavor is something they can't do, that's okay imo.20:05
etoewsit's better from a security stand point too.20:06
terrylhowewell, from a ux perspective, permission denied is nicer20:18
*** khomkrit has quit IRC20:26
*** jamielennox|away is now known as jamielennox20:36
*** petertr7 is now known as petertr7_away21:04
*** e0ne has quit IRC21:06
*** pratikmallya has quit IRC21:20
*** e0ne has joined #openstack-sdks21:26
*** petertr7_away is now known as petertr721:26
*** e0ne has quit IRC21:29
*** jamielennox is now known as jamielennox|away21:30
*** jamielennox|away is now known as jamielennox21:37
*** e0ne has joined #openstack-sdks21:40
*** e0ne has quit IRC21:41
*** pratikmallya has joined #openstack-sdks21:46
*** petertr7 is now known as petertr7_away21:56
*** petertr7_away is now known as petertr721:58
*** gildub has joined #openstack-sdks22:04
*** e0ne has joined #openstack-sdks22:07
*** e0ne has quit IRC22:08
*** petertr7 is now known as petertr7_away22:10
*** pratikmallya has quit IRC22:13
*** lhcheng has joined #openstack-sdks22:24
*** thrash is now known as thrash|g0ne22:34
*** pratikmallya has joined #openstack-sdks22:49
*** pratikma_ has joined #openstack-sdks22:50
*** pratikmallya has quit IRC22:55
*** steveortiz is now known as zz_steveortiz23:04
*** sigmavirus24 is now known as sigmavirus24_awa23:04
*** smalltrader1 has quit IRC23:08
openstackgerritMonty Taylor proposed openstack/os-client-config: Use requestsexceptions for urllib squelching  https://review.openstack.org/24181423:30
*** pdardeau has quit IRC23:33
openstackgerritMonty Taylor proposed openstack/os-client-config: Use requestsexceptions for urllib squelching  https://review.openstack.org/24181423:48
*** pdardeau has joined #openstack-sdks23:51
mordredetoews: I disagree, although I understand the basis for not making unauthorized actions discoverable in general23:56
mordredetoews: but in openstack's case, it's a public published open source API - so 'hiding' an ability from a user is just pain for the user23:56
mordredand provides no actual security23:57
etoewsya. i remembered that little old fact after. it's an open source api so that ship has sailed.23:57
mordredyah23:57
mordredto be fair, the "hide it" reflex is strong in all of us, so it's _very_ common for public clouds to "hide" apis that are disabled23:57
*** pdardeau has quit IRC23:58

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