*** etoews has joined #openstack-sdks | 00:34 | |
*** fifieldt has joined #openstack-sdks | 00:39 | |
*** etoews has quit IRC | 00:39 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/149488 | 00:40 |
---|---|---|
*** sigmavirus24 is now known as sigmavirus24_awa | 00:40 | |
*** tellesnobrega has quit IRC | 00:41 | |
*** tellesnobrega has joined #openstack-sdks | 00:43 | |
*** stevemar has joined #openstack-sdks | 00:54 | |
*** etoews has joined #openstack-sdks | 01:04 | |
*** etoews has quit IRC | 01:08 | |
*** britthou_ has joined #openstack-sdks | 01:17 | |
*** britthouser has quit IRC | 01:20 | |
*** etoews has joined #openstack-sdks | 01:32 | |
*** tellesnobrega has quit IRC | 01:33 | |
*** tellesnobrega has joined #openstack-sdks | 01:35 | |
*** etoews has quit IRC | 02:32 | |
*** etoews has joined #openstack-sdks | 02:37 | |
*** etoews has quit IRC | 02:43 | |
jamielennox | dtroyer, stevemar: OSC can't do subnets and such from neutron? | 02:50 |
stevemar | jamielennox, pretty limited neutron support ATM | 02:50 |
jamielennox | stevemar: ok - so don't bother trying | 02:50 |
jamielennox | thanks | 02:50 |
*** etoews has joined #openstack-sdks | 02:56 | |
*** etoews_ has joined #openstack-sdks | 02:58 | |
*** etoews has quit IRC | 02:58 | |
*** tellesnobrega_ has quit IRC | 03:03 | |
*** ayoung is now known as ayoung_ZZzz__ | 03:49 | |
*** etoews_ has quit IRC | 04:21 | |
*** etoews has joined #openstack-sdks | 04:21 | |
*** briancurtin2 has quit IRC | 04:53 | |
openstackgerrit | Zhiyuan Cai proposed openstack/python-openstackclient: Add 'find by name' to --nic for creating server https://review.openstack.org/144104 | 05:16 |
*** etoews has quit IRC | 05:31 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Add 'find by name' to --nic for creating server https://review.openstack.org/144104 | 05:34 |
*** Miouge has joined #openstack-sdks | 06:09 | |
*** terrylhowe has quit IRC | 07:04 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Add the ability to extend volumes in `osc volume set` https://review.openstack.org/149859 | 07:10 |
*** Miouge has quit IRC | 07:12 | |
*** jamielennox is now known as jamielennox|away | 07:29 | |
openstackgerrit | Zhiyuan Cai proposed openstack/python-openstackclient: Add sort support to image list https://review.openstack.org/148855 | 07:34 |
*** stevemar has quit IRC | 07:35 | |
*** Miouge has joined #openstack-sdks | 07:35 | |
openstackgerrit | wanghong proposed openstack/python-openstackclient: add support for image member https://review.openstack.org/142031 | 07:56 |
*** Klumben has quit IRC | 08:14 | |
openstackgerrit | wanghong proposed openstack/python-openstackclient: fix the wrong order of assertEqual args https://review.openstack.org/150323 | 09:07 |
*** britthou_ has quit IRC | 10:34 | |
*** britthouser has joined #openstack-sdks | 10:35 | |
*** britthou_ has joined #openstack-sdks | 10:48 | |
*** britthou_ has quit IRC | 10:48 | |
*** britthou_ has joined #openstack-sdks | 10:49 | |
*** britthouser has quit IRC | 10:51 | |
*** tellesnobrega_ has joined #openstack-sdks | 11:11 | |
*** britthou_ has quit IRC | 11:11 | |
*** britthouser has joined #openstack-sdks | 11:12 | |
*** britthouser has quit IRC | 11:14 | |
*** britthouser has joined #openstack-sdks | 11:14 | |
*** britthouser has quit IRC | 11:18 | |
*** britthouser has joined #openstack-sdks | 11:19 | |
*** britthou_ has joined #openstack-sdks | 11:37 | |
*** britthouser has quit IRC | 11:37 | |
*** tellesnobrega_ has quit IRC | 11:53 | |
*** Klumben has joined #openstack-sdks | 12:17 | |
*** tellesnobrega has quit IRC | 12:30 | |
*** tellesnobrega has joined #openstack-sdks | 12:31 | |
*** britthou_ has quit IRC | 12:39 | |
*** Miouge has quit IRC | 12:39 | |
*** britthouser has joined #openstack-sdks | 12:39 | |
*** bknudson has joined #openstack-sdks | 13:42 | |
*** terrylhowe has joined #openstack-sdks | 14:09 | |
*** mattfarina has joined #openstack-sdks | 14:13 | |
*** pm90_ has joined #openstack-sdks | 14:39 | |
*** pm90_ has quit IRC | 14:39 | |
*** pm90_ has joined #openstack-sdks | 14:40 | |
*** Miouge has joined #openstack-sdks | 14:41 | |
*** briancurtin has joined #openstack-sdks | 14:48 | |
*** briancurtin has joined #openstack-sdks | 14:48 | |
*** Miouge has quit IRC | 14:50 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 14:57 | |
*** etoews has joined #openstack-sdks | 14:59 | |
*** etoews has quit IRC | 14:59 | |
*** etoews has joined #openstack-sdks | 15:03 | |
*** ayoung_ZZzz__ is now known as ayoung_snowedin | 15:07 | |
*** stevemar has joined #openstack-sdks | 15:47 | |
*** pm90_ has quit IRC | 15:56 | |
openstackgerrit | Merged stackforge/python-openstacksdk: Refactor auth plugin loading https://review.openstack.org/136933 | 15:59 |
*** torgomatic has quit IRC | 16:18 | |
*** torgomatic has joined #openstack-sdks | 16:18 | |
*** pm90_ has joined #openstack-sdks | 16:30 | |
*** pm90_ has quit IRC | 16:31 | |
*** pm90_ has joined #openstack-sdks | 16:31 | |
*** notmyname has quit IRC | 17:00 | |
*** notmyname has joined #openstack-sdks | 17:02 | |
*** Miouge has joined #openstack-sdks | 17:03 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 17:05 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 17:05 | |
*** d0ugal has joined #openstack-sdks | 17:10 | |
openstackgerrit | Merged openstack/python-openstackclient: Add 'find by name' to --nic for creating server https://review.openstack.org/144104 | 17:46 |
-openstackstatus- NOTICE: Gerrit and Zuul will be offline for a few minutes for a security update | 17:54 | |
*** ayoung_snowedin is now known as ayoung | 17:55 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/149488 | 17:56 |
*** openstack` has joined #openstack-sdks | 18:05 | |
*** openstack` is now known as openstack | 18:06 | |
*** Miouge has quit IRC | 18:06 | |
*** Miouge has joined #openstack-sdks | 18:08 | |
*** Miouge has quit IRC | 18:08 | |
*** openstackgerrit has quit IRC | 18:30 | |
*** openstackgerrit has joined #openstack-sdks | 18:32 | |
*** pm90__ has joined #openstack-sdks | 18:40 | |
*** pm90_ has quit IRC | 18:43 | |
briancurtin | python-openstacksdk meeting in 15' in #openstack-meeting-3 | 18:45 |
openstackgerrit | Terry Howe proposed stackforge/python-openstacksdk: Working script to create a jenkins server https://review.openstack.org/121660 | 18:47 |
*** Miouge has joined #openstack-sdks | 18:49 | |
stevemar | terrylhowe, DAMMIT! | 18:52 |
terrylhowe | ha! | 18:52 |
stevemar | hehe | 18:52 |
sigmavirus24 | oh right | 18:54 |
*** pm90_ has joined #openstack-sdks | 18:57 | |
*** pm90_ has quit IRC | 18:57 | |
*** pm90__ has quit IRC | 18:57 | |
*** pm90_ has joined #openstack-sdks | 18:58 | |
stevemar | terrylhowe, actually, bunch of fake merge conflicts are being reported | 19:08 |
terrylhowe | huh, I saw an odd merge conflict on a patch on the Python SDK | 19:12 |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Add the ability to extend volumes in `osc volume set` https://review.openstack.org/149859 | 19:16 |
openstackgerrit | Monty Taylor proposed stackforge/os-client-config: Provide Rackspace service_name override https://review.openstack.org/150554 | 19:21 |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Add filter to image list https://review.openstack.org/149066 | 19:43 |
openstackgerrit | Merged openstack/python-openstackclient: fix the wrong order of assertEqual args https://review.openstack.org/150323 | 19:53 |
briancurtin | etoews: where's the logic in the except that you were talking about? | 20:04 |
briancurtin | is this the jenkins script? | 20:05 |
etoews | https://review.openstack.org/#/c/121660/ | 20:05 |
etoews | yep | 20:05 |
etoews | error handling code should be used for errors. | 20:06 |
*** terrylhowe has quit IRC | 20:06 | |
etoews | it's clear from reading this script that not finding a sec group is actually expected. | 20:06 |
etoews | the except is being used for control flow. | 20:07 |
briancurtin | etoews: 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 something | 20:07 |
etoews | right. that's how i would expect it to work. | 20:07 |
*** stevemar has quit IRC | 20:08 | |
etoews | so would it then be | 20:08 |
*** briancurtin has quit IRC | 20:08 | |
*** stevemar has joined #openstack-sdks | 20:08 | |
etoews | sg = conn.network.find_security_group(name) | 20:09 |
etoews | if sg is None: | 20:09 |
etoews | sg = blah blah blah | 20:09 |
*** briancurtin has joined #openstack-sdks | 20:09 | |
*** briancurtin has joined #openstack-sdks | 20:09 | |
briancurtin | etoews: 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 proxy | 20:09 |
sigmavirus24 | I'm not sure when I'll get to that though | 20:10 |
sigmavirus24 | Very busy trying to get glance to use policies properly right now | 20:10 |
etoews | so why not have the lower level Resource return None to ensure consistent behaviour? | 20:10 |
briancurtin | sigmavirus24: no worries, just using that as an example since it's in gerrit | 20:10 |
sigmavirus24 | I know | 20:11 |
sigmavirus24 | Just giving you a head's up since I missed the meeting | 20:11 |
etoews | won't it be more likely to be inconsistent if you rely on each Proxy to catch the ResourceNotFound exception and return None? | 20:11 |
etoews | briancurtin ^ | 20:13 |
briancurtin | etoews: yep, thinking | 20:13 |
briancurtin | Resource.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 me | 20:15 |
*** terrylhowe has joined #openstack-sdks | 20:15 | |
etoews | should we log a bug? | 20:16 |
etoews | can definitely give it some more thought but use the bug to not lose track of it | 20:16 |
briancurtin | etoews: go for it | 20:16 |
etoews | yep | 20:16 |
sigmavirus24 | etoews++ | 20:20 |
*** openstack has joined #openstack-sdks | 20:39 | |
*** sendak.freenode.net sets mode: +ns | 20:39 | |
*** sendak.freenode.net sets mode: -o openstack | 20:44 | |
-sendak.freenode.net- *** Notice -- TS for #openstack-sdks changed from 1422391148 to 1391618328 | 20:44 | |
*** sendak.freenode.net sets mode: +ct-s | 20:44 | |
*** edleafe has joined #openstack-sdks | 20:44 | |
*** dtroyer_zz has joined #openstack-sdks | 20:44 | |
*** jamielennox has joined #openstack-sdks | 20:44 | |
*** terrylhowe has joined #openstack-sdks | 20:44 | |
*** briancurtin has joined #openstack-sdks | 20:44 | |
*** stevemar has joined #openstack-sdks | 20:44 | |
*** pm90_ has joined #openstack-sdks | 20:44 | |
*** Miouge has joined #openstack-sdks | 20:44 | |
*** openstackgerrit has joined #openstack-sdks | 20:44 | |
*** d0ugal has joined #openstack-sdks | 20:44 | |
*** notmyname has joined #openstack-sdks | 20:44 | |
*** torgomatic has joined #openstack-sdks | 20:44 | |
*** etoews has joined #openstack-sdks | 20:44 | |
*** mattfarina has joined #openstack-sdks | 20:44 | |
*** bknudson has joined #openstack-sdks | 20:44 | |
*** britthouser has joined #openstack-sdks | 20:44 | |
*** tellesnobrega has joined #openstack-sdks | 20:44 | |
*** Klumben has joined #openstack-sdks | 20:44 | |
*** fifieldt has joined #openstack-sdks | 20:44 | |
*** chlong has joined #openstack-sdks | 20:44 | |
*** redrobot has joined #openstack-sdks | 20:44 | |
*** f13o has joined #openstack-sdks | 20:44 | |
*** ayoung has joined #openstack-sdks | 20:44 | |
*** anteaya has joined #openstack-sdks | 20:44 | |
*** dhellmann has joined #openstack-sdks | 20:44 | |
*** lbragstad has joined #openstack-sdks | 20:44 | |
*** glenc has joined #openstack-sdks | 20:44 | |
*** andreluiz has joined #openstack-sdks | 20:44 | |
*** jacekn has joined #openstack-sdks | 20:44 | |
*** utahcon has joined #openstack-sdks | 20:44 | |
*** toabctl has joined #openstack-sdks | 20:44 | |
*** mordred has joined #openstack-sdks | 20:44 | |
*** orlock has joined #openstack-sdks | 20:44 | |
*** HenryG has joined #openstack-sdks | 20:44 | |
*** gus has joined #openstack-sdks | 20:44 | |
*** stevelle has joined #openstack-sdks | 20:44 | |
*** VeggieMeat has joined #openstack-sdks | 20:44 | |
*** sigmavirus24 has joined #openstack-sdks | 20:44 | |
*** jdaggett_ has joined #openstack-sdks | 20:44 | |
*** sendak.freenode.net changes topic to "#openstack-sdks" | 20:44 | |
openstackgerrit | Merged stackforge/os-client-config: Provide Rackspace service_name override https://review.openstack.org/150554 | 20:44 |
etoews | briancurtin: speaking of os-client-config... ^ | 20:48 |
*** stevemar has quit IRC | 21:28 | |
*** stevemar has joined #openstack-sdks | 21:28 | |
mordred | etoews: were you guys talking about os-client-config? | 21:43 |
etoews | yep | 21:43 |
mordred | neat | 21:43 |
briancurtin | etoews: yes! thinking about using it to create our connections in openstacksdk | 21:43 |
mordred | etoews: I'd liek to request that payload consistency be added to API thoughts if it's not already | 21:43 |
etoews | figured we could reuse it for openstack sdk | 21:43 |
mordred | please do! | 21:44 |
mordred | as you may be able to see - I'm collecting all the evil I find in the world there ... :) | 21:44 |
etoews | mordred: do you mean payload of any old call in any old api? | 21:45 |
briancurtin | mordred: 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, etc | 21:45 |
etoews | if so then yes. payload consistency is definitely important to us. | 21:45 |
briancurtin | i dont think i know what payload consistency even means | 21:45 |
etoews | i take it to mean the body of a request | 21:45 |
mordred | briancurtin: 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 weeks | 21:46 |
mordred | so we shoudl consider changes to it to be things we need to take compatability into account for | 21:46 |
*** Miouge has quit IRC | 21:46 | |
etoews | how many providers is infra using? | 21:46 |
mordred | etoews: rackspace, hp, and two clouds run by the tripleo team | 21:46 |
etoews | seems like enough real world uses to ship something to me | 21:47 |
mordred | \o/ | 21:48 |
briancurtin | mordred: can we just add it to our requirements.txt? (i don't know what all goes into changing requirements, "global requirements", etc) | 21:49 |
mordred | yup! | 21:50 |
mordred | it's already in g-r in fact | 21:50 |
etoews | briancurtin: before we did that, i'd like to know what os-client-config itself depends on. | 21:50 |
mordred | PyYAML | 21:50 |
mordred | that's it | 21:51 |
briancurtin | probably just pyyaml, but if it's in g-r | 21:51 |
mordred | hrm. it states a runtime depend on pbr, that's actually not true | 21:51 |
* mordred sends in a patch ... | 21:51 | |
etoews | cool. | 21:51 |
openstackgerrit | Monty Taylor proposed stackforge/os-client-config: Remove runtime depend on pbr https://review.openstack.org/150594 | 21:52 |
mordred | I 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 |
etoews | how 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 |
mordred | dependecy hell in python land is very bad | 21:54 |
mordred | but 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 |
etoews | so 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 |
mordred | yes | 21:57 |
mordred | that is correct | 21:57 |
*** tellesnobrega_ has joined #openstack-sdks | 21:57 | |
mordred | also - fwiw - there is very little concept of conflicting version in python | 21:57 |
mordred | it's actually just that whatever was declared first will win | 21:57 |
mordred | because *bonghits* | 21:57 |
mordred | (basically, however bad you think it might could be, the python packaging situation is actually worse) | 21:58 |
etoews | fun. 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 |
stevelle | etoews: its a bit like an OSGI env then | 22:01 |
etoews | i haven't had to delve into osgi. | 22:02 |
etoews | *was still waiting for jigsaw* | 22:02 |
stevelle | well played then :D | 22:02 |
mordred | :) | 22:02 |
mordred | etoews: never a hindrance - especially since the python story here is so bad, even seemingly naive questions can actually often uncover real important things | 22:03 |
etoews | ya. fresh eyes and all that. | 22:04 |
openstackgerrit | Merged stackforge/os-client-config: Remove runtime depend on pbr https://review.openstack.org/150594 | 22:04 |
mordred | ok. 0.4.1 released - should work on rax compute now | 22:05 |
* mordred cries | 22:05 | |
* mordred shakes fist at two entries named compute! | 22:05 | |
mordred | etoews: 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 sane | 22:06 |
*** mattfarina has quit IRC | 22:07 | |
etoews | mordred: can't get enough compute! :P | 22:07 |
etoews | okay that's what i thought. we're delving into the payload where it makes sense to. | 22:08 |
etoews | although that gets very domain specific very quickly | 22:08 |
etoews | so far this is as far as we've gone http://specs.openstack.org/openstack/api-wg/guidelines/representation_structure.html#collection-resources | 22:09 |
briancurtin | as far as i understand, all we want is the ability to get credentials to pass on to the authenticators | 22:09 |
*** Shrews has joined #openstack-sdks | 22:12 | |
* briancurtin away for a bit | 22:16 | |
*** dhellmann has quit IRC | 22:54 | |
*** dhellmann has joined #openstack-sdks | 22:56 | |
*** tellesnobrega_ has quit IRC | 22:59 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 23:03 | |
*** pm90_ has quit IRC | 23:12 | |
*** bknudson has quit IRC | 23:12 | |
*** etoews_ has joined #openstack-sdks | 23:44 | |
*** etoews has quit IRC | 23:46 | |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Add filter to image list https://review.openstack.org/149066 | 23:46 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!