Thursday, 2015-04-16

*** pm90_ has joined #openstack-sdks00:00
*** pm90_ has quit IRC00:31
*** britthouser has quit IRC00:32
*** pm90_ has joined #openstack-sdks00:43
terrylhoweHmm v.1.1 nosleep77 I wonder if that is the problem.00:44
*** pm90_ has quit IRC00:56
*** pm90_ has joined #openstack-sdks00:57
*** sigmavirus24 is now known as sigmavirus24_awa01:11
openstackgerritDavanum Srinivas (dims) proposed openstack/python-openstackclient: Better help for --nic in create server  https://review.openstack.org/17409101:15
openstackgerritDavanum Srinivas (dims) proposed openstack/python-openstackclient: Better help for --nic in create server  https://review.openstack.org/17409101:16
openstackgerritDavanum Srinivas (dims) proposed openstack/python-openstackclient: Better help for --nic in create server  https://review.openstack.org/17409101:17
*** pm90_ has quit IRC01:17
nosleep77terrylhowe: for which one? here are previous steps > http://paste.openstack.org/show/204055/03:10
*** britthouser has joined #openstack-sdks03:11
*** britthou_ has joined #openstack-sdks03:13
*** britthouser has quit IRC03:16
openstackgerritDean Troyer proposed openstack/python-openstackclient: Defer client imports  https://review.openstack.org/17309803:41
*** terrylhowe has quit IRC03:54
openstackgerritDean Troyer proposed openstack/python-openstackclient: Begin documenting --os-cloud  https://review.openstack.org/16109304:25
openstackgerritMerged openstack/python-openstackclient: Add support to specify volume quotas per volume type  https://review.openstack.org/17036604:37
*** stevemar has joined #openstack-sdks05:02
*** etoews has quit IRC05:09
*** stevemar has quit IRC05:40
*** stevemar has joined #openstack-sdks05:40
*** bnemec has quit IRC06:18
*** stevemar has quit IRC06:25
*** stevemar has joined #openstack-sdks06:54
*** stevemar has quit IRC07:00
*** bnemec has joined #openstack-sdks07:00
*** chlong has quit IRC07:40
*** aufi has joined #openstack-sdks07:57
*** nosleep77 has quit IRC09:30
*** aufi has quit IRC10:11
*** terrylhowe has joined #openstack-sdks11:06
*** aufi has joined #openstack-sdks11:10
*** aufi has quit IRC11:12
*** aufi has joined #openstack-sdks11:12
*** jamielennox is now known as jamielennox|away11:47
*** trown|outttypeww is now known as trown12:02
*** stevemar has joined #openstack-sdks12:21
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add module name to repr string  https://review.openstack.org/17435012:26
*** pm90_ has joined #openstack-sdks12:37
*** pm90_ has quit IRC12:41
*** pm90_ has joined #openstack-sdks12:42
*** bknudson has joined #openstack-sdks12:52
*** trown is now known as trown|brb13:30
*** trown|brb is now known as trown13:34
*** mattfarina has joined #openstack-sdks13:47
*** sigmavirus24_awa is now known as sigmavirus2413:56
*** HenryG_ is now known as HenryG14:11
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add more detail to method not supported exception  https://review.openstack.org/17440914:37
*** britthou_ has quit IRC14:37
stevemardtroyer, interesting new bug about osc's help14:38
stevemarhttps://bugs.launchpad.net/python-openstackclient/+bug/144498314:41
openstackLaunchpad bug 1444983 in python-openstackclient "-h and --help are not recognized and revert to top level help" [Medium,Confirmed]14:41
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add more detail to method not supported exception  https://review.openstack.org/17440914:57
*** pm90_ has quit IRC15:01
*** nosleep77 has joined #openstack-sdks15:12
dtroyerstevemar: heh, that's how it is designed15:25
stevemardtroyer, oye15:26
*** britthouser has joined #openstack-sdks15:28
stevemarsigmavirus24, re: image list, what do you think of: https://review.openstack.org/#/c/173420/ rather than specifying a limit, it actually handles the pagination15:30
stevemarreply at your leisure, i added you to the review15:30
sigmavirus24stevemar: I guess I'm just curious why we don't use glanceclient to handle this for us15:32
*** aufi has quit IRC15:33
sigmavirus24Also I can't remember if we support marker on both versions of the API or not15:33
* sigmavirus24 goes to check15:33
sigmavirus24yeah we do15:34
*** pm90_ has joined #openstack-sdks15:35
stevemarsigmavirus24, i think dtroyer was trying to be less reliant on the client libs for some of the more basic functions, like listing15:37
stevemarthe hope was that we could use openstacksdk for this, but the timing is a bit off15:37
*** etoews has joined #openstack-sdks15:39
*** etoews has quit IRC15:39
dtroyerglanceclient is such fun, but I was also using image list v1 and v2 to work out support of multiple API versions in the OSC API layer15:40
dtroyerI'd still love to dump glancelcient first though15:40
sigmavirus24yeah So15:41
sigmavirus24If I make the SDK awesome and do glance stuff well, can we just use that instead?15:41
sigmavirus24Or is the SDK still too young for us to use at all?15:41
dtroyersigmavirus24: fulfill my dreams and we'll switch.  it is too early to use it in osc yet, plus I'd really really love to have a low-level API and bypass the ORM layer for OSC15:45
briancurtinsigmavirus24: once we get those Api guidelines applied approved and applied, you can do anything. Today it's in the middle of that transition where Apis are going to change soon15:45
sigmavirus24dtroyer: ah so have a two-layered API15:45
briancurtinI have some of that bypass working (some in my head, some hacked in a branch) - in a in-person meeting right now, will catch up in ~40 min15:46
* sigmavirus24 has some more digging into the sdk to do15:48
sigmavirus24but I'd imagine having the ORM layer use the lower level might be a better way for the SDK to work15:49
sigmavirus24anyway15:49
sigmavirus24we can chat in ~40 min about that15:49
dtroyersigmavirus24: that was my original proposal15:51
dtroyeropenstackclient.api is basically what that layer looked like15:51
* sigmavirus24 is not very well versed on the internals of osc or os-sdk15:52
* dtroyer watches impatiently as sigmavirus24 digests N-thousand lines of code…15:53
*** bknudson has quit IRC15:53
sigmavirus24Yeah, all I mean is that it's how I would think that kind of API would be consumed15:55
sigmavirus24I have a separate design idea but I'm not sure how well it would work15:56
dtroyerI'm certain what I've done can be improved, even radically improved.  My first objective was to bring the same sort of object/action rationalization to the python api layer that we did to the CLI.  And with as low overhead as makes sense.15:57
*** bknudson has joined #openstack-sdks15:58
*** etoews has joined #openstack-sdks16:05
*** britthouser has quit IRC16:17
openstackgerritTerry Howe proposed openstack/python-openstackclient: Handle the pagination for image list  https://review.openstack.org/17342016:17
terrylhowestevemar: I was looking at osc functional tests again and did you see https://review.openstack.org/#/c/170343/ ?  Take a look when you get a chance.16:20
stevemari did not see that16:21
terrylhoweit’s nice because you just run tox -e functional16:21
terrylhowedownside is all the other tests need to get moved16:22
stevemari don't think we have to move things around16:22
stevemarthat's all handled by .test.conf16:22
stevemarand tox16:23
terrylhowestevemar: I’m also thinking once this —os-cloud thing goes through, osc func tests can use that instead of the custom creds directory16:27
stevemarfo sho16:29
*** britthouser has joined #openstack-sdks16:53
*** britthouser has quit IRC17:03
*** britthouser has joined #openstack-sdks17:04
*** aufi has joined #openstack-sdks17:13
*** britthouser has quit IRC17:28
briancurtinsigmavirus24: sorry it took longer than i expected, but i'm back. what's up/how can i help17:30
*** britthouser has joined #openstack-sdks17:36
*** britthouser has quit IRC17:38
*** britthouser has joined #openstack-sdks17:46
*** britthouser has quit IRC17:53
*** trown is now known as trown|lunch17:58
*** britthouser has joined #openstack-sdks18:07
sigmavirus24briancurtin: no worries. Not sure there's much for you to help with at the moment. the openstackclient is reimplementing some parts of various clients/sdks for the image service and I was hoping to see if by spending time on the sdk I'd be able to get it onto the sdk18:11
sigmavirus24but dtroyer mentioned that he wanted to be able to skip the ORM layer of the sdk and such so18:11
briancurtinsigmavirus24: yep, and that skipping is something i need to check out in OSC (saw it a ways back, foggy on it now) and see how it meshes with something i had sort of attempted a few months back. hoping to look into that again later today or tomorrow if i can18:12
terrylhoweI did have a thin layer WIP in the sdk somewhere18:13
briancurtinterrylhowe: yeah i need to include that in all of this as well18:13
terrylhoweIt wasn’t working very well though18:13
openstackgerritDoug Hellmann proposed openstack/python-openstackclient: Uncap library requirements for liberty  https://review.openstack.org/17454218:13
nosleep77terrylhowe: i didn't really get much far with the floating ip thing :(18:14
nosleep77https://ask.openstack.org/en/question/65210/create-and-add-floating-ip-to-instance-via-python-api/18:14
briancurtinone of the things i had worked on was using the same APIs but with the ability to bypass some of the object creation stuff and get JSON back. it wasn't fully transformed to make the changes that we get out of resource properties, but it should be able to do that. some middle ground in all of that is potentially what i think would be beneficial18:15
terrylhoweI’ve been going through neutron to make and associate ips nosleep77 It has been a while since I went through nova at least you got some answer there18:17
nosleep77terrylhowe: yeah but i tried telling it that ext-net is the pool. maybe i'm doing it wrong18:17
nosleep77terrylhowe: actually i'm using neutron as well... so maybe this is not the right way to go? i'm using icehouse18:18
terrylhoweit would at least make it a little more obvious what you are doing. nosleep77 the only real example of that I have uses the sdk at the moment https://github.com/stackforge/python-openstacksdk/blob/master/examples/network.py18:20
openstackgerritOpenStack Proposal Bot proposed stackforge/python-openstacksdk: Updated from global requirements  https://review.openstack.org/17455418:26
sigmavirus24briancurtin: so I actually have a couple ideas of how to handle the two layer way of doing this18:26
sigmavirus24but I need to see how well they'll work with what we have etc.18:26
sigmavirus24I think the least intrusive way might be to use the UserPreference object but I can understand if there objections to that approach18:27
terrylhowesigmavirus24: https://github.com/stackforge/python-openstacksdk/blob/master/openstack/network/v2/thin.py was my experiment.  It worked, but was kind of a pain to use as I recall18:34
terrylhoweI started a POC with OSC and gave up18:35
*** terrylhowe has quit IRC18:36
*** terrylhowe has joined #openstack-sdks18:37
sigmavirus24terrylhowe: I have a lot of work to do =P18:39
terrylhoweI thought you were investigating layering the sdk sigmavirus24 not suggesting you do anythin with it18:41
sigmavirus24terrylhowe: yes18:47
sigmavirus24=P18:47
sigmavirus24I have lots of things to do is all18:47
sigmavirus24And this is one of those things I want to work on18:47
*** trown|lunch is now known as trown18:54
openstackgerritTerry Howe proposed openstack/python-openstackclient: Functional tests run with less customization  https://review.openstack.org/17456619:00
terrylhowestevemar: ^^ I made those changes we were talking about earlier19:00
terrylhowethe tests run at random times, so I made one test for containers that runs all the steps so we can depend on the env19:01
terrylhoweIf you are okay with this, I can update the other tests19:02
-openstackstatus- NOTICE: gerrit has been restarted to clear a problem with its event stream. any gerrit changes updated or approved between 19:14 and 19:46 utc will need to be rechecked or have their approval reapplied for zuul to pick them up19:47
etoewsbriancurtin: wanna give this another look when you have a minute? https://review.openstack.org/#/c/164061/20:10
briancurtinetoews: will do20:10
briancurtinetoews: i thought stack_name was going to be name?20:16
etoewsme too! i though i changed it.20:17
etoewsahhhh ffs20:17
*** aufi has quit IRC20:20
briancurtinugh, the combination of unittest2, testtools, and probably something else means subtest doesn't work20:25
briancurtinthat would have been perfect to reduce a ton of these tests. still going to try and make it work so we don't need two different tests just to flip a bool being sent in20:29
etoewsterrylhowe: what does this comment mean? is it still applicable? can i remove it? https://github.com/stackforge/python-openstacksdk/blob/master/openstack/orchestration/v1/stack.py#L2420:30
*** pm90_ has quit IRC20:35
openstackgerritEverett Toews proposed stackforge/python-openstacksdk: Create stack  https://review.openstack.org/16406121:02
*** trown is now known as trown|outttypeww21:13
*** mattfarina has quit IRC21:31
*** jamielennox|away is now known as jamielennox21:39
*** stevemar has quit IRC21:39
*** mattfarina has joined #openstack-sdks22:03
*** mattfarina has quit IRC22:05
*** sigmavirus24 is now known as sigmavirus24_awa22:12
terrylhoweetoews: that comment just means we need to write special methods like you did for create.  Are there any others?22:41
*** bknudson has quit IRC22:43
*** terrylhowe has left #openstack-sdks22:59
*** chlong has joined #openstack-sdks23:01
*** terrylhowe has joined #openstack-sdks23:04
openstackgerritMerged stackforge/python-openstacksdk: Create stack  https://review.openstack.org/16406123:10
*** stevemar has joined #openstack-sdks23:12
*** britthouser has quit IRC23:12
*** stevemar has quit IRC23:17

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