Thursday, 2017-09-07

*** rajathagasthya has quit IRC00:12
*** sdague has quit IRC00:36
*** bobh has joined #openstack-sdks01:18
*** bobh has quit IRC01:33
*** fzdarsky__ has joined #openstack-sdks01:49
*** fzdarsky_ has quit IRC01:53
*** bobh has joined #openstack-sdks01:56
*** annp has joined #openstack-sdks02:03
*** gildub has joined #openstack-sdks02:09
*** markvoelker has quit IRC02:11
*** ldl has joined #openstack-sdks02:15
*** bobh has quit IRC02:15
*** shu-mutou-AWAY is now known as shu-mutou02:37
*** rajathagasthya has joined #openstack-sdks03:06
*** markvoelker has joined #openstack-sdks03:11
*** markvoelker has quit IRC03:46
*** stevemar has quit IRC04:19
*** charz has quit IRC04:19
*** charz_ has joined #openstack-sdks04:20
*** edleafe has quit IRC04:20
*** edleafe has joined #openstack-sdks04:22
*** mvpnitesh has joined #openstack-sdks04:25
*** stevemar has joined #openstack-sdks04:26
*** gouthamr has quit IRC04:31
*** dims has quit IRC04:40
*** markvoelker has joined #openstack-sdks04:43
*** boris_42 has joined #openstack-sdks04:51
openstackgerritMerged openstack/python-openstackclient master: Updated from global requirements  https://review.openstack.org/50028205:07
*** rajathagasthya has quit IRC05:07
*** markvoelker has quit IRC05:16
*** gildub_ has joined #openstack-sdks06:09
*** gildub_ has quit IRC06:09
*** markvoelker has joined #openstack-sdks06:13
*** annp has quit IRC06:19
*** annp has joined #openstack-sdks06:19
*** markvoelker has quit IRC06:47
*** jpich has joined #openstack-sdks07:03
ldlhi07:35
ldlCan I ask a question about openstacksdk?07:35
ldlhttps://ask.openstack.org/en/question/110156/how-can-i-know-the-openstacksdk-connection-is-success-or-failture/07:35
seanhandleyldl: Try using it :)07:39
seanhandleyconn.compute.servers()07:40
ldlok07:40
seanhandleyshould list the instances available to your tenant07:40
seanhandleyIf not, the error should hopefully tell you what's not working07:40
ldl:seanhandley and how can I know the project name fill what?07:44
*** markvoelker has joined #openstack-sdks07:44
seanhandleyldl: It depends. Where did you get the auth url, username and password from?07:45
ldlI install a openstack ocata in a remote server07:45
seanhandleyAre you connecting using the `admin` account?07:46
ldlyes07:46
seanhandleythen the project/tenant name is `admin` :-)07:46
ldland how about the region07:46
ldl>07:46
ldl?07:46
seanhandleyMost likely `RegionOne`07:47
ldlif in the dashboard, there do not show the region07:48
seanhandleyif 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 region07:48
seanhandleyDon't set the region in the SDK then, I guess07:49
seanhandleyunless you have an error specifically warning against its absence07:49
*** ralonsoh has joined #openstack-sdks07:49
ldlthank you07:49
seanhandleyNo problem. You may need to set it to `None` or the empty string07:50
ldlok07:50
ldli dnowload the RC file, there shows RegionOne07:50
seanhandleyOk, try it out07:52
seanhandleyDid it work ldl?08:12
ldlyes08:12
ldl it report error08:12
ldl because I did not get the correct username08:12
ldlI am looking for a mysql visualize tool to add data to my myswal08:13
*** gildub has quit IRC08:15
*** markvoelker has quit IRC08:17
*** gildub has joined #openstack-sdks08:36
*** shu-mutou is now known as shu-mutou-AWAY08:42
*** gildub has quit IRC09:13
*** markvoelker has joined #openstack-sdks09:14
*** e0ne has joined #openstack-sdks09:15
*** markvoelker has quit IRC09:48
*** rabel has joined #openstack-sdks09:49
*** dtantsur|afk is now known as dtantsur10:05
*** gildub has joined #openstack-sdks10:39
ldlHttpException: 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 IRC10:40
ldl I can not login the openstack sdk still10:41
ldl get this error10:41
ldlMay I ask a other question?10:41
ldlthe openstack user's password is use which encryption method?10:43
*** markvoelker has joined #openstack-sdks10:45
*** reedip is now known as reed_afk10:53
*** reed_afk is now known as reedip_afk10:53
*** sdague has joined #openstack-sdks11:06
*** jkilpatr has joined #openstack-sdks11:16
*** markvoelker has quit IRC11:17
*** mvpnitesh has quit IRC11:19
*** mvpnitesh has joined #openstack-sdks11:20
ldlsome friend can help me with this?11:23
ldlhttps://ask.openstack.org/en/question/110171/whats-the-encryption-method-does-the-openstack-user-password-use/11:23
seanhandleyldl:  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
ldlok,  i am tru=ying11:29
*** dims has joined #openstack-sdks12:07
*** markvoelker has joined #openstack-sdks12:15
*** dave-mccowan has joined #openstack-sdks12:20
briancurtinldl: 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 example12:20
briancurtinldl: you don’t encrypt anything. you have to know what the password is and then you just send the string12:22
briancurtinldl: you probably need project_domain_id or project_domain_name in your Connection args12:23
ldli don't know some params means what12:23
ldlsuch as domain name12:23
*** markvoelker has quit IRC12:24
*** markvoelker has joined #openstack-sdks12:24
briancurtinldl: 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 same12:25
amotokiI think perhaps project_domain_id=“default” or project_domain_name=“Default”12:25
amotokithe name of the default domain is capitalized "Default"12:26
amotokibriancurtin: btw, I think we need to update the connection docs to have keystone v3 :)12:28
briancurtinamotoki: 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 KSA12:29
*** gildub has quit IRC12:30
amotokibriancurtin: ah, good point!12:30
amotokibriancurtin: 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 users12:32
*** rabel has quit IRC12:32
amotokii see two aspects. the one is how to reduce duplication and refer to e.g. keystoneauth docs.12:32
amotokithe other point is how we can provide a simple example to regular users.12:32
amotokiIMHO basic password plugin examples are worth documented in openstacksdk docs. for more advanced usage, keystoneauth docs can be referred.12:33
briancurtinamotoki: 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 you12:34
briancurtinneed. something like that12:34
briancurtin“straight from the Connection args” meaning from the Connection docstring so it gets in the actual API docs12:35
amotokibriancurtin: yeah, I totally agree. what we need to document in the openstacksdk docs is that the SDK passes these arguments to keystoneauth directly12:36
amotokibriancurtin: I can propose it once nobody propose an improvement. I have more prioritized things until the PTG is over.12:37
briancurtinamotoki: 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-sdks12:39
amotokibriancurtin: nice. I am glad to help reviewing and checking it works anyway12:40
*** dave-mccowan has quit IRC12:42
briancurtinamotoki: 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 out12:42
openstackLaunchpad 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 IRC12:47
*** gildub has joined #openstack-sdks12:59
*** rabel has joined #openstack-sdks13:13
*** mvpnitesh has quit IRC13:14
*** gouthamr has joined #openstack-sdks13:30
*** gildub has quit IRC13:31
*** LindaWang has joined #openstack-sdks13:38
*** bobh has joined #openstack-sdks13:53
*** dave-mcc_ is now known as dave-mccowan13:57
*** marst has joined #openstack-sdks14:19
edleafecdent: elmiko: I added some rough time box numbers to the PTG etherpad https://etherpad.openstack.org/p/api-ptg-queens14:23
*** bobh has quit IRC14:25
elmikoedleafe: thanks, i'm skeptical about some of the 15 minutes slots. but i think your initial swag is a good starting point14:27
*** ldl has joined #openstack-sdks14:33
*** LindaWang has quit IRC14:34
edleafeelmiko: yeah, well, I did that on purpose, as those could easily become rambling topics14:38
elmikoedleafe: ack, probably better to estimate short then ;)14:43
*** cleong has joined #openstack-sdks14:46
amotokibriancurtin: thanks. bug description looks perfect. I will add some input based on my testing if any14:59
*** LindaWang has joined #openstack-sdks15:06
openstackgerritHongbin Lu proposed openstack/service-types-authority master: Update the link of Zun API reference  https://review.openstack.org/50177315:24
*** bobh has joined #openstack-sdks15:26
*** bobh has quit IRC15:31
*** bobh has joined #openstack-sdks15:48
*** ldl has quit IRC15:56
*** LindaWang has quit IRC15:59
*** rabel has quit IRC16:03
*** cdent has joined #openstack-sdks16:06
*** e0ne has quit IRC16:16
*** annegentle has joined #openstack-sdks16:22
*** rajathagasthya has joined #openstack-sdks16:33
*** annegentle has quit IRC16:34
openstackgerritEd Leafe proposed openstack/api-wg master: Explain, simply, why extensions are bad  https://review.openstack.org/49161116:36
edleafecdent: elmiko: ^^ I just removed the "first draft" wording in the commit message16:36
cdentedleafe: +116:38
*** jpich has quit IRC16:38
*** annegentle has joined #openstack-sdks16:40
elmikothanks edleafe, +116:40
*** marst has quit IRC16:46
elmikoedleafe: cdent: https://etherpad.openstack.org/p/api-sig-newsletter16:47
cdentelmiko: maybe a link to the existing service discovery doc?16:49
elmikocdent: this one https://review.openstack.org/#/c/459405/ ?16:50
cdentno, i meant the published stuff16:50
* cdent finds link16:50
cdentthis one perhaps? http://specs.openstack.org/openstack/api-wg/guidelines/consuming-catalog.html16:50
elmikook, i'm spacing cdent, where should i drop that link?16:51
*** dtantsur is now known as dtantsur|afk16:52
elmikothanks, i thought that's what you meant but wasn't sure16:53
elmikoedleafe: yes, so much yes16:53
edleafeelmiko: ok, lgtm16:54
elmikothanks!16:54
elmikocdent, edleafe, safe travels to you both. see ya next week =)16:54
cdento/16:55
openstackgerritEd Leafe proposed openstack/api-wg master: Fix typo in liaisons.json  https://review.openstack.org/50180816:55
edleafecdent: elmiko: when adding reviewers I found this typo ^^16:56
*** rajathagasthya has quit IRC16:56
edleafeI think this qualifies as a slam dunk trivial fix16:56
cdentslammed16:56
*** rajathagasthya has joined #openstack-sdks16:56
elmikoagreed16:56
*** ralonsoh has quit IRC16:58
*** cdent has quit IRC17:00
*** charz_ has quit IRC17:04
*** charz has joined #openstack-sdks17:07
openstackgerritMerged openstack/api-wg master: Fix typo in liaisons.json  https://review.openstack.org/50180817:08
*** chlong has joined #openstack-sdks17:24
*** rajathagasthya has quit IRC17:25
*** gouthamr has quit IRC17:33
*** rajathagasthya has joined #openstack-sdks17:38
*** e0ne has joined #openstack-sdks17:38
*** e0ne_ has joined #openstack-sdks17:42
*** e0ne has quit IRC17:45
*** bobh has quit IRC17:54
*** gouthamr has joined #openstack-sdks18:01
*** marst has joined #openstack-sdks18:03
*** dims has quit IRC18:34
*** dims has joined #openstack-sdks18:36
*** dims has quit IRC18:41
*** sdague has quit IRC18:42
*** dims has joined #openstack-sdks18:45
*** boris_42 has quit IRC18:50
*** rajathagasthya has quit IRC18:51
*** chlong has quit IRC18:51
*** chlong_ has joined #openstack-sdks18:51
*** bobh has joined #openstack-sdks18:55
*** bobh has quit IRC19:00
*** e0ne_ has quit IRC19:03
*** chlong_ has quit IRC19:07
*** chlong_ has joined #openstack-sdks19:08
*** chlong__ has joined #openstack-sdks19:12
*** chlong_ has quit IRC19:14
*** cdent has joined #openstack-sdks19:14
*** jkilpatr has quit IRC19:17
*** chlong__ has quit IRC19:26
*** chlong_ has joined #openstack-sdks19:26
*** chlong_ has quit IRC19:32
*** chlong_ has joined #openstack-sdks19:32
*** jkilpatr has joined #openstack-sdks19:38
*** chlong__ has joined #openstack-sdks19:41
*** chlong_ has quit IRC19:43
*** rajathagasthya has joined #openstack-sdks19:50
openstackgerritSlawek Kaplonski proposed openstack/python-openstacksdk master: Add getting of QoS rule type details  https://review.openstack.org/50185519:51
*** cdent has quit IRC19:52
*** bobh has joined #openstack-sdks19:56
*** cdent has joined #openstack-sdks19:56
*** bobh has quit IRC20:01
briancurtinis 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 all20:02
openstackgerritDoug Hellmann proposed openstack/cliff master: show the distribution providing the command in help output  https://review.openstack.org/50186320:20
dhellmanndtroyer : I promised ^^ at the start of pike. Better late than never? :-)20:28
dtroyerdhellmann: before PTG is still before PTG    \o/20:29
dhellmannheh20:30
*** bobh has joined #openstack-sdks20:34
openstackgerritSlawek Kaplonski proposed openstack/python-openstackclient master: Add getting of QoS rule type details  https://review.openstack.org/50186820:37
openstackgerritSlawek Kaplonski proposed openstack/python-openstacksdk master: Add getting of QoS rule type details  https://review.openstack.org/50185520:38
*** cleong has quit IRC20:38
*** chlong__ has quit IRC20:42
openstackgerritHongbin Lu proposed openstack/service-types-authority master: Update the link of Zun API reference  https://review.openstack.org/50177320:54
*** cdent has quit IRC20:54
*** dave-mccowan has quit IRC20:55
*** scottda_ has joined #openstack-sdks20:59
*** cdent has joined #openstack-sdks21:00
*** cdent_ has joined #openstack-sdks21:01
*** cdent has quit IRC21:05
*** cdent_ is now known as cdent21:05
*** cdent_ has joined #openstack-sdks21:10
*** cdent has quit IRC21:13
*** cdent_ is now known as cdent21:13
*** annegentle has quit IRC21:27
*** madorn has quit IRC21:27
*** madorn has joined #openstack-sdks21:31
*** bobh has quit IRC21:33
*** cdent has quit IRC22:12
*** cdent has joined #openstack-sdks22:25
*** annegentle has joined #openstack-sdks22:33
*** annegentle has quit IRC22:40
*** chlong has joined #openstack-sdks22:44
*** marst has quit IRC22:49
*** chlong has quit IRC22:51
*** chlong has joined #openstack-sdks22:51
*** chlong_ has joined #openstack-sdks23:04
*** chlong has quit IRC23:04
*** chlong_ has quit IRC23:09
*** gouthamr has quit IRC23:09
*** gouthamr has joined #openstack-sdks23:58

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