Friday, 2015-04-24

*** pm90_ has quit IRC00:07
*** etoews has quit IRC01:19
*** bknudson has joined #openstack-sdks01:21
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add a doc that dictates backwards incompatible changes  https://review.openstack.org/17704601:27
openstackgerritTerry Howe proposed stackforge/python-openstacksdk: Add post hook file for a functional test gate  https://review.openstack.org/17704801:43
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Remove run_tests.sh  https://review.openstack.org/17706603:08
dtroyerstevemar: goos catch on the room...03:18
dtroyerso 177046 has whitepace ;)03:18
dtroyerstevemar: what about the other stuff in tools/ ?03:20
stevemargot damn whitespace03:23
stevemari'll change the "To be removed in:" to "Removed in: TBD"03:24
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Add a doc that dictates backwards incompatible changes  https://review.openstack.org/17704603:25
stevemarwe can update it when we actually drop the old functionality03:25
dtroyerthat works03:27
dtroyeror 'a release after <date>'03:27
stevemarup to you03:56
*** subscope_ has joined #openstack-sdks04:30
*** terrylhowe has quit IRC05:10
*** Qiming has joined #openstack-sdks05:53
Qiminghello, sdk experts05:53
Qiminga question about using sdk05:54
Qimingthere are object interface and service interface exposed from sdk, which one is the recommended way for users?05:54
Qimingto be more specific, take creating a nova server as an example05:56
QimingI can do 'obj = server.Server.new(**params)' followed by a 'obj.create(session)'05:57
Qimingor alternately, I can call 'connection.compute.create_server(**params)'05:57
*** aufi has joined #openstack-sdks06:02
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Remove references to venv  https://review.openstack.org/17708606:06
*** subscope_ has quit IRC06:11
openstackgerritSteve Martinelli proposed openstack/python-openstackclient: Remove references to venv  https://review.openstack.org/17708606:15
*** stevemar has quit IRC06:32
*** chlong has quit IRC06:39
*** elynn has quit IRC07:33
*** Qiming has quit IRC10:13
*** trown|outttypeww is now known as trown10:27
*** trown is now known as trown|afk11:45
*** etoews has joined #openstack-sdks12:28
*** edleafe is now known as figleaf12:41
*** bknudson has quit IRC12:42
*** terrylhowe has joined #openstack-sdks13:13
*** mattfarina has joined #openstack-sdks13:27
*** bknudson has joined #openstack-sdks13:44
*** Qiming has joined #openstack-sdks13:56
*** stevemar has joined #openstack-sdks13:57
*** sigmavirus24_awa is now known as sigmavirus2414:03
*** samueldmq has joined #openstack-sdks14:23
samueldmqmorning :)14:24
samueldmqdoes osclient implement keystone sessions to be in use by other services ?14:24
samueldmqs/implement/use14:24
stevemarsamueldmq, i think so14:34
*** Miouge has quit IRC14:35
openstackgerritMerged openstack/python-openstackclient: Add a doc that dictates backwards incompatible changes  https://review.openstack.org/17704614:57
openstackgerritMerged openstack/python-openstackclient: Remove run_tests.sh  https://review.openstack.org/17706614:57
*** pm90_ has joined #openstack-sdks14:58
*** pm90_ has quit IRC14:58
*** pm90_ has joined #openstack-sdks14:59
*** elynn has joined #openstack-sdks15:11
dtroyersamueldmq: OSC consumes ksc Session directly in its ClientManager.  plugins are encouraged to use that  for their REST communication.15:31
stevemardhellmann, 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-sdks15:40
briancurtinQiming: 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
Qimingthanks, briancurtin15:43
Qimingso lucky being sleepless and I am getting an answer from you15:43
Qimingbriancurtin, one more question, please15:45
briancurtinQiming: ask as many as you have!15:45
QimingI was trying a server.Server.get(...) where I want to pass a query param15:45
Qimingthe intent is to get a server with and without some details15:45
QimingI don't think that is doable today15:46
Qimingsorry, the server.Server.get() is not a good example, the actual use case is doing node.Node.get() in Senlin project15:46
briancurtinQiming: 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
briancurtinbetter use of query params and filtering are something i'm looking at right now to bring some commonality to them15:47
Qiminggreat, with the function call interface, I can pass whatever params the server side understands?15:48
briancurtinQiming: 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 that15:48
Qimingcool15:49
Qimingany news on having openstacksdk wearing the 'openstack' hat?15:50
briancurtinQiming: 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 done15:51
Qimingunderstood15:52
Qimingbtw, if function call interface is the recommended way to use sdk, maybe this wiki needs a change: https://wiki.openstack.org/wiki/PythonOpenStackSDK/ClassDesignDiscussion15:52
Qimingit gives me the impression that the top level abstraction is Resource and the examples/ subdirectory is showing the usage that way15:53
briancurtinQiming: 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
Qimingtotally understandable, that is how a great project grows15:54
briancurtinQiming: 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 soon15:54
Qimingcool15:55
sdaguedtroyer: 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
stevemardtroyer, 1.0.3 should be good15:56
stevemarerrr... sdague, ^15:56
sdaguestevemar: could we get a global-requirements bump then?15:59
sdagueis 1.0.2 also no good?15:59
stevemarsdague, i thought it wasn't in global req... and that stack.sh pulls its own version16:00
sdagueno, we stopped doing that, because managing versions in devstack is no desired16:01
*** Miouge has quit IRC16:01
sdaguewe have a pip_install_gr16:01
sdaguethat installs a g-r compatible version16:01
sdagueso then we can have 1 list of all the requirements16:01
stevemarsdague, whats the version of ksc in stable/kilo?16:02
stevemarpython-keystoneclient>=1.1.0,<1.4.016:03
stevemarand osc is... python-openstackclient>=1.0.0,<1.1.016:03
sdagueright, but 1.0.1 definitely doesn't work16:03
*** aufi has quit IRC16:04
sdagueI had a box I was testing grenade juno -> kilo on, which had 1.0.116:04
sdaguewhen I tried to go kilo -> liberty, stack.sh didn't run16:04
stevemarsdague, 1.0.2 will also fail https://github.com/openstack/python-openstackclient/blob/1.0.2/requirements.txt16:04
sdaguewhy will it fail?16:04
stevemaractually, if it pulls in ksc > 0.11.1... which it should16:07
sdagueok, I'm going to propose 1.0.3 min16:08
*** Qiming has quit IRC16:18
*** pm90_ has quit IRC16:28
*** bnemec is now known as beekneemech16:54
*** pm90_ has joined #openstack-sdks16:59
*** pm90_ has quit IRC17:01
*** pm90_ has joined #openstack-sdks17:01
*** pm90_ has quit IRC17:02
*** pm90_ has joined #openstack-sdks17:03
*** britthouser has joined #openstack-sdks17:10
*** britthou_ has quit IRC17:12
*** VeggieMeat has quit IRC17:29
*** VeggieMeat has joined #openstack-sdks17:29
*** britthou_ has joined #openstack-sdks18:08
*** britthouser has quit IRC18:09
*** aufi has joined #openstack-sdks18:50
*** trown|afk is now known as trown|outttypeww19:24
*** pm90_ has quit IRC20:00
*** aufi has quit IRC20:08
*** nosleep77 has joined #openstack-sdks20:11
*** pm90_ has joined #openstack-sdks20:22
*** pm90_ has quit IRC20:22
*** pm90_ has joined #openstack-sdks20:23
openstackgerritMerged openstack/python-openstackclient: Remove references to venv  https://review.openstack.org/17708620:34
openstackgerritMerged stackforge/python-openstacksdk: Add post hook file for a functional test gate  https://review.openstack.org/17704820:39
*** mattfarina has quit IRC20:45
*** britthou_ has quit IRC21:01
*** figleaf is now known as edleafe21:25
*** bknudson has quit IRC21:49
*** stevemar has quit IRC21:53
*** pm90_ has quit IRC21:53
openstackgerritTerry Howe proposed openstack/python-openstackclient: Use OCC Environment Variable Configuration  https://review.openstack.org/17294122:19
openstackgerritTerry Howe proposed openstack/python-openstackclient: Use OCC Environment Variable Configuration  https://review.openstack.org/17294122:20
*** sigmavirus24 is now known as sigmavirus24_awa23:25

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