*** rajathagasthya has quit IRC | 00:12 | |
*** sdague has quit IRC | 00:36 | |
*** bobh has joined #openstack-sdks | 01:18 | |
*** bobh has quit IRC | 01:33 | |
*** fzdarsky__ has joined #openstack-sdks | 01:49 | |
*** fzdarsky_ has quit IRC | 01:53 | |
*** bobh has joined #openstack-sdks | 01:56 | |
*** annp has joined #openstack-sdks | 02:03 | |
*** gildub has joined #openstack-sdks | 02:09 | |
*** markvoelker has quit IRC | 02:11 | |
*** ldl has joined #openstack-sdks | 02:15 | |
*** bobh has quit IRC | 02:15 | |
*** shu-mutou-AWAY is now known as shu-mutou | 02:37 | |
*** rajathagasthya has joined #openstack-sdks | 03:06 | |
*** markvoelker has joined #openstack-sdks | 03:11 | |
*** markvoelker has quit IRC | 03:46 | |
*** stevemar has quit IRC | 04:19 | |
*** charz has quit IRC | 04:19 | |
*** charz_ has joined #openstack-sdks | 04:20 | |
*** edleafe has quit IRC | 04:20 | |
*** edleafe has joined #openstack-sdks | 04:22 | |
*** mvpnitesh has joined #openstack-sdks | 04:25 | |
*** stevemar has joined #openstack-sdks | 04:26 | |
*** gouthamr has quit IRC | 04:31 | |
*** dims has quit IRC | 04:40 | |
*** markvoelker has joined #openstack-sdks | 04:43 | |
*** boris_42 has joined #openstack-sdks | 04:51 | |
openstackgerrit | Merged openstack/python-openstackclient master: Updated from global requirements https://review.openstack.org/500282 | 05:07 |
---|---|---|
*** rajathagasthya has quit IRC | 05:07 | |
*** markvoelker has quit IRC | 05:16 | |
*** gildub_ has joined #openstack-sdks | 06:09 | |
*** gildub_ has quit IRC | 06:09 | |
*** markvoelker has joined #openstack-sdks | 06:13 | |
*** annp has quit IRC | 06:19 | |
*** annp has joined #openstack-sdks | 06:19 | |
*** markvoelker has quit IRC | 06:47 | |
*** jpich has joined #openstack-sdks | 07:03 | |
ldl | hi | 07:35 |
ldl | Can I ask a question about openstacksdk? | 07:35 |
ldl | https://ask.openstack.org/en/question/110156/how-can-i-know-the-openstacksdk-connection-is-success-or-failture/ | 07:35 |
seanhandley | ldl: Try using it :) | 07:39 |
seanhandley | conn.compute.servers() | 07:40 |
ldl | ok | 07:40 |
seanhandley | should list the instances available to your tenant | 07:40 |
seanhandley | If not, the error should hopefully tell you what's not working | 07:40 |
ldl | :seanhandley and how can I know the project name fill what? | 07:44 |
*** markvoelker has joined #openstack-sdks | 07:44 | |
seanhandley | ldl: It depends. Where did you get the auth url, username and password from? | 07:45 |
ldl | I install a openstack ocata in a remote server | 07:45 |
seanhandley | Are you connecting using the `admin` account? | 07:46 |
ldl | yes | 07:46 |
seanhandley | then the project/tenant name is `admin` :-) | 07:46 |
ldl | and how about the region | 07:46 |
ldl | > | 07:46 |
ldl | ? | 07:46 |
seanhandley | Most likely `RegionOne` | 07:47 |
ldl | if in the dashboard, there do not show the region | 07:48 |
seanhandley | if you can load Horizon (the dashboard) in a web browser then you can download a file that contains all your credentials (except for password) | 07:48 |
ldl | because I set something to disable the region | 07:48 |
seanhandley | Don't set the region in the SDK then, I guess | 07:49 |
seanhandley | unless you have an error specifically warning against its absence | 07:49 |
*** ralonsoh has joined #openstack-sdks | 07:49 | |
ldl | thank you | 07:49 |
seanhandley | No problem. You may need to set it to `None` or the empty string | 07:50 |
ldl | ok | 07:50 |
ldl | i dnowload the RC file, there shows RegionOne | 07:50 |
seanhandley | Ok, try it out | 07:52 |
seanhandley | Did it work ldl? | 08:12 |
ldl | yes | 08:12 |
ldl | it report error | 08:12 |
ldl | because I did not get the correct username | 08:12 |
ldl | I am looking for a mysql visualize tool to add data to my myswal | 08:13 |
*** gildub has quit IRC | 08:15 | |
*** markvoelker has quit IRC | 08:17 | |
*** gildub has joined #openstack-sdks | 08:36 | |
*** shu-mutou is now known as shu-mutou-AWAY | 08:42 | |
*** gildub has quit IRC | 09:13 | |
*** markvoelker has joined #openstack-sdks | 09:14 | |
*** e0ne has joined #openstack-sdks | 09:15 | |
*** markvoelker has quit IRC | 09:48 | |
*** rabel has joined #openstack-sdks | 09:49 | |
*** dtantsur|afk is now known as dtantsur | 10:05 | |
*** gildub has joined #openstack-sdks | 10:39 | |
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:40 |
*** jkilpatr has quit IRC | 10:40 | |
ldl | I can not login the openstack sdk still | 10:41 |
ldl | get this error | 10:41 |
ldl | May I ask a other question? | 10:41 |
ldl | the openstack user's password is use which encryption method? | 10:43 |
*** markvoelker has joined #openstack-sdks | 10:45 | |
*** reedip is now known as reed_afk | 10:53 | |
*** reed_afk is now known as reedip_afk | 10:53 | |
*** sdague has joined #openstack-sdks | 11:06 | |
*** jkilpatr has joined #openstack-sdks | 11:16 | |
*** markvoelker has quit IRC | 11:17 | |
*** mvpnitesh has quit IRC | 11:19 | |
*** mvpnitesh has joined #openstack-sdks | 11:20 | |
ldl | some friend can help me with this? | 11:23 |
ldl | https://ask.openstack.org/en/question/110171/whats-the-encryption-method-does-the-openstack-user-password-use/ | 11:23 |
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 |
ldl | ok, i am tru=ying | 11:29 |
*** dims has joined #openstack-sdks | 12:07 | |
*** markvoelker has joined #openstack-sdks | 12:15 | |
*** dave-mccowan has joined #openstack-sdks | 12:20 | |
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:20 |
briancurtin | ldl: you don’t encrypt anything. you have to know what the password is and then you just send the string | 12:22 |
briancurtin | ldl: you probably need project_domain_id or project_domain_name in your Connection args | 12:23 |
ldl | i don't know some params means what | 12:23 |
ldl | such as domain name | 12:23 |
*** markvoelker has quit IRC | 12:24 | |
*** markvoelker has joined #openstack-sdks | 12:24 | |
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 |
amotoki | I think perhaps project_domain_id=“default” or project_domain_name=“Default” | 12:25 |
amotoki | the name of the default domain is capitalized "Default" | 12:26 |
amotoki | briancurtin: btw, I think we need to update the connection docs to have keystone v3 :) | 12:28 |
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:29 |
*** gildub has quit IRC | 12:30 | |
amotoki | briancurtin: ah, good point! | 12:30 |
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 |
*** rabel has quit IRC | 12:32 | |
amotoki | i see two aspects. the one is how to reduce duplication and refer to e.g. keystoneauth docs. | 12:32 |
amotoki | the other point is how we can provide a simple example to regular users. | 12:32 |
amotoki | IMHO basic password plugin examples are worth documented in openstacksdk docs. for more advanced usage, keystoneauth docs can be referred. | 12:33 |
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 |
briancurtin | need. something like that | 12:34 |
briancurtin | “straight from the Connection args” meaning from the Connection docstring so it gets in the actual API docs | 12:35 |
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:36 |
amotoki | briancurtin: I can propose it once nobody propose an improvement. I have more prioritized things until the PTG is over. | 12:37 |
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:38 |
*** dave-mcc_ has joined #openstack-sdks | 12:39 | |
amotoki | briancurtin: nice. I am glad to help reviewing and checking it works anyway | 12:40 |
*** dave-mccowan has quit IRC | 12:42 | |
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 |
openstack | Launchpad bug 1715628 in OpenStack SDK "Improve Connection docs for use with Keystone v3" [High,Confirmed] - Assigned to Brian Curtin (brian.curtin) | 12:42 |
*** ldl has quit IRC | 12:47 | |
*** gildub has joined #openstack-sdks | 12:59 | |
*** rabel has joined #openstack-sdks | 13:13 | |
*** mvpnitesh has quit IRC | 13:14 | |
*** gouthamr has joined #openstack-sdks | 13:30 | |
*** gildub has quit IRC | 13:31 | |
*** LindaWang has joined #openstack-sdks | 13:38 | |
*** bobh has joined #openstack-sdks | 13:53 | |
*** dave-mcc_ is now known as dave-mccowan | 13:57 | |
*** marst has joined #openstack-sdks | 14:19 | |
edleafe | cdent: elmiko: I added some rough time box numbers to the PTG etherpad https://etherpad.openstack.org/p/api-ptg-queens | 14:23 |
*** bobh has quit IRC | 14:25 | |
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:27 |
*** ldl has joined #openstack-sdks | 14:33 | |
*** LindaWang has quit IRC | 14:34 | |
edleafe | elmiko: yeah, well, I did that on purpose, as those could easily become rambling topics | 14:38 |
elmiko | edleafe: ack, probably better to estimate short then ;) | 14:43 |
*** cleong has joined #openstack-sdks | 14:46 | |
amotoki | briancurtin: thanks. bug description looks perfect. I will add some input based on my testing if any | 14:59 |
*** LindaWang has joined #openstack-sdks | 15:06 | |
openstackgerrit | Hongbin Lu proposed openstack/service-types-authority master: Update the link of Zun API reference https://review.openstack.org/501773 | 15:24 |
*** bobh has joined #openstack-sdks | 15:26 | |
*** bobh has quit IRC | 15:31 | |
*** bobh has joined #openstack-sdks | 15:48 | |
*** ldl has quit IRC | 15:56 | |
*** LindaWang has quit IRC | 15:59 | |
*** rabel has quit IRC | 16:03 | |
*** cdent has joined #openstack-sdks | 16:06 | |
*** e0ne has quit IRC | 16:16 | |
*** annegentle has joined #openstack-sdks | 16:22 | |
*** rajathagasthya has joined #openstack-sdks | 16:33 | |
*** annegentle has quit IRC | 16:34 | |
openstackgerrit | Ed Leafe proposed openstack/api-wg master: Explain, simply, why extensions are bad https://review.openstack.org/491611 | 16:36 |
edleafe | cdent: elmiko: ^^ I just removed the "first draft" wording in the commit message | 16:36 |
cdent | edleafe: +1 | 16:38 |
*** jpich has quit IRC | 16:38 | |
*** annegentle has joined #openstack-sdks | 16:40 | |
elmiko | thanks edleafe, +1 | 16:40 |
*** marst has quit IRC | 16:46 | |
elmiko | edleafe: cdent: https://etherpad.openstack.org/p/api-sig-newsletter | 16:47 |
cdent | elmiko: maybe a link to the existing service discovery doc? | 16:49 |
elmiko | cdent: this one https://review.openstack.org/#/c/459405/ ? | 16:50 |
cdent | no, i meant the published stuff | 16:50 |
* cdent finds link | 16:50 | |
cdent | this one perhaps? http://specs.openstack.org/openstack/api-wg/guidelines/consuming-catalog.html | 16:50 |
elmiko | ok, i'm spacing cdent, where should i drop that link? | 16:51 |
*** dtantsur is now known as dtantsur|afk | 16:52 | |
elmiko | thanks, i thought that's what you meant but wasn't sure | 16:53 |
elmiko | edleafe: yes, so much yes | 16:53 |
edleafe | elmiko: ok, lgtm | 16:54 |
elmiko | thanks! | 16:54 |
elmiko | cdent, edleafe, safe travels to you both. see ya next week =) | 16:54 |
cdent | o/ | 16:55 |
openstackgerrit | Ed Leafe proposed openstack/api-wg master: Fix typo in liaisons.json https://review.openstack.org/501808 | 16:55 |
edleafe | cdent: elmiko: when adding reviewers I found this typo ^^ | 16:56 |
*** rajathagasthya has quit IRC | 16:56 | |
edleafe | I think this qualifies as a slam dunk trivial fix | 16:56 |
cdent | slammed | 16:56 |
*** rajathagasthya has joined #openstack-sdks | 16:56 | |
elmiko | agreed | 16:56 |
*** ralonsoh has quit IRC | 16:58 | |
*** cdent has quit IRC | 17:00 | |
*** charz_ has quit IRC | 17:04 | |
*** charz has joined #openstack-sdks | 17:07 | |
openstackgerrit | Merged openstack/api-wg master: Fix typo in liaisons.json https://review.openstack.org/501808 | 17:08 |
*** chlong has joined #openstack-sdks | 17:24 | |
*** rajathagasthya has quit IRC | 17:25 | |
*** gouthamr has quit IRC | 17:33 | |
*** rajathagasthya has joined #openstack-sdks | 17:38 | |
*** e0ne has joined #openstack-sdks | 17:38 | |
*** e0ne_ has joined #openstack-sdks | 17:42 | |
*** e0ne has quit IRC | 17:45 | |
*** bobh has quit IRC | 17:54 | |
*** gouthamr has joined #openstack-sdks | 18:01 | |
*** marst has joined #openstack-sdks | 18:03 | |
*** dims has quit IRC | 18:34 | |
*** dims has joined #openstack-sdks | 18:36 | |
*** dims has quit IRC | 18:41 | |
*** sdague has quit IRC | 18:42 | |
*** dims has joined #openstack-sdks | 18:45 | |
*** boris_42 has quit IRC | 18:50 | |
*** rajathagasthya has quit IRC | 18:51 | |
*** chlong has quit IRC | 18:51 | |
*** chlong_ has joined #openstack-sdks | 18:51 | |
*** bobh has joined #openstack-sdks | 18:55 | |
*** bobh has quit IRC | 19:00 | |
*** e0ne_ has quit IRC | 19:03 | |
*** chlong_ has quit IRC | 19:07 | |
*** chlong_ has joined #openstack-sdks | 19:08 | |
*** chlong__ has joined #openstack-sdks | 19:12 | |
*** chlong_ has quit IRC | 19:14 | |
*** cdent has joined #openstack-sdks | 19:14 | |
*** jkilpatr has quit IRC | 19:17 | |
*** chlong__ has quit IRC | 19:26 | |
*** chlong_ has joined #openstack-sdks | 19:26 | |
*** chlong_ has quit IRC | 19:32 | |
*** chlong_ has joined #openstack-sdks | 19:32 | |
*** jkilpatr has joined #openstack-sdks | 19:38 | |
*** chlong__ has joined #openstack-sdks | 19:41 | |
*** chlong_ has quit IRC | 19:43 | |
*** rajathagasthya has joined #openstack-sdks | 19:50 | |
openstackgerrit | Slawek Kaplonski proposed openstack/python-openstacksdk master: Add getting of QoS rule type details https://review.openstack.org/501855 | 19:51 |
*** cdent has quit IRC | 19:52 | |
*** bobh has joined #openstack-sdks | 19:56 | |
*** cdent has joined #openstack-sdks | 19:56 | |
*** bobh has quit IRC | 20:01 | |
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:02 |
openstackgerrit | Doug Hellmann proposed openstack/cliff master: show the distribution providing the command in help output https://review.openstack.org/501863 | 20:20 |
dhellmann | dtroyer : I promised ^^ at the start of pike. Better late than never? :-) | 20:28 |
dtroyer | dhellmann: before PTG is still before PTG \o/ | 20:29 |
dhellmann | heh | 20:30 |
*** bobh has joined #openstack-sdks | 20:34 | |
openstackgerrit | Slawek Kaplonski proposed openstack/python-openstackclient master: Add getting of QoS rule type details https://review.openstack.org/501868 | 20:37 |
openstackgerrit | Slawek Kaplonski proposed openstack/python-openstacksdk master: Add getting of QoS rule type details https://review.openstack.org/501855 | 20:38 |
*** cleong has quit IRC | 20:38 | |
*** chlong__ has quit IRC | 20:42 | |
openstackgerrit | Hongbin Lu proposed openstack/service-types-authority master: Update the link of Zun API reference https://review.openstack.org/501773 | 20:54 |
*** cdent has quit IRC | 20:54 | |
*** dave-mccowan has quit IRC | 20:55 | |
*** scottda_ has joined #openstack-sdks | 20:59 | |
*** cdent has joined #openstack-sdks | 21:00 | |
*** cdent_ has joined #openstack-sdks | 21:01 | |
*** cdent has quit IRC | 21:05 | |
*** cdent_ is now known as cdent | 21:05 | |
*** cdent_ has joined #openstack-sdks | 21:10 | |
*** cdent has quit IRC | 21:13 | |
*** cdent_ is now known as cdent | 21:13 | |
*** annegentle has quit IRC | 21:27 | |
*** madorn has quit IRC | 21:27 | |
*** madorn has joined #openstack-sdks | 21:31 | |
*** bobh has quit IRC | 21:33 | |
*** cdent has quit IRC | 22:12 | |
*** cdent has joined #openstack-sdks | 22:25 | |
*** annegentle has joined #openstack-sdks | 22:33 | |
*** annegentle has quit IRC | 22:40 | |
*** chlong has joined #openstack-sdks | 22:44 | |
*** marst has quit IRC | 22:49 | |
*** chlong has quit IRC | 22:51 | |
*** chlong has joined #openstack-sdks | 22:51 | |
*** chlong_ has joined #openstack-sdks | 23:04 | |
*** chlong has quit IRC | 23:04 | |
*** chlong_ has quit IRC | 23:09 | |
*** gouthamr has quit IRC | 23:09 | |
*** gouthamr has joined #openstack-sdks | 23:58 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!