*** pm90_ has joined #openstack-sdks | 00:00 | |
*** pm90_ has quit IRC | 00:31 | |
*** britthouser has quit IRC | 00:32 | |
*** pm90_ has joined #openstack-sdks | 00:43 | |
terrylhowe | Hmm v.1.1 nosleep77 I wonder if that is the problem. | 00:44 |
---|---|---|
*** pm90_ has quit IRC | 00:56 | |
*** pm90_ has joined #openstack-sdks | 00:57 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 01:11 | |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/python-openstackclient: Better help for --nic in create server https://review.openstack.org/174091 | 01:15 |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/python-openstackclient: Better help for --nic in create server https://review.openstack.org/174091 | 01:16 |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/python-openstackclient: Better help for --nic in create server https://review.openstack.org/174091 | 01:17 |
*** pm90_ has quit IRC | 01:17 | |
nosleep77 | terrylhowe: for which one? here are previous steps > http://paste.openstack.org/show/204055/ | 03:10 |
*** britthouser has joined #openstack-sdks | 03:11 | |
*** britthou_ has joined #openstack-sdks | 03:13 | |
*** britthouser has quit IRC | 03:16 | |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Defer client imports https://review.openstack.org/173098 | 03:41 |
*** terrylhowe has quit IRC | 03:54 | |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Begin documenting --os-cloud https://review.openstack.org/161093 | 04:25 |
openstackgerrit | Merged openstack/python-openstackclient: Add support to specify volume quotas per volume type https://review.openstack.org/170366 | 04:37 |
*** stevemar has joined #openstack-sdks | 05:02 | |
*** etoews has quit IRC | 05:09 | |
*** stevemar has quit IRC | 05:40 | |
*** stevemar has joined #openstack-sdks | 05:40 | |
*** bnemec has quit IRC | 06:18 | |
*** stevemar has quit IRC | 06:25 | |
*** stevemar has joined #openstack-sdks | 06:54 | |
*** stevemar has quit IRC | 07:00 | |
*** bnemec has joined #openstack-sdks | 07:00 | |
*** chlong has quit IRC | 07:40 | |
*** aufi has joined #openstack-sdks | 07:57 | |
*** nosleep77 has quit IRC | 09:30 | |
*** aufi has quit IRC | 10:11 | |
*** terrylhowe has joined #openstack-sdks | 11:06 | |
*** aufi has joined #openstack-sdks | 11:10 | |
*** aufi has quit IRC | 11:12 | |
*** aufi has joined #openstack-sdks | 11:12 | |
*** jamielennox is now known as jamielennox|away | 11:47 | |
*** trown|outttypeww is now known as trown | 12:02 | |
*** stevemar has joined #openstack-sdks | 12:21 | |
openstackgerrit | Terry Howe proposed stackforge/python-openstacksdk: Add module name to repr string https://review.openstack.org/174350 | 12:26 |
*** pm90_ has joined #openstack-sdks | 12:37 | |
*** pm90_ has quit IRC | 12:41 | |
*** pm90_ has joined #openstack-sdks | 12:42 | |
*** bknudson has joined #openstack-sdks | 12:52 | |
*** trown is now known as trown|brb | 13:30 | |
*** trown|brb is now known as trown | 13:34 | |
*** mattfarina has joined #openstack-sdks | 13:47 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 13:56 | |
*** HenryG_ is now known as HenryG | 14:11 | |
openstackgerrit | Terry Howe proposed stackforge/python-openstacksdk: Add more detail to method not supported exception https://review.openstack.org/174409 | 14:37 |
*** britthou_ has quit IRC | 14:37 | |
stevemar | dtroyer, interesting new bug about osc's help | 14:38 |
stevemar | https://bugs.launchpad.net/python-openstackclient/+bug/1444983 | 14:41 |
openstack | Launchpad bug 1444983 in python-openstackclient "-h and --help are not recognized and revert to top level help" [Medium,Confirmed] | 14:41 |
openstackgerrit | Terry Howe proposed stackforge/python-openstacksdk: Add more detail to method not supported exception https://review.openstack.org/174409 | 14:57 |
*** pm90_ has quit IRC | 15:01 | |
*** nosleep77 has joined #openstack-sdks | 15:12 | |
dtroyer | stevemar: heh, that's how it is designed | 15:25 |
stevemar | dtroyer, oye | 15:26 |
*** britthouser has joined #openstack-sdks | 15:28 | |
stevemar | sigmavirus24, re: image list, what do you think of: https://review.openstack.org/#/c/173420/ rather than specifying a limit, it actually handles the pagination | 15:30 |
stevemar | reply at your leisure, i added you to the review | 15:30 |
sigmavirus24 | stevemar: I guess I'm just curious why we don't use glanceclient to handle this for us | 15:32 |
*** aufi has quit IRC | 15:33 | |
sigmavirus24 | Also I can't remember if we support marker on both versions of the API or not | 15:33 |
* sigmavirus24 goes to check | 15:33 | |
sigmavirus24 | yeah we do | 15:34 |
*** pm90_ has joined #openstack-sdks | 15:35 | |
stevemar | sigmavirus24, i think dtroyer was trying to be less reliant on the client libs for some of the more basic functions, like listing | 15:37 |
stevemar | the hope was that we could use openstacksdk for this, but the timing is a bit off | 15:37 |
*** etoews has joined #openstack-sdks | 15:39 | |
*** etoews has quit IRC | 15:39 | |
dtroyer | glanceclient 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 layer | 15:40 |
dtroyer | I'd still love to dump glancelcient first though | 15:40 |
sigmavirus24 | yeah So | 15:41 |
sigmavirus24 | If I make the SDK awesome and do glance stuff well, can we just use that instead? | 15:41 |
sigmavirus24 | Or is the SDK still too young for us to use at all? | 15:41 |
dtroyer | sigmavirus24: 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 OSC | 15:45 |
briancurtin | sigmavirus24: 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 soon | 15:45 |
sigmavirus24 | dtroyer: ah so have a two-layered API | 15:45 |
briancurtin | I 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 min | 15:46 |
* sigmavirus24 has some more digging into the sdk to do | 15:48 | |
sigmavirus24 | but I'd imagine having the ORM layer use the lower level might be a better way for the SDK to work | 15:49 |
sigmavirus24 | anyway | 15:49 |
sigmavirus24 | we can chat in ~40 min about that | 15:49 |
dtroyer | sigmavirus24: that was my original proposal | 15:51 |
dtroyer | openstackclient.api is basically what that layer looked like | 15:51 |
* sigmavirus24 is not very well versed on the internals of osc or os-sdk | 15:52 | |
* dtroyer watches impatiently as sigmavirus24 digests N-thousand lines of code… | 15:53 | |
*** bknudson has quit IRC | 15:53 | |
sigmavirus24 | Yeah, all I mean is that it's how I would think that kind of API would be consumed | 15:55 |
sigmavirus24 | I have a separate design idea but I'm not sure how well it would work | 15:56 |
dtroyer | I'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-sdks | 15:58 | |
*** etoews has joined #openstack-sdks | 16:05 | |
*** britthouser has quit IRC | 16:17 | |
openstackgerrit | Terry Howe proposed openstack/python-openstackclient: Handle the pagination for image list https://review.openstack.org/173420 | 16:17 |
terrylhowe | stevemar: 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 |
stevemar | i did not see that | 16:21 |
terrylhowe | it’s nice because you just run tox -e functional | 16:21 |
terrylhowe | downside is all the other tests need to get moved | 16:22 |
stevemar | i don't think we have to move things around | 16:22 |
stevemar | that's all handled by .test.conf | 16:22 |
stevemar | and tox | 16:23 |
terrylhowe | stevemar: I’m also thinking once this —os-cloud thing goes through, osc func tests can use that instead of the custom creds directory | 16:27 |
stevemar | fo sho | 16:29 |
*** britthouser has joined #openstack-sdks | 16:53 | |
*** britthouser has quit IRC | 17:03 | |
*** britthouser has joined #openstack-sdks | 17:04 | |
*** aufi has joined #openstack-sdks | 17:13 | |
*** britthouser has quit IRC | 17:28 | |
briancurtin | sigmavirus24: sorry it took longer than i expected, but i'm back. what's up/how can i help | 17:30 |
*** britthouser has joined #openstack-sdks | 17:36 | |
*** britthouser has quit IRC | 17:38 | |
*** britthouser has joined #openstack-sdks | 17:46 | |
*** britthouser has quit IRC | 17:53 | |
*** trown is now known as trown|lunch | 17:58 | |
*** britthouser has joined #openstack-sdks | 18:07 | |
sigmavirus24 | briancurtin: 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 sdk | 18:11 |
sigmavirus24 | but dtroyer mentioned that he wanted to be able to skip the ORM layer of the sdk and such so | 18:11 |
briancurtin | sigmavirus24: 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 can | 18:12 |
terrylhowe | I did have a thin layer WIP in the sdk somewhere | 18:13 |
briancurtin | terrylhowe: yeah i need to include that in all of this as well | 18:13 |
terrylhowe | It wasn’t working very well though | 18:13 |
openstackgerrit | Doug Hellmann proposed openstack/python-openstackclient: Uncap library requirements for liberty https://review.openstack.org/174542 | 18:13 |
nosleep77 | terrylhowe: i didn't really get much far with the floating ip thing :( | 18:14 |
nosleep77 | https://ask.openstack.org/en/question/65210/create-and-add-floating-ip-to-instance-via-python-api/ | 18:14 |
briancurtin | one 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 beneficial | 18:15 |
terrylhowe | I’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 there | 18:17 |
nosleep77 | terrylhowe: yeah but i tried telling it that ext-net is the pool. maybe i'm doing it wrong | 18:17 |
nosleep77 | terrylhowe: actually i'm using neutron as well... so maybe this is not the right way to go? i'm using icehouse | 18:18 |
terrylhowe | it 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.py | 18:20 |
openstackgerrit | OpenStack Proposal Bot proposed stackforge/python-openstacksdk: Updated from global requirements https://review.openstack.org/174554 | 18:26 |
sigmavirus24 | briancurtin: so I actually have a couple ideas of how to handle the two layer way of doing this | 18:26 |
sigmavirus24 | but I need to see how well they'll work with what we have etc. | 18:26 |
sigmavirus24 | I think the least intrusive way might be to use the UserPreference object but I can understand if there objections to that approach | 18:27 |
terrylhowe | sigmavirus24: 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 recall | 18:34 |
terrylhowe | I started a POC with OSC and gave up | 18:35 |
*** terrylhowe has quit IRC | 18:36 | |
*** terrylhowe has joined #openstack-sdks | 18:37 | |
sigmavirus24 | terrylhowe: I have a lot of work to do =P | 18:39 |
terrylhowe | I thought you were investigating layering the sdk sigmavirus24 not suggesting you do anythin with it | 18:41 |
sigmavirus24 | terrylhowe: yes | 18:47 |
sigmavirus24 | =P | 18:47 |
sigmavirus24 | I have lots of things to do is all | 18:47 |
sigmavirus24 | And this is one of those things I want to work on | 18:47 |
*** trown|lunch is now known as trown | 18:54 | |
openstackgerrit | Terry Howe proposed openstack/python-openstackclient: Functional tests run with less customization https://review.openstack.org/174566 | 19:00 |
terrylhowe | stevemar: ^^ I made those changes we were talking about earlier | 19:00 |
terrylhowe | the tests run at random times, so I made one test for containers that runs all the steps so we can depend on the env | 19:01 |
terrylhowe | If you are okay with this, I can update the other tests | 19: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 up | 19:47 | |
etoews | briancurtin: wanna give this another look when you have a minute? https://review.openstack.org/#/c/164061/ | 20:10 |
briancurtin | etoews: will do | 20:10 |
briancurtin | etoews: i thought stack_name was going to be name? | 20:16 |
etoews | me too! i though i changed it. | 20:17 |
etoews | ahhhh ffs | 20:17 |
*** aufi has quit IRC | 20:20 | |
briancurtin | ugh, the combination of unittest2, testtools, and probably something else means subtest doesn't work | 20:25 |
briancurtin | that 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 in | 20:29 |
etoews | terrylhowe: 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#L24 | 20:30 |
*** pm90_ has quit IRC | 20:35 | |
openstackgerrit | Everett Toews proposed stackforge/python-openstacksdk: Create stack https://review.openstack.org/164061 | 21:02 |
*** trown is now known as trown|outttypeww | 21:13 | |
*** mattfarina has quit IRC | 21:31 | |
*** jamielennox|away is now known as jamielennox | 21:39 | |
*** stevemar has quit IRC | 21:39 | |
*** mattfarina has joined #openstack-sdks | 22:03 | |
*** mattfarina has quit IRC | 22:05 | |
*** sigmavirus24 is now known as sigmavirus24_awa | 22:12 | |
terrylhowe | etoews: that comment just means we need to write special methods like you did for create. Are there any others? | 22:41 |
*** bknudson has quit IRC | 22:43 | |
*** terrylhowe has left #openstack-sdks | 22:59 | |
*** chlong has joined #openstack-sdks | 23:01 | |
*** terrylhowe has joined #openstack-sdks | 23:04 | |
openstackgerrit | Merged stackforge/python-openstacksdk: Create stack https://review.openstack.org/164061 | 23:10 |
*** stevemar has joined #openstack-sdks | 23:12 | |
*** britthouser has quit IRC | 23:12 | |
*** stevemar has quit IRC | 23:17 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!