Monday, 2014-11-10

*** briancurtin has joined #openstack-sdks00:09
*** briancurtin has quit IRC00:14
*** viswanathsomanch has quit IRC00:16
*** Viswanath has joined #openstack-sdks00:18
*** Viswanath_ has quit IRC00:19
*** Viswanath has quit IRC00:23
*** briancurtin has joined #openstack-sdks01:09
*** briancurtin has quit IRC01:10
*** briancurtin has joined #openstack-sdks01:10
*** viswanathsomanch has joined #openstack-sdks01:36
*** viswanathsomanch has quit IRC01:37
*** viswanathsomanch has joined #openstack-sdks01:37
*** viswanathsomanch has quit IRC01:38
*** viswanathsomanch has joined #openstack-sdks01:38
*** viswanathsomanch has quit IRC02:40
*** stevemar has quit IRC03:56
*** stevemar has joined #openstack-sdks03:56
*** viswanathsomanch has joined #openstack-sdks04:07
*** stevemar has quit IRC04:42
*** k4n0 has joined #openstack-sdks04:44
*** briancurtin has quit IRC05:18
*** subscope has joined #openstack-sdks05:21
*** subscope has quit IRC05:48
*** viswanathsomanch has quit IRC06:32
*** briancurtin has joined #openstack-sdks06:49
*** briancurtin has quit IRC06:54
*** briancurtin has joined #openstack-sdks07:50
*** briancurtin has quit IRC07:54
*** briancurtin has joined #openstack-sdks09:38
*** briancurtin has quit IRC09:43
*** briancurtin has joined #openstack-sdks11:27
*** briancurtin has quit IRC11:31
*** briancurtin has joined #openstack-sdks12:17
*** briancurtin has quit IRC12:41
*** briancurtin has joined #openstack-sdks13:20
*** mattfarina has joined #openstack-sdks13:59
*** openstackgerrit has joined #openstack-sdks14:04
*** terrylhowe has joined #openstack-sdks14:48
*** sigmavirus24_awa is now known as sigmavirus2415:08
*** k4n0 has quit IRC15:14
*** Viswanath has joined #openstack-sdks15:47
*** Viswanath has quit IRC15:50
*** Viswanath has joined #openstack-sdks15:57
*** Viswanath has quit IRC16:01
*** rmcall has joined #openstack-sdks16:07
*** Viswanath has joined #openstack-sdks16:08
*** Viswanath has quit IRC16:14
openstackgerritA change was merged to stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/13280416:29
*** stevemar has joined #openstack-sdks16:36
*** briancurtin has quit IRC16:37
*** briancurtin has joined #openstack-sdks16:37
*** briancurtin has joined #openstack-sdks16:37
*** Viswanath has joined #openstack-sdks17:29
*** ayoung has joined #openstack-sdks17:32
*** Viswanath has quit IRC17:34
*** briancurtin has quit IRC17:41
*** Viswanath has joined #openstack-sdks17:47
*** Viswanath has quit IRC17:59
*** rmcall has quit IRC18:00
*** rmcall has joined #openstack-sdks18:02
*** Viswanath has joined #openstack-sdks18:02
*** Viswanath has quit IRC18:07
openstackgerritA change was merged to stackforge/python-openstacksdk: Add resource CRUD to connection class  https://review.openstack.org/13242718:10
*** Viswanath has joined #openstack-sdks18:15
*** Viswanath has quit IRC18:19
*** subscope has joined #openstack-sdks18:28
*** briancurtin has joined #openstack-sdks18:36
*** briancurtin has joined #openstack-sdks18:36
*** Viswanath has joined #openstack-sdks18:42
*** Viswanath has quit IRC18:44
*** Viswanath has joined #openstack-sdks18:48
*** rmcall has quit IRC18:51
*** rmcall has joined #openstack-sdks18:52
*** Viswanath has quit IRC18:54
openstackgerritA change was merged to openstack/python-openstackclient: Add --or-show option to user create  https://review.openstack.org/13319718:58
openstackgerritA change was merged to openstack/python-openstackclient: Swap remaining assertEqual arguments  https://review.openstack.org/13331019:01
*** briancurtin has quit IRC19:11
*** Viswanath has joined #openstack-sdks19:12
*** Viswanath has quit IRC19:17
*** Viswanath has joined #openstack-sdks19:27
*** briancurtin has joined #openstack-sdks19:31
*** Viswanath has quit IRC19:33
*** Viswanath has joined #openstack-sdks19:51
*** Viswanath has quit IRC19:53
openstackgerritBrian Curtin proposed a change to stackforge/python-openstacksdk: base class for proxy tests  https://review.openstack.org/13244320:24
*** jamielennox|away is now known as jamielennox20:50
*** sigmavirus24 is now known as sigmavirus24_awa21:11
*** sigmavirus24_awa is now known as sigmavirus2421:12
briancurtinterrylhowe: manual build for right now, but http://python-openstacksdk.readthedocs.org/en/latest/21:12
*** mattfarina has quit IRC21:17
terrylhoweawesome briancurtin looks a little different over there21:18
*** Viswanath_ has joined #openstack-sdks21:51
*** Viswanath has joined #openstack-sdks21:51
openstackgerritA change was merged to stackforge/python-openstacksdk: Add an example for the connection class  https://review.openstack.org/13242621:52
*** Viswanath_ has quit IRC21:53
*** Viswanath has quit IRC21:54
briancurtinterrylhowe: i have what i think is an working impl of Resource.list that uses a generator instead of manually doing limit/marker...however, going that way makes me dislike Proxy methods using it being called list_somethings. i'm thinking they should drop the list prefix and just be plural, so "def somethings(...)"21:58
briancurtini'm running through reviews right now, and i dont want to cause a ton of churn with what's in-flight, so im thinking i will just wait, or put it in and -1workflow21:59
terrylhowesounds good briancurtin22:00
*** ayoung is now known as ayoung-dadmode22:01
*** Viswanath has joined #openstack-sdks22:25
sigmavirus24briancurtin: +1 for making it def somethings instead of list_something22:26
*** Viswanath has quit IRC22:28
terrylhoweonly awkward one that comes to mind is networks con.network.networks22:29
briancurtinterrylhowe: also image.images, but i think it's workable enough...and speaking of listing images, is it normal to get an unversioned endpoint out of the service catalog? (haven't looked at it until now with this iterator thing)22:32
terrylhowewell, every service seems different, but I thought it was handled by the get_endpoint methdo22:33
briancurtin"python -m examples.list openstack/image/v1/image.py" ends up calling http://162.242.228.177:9292/images, which actually just does a GET on /, which returns versions22:33
terrylhowehmm, I guess it isn’t handled22:34
briancurtinseems like i may have to do an extra jump to / to get versions, match with the one i want, and then go from there?22:34
terrylhoweneutron for me doesn’t have a version as I recall22:34
briancurtininteresting, we'll i'll poke around there22:35
terrylhowehttps://github.com/stackforge/python-openstacksdk/blob/master/openstack/auth/service_catalog.py#L5822:40
terrylhowethat is the line that is supposed to paste on the version22:40
briancurtinterrylhowe: i dont know if this is just a weird devstack or something, but i get the following unversioned service catalog: {"endpoints": [{"adminURL": "http://162.242.228.177:9292", "region": "RegionOne", "internalURL": "http://162.242.228.177:9292", "id": "24cf0cc897dd4009afe6bd052d6e7ce8", "publicURL": "http://162.242.228.177:9292"}], "endpoints_links": [], "type": "image", "name": "glance"},22:45
briancurtinand the image service is implemented as v1, but the proper version numbers are v1.0, v2.0, and v2.1, so it'd never match anyway22:45
terrylhowewe should support no version out of the service catalog22:45
briancurtinand im guessing i should be able to add v1.0 as a ValidVersion in image_service, right?22:48
terrylhoweAh, yeh briancurtin I guess so unless glance supports v123:01
briancurtinit's weird - the docs say it's v1 and v2, but GET / returns several vX.Y endpoints to seemingly use instead23:02
terrylhowehere is the problem https://github.com/stackforge/python-openstacksdk/blob/master/openstack/auth/service_catalog.py#L55 briancurtin23:29
terrylhoweI just don’t know why if it doesn’t find a version in the URL, it doesn’t do anything else, what use case was that supposed to help23:29
briancurtinthat is weird23:30
briancurtini'm heading out of the office, will take a look in a bit23:31
*** briancurtin has quit IRC23:42
*** sigmavirus24 is now known as sigmavirus24_awa23:43

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