*** pm90_ has quit IRC | 00:07 | |
*** etoews has quit IRC | 01:19 | |
*** bknudson has joined #openstack-sdks | 01:21 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Add a doc that dictates backwards incompatible changes https://review.openstack.org/177046 | 01:27 |
---|---|---|
openstackgerrit | Terry Howe proposed stackforge/python-openstacksdk: Add post hook file for a functional test gate https://review.openstack.org/177048 | 01:43 |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Remove run_tests.sh https://review.openstack.org/177066 | 03:08 |
dtroyer | stevemar: goos catch on the room... | 03:18 |
dtroyer | so 177046 has whitepace ;) | 03:18 |
dtroyer | stevemar: what about the other stuff in tools/ ? | 03:20 |
stevemar | got damn whitespace | 03:23 |
stevemar | i'll change the "To be removed in:" to "Removed in: TBD" | 03:24 |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Add a doc that dictates backwards incompatible changes https://review.openstack.org/177046 | 03:25 |
stevemar | we can update it when we actually drop the old functionality | 03:25 |
dtroyer | that works | 03:27 |
dtroyer | or 'a release after <date>' | 03:27 |
stevemar | up to you | 03:56 |
*** subscope_ has joined #openstack-sdks | 04:30 | |
*** terrylhowe has quit IRC | 05:10 | |
*** Qiming has joined #openstack-sdks | 05:53 | |
Qiming | hello, sdk experts | 05:53 |
Qiming | a question about using sdk | 05:54 |
Qiming | there are object interface and service interface exposed from sdk, which one is the recommended way for users? | 05:54 |
Qiming | to be more specific, take creating a nova server as an example | 05:56 |
Qiming | I can do 'obj = server.Server.new(**params)' followed by a 'obj.create(session)' | 05:57 |
Qiming | or alternately, I can call 'connection.compute.create_server(**params)' | 05:57 |
*** aufi has joined #openstack-sdks | 06:02 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Remove references to venv https://review.openstack.org/177086 | 06:06 |
*** subscope_ has quit IRC | 06:11 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient: Remove references to venv https://review.openstack.org/177086 | 06:15 |
*** stevemar has quit IRC | 06:32 | |
*** chlong has quit IRC | 06:39 | |
*** elynn has quit IRC | 07:33 | |
*** Qiming has quit IRC | 10:13 | |
*** trown|outttypeww is now known as trown | 10:27 | |
*** trown is now known as trown|afk | 11:45 | |
*** etoews has joined #openstack-sdks | 12:28 | |
*** edleafe is now known as figleaf | 12:41 | |
*** bknudson has quit IRC | 12:42 | |
*** terrylhowe has joined #openstack-sdks | 13:13 | |
*** mattfarina has joined #openstack-sdks | 13:27 | |
*** bknudson has joined #openstack-sdks | 13:44 | |
*** Qiming has joined #openstack-sdks | 13:56 | |
*** stevemar has joined #openstack-sdks | 13:57 | |
*** sigmavirus24_awa is now known as sigmavirus24 | 14:03 | |
*** samueldmq has joined #openstack-sdks | 14:23 | |
samueldmq | morning :) | 14:24 |
samueldmq | does osclient implement keystone sessions to be in use by other services ? | 14:24 |
samueldmq | s/implement/use | 14:24 |
stevemar | samueldmq, i think so | 14:34 |
*** Miouge has quit IRC | 14:35 | |
openstackgerrit | Merged openstack/python-openstackclient: Add a doc that dictates backwards incompatible changes https://review.openstack.org/177046 | 14:57 |
openstackgerrit | Merged openstack/python-openstackclient: Remove run_tests.sh https://review.openstack.org/177066 | 14:57 |
*** pm90_ has joined #openstack-sdks | 14:58 | |
*** pm90_ has quit IRC | 14:58 | |
*** pm90_ has joined #openstack-sdks | 14:59 | |
*** elynn has joined #openstack-sdks | 15:11 | |
dtroyer | samueldmq: OSC consumes ksc Session directly in its ClientManager. plugins are encouraged to use that for their REST communication. | 15:31 |
stevemar | dhellmann, quick request... can you verify that i'm not doing anything wonky here: https://review.openstack.org/#/c/177086/ ? | 15:36 |
*** Miouge has joined #openstack-sdks | 15:40 | |
briancurtin | Qiming: conn.compute.create_server is the higher level interface that users will use (your example with new and passing in a session is the lower level, used to build up the higher level) | 15:42 |
Qiming | thanks, briancurtin | 15:43 |
Qiming | so lucky being sleepless and I am getting an answer from you | 15:43 |
Qiming | briancurtin, one more question, please | 15:45 |
briancurtin | Qiming: ask as many as you have! | 15:45 |
Qiming | I was trying a server.Server.get(...) where I want to pass a query param | 15:45 |
Qiming | the intent is to get a server with and without some details | 15:45 |
Qiming | I don't think that is doable today | 15:46 |
Qiming | sorry, the server.Server.get() is not a good example, the actual use case is doing node.Node.get() in Senlin project | 15:46 |
briancurtin | Qiming: not today, but there's a few things going on. if you want the server's /detail resource, ServerDetail is another type of resource you can get. also from the higher level connection we're going to have conn.compute.get_server(..., details=True) so you can flip between detailed or not (and the same for listing all servers) | 15:47 |
briancurtin | better use of query params and filtering are something i'm looking at right now to bring some commonality to them | 15:47 |
Qiming | great, with the function call interface, I can pass whatever params the server side understands? | 15:48 |
briancurtin | Qiming: not right now - we don't pass through the extra parameters to attach them onto the URL. you would eventually be able to do something like that | 15:48 |
Qiming | cool | 15:49 |
Qiming | any news on having openstacksdk wearing the 'openstack' hat? | 15:50 |
briancurtin | Qiming: i haven't had time to figure that out, what it means, what it does for the project, if/when we should move, etc. been too busy trying to get more code done | 15:51 |
Qiming | understood | 15:52 |
Qiming | btw, if function call interface is the recommended way to use sdk, maybe this wiki needs a change: https://wiki.openstack.org/wiki/PythonOpenStackSDK/ClassDesignDiscussion | 15:52 |
Qiming | it gives me the impression that the top level abstraction is Resource and the examples/ subdirectory is showing the usage that way | 15:53 |
briancurtin | Qiming: oh yeah we should probably clean some of the wiki up - there's some stuff there from before we made the decisions we're working with today. we also need to get better with examples now that the higher level is more complete (it wasn't when we wrote the initial examples) | 15:53 |
Qiming | totally understandable, that is how a great project grows | 15:54 |
briancurtin | Qiming: we're working on stabilizing the high-level interface as we converge on how the APIs should look, and we'll rearrange some of teh examples to promote higher level usage pretty soon | 15:54 |
Qiming | cool | 15:55 |
sdague | dtroyer: do you know what the actual osc minimum is for devstack stable/kilo, because it's not 1.0.1 (that face plants) | 15:55 |
stevemar | dtroyer, 1.0.3 should be good | 15:56 |
stevemar | errr... sdague, ^ | 15:56 |
sdague | stevemar: could we get a global-requirements bump then? | 15:59 |
sdague | is 1.0.2 also no good? | 15:59 |
stevemar | sdague, i thought it wasn't in global req... and that stack.sh pulls its own version | 16:00 |
sdague | no, we stopped doing that, because managing versions in devstack is no desired | 16:01 |
*** Miouge has quit IRC | 16:01 | |
sdague | we have a pip_install_gr | 16:01 |
sdague | that installs a g-r compatible version | 16:01 |
sdague | so then we can have 1 list of all the requirements | 16:01 |
stevemar | sdague, whats the version of ksc in stable/kilo? | 16:02 |
stevemar | python-keystoneclient>=1.1.0,<1.4.0 | 16:03 |
stevemar | and osc is... python-openstackclient>=1.0.0,<1.1.0 | 16:03 |
sdague | right, but 1.0.1 definitely doesn't work | 16:03 |
*** aufi has quit IRC | 16:04 | |
sdague | I had a box I was testing grenade juno -> kilo on, which had 1.0.1 | 16:04 |
sdague | when I tried to go kilo -> liberty, stack.sh didn't run | 16:04 |
stevemar | sdague, 1.0.2 will also fail https://github.com/openstack/python-openstackclient/blob/1.0.2/requirements.txt | 16:04 |
sdague | why will it fail? | 16:04 |
stevemar | actually, if it pulls in ksc > 0.11.1... which it should | 16:07 |
sdague | ok, I'm going to propose 1.0.3 min | 16:08 |
*** Qiming has quit IRC | 16:18 | |
*** pm90_ has quit IRC | 16:28 | |
*** bnemec is now known as beekneemech | 16:54 | |
*** pm90_ has joined #openstack-sdks | 16:59 | |
*** pm90_ has quit IRC | 17:01 | |
*** pm90_ has joined #openstack-sdks | 17:01 | |
*** pm90_ has quit IRC | 17:02 | |
*** pm90_ has joined #openstack-sdks | 17:03 | |
*** britthouser has joined #openstack-sdks | 17:10 | |
*** britthou_ has quit IRC | 17:12 | |
*** VeggieMeat has quit IRC | 17:29 | |
*** VeggieMeat has joined #openstack-sdks | 17:29 | |
*** britthou_ has joined #openstack-sdks | 18:08 | |
*** britthouser has quit IRC | 18:09 | |
*** aufi has joined #openstack-sdks | 18:50 | |
*** trown|afk is now known as trown|outttypeww | 19:24 | |
*** pm90_ has quit IRC | 20:00 | |
*** aufi has quit IRC | 20:08 | |
*** nosleep77 has joined #openstack-sdks | 20:11 | |
*** pm90_ has joined #openstack-sdks | 20:22 | |
*** pm90_ has quit IRC | 20:22 | |
*** pm90_ has joined #openstack-sdks | 20:23 | |
openstackgerrit | Merged openstack/python-openstackclient: Remove references to venv https://review.openstack.org/177086 | 20:34 |
openstackgerrit | Merged stackforge/python-openstacksdk: Add post hook file for a functional test gate https://review.openstack.org/177048 | 20:39 |
*** mattfarina has quit IRC | 20:45 | |
*** britthou_ has quit IRC | 21:01 | |
*** figleaf is now known as edleafe | 21:25 | |
*** bknudson has quit IRC | 21:49 | |
*** stevemar has quit IRC | 21:53 | |
*** pm90_ has quit IRC | 21:53 | |
openstackgerrit | Terry Howe proposed openstack/python-openstackclient: Use OCC Environment Variable Configuration https://review.openstack.org/172941 | 22:19 |
openstackgerrit | Terry Howe proposed openstack/python-openstackclient: Use OCC Environment Variable Configuration https://review.openstack.org/172941 | 22:20 |
*** sigmavirus24 is now known as sigmavirus24_awa | 23:25 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!