Earlier  
Posted Nick Remark
#openstack-sdks - 2017-09-07
12:32:00 amotoki briancurtin: keystoneauth docs like https://docs.openstack.org/keystoneauth/latest/using-sessions.html and https://docs.openstack.org/keystoneauth/latest/authentication-plugins.html are possible candidates, but it might be a bit advanced version for regular users
12:32:24 amotoki i see two aspects. the one is how to reduce duplication and refer to e.g. keystoneauth docs.
12:32:44 amotoki the other point is how we can provide a simple example to regular users.
12:33:29 amotoki IMHO basic password plugin examples are worth documented in openstacksdk docs. for more advanced usage, keystoneauth docs can be referred.
12:34:34 briancurtin need. something like that
12:34:34 briancurtin amotoki: so i think the latter is one we could solve by having some better “user guide” like examples that just show in code how common v3 situations work. another is that i’d maybe link to something like https://docs.openstack.org/keystoneauth/latest/api/keystoneauth1.identity.v3.html#keystoneauth1.identity.v3.PasswordMethod straight from the Connection args saying that those parameters are what you
12:35:00 briancurtin “straight from the Connection args” meaning from the Connection docstring so it gets in the actual API docs
12:36:17 amotoki briancurtin: yeah, I totally agree. what we need to document in the openstacksdk docs is that the SDK passes these arguments to keystoneauth directly
12:37:56 amotoki briancurtin: I can propose it once nobody propose an improvement. I have more prioritized things until the PTG is over.
12:38:45 briancurtin amotoki: i’m creating a launchpad bug right now, and then maybe i can write this up soon as i’m busy the rest of this week (but i do need to work on a bunch of doc things soon)
12:40:02 amotoki briancurtin: nice. I am glad to help reviewing and checking it works anyway
12:42:15 briancurtin amotoki: https://bugs.launchpad.net/python-openstacksdk/+bug/1715628 i assigned it to myself as a reminder to get to it soon, but if you find later on that it’s not done, let me know and we’ll figure something out
12:42:16 openstack Launchpad bug 1715628 in OpenStack SDK "Improve Connection docs for use with Keystone v3" [High,Confirmed] - Assigned to Brian Curtin (brian.curtin)
14:23:29 edleafe cdent: elmiko: I added some rough time box numbers to the PTG etherpad https://etherpad.openstack.org/p/api-ptg-queens
14:27:32 elmiko edleafe: thanks, i'm skeptical about some of the 15 minutes slots. but i think your initial swag is a good starting point
14:38:40 edleafe elmiko: yeah, well, I did that on purpose, as those could easily become rambling topics
14:43:22 elmiko edleafe: ack, probably better to estimate short then ;)
14:59:53 amotoki briancurtin: thanks. bug description looks perfect. I will add some input based on my testing if any
15:24:12 openstackgerrit Hongbin Lu proposed openstack/service-types-authority master: Update the link of Zun API reference https://review.openstack.org/501773
16:36:03 openstackgerrit Ed Leafe proposed openstack/api-wg master: Explain, simply, why extensions are bad https://review.openstack.org/491611
16:36:30 edleafe cdent: elmiko: ^^ I just removed the "first draft" wording in the commit message
16:38:08 cdent edleafe: +1
16:40:42 elmiko thanks edleafe, +1
16:47:46 elmiko edleafe: cdent: https://etherpad.openstack.org/p/api-sig-newsletter
16:49:22 cdent elmiko: maybe a link to the existing service discovery doc?
16:50:05 elmiko cdent: this one https://review.openstack.org/#/c/459405/ ?
16:50:22 cdent no, i meant the published stuff
16:50:55 cdent this one perhaps? http://specs.openstack.org/openstack/api-wg/guidelines/consuming-catalog.html
16:51:58 elmiko ok, i'm spacing cdent, where should i drop that link?
16:53:04 elmiko thanks, i thought that's what you meant but wasn't sure
16:53:25 elmiko edleafe: yes, so much yes
16:54:04 edleafe elmiko: ok, lgtm
16:54:12 elmiko thanks!
16:54:54 elmiko cdent, edleafe, safe travels to you both. see ya next week =)
16:55:28 cdent o/
16:55:44 openstackgerrit Ed Leafe proposed openstack/api-wg master: Fix typo in liaisons.json https://review.openstack.org/501808
16:56:08 edleafe cdent: elmiko: when adding reviewers I found this typo ^^
16:56:24 edleafe I think this qualifies as a slam dunk trivial fix
16:56:45 cdent slammed
16:56:59 elmiko agreed
17:08:06 openstackgerrit Merged openstack/api-wg master: Fix typo in liaisons.json https://review.openstack.org/501808
19:51:37 openstackgerrit Slawek Kaplonski proposed openstack/python-openstacksdk master: Add getting of QoS rule type details https://review.openstack.org/501855
20:02:05 briancurtin is Slawek Kaplonski in here? if so, please don’t add tons of names to reviews—half of those people don’t work on openstack anymore and some of them never worked on this project at all
20:20:39 openstackgerrit Doug Hellmann proposed openstack/cliff master: show the distribution providing the command in help output https://review.openstack.org/501863
20:28:50 dhellmann dtroyer : I promised ^^ at the start of pike. Better late than never? :-)
20:29:56 dtroyer dhellmann: before PTG is still before PTG \o/
20:30:02 dhellmann heh
20:37:17 openstackgerrit Slawek Kaplonski proposed openstack/python-openstackclient master: Add getting of QoS rule type details https://review.openstack.org/501868
20:38:10 openstackgerrit Slawek Kaplonski proposed openstack/python-openstacksdk master: Add getting of QoS rule type details https://review.openstack.org/501855
20:54:07 openstackgerrit Hongbin Lu proposed openstack/service-types-authority master: Update the link of Zun API reference https://review.openstack.org/501773
#openstack-sdks - 2017-09-08
02:40:01 openstackgerrit Jackie Truong proposed openstack/python-openstackclient master: Create/Rebuild server with trusted certificate IDs https://review.openstack.org/501926
06:29:07 openstackgerrit Huan Xiong proposed openstack/python-openstackclient master: Useless line of code in shell.py https://review.openstack.org/501966
08:00:35 openstackgerrit liyi proposed openstack/python-openstacksdk master: Add profile type ops cli https://review.openstack.org/492048
08:55:01 openstackgerrit Rui Chen proposed openstack/python-openstackclient feature/osc4: [Compute]Make column content readable for both human and machine https://review.openstack.org/493814
19:15:00 openstackgerrit Merged openstack/osc-lib master: Updated from global requirements https://review.openstack.org/500015
20:53:59 openstackgerrit Merged openstack/openstackclient master: Updated from global requirements https://review.openstack.org/488407
20:56:52 openstackgerrit Merged openstack/openstackclient master: Add python-octaviaclient https://review.openstack.org/496845
22:09:33 openstackgerrit Merged openstack/cliff master: add actual column names to error msg Closes-Bug: 1712876 https://review.openstack.org/498277
22:09:35 openstack bug 1712876 in cliff "openstack cli - show available columns" [Undecided,In progress] https://launchpad.net/bugs/1712876 - Assigned to Dan Kirkwood (dangogh)
#openstack-sdks - 2017-09-09
13:49:29 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Skip Volume v1 functional tests if v1 not present https://review.openstack.org/502241
15:45:07 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Skip Volume v1 functional tests if v1 not present https://review.openstack.org/502241
#openstack-sdks - 2017-09-11
04:00:51 ldl https://ask.openstack.org/en/question/110220/sdkexception-unable-to-establish-connection-to-httpcontroller8774-httpconnectionpoolhostcontroller-port8774-max-retries-exceeded-with-url-caused-by/
04:00:51 ldl Hi, friends, why I can not forloop the conn.compute.servers() ?
04:05:34 ldl I done it
06:56:48 ldl Where to find the conn.compute.servers() doc? if I have a server, how to use it? such as attach floating ip, stop it, delete it?
08:46:46 openstackgerrit Rui Chen proposed openstack/python-openstackclient feature/osc4: [Compute]Make column content readable for both human and machine https://review.openstack.org/493814
08:59:33 seanhandley ldl: Did you find the doc you were looking for?
08:59:57 ldl I think its simple
09:00:24 ldl https://developer.openstack.org/sdks/python/openstacksdk/users/guides/cluster/profile_type.html
09:00:24 ldl like this
09:00:47 ldl whether only two method to ussage?
09:13:22 seanhandley I'm not familiar with cluster profiles
09:13:46 seanhandley From your earlier question it sounds like you want the intro doc for compute
09:14:15 seanhandley ldl: https://developer.openstack.org/sdks/python/openstacksdk/users/guides/compute.html
09:14:30 seanhandley there's other intro user guides here: https://developer.openstack.org/sdks/python/openstacksdk/users/index.html#user-guides
09:14:54 ldl I know this, but such as the attach floating ip method,
09:15:35 ldl or attach interface in the dashboard, I did not saw in these guides
09:18:01 seanhandley ok, you need to attach a floating IP
09:20:59 seanhandley ldl: https://developer.openstack.org/draft/firstapp-openstacksdk/getting_started.html
09:21:10 seanhandley Sorry that wasn't easier to find
09:21:28 seanhandley there's an ongoing initiative to release clear 'First App' instructions for a number of SDKS
09:21:39 ldl its ok, i will read detailly
09:21:41 seanhandley but the openstacksdk doc is still in draft mode
09:21:52 seanhandley I think the examples you want are quite a way down the page
09:22:29 seanhandley but there's definitely code showing how to attach a floating IP :-)
09:23:03 ldl in the source code, right?
09:23:08 ldl I will read it
12:44:42 openstackgerrit OpenStack Proposal Bot proposed openstack/openstackclient master: Updated from global requirements https://review.openstack.org/502458
13:14:21 briancurtin ldl: that max retries error is something i’ve seen before but can’t recreate myself. not really sure what to tell you there. probably has to do with the mess of different ways that things are configured on the server side
13:15:18 briancurtin we spent years chasing our tail on figuring out what endpoints had what and what could be relied on, etc. it’s not great
14:19:05 GreenBlood Hey guys, is it possible at the moment to set a volume bootable through Shade ?
14:19:36 GreenBlood I can do it through the CLI so my cloud's api supports it but i cannot find this option in shade
14:21:01 mordred GreenBlood: looks like that's missing- should be easy to add though
14:22:00 GreenBlood yeah thats what i was thinking. I don't know if its much used as a feature generally but in my company we use it a lot to boot from custom volumes
14:24:46 GreenBlood mordred: i just noticed the --bootable switch in the "openstack volume create" help, so is it possible to use the '**kwargs' from shade.create_volume() to take advantage of that ?
14:25:54 GreenBlood or is it just expecting cinder arguments
14:27:24 mordred GreenBlood: remote: https://review.openstack.org/502479 Add method to set bootable flag on volumes
14:27:53 mordred GreenBlood: I was just looking at the api docs for cinder, and I don't see any cinder args for that - but we could also certainly add a bootable flag to create_volume too
14:28:42 GreenBlood I guess the openstack cli just does like "cinder create" then "cinder set-bootable" yeah
14:31:57 GreenBlood thanks mordred, for being so responsive each time ! :)

Earlier   Later