Tuesday, 2015-01-27

*** etoews has joined #openstack-sdks00:34
*** fifieldt has joined #openstack-sdks00:39
*** etoews has quit IRC00:39
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/14948800:40
*** sigmavirus24 is now known as sigmavirus24_awa00:40
*** tellesnobrega has quit IRC00:41
*** tellesnobrega has joined #openstack-sdks00:43
*** stevemar has joined #openstack-sdks00:54
*** etoews has joined #openstack-sdks01:04
*** etoews has quit IRC01:08
*** britthou_ has joined #openstack-sdks01:17
*** britthouser has quit IRC01:20
*** etoews has joined #openstack-sdks01:32
*** tellesnobrega has quit IRC01:33
*** tellesnobrega has joined #openstack-sdks01:35
*** etoews has quit IRC02:32
*** etoews has joined #openstack-sdks02:37
*** etoews has quit IRC02:43
jamielennoxdtroyer, stevemar: OSC can't do subnets and such from neutron?02:50
stevemarjamielennox, pretty limited neutron support ATM02:50
jamielennoxstevemar: ok - so don't bother trying02:50
jamielennoxthanks02:50
*** etoews has joined #openstack-sdks02:56
*** etoews_ has joined #openstack-sdks02:58
*** etoews has quit IRC02:58
*** tellesnobrega_ has quit IRC03:03
*** ayoung is now known as ayoung_ZZzz__03:49
*** etoews_ has quit IRC04:21
*** etoews has joined #openstack-sdks04:21
*** briancurtin2 has quit IRC04:53
openstackgerritZhiyuan Cai proposed openstack/python-openstackclient: Add 'find by name' to --nic for creating server  https://review.openstack.org/14410405:16
*** etoews has quit IRC05:31
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add 'find by name' to --nic for creating server  https://review.openstack.org/14410405:34
*** Miouge has joined #openstack-sdks06:09
*** terrylhowe has quit IRC07:04
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add the ability to extend volumes in `osc volume set`  https://review.openstack.org/14985907:10
*** Miouge has quit IRC07:12
*** jamielennox is now known as jamielennox|away07:29
openstackgerritZhiyuan Cai proposed openstack/python-openstackclient: Add sort support to image list  https://review.openstack.org/14885507:34
*** stevemar has quit IRC07:35
*** Miouge has joined #openstack-sdks07:35
openstackgerritwanghong proposed openstack/python-openstackclient: add support for image member  https://review.openstack.org/14203107:56
*** Klumben has quit IRC08:14
openstackgerritwanghong proposed openstack/python-openstackclient: fix the wrong order of assertEqual args  https://review.openstack.org/15032309:07
*** britthou_ has quit IRC10:34
*** britthouser has joined #openstack-sdks10:35
*** britthou_ has joined #openstack-sdks10:48
*** britthou_ has quit IRC10:48
*** britthou_ has joined #openstack-sdks10:49
*** britthouser has quit IRC10:51
*** tellesnobrega_ has joined #openstack-sdks11:11
*** britthou_ has quit IRC11:11
*** britthouser has joined #openstack-sdks11:12
*** britthouser has quit IRC11:14
*** britthouser has joined #openstack-sdks11:14
*** britthouser has quit IRC11:18
*** britthouser has joined #openstack-sdks11:19
*** britthou_ has joined #openstack-sdks11:37
*** britthouser has quit IRC11:37
*** tellesnobrega_ has quit IRC11:53
*** Klumben has joined #openstack-sdks12:17
*** tellesnobrega has quit IRC12:30
*** tellesnobrega has joined #openstack-sdks12:31
*** britthou_ has quit IRC12:39
*** Miouge has quit IRC12:39
*** britthouser has joined #openstack-sdks12:39
*** bknudson has joined #openstack-sdks13:42
*** terrylhowe has joined #openstack-sdks14:09
*** mattfarina has joined #openstack-sdks14:13
*** pm90_ has joined #openstack-sdks14:39
*** pm90_ has quit IRC14:39
*** pm90_ has joined #openstack-sdks14:40
*** Miouge has joined #openstack-sdks14:41
*** briancurtin has joined #openstack-sdks14:48
*** briancurtin has joined #openstack-sdks14:48
*** Miouge has quit IRC14:50
*** sigmavirus24_awa is now known as sigmavirus2414:57
*** etoews has joined #openstack-sdks14:59
*** etoews has quit IRC14:59
*** etoews has joined #openstack-sdks15:03
*** ayoung_ZZzz__ is now known as ayoung_snowedin15:07
*** stevemar has joined #openstack-sdks15:47
*** pm90_ has quit IRC15:56
openstackgerritMerged stackforge/python-openstacksdk: Refactor auth plugin loading  https://review.openstack.org/13693315:59
*** torgomatic has quit IRC16:18
*** torgomatic has joined #openstack-sdks16:18
*** pm90_ has joined #openstack-sdks16:30
*** pm90_ has quit IRC16:31
*** pm90_ has joined #openstack-sdks16:31
*** notmyname has quit IRC17:00
*** notmyname has joined #openstack-sdks17:02
*** Miouge has joined #openstack-sdks17:03
*** sigmavirus24 is now known as sigmavirus24_awa17:05
*** sigmavirus24_awa is now known as sigmavirus2417:05
*** d0ugal has joined #openstack-sdks17:10
openstackgerritMerged openstack/python-openstackclient: Add 'find by name' to --nic for creating server  https://review.openstack.org/14410417:46
-openstackstatus- NOTICE: Gerrit and Zuul will be offline for a few minutes for a security update17:54
*** ayoung_snowedin is now known as ayoung17:55
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/14948817:56
*** openstack` has joined #openstack-sdks18:05
*** openstack` is now known as openstack18:06
*** Miouge has quit IRC18:06
*** Miouge has joined #openstack-sdks18:08
*** Miouge has quit IRC18:08
*** openstackgerrit has quit IRC18:30
*** openstackgerrit has joined #openstack-sdks18:32
*** pm90__ has joined #openstack-sdks18:40
*** pm90_ has quit IRC18:43
briancurtinpython-openstacksdk meeting in 15' in #openstack-meeting-318:45
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Working script to create a jenkins server  https://review.openstack.org/12166018:47
*** Miouge has joined #openstack-sdks18:49
stevemarterrylhowe, DAMMIT!18:52
terrylhoweha!18:52
stevemarhehe18:52
sigmavirus24oh right18:54
*** pm90_ has joined #openstack-sdks18:57
*** pm90_ has quit IRC18:57
*** pm90__ has quit IRC18:57
*** pm90_ has joined #openstack-sdks18:58
stevemarterrylhowe, actually, bunch of fake merge conflicts are being reported19:08
terrylhowehuh, I saw an odd merge conflict on a patch on the Python SDK19:12
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add the ability to extend volumes in `osc volume set`  https://review.openstack.org/14985919:16
openstackgerritMonty Taylor proposed stackforge/os-client-config: Provide Rackspace service_name override  https://review.openstack.org/15055419:21
openstackgerritDean Troyer proposed openstack/python-openstackclient: Add filter to image list  https://review.openstack.org/14906619:43
openstackgerritMerged openstack/python-openstackclient: fix the wrong order of assertEqual args  https://review.openstack.org/15032319:53
briancurtinetoews: where's the logic in the except that you were talking about?20:04
briancurtinis this the jenkins script?20:05
etoewshttps://review.openstack.org/#/c/121660/20:05
etoewsyep20:05
etoewserror handling code should be used for errors.20:06
*** terrylhowe has quit IRC20:06
etoewsit's clear from reading this script that not finding a sec group is actually expected.20:06
etoewsthe except is being used for control flow.20:07
briancurtinetoews: i think as the network higher level grows (conn.network in that script), it handles something like a ResourceNotFound and returns None, which makes the script a bit cleaner. taht way you do get out of handling exceptions and work with whether or not you have something20:07
etoewsright. that's how i would expect it to work.20:07
*** stevemar has quit IRC20:08
etoewsso would it then be20:08
*** briancurtin has quit IRC20:08
*** stevemar has joined #openstack-sdks20:08
etoewssg = conn.network.find_security_group(name)20:09
etoewsif sg is None:20:09
etoews  sg = blah blah blah20:09
*** briancurtin has joined #openstack-sdks20:09
*** briancurtin has joined #openstack-sdks20:09
briancurtinetoews: a lot of the current higher-level Proxy classes are straight pass throughs to the Resource. object_store is the only one we've played with adding some smarts in between there to make things easier to work with, and sigmavirus24 is going to look at the same with his image proxy20:09
sigmavirus24I'm not sure when I'll get to that though20:10
sigmavirus24Very busy trying to get glance to use policies properly right now20:10
etoewsso why not have the lower level Resource return None to ensure consistent behaviour?20:10
briancurtinsigmavirus24: no worries, just using that as an example since it's in gerrit20:10
sigmavirus24I know20:11
sigmavirus24Just giving you a head's up since I missed the meeting20:11
etoewswon't it be more likely to be inconsistent if you rely on each Proxy to catch the ResourceNotFound exception and return None?20:11
etoewsbriancurtin ^20:13
briancurtinetoews: yep, thinking20:13
briancurtinResource.find is the only method in the class to raise it's own exception, and yeah, not finding something isn't exactly exceptional - some name not being found is pretty normal. changing that to return None doesn't sound bad to me20:15
*** terrylhowe has joined #openstack-sdks20:15
etoewsshould we log a bug?20:16
etoewscan definitely give it some more thought but use the bug to not lose track of it20:16
briancurtinetoews: go for it20:16
etoewsyep20:16
sigmavirus24etoews++20:20
*** openstack has joined #openstack-sdks20:39
*** sendak.freenode.net sets mode: +ns 20:39
*** sendak.freenode.net sets mode: -o openstack20:44
-sendak.freenode.net- *** Notice -- TS for #openstack-sdks changed from 1422391148 to 139161832820:44
*** sendak.freenode.net sets mode: +ct-s 20:44
*** edleafe has joined #openstack-sdks20:44
*** dtroyer_zz has joined #openstack-sdks20:44
*** jamielennox has joined #openstack-sdks20:44
*** terrylhowe has joined #openstack-sdks20:44
*** briancurtin has joined #openstack-sdks20:44
*** stevemar has joined #openstack-sdks20:44
*** pm90_ has joined #openstack-sdks20:44
*** Miouge has joined #openstack-sdks20:44
*** openstackgerrit has joined #openstack-sdks20:44
*** d0ugal has joined #openstack-sdks20:44
*** notmyname has joined #openstack-sdks20:44
*** torgomatic has joined #openstack-sdks20:44
*** etoews has joined #openstack-sdks20:44
*** mattfarina has joined #openstack-sdks20:44
*** bknudson has joined #openstack-sdks20:44
*** britthouser has joined #openstack-sdks20:44
*** tellesnobrega has joined #openstack-sdks20:44
*** Klumben has joined #openstack-sdks20:44
*** fifieldt has joined #openstack-sdks20:44
*** chlong has joined #openstack-sdks20:44
*** redrobot has joined #openstack-sdks20:44
*** f13o has joined #openstack-sdks20:44
*** ayoung has joined #openstack-sdks20:44
*** anteaya has joined #openstack-sdks20:44
*** dhellmann has joined #openstack-sdks20:44
*** lbragstad has joined #openstack-sdks20:44
*** glenc has joined #openstack-sdks20:44
*** andreluiz has joined #openstack-sdks20:44
*** jacekn has joined #openstack-sdks20:44
*** utahcon has joined #openstack-sdks20:44
*** toabctl has joined #openstack-sdks20:44
*** mordred has joined #openstack-sdks20:44
*** orlock has joined #openstack-sdks20:44
*** HenryG has joined #openstack-sdks20:44
*** gus has joined #openstack-sdks20:44
*** stevelle has joined #openstack-sdks20:44
*** VeggieMeat has joined #openstack-sdks20:44
*** sigmavirus24 has joined #openstack-sdks20:44
*** jdaggett_ has joined #openstack-sdks20:44
*** sendak.freenode.net changes topic to "#openstack-sdks"20:44
openstackgerritMerged stackforge/os-client-config: Provide Rackspace service_name override  https://review.openstack.org/15055420:44
etoewsbriancurtin: speaking of os-client-config... ^20:48
*** stevemar has quit IRC21:28
*** stevemar has joined #openstack-sdks21:28
mordredetoews: were you guys talking about os-client-config?21:43
etoewsyep21:43
mordredneat21:43
briancurtinetoews: yes! thinking about using it to create our connections in openstacksdk21:43
mordredetoews: I'd liek to request that payload consistency be added to API thoughts if it's not already21:43
etoewsfigured we could reuse it for openstack sdk21:43
mordredplease do!21:44
mordredas you may be able to see - I'm collecting all the evil I find in the world there ... :)21:44
etoewsmordred: do you mean payload of any old call in any old api?21:45
briancurtinmordred: is it at a point where we can depend on it? i'm not sure where it fits in the grand scheme of things, where it's at, etc21:45
etoewsif so then yes. payload consistency is definitely important to us.21:45
briancurtini dont think i know what payload consistency even means21:45
etoewsi take it to mean the body of a request21:45
mordredbriancurtin: it's at the point where it has at least a couple of almost-production users and should have production users (including infra) within the next few weeks21:46
mordredso we shoudl consider changes to it to be things we need to take compatability into account for21:46
*** Miouge has quit IRC21:46
etoewshow many providers is infra using?21:46
mordredetoews: rackspace, hp, and two clouds run by the tripleo team21:46
etoewsseems like enough real world uses to ship something to me21:47
mordred\o/21:48
briancurtinmordred: can we just add it to our requirements.txt? (i don't know what all goes into changing requirements, "global requirements", etc)21:49
mordredyup!21:50
mordredit's already in g-r in fact21:50
etoewsbriancurtin: before we did that, i'd like to know what os-client-config itself depends on.21:50
mordredPyYAML21:50
mordredthat's it21:51
briancurtinprobably just pyyaml, but if it's in g-r21:51
mordredhrm. it states a runtime depend on pbr, that's actually not true21:51
* mordred sends in a patch ...21:51
etoewscool.21:51
openstackgerritMonty Taylor proposed stackforge/os-client-config: Remove runtime depend on pbr  https://review.openstack.org/15059421:52
mordredI need to cut a release with the patch before that in it - so I think we'll land that and then cut 0.4.1 (so that o-c-c + keystone sessions works against rax)21:52
etoewshow much fun is dependency hell in python land? i imagine a lot of user apps would also depend on PyYAML. how would conflicting version get resolved?21:53
mordreddependecy hell in python land is very bad21:54
mordredbut in this case, we don't specify a version nor do we use fancy features of it - so we _should_ be no more worser than python dependency hell already is :)21:54
etoewsso a user app should be able to specify any version of PyYAML in their app and when they depend on openstack sdk the transitive dep on PyYAML won't conflict. correct?21:56
mordredyes21:57
mordredthat is correct21:57
*** tellesnobrega_ has joined #openstack-sdks21:57
mordredalso - fwiw - there is very little concept of conflicting version in python21:57
mordredit's actually just that whatever was declared first will win21:57
mordredbecause *bonghits*21:57
mordred(basically, however bad you think it might could be, the python packaging situation is actually worse)21:58
etoewsfun. coming from the java world for the past 2 years i'll have lots of naive questions about stuff like this. i hope it's more of a help than a hinderance. ;)21:59
stevelleetoews: its a bit like an OSGI env then22:01
etoewsi haven't had to delve into osgi.22:02
etoews*was still waiting for jigsaw*22:02
stevellewell played then :D22:02
mordred:)22:02
mordredetoews: never a hindrance - especially since the python story here is so bad, even seemingly naive questions can actually often uncover real important things22:03
etoewsya. fresh eyes and all that.22:04
openstackgerritMerged stackforge/os-client-config: Remove runtime depend on pbr  https://review.openstack.org/15059422:04
mordredok. 0.4.1 released - should work on rax compute now22:05
* mordred cries22:05
* mordred shakes fist at two entries named compute!22:05
mordredetoews: when I said something about payload consistency - what I meant was the the REST calls themselves being the same don't mean much if there are giant JSON dicts involved that have internal information in them that can't be counted on to be sane22:06
*** mattfarina has quit IRC22:07
etoewsmordred: can't get enough compute! :P22:07
etoewsokay that's what i thought. we're delving into the payload where it makes sense to.22:08
etoewsalthough that gets very domain specific very quickly22:08
etoewsso far this is as far as we've gone http://specs.openstack.org/openstack/api-wg/guidelines/representation_structure.html#collection-resources22:09
briancurtinas far as i understand, all we want is the ability to get credentials to pass on to the authenticators22:09
*** Shrews has joined #openstack-sdks22:12
* briancurtin away for a bit22:16
*** dhellmann has quit IRC22:54
*** dhellmann has joined #openstack-sdks22:56
*** tellesnobrega_ has quit IRC22:59
*** sigmavirus24 is now known as sigmavirus24_awa23:03
*** pm90_ has quit IRC23:12
*** bknudson has quit IRC23:12
*** etoews_ has joined #openstack-sdks23:44
*** etoews has quit IRC23:46
openstackgerritDean Troyer proposed openstack/python-openstackclient: Add filter to image list  https://review.openstack.org/14906623:46

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