Wednesday, 2015-08-19

*** pm90_ has quit IRC00:11
*** thrash is now known as thrash|g0ne00:33
*** Qiming has joined #openstack-sdks00:47
*** jose4183 has quit IRC00:48
*** gildub has joined #openstack-sdks00:53
*** gildub has quit IRC00:55
openstackgerritMonty Taylor proposed openstack/os-client-config: Do not treat project_name and project_id the same  https://review.openstack.org/21438201:13
*** Yanyanhu has joined #openstack-sdks01:15
*** Yanyan has joined #openstack-sdks01:22
*** gildub has joined #openstack-sdks01:23
*** pm90_ has joined #openstack-sdks01:24
*** Yanyanhu has quit IRC01:25
*** liangbo has joined #openstack-sdks01:26
*** liangbo has quit IRC01:31
mordredterrylhowe, GheRivero, Shrews: ^^ that cropped up as a problem for asselin - we were relying on a ?bug? from before that you could pass a name to the id parameter - but that apparently does not work in all cases01:37
*** Qiming has quit IRC01:39
*** britthouser has joined #openstack-sdks01:48
*** britthou_ has joined #openstack-sdks01:50
*** britthouser has quit IRC01:53
*** Qiming has joined #openstack-sdks01:53
*** liangbo has joined #openstack-sdks01:58
*** Qiming_ has joined #openstack-sdks02:03
*** Qiming has quit IRC02:05
*** Qiming__ has joined #openstack-sdks02:05
*** Qiming_ has quit IRC02:06
*** Qiming__ has quit IRC02:15
*** gildub has quit IRC02:27
*** Qiming has joined #openstack-sdks02:41
*** gildub has joined #openstack-sdks02:47
*** Qiming has quit IRC02:55
*** Qiming has joined #openstack-sdks03:03
*** liangbo has quit IRC03:09
*** Qiming has quit IRC03:55
*** Qiming has joined #openstack-sdks03:56
*** Qiming has quit IRC04:06
*** aufi has joined #openstack-sdks05:01
*** liangbo has joined #openstack-sdks05:12
*** Qiming has joined #openstack-sdks05:14
*** boris-42 has quit IRC05:20
*** Qiming has quit IRC05:26
*** liangbo has quit IRC05:27
*** Qiming has joined #openstack-sdks05:29
*** Qiming has quit IRC05:29
*** Qiming has joined #openstack-sdks05:30
*** Qiming has quit IRC05:43
*** Qiming has joined #openstack-sdks05:43
*** Qiming_ has joined #openstack-sdks05:46
*** Qiming_ has quit IRC05:47
*** Qiming has quit IRC05:50
*** Qiming has joined #openstack-sdks05:55
*** britthou_ has quit IRC06:21
*** britthouser has joined #openstack-sdks06:22
*** markus_z has joined #openstack-sdks06:30
*** woodster_ has quit IRC06:49
*** jlvillal has quit IRC06:58
*** jlvillal has joined #openstack-sdks06:58
*** boris-42 has joined #openstack-sdks07:58
*** gildub has quit IRC08:19
*** liangbo has joined #openstack-sdks08:25
*** liangbo has quit IRC09:19
*** Qiming has quit IRC09:30
*** Qiming has joined #openstack-sdks09:38
*** sigmavirus24_awa has quit IRC10:06
*** Yanyan has quit IRC10:07
*** sigmavirus24_awa has joined #openstack-sdks10:11
terrylhowemodred That might of come from OSC where it always does a find on name or id so you could use either.  My only concern with that patch is OSC is going to have to look at project_id so that just needs to be coordinated.10:57
*** britthouser has quit IRC11:10
*** boris-42 has quit IRC11:20
*** Kiall_ is now known as Kiall11:34
*** Qiming has quit IRC11:35
*** thrash|g0ne is now known as thrash11:39
Shrewsterrylhowe: agreed. i want OSC to be tested with it before it gets approved, so I'll let you have final approval on it.11:44
terrylhoweI’ll get a patch together for osc today Shrews11:45
Kiallterrylhowe: Q - we're adding a CLI for Designate's V2 API - It's coded up as a osc plugin, but we're thinking it should land in the osc repo rather than ours.. Thoughts?11:51
KiallReviews either way would also be cool https://review.openstack.org/#/c/133676/  :)11:51
terrylhoweKiall: I’ll take a look.  I think the OSC PTL Dean Troyer (who is afk for another week or two) wants to help projects with integrations as a plugin, but not necessarily include them in the osc repo.  The advantage being projects can turn around changes a lot faster and as a plugin you someone else is dealing with a lot of the basic CLI options, auth, and transport/session setup.11:56
KiallAh - I've been wondering why he's not been on IRC recently :)11:57
*** jose4183 has joined #openstack-sdks12:00
*** jose4183 has quit IRC12:05
*** jose4183 has joined #openstack-sdks12:21
*** chlong has joined #openstack-sdks12:26
*** britthouser has joined #openstack-sdks12:28
*** gildub has joined #openstack-sdks12:43
openstackgerritAsha proposed openstack/python-openstackclient: Added note to install openstackclient  https://review.openstack.org/21430412:45
*** jose4183 has quit IRC13:07
*** petertr7_away is now known as petertr713:11
*** jose4183 has joined #openstack-sdks13:14
*** pm90__ has joined #openstack-sdks13:23
*** pm90_ has quit IRC13:25
openstackgerritMerged openstack/os-client-config: Do not treat project_name and project_id the same  https://review.openstack.org/21438213:33
*** zz_steveortiz is now known as steveortiz13:40
*** gildub has quit IRC14:02
*** petertr7 is now known as petertr7_away14:10
*** boris-42 has joined #openstack-sdks14:15
*** sigmavirus24_awa is now known as sigmavirus2414:22
*** edleafe has quit IRC14:27
*** edleafe has joined #openstack-sdks14:28
etoewsterrylhowe: i'm looking at https://review.openstack.org/#/c/186140/ and wondering if ksa should be considered for the sdk 1.0 release.14:40
*** petertr7_away is now known as petertr714:40
terrylhoweI don’t know the exact schedule for ksa etoews I’ve been meaning to check with jamielennox14:41
terrylhowethat patch definitely needs work14:41
*** Qiming has joined #openstack-sdks14:42
terrylhoweI’ve been trying to pull changes out of it for general use.  Some of them have been merged.14:42
terrylhoweIf ksa is going to be ready in time, I think we should definitely use it because that will make us compatible with a lot of clients right away14:43
etoewsone question for that patch. i see it deletes test_transport.py but not transport.py. is that just a consequence of needing more work?14:43
terrylhoweI think in rebasing some files came back and/or I forgot to merge some.  I delete the whole auth dir except service_filter, but some files are there14:44
terrylhowes/merge some/delete some14:45
etoewsso ksa would remove the transport module?14:46
terrylhowewell, I think that would be best although I like our transport/session design a bit better in some ways.  It will make us more compatible and there are some improvements in the ksa session14:47
terrylhoweis briancurtin around?14:47
etoewsterrylhowe: so utilizing ksa would make it easier for the clients to adopt the sdk?14:48
terrylhowedefinitely, they are using that session now from ksc14:48
etoewslemme check14:48
etoewshe should be around in 10-1514:49
etoewswe need to follow up with the keystone people sooner than later on ksa. yes, it's an internal architectural change that could possibly happen after 1.0 but it's a pretty major change and (a) we need to figure out if it's appropriate (maybe that discussion already happened while i was away???) and (b) if so, figure out if it's pre or post 1.0.14:52
*** jose4183 has quit IRC14:59
*** jose4183 has joined #openstack-sdks14:59
terrylhowemaybe morgan_2549 knows the likely release schedule for ksa15:00
morgan_2549Soon™15:02
morgan_2549We really are close15:03
etoewsmorgan_2549: is Soon™ measured in days, weeks, or months?15:07
morgan_2549etoews: we have a couple more cleanup things to land and then need to do a serious review of everything15:07
morgan_2549I hope weeks at most15:08
etoewsmorgan_2549: what's the best way to track progress on it?15:08
morgan_2549Bug me and jamielennox and mordred15:08
morgan_2549We find a gap and we fix it15:09
morgan_2549But basically we need to respin a patch or two and get them approved15:09
etoewsthx!15:09
morgan_2549The major review is to make sure we didn't miss anything before we commit to the contract15:10
*** jose4183 has quit IRC15:19
briancurtinetoews: if ksa is measured in weeks, that'll fit within our 1.0, so should we maybe shift what you're trying to do with the logging stuff into that project? i had thought it was much further out, which was why a few days ago i had said to continue working out the anon logging with our current setup15:19
*** jose4183 has joined #openstack-sdks15:20
etoewsfrom my understanding ksa scrubs headers and doesn’t log auth payloads so the anon stuff may be unnecessary. terrylhowe knows more.15:21
etoewsas such, i think i'll let that patch cool for now until something definitive happens with ksa.15:22
terrylhoweksa definitely handles redacting passwords and tokens15:22
mordredwhat did I do?15:22
terrylhowewe’d just need to watch if we log configuration15:22
etoewsi'm thinking i'll just switch to chipping away at those user guides.15:22
*** petertr7 is now known as petertr7_away15:26
*** petertr7_away is now known as petertr715:27
openstackgerritAsha proposed openstack/python-openstackclient: Added note to install openstackclient  https://review.openstack.org/21430415:29
*** jose4183 has quit IRC15:34
*** britthouser has quit IRC15:35
briancurtinetoews: sounds good15:36
*** aufi has quit IRC15:47
*** petertr7 is now known as petertr7_away15:49
*** jose4183 has joined #openstack-sdks16:06
*** steveortiz is now known as zz_steveortiz16:07
*** Qiming has quit IRC16:07
*** zz_steveortiz is now known as steveortiz16:07
*** steveortiz is now known as zz_steveortiz16:10
*** zz_steveortiz is now known as steveortiz16:10
*** jose4183 has quit IRC16:11
*** pm90__ has quit IRC16:14
openstackgerritMerged stackforge/python-openstacksdk: Remove spaces around data in transport debug print  https://review.openstack.org/21437516:19
*** petertr7_away is now known as petertr716:24
*** petertr7 is now known as petertr7_away16:34
*** steveortiz is now known as zz_steveortiz16:40
*** zz_steveortiz is now known as steveortiz16:44
*** pm90_ has joined #openstack-sdks17:00
*** britthouser has joined #openstack-sdks17:00
openstackgerritTerry Howe proposed openstack/python-openstackclient: Update the plugin docs for designate  https://review.openstack.org/21471217:01
*** mpmsimo has joined #openstack-sdks17:07
*** petertr7_away is now known as petertr717:07
*** mpmsimo has quit IRC17:10
*** markus_z has quit IRC17:14
*** steveortiz is now known as zz_steveortiz17:21
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Properly pass on Container in path_args  https://review.openstack.org/21327817:24
*** mpmsimo has joined #openstack-sdks17:25
*** pm90__ has joined #openstack-sdks17:26
*** britthouser has quit IRC17:27
*** britthouser has joined #openstack-sdks17:28
*** pm90_ has quit IRC17:29
openstackgerritTerry Howe proposed openstack/python-openstackclient: SDK integration into OSC for network CRUD  https://review.openstack.org/13874517:32
openstackgerritTerry Howe proposed openstack/python-openstackclient: SDK integration into OSC for network CRUD  https://review.openstack.org/13874517:38
openstackgerritTerry Howe proposed openstack/python-openstackclient: SDK integration into OSC for network CRUD  https://review.openstack.org/13874517:41
*** ameybhide has joined #openstack-sdks17:51
*** mpmsimo has quit IRC17:58
*** jose4183 has joined #openstack-sdks18:09
*** jose4183 has quit IRC18:12
*** jose4183 has joined #openstack-sdks18:12
*** stevemar has joined #openstack-sdks18:28
*** rm_work is now known as rm_work|away18:36
*** mpmsimo has joined #openstack-sdks18:41
briancurtinterrylhowe, etoews: beware...test_debug_post seems to be somewhat flaky. i ran once and py27 failed, then i ran again and only pep8 passed, and now i just ran it and everything passed (i'm not doing anything remotely close to this code)18:46
terrylhowestrange18:48
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Fix find_extension for Network and Compute proxies  https://review.openstack.org/21475318:50
*** rm_work|away is now known as rm_work18:57
*** stevemar has quit IRC19:07
*** zz_steveortiz is now known as steveortiz19:10
*** nikhil_k_ has quit IRC19:13
briancurtinterrylhowe: i'm going to do some work on find -- the way it's written to use id= and name= query params will only work for network APIs. none of the other services seem to allow that level of filtering - they only support it on other attributes (like minRam, for example). i noticed it during the find_extensions change, and it is currently not possible to19:17
briancurtinfind_flavors by name19:17
*** mpmsimo has quit IRC19:18
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Make sure there is data for the meter test  https://review.openstack.org/21476319:18
terrylhowewell find by name does seem to work for things like servers I thought19:19
terrylhoweare you going to revive the client side filter briancurtin ?19:20
briancurtinterrylhowe: i have no idea yet, i just know something has to happen because looking at this right now there's zero chance of find_flavors("m1.tiny") working. it will probably have to just pull everything and look at the names19:21
briancurtinso, maybe, at least a little bit, but it'll fit in that existing sub-method we have inside of find. I'm not going to make it the all-knowing super power method i once did, we just need to look at name attrs that come back and see if one matches19:21
briancurtincurrently we're making a request that thinks it will only receive the match, but its sending query params the server doesn't care about, so we get a full list of things and quit once we hit the second one, thinking it's a duplicate19:22
briancurtinwhich actually explains the bug i just entered saying that sometimes we get DuplicateResource when we should be getting NoResourceFound, like if you search a bogus name19:23
terrylhowesome functional tests would be awesome19:23
briancurtinterrylhowe: yeah, i'm going to work on the base Resource.find first and then try to get some functional tests of a few resources to prove it out19:24
terrylhowebased on the examples, find was working for me for servers and keypairs briancurtin and I think there are a few functional tests19:26
terrylhoweresource is pretty big, so I guess if it helps, pull that get_one_match thing out make some sort of helper class maybe19:26
briancurtincan probably just remove the query param stuff and it will work almost immediately19:27
briancurtinservers does accept the query param though for name, so that's one that currently works. if it can make use of a query param and it wants to do that, it should provide a specialization for it to use it19:28
openstackgerritTerry Howe proposed openstack/python-openstackclient: SDK integration into OSC for network CRUD  https://review.openstack.org/13874519:28
terrylhowewe aren’t gettin openstacksdk gerrit notifications here anymore I guess19:29
briancurtinterrylhowe: there's one from 40 minutes ago19:29
briancurtinactually and even more recent than that, your meter test one19:30
terrylhoweyeh, odd.  oh well19:30
terrylhoweoh, I guess some packets are being dropped because I don’t see that one19:30
*** petertr7 is now known as petertr7_away19:41
*** petertr7_away is now known as petertr719:41
*** e0ne has joined #openstack-sdks19:45
*** e0ne has quit IRC19:47
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Fix find available floating IP test  https://review.openstack.org/21477719:48
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add a functional test for find_extension  https://review.openstack.org/21478019:57
*** e0ne has joined #openstack-sdks20:02
*** woodster_ has joined #openstack-sdks20:13
*** stevemar has joined #openstack-sdks20:14
*** kelvin has joined #openstack-sdks20:16
briancurtinterrylhowe: with relatively minimal changes, find can now find anything by id or name, and it now properly raises DuplicateResource only when there's a dupe, and either returns None or raises ResourceNotFound depending on what you called with when nothing is found. that should solve any of the outstanding find-doesn't-work bugs. i'm not going to add20:17
briancurtinfunctional tests for every resource, but at least for right now some finds for server will prove it out20:17
briancurtinterrylhowe: another thing we need to get to is that BaseProxy should have a _find -- that's the one oddity while looking at all of the Proxy classes, that they still call through resources to do their find20:17
terrylhowewell, find for server worked before20:18
*** e0ne has quit IRC20:18
briancurtinonly because it was written specifically for it20:18
briancurtinbasically all others were broken in some way20:18
briancurtinespecially when finding by name20:18
terrylhowewell, might not be much to generalize in the base class for find20:20
briancurtini just did it?20:20
briancurtinthe fix is just don't use query params20:20
terrylhoweoh, you added a _find to the base proxy?20:21
terrylhoweanyway, I ahven’t seen the patch yet20:21
briancurtinno. well i did, but not as part of fixing Resource.find20:21
terrylhoweah, cool20:21
openstackgerritMerged openstack/python-openstackclient: Update the plugin docs for designate  https://review.openstack.org/21471220:24
*** e0ne has joined #openstack-sdks20:29
*** mpmsimo has joined #openstack-sdks20:33
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add support for resource foreign keys in base_path  https://review.openstack.org/20797220:33
*** petertr7 is now known as petertr7_away20:34
*** e0ne has quit IRC20:35
*** e0ne has joined #openstack-sdks20:36
*** petertr7_away is now known as petertr720:37
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add support for resource foreign keys in base_path  https://review.openstack.org/20797220:42
openstackgerritKelvin Lui proposed openstack/python-openstackclient: Adds documentation  on weekly meeting  https://review.openstack.org/21478520:46
*** mpmsimo has quit IRC20:59
*** stevemar has quit IRC21:05
*** mpmsimo has joined #openstack-sdks21:05
*** petertr7 is now known as petertr7_away21:07
*** e0ne has quit IRC21:15
*** e0ne has joined #openstack-sdks21:19
*** mpmsimo has quit IRC21:20
*** mpmsimo has joined #openstack-sdks21:22
*** e0ne has quit IRC21:28
*** kelvin_ has joined #openstack-sdks21:29
*** kelvin has quit IRC21:31
*** mpmsimo has quit IRC21:33
*** kelvin__ has joined #openstack-sdks21:37
*** kelvin_ has quit IRC21:37
*** thrash is now known as thrash|g0ne21:47
*** kelvin__ has quit IRC21:57
*** steveortiz is now known as zz_steveortiz21:57
*** pm90__ has quit IRC22:16
*** gildub has joined #openstack-sdks22:23
*** jose4183 has quit IRC22:34
*** mpmsimo has joined #openstack-sdks22:39
*** mpmsimo has quit IRC22:40
openstackgerritBrian Curtin proposed stackforge/python-openstacksdk: Make Resource.find more generically applicable  https://review.openstack.org/21482222:43
openstackgerritMerged openstack/python-openstackclient: Added note to install openstackclient  https://review.openstack.org/21430422:45
*** bnemec has quit IRC22:56
*** britthouser has quit IRC22:56
*** pm90_ has joined #openstack-sdks23:01
*** mpmsimo1 has joined #openstack-sdks23:10
*** bnemec has joined #openstack-sdks23:20
*** chlong has quit IRC23:28
*** mpmsimo1 has quit IRC23:40
*** bnemec has quit IRC23:43
*** bnemec has joined #openstack-sdks23:45
*** ameybhide has quit IRC23:46
*** bnemec has quit IRC23:58

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