Earlier  
Posted Nick Remark
#openstack-sdks - 2017-09-07
08:12:28 ldl yes
08:12:41 ldl it report error
08:12:58 ldl because I did not get the correct username
08:13:46 ldl I am looking for a mysql visualize tool to add data to my myswal
10:40:51 ldl HttpException: Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-6ed9ff3f-d04f-43e9-aa9b-5bc03793134c), Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.
10:41:04 ldl I can not login the openstack sdk still
10:41:07 ldl get this error
10:41:32 ldl May I ask a other question?
10:43:33 ldl the openstack user's password is use which encryption method?
11:23:03 ldl some friend can help me with this?
11:23:03 ldl https://ask.openstack.org/en/question/110171/whats-the-encryption-method-does-the-openstack-user-password-use/
11:29:15 seanhandley ldl: https://developer.openstack.org/sdks/python/openstacksdk/users/connection.html Try adding 'domain': 'default' to the auth args (see the link for the example code)
11:29:41 ldl ok, i am tru=ying
12:20:57 briancurtin ldl: on your original question, figuring out of the connection will work, seanhandley is right that you generally just use it, but if you had some need to know before even trying anything that the creds will work, you could call `conn.authorize()` given your example
12:22:30 briancurtin ldl: you don’t encrypt anything. you have to know what the password is and then you just send the string
12:23:13 briancurtin ldl: you probably need project_domain_id or project_domain_name in your Connection args
12:23:43 ldl i don't know some params means what
12:23:57 ldl such as domain name
12:25:18 briancurtin ldl: maybe try project_domain_name=“default”? I’m not really sure. your cloud is configured in some way and you need the credentials the sdk connects with to be the same
12:25:56 amotoki I think perhaps project_domain_id=“default” or project_domain_name=“Default”
12:26:15 amotoki the name of the default domain is capitalized "Default"
12:28:05 amotoki briancurtin: btw, I think we need to update the connection docs to have keystone v3 :)
12:29:27 briancurtin amotoki: is there a good keystone v3 reference we can point to instead of documenting it directly in the sdk docs? I’ve wanted to have a better set of params there, but this is really something that just gets passed off to keystoneauth, so rather than maintain two separate sets of args i’d rather tell people straight from the source in KSA
12:30:25 amotoki briancurtin: ah, good point!
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 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:34:34 briancurtin need. something like that
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 Hi, friends, why I can not forloop the conn.compute.servers() ?
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: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 like this
09:00:24 ldl https://developer.openstack.org/sdks/python/openstacksdk/users/guides/cluster/profile_type.html
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,

Earlier   Later