*** dave-mccowan has joined #openstack-sdks | 00:17 | |
*** markvoelker has quit IRC | 00:17 | |
*** markvoelker has joined #openstack-sdks | 00:17 | |
*** markvoelker has quit IRC | 00:22 | |
*** rajathagasthya has quit IRC | 00:22 | |
*** tovin07_ has joined #openstack-sdks | 00:54 | |
*** dave-mccowan has quit IRC | 01:03 | |
*** markvoelker has joined #openstack-sdks | 01:18 | |
*** jkilpatr has quit IRC | 01:32 | |
*** hoangcx has quit IRC | 01:34 | |
*** shu-mutou has joined #openstack-sdks | 01:36 | |
*** hoangcx has joined #openstack-sdks | 01:41 | |
*** markvoelker has quit IRC | 01:52 | |
*** annp has joined #openstack-sdks | 02:03 | |
openstackgerrit | Jeremy Liu proposed openstack/python-openstackclient master: Add missing barbican commands https://review.openstack.org/480004 | 02:29 |
---|---|---|
*** markvoelker has joined #openstack-sdks | 02:49 | |
*** markvoelker has quit IRC | 03:22 | |
*** rajathagasthya has joined #openstack-sdks | 04:13 | |
*** markvoelker has joined #openstack-sdks | 04:19 | |
*** markvoelker has quit IRC | 04:53 | |
*** mvpnitesh has joined #openstack-sdks | 05:32 | |
*** rajathagasthya has quit IRC | 05:35 | |
*** markvoelker has joined #openstack-sdks | 05:49 | |
*** liangbo has joined #openstack-sdks | 06:10 | |
*** markvoelker has quit IRC | 06:24 | |
*** mvpnitesh has quit IRC | 07:07 | |
*** mvpnitesh has joined #openstack-sdks | 07:07 | |
*** markvoelker has joined #openstack-sdks | 07:20 | |
*** jpich has joined #openstack-sdks | 07:33 | |
*** flanders_ has joined #openstack-sdks | 07:38 | |
flanders_ | Test 12 | 07:39 |
*** ralonsoh has joined #openstack-sdks | 07:52 | |
*** markvoelker has quit IRC | 07:53 | |
*** gildub has quit IRC | 07:54 | |
flanders_ | Gildub, Giles I presume? | 07:56 |
flanders_ | seanhandley_: Hola o/ | 07:56 |
*** Klumben has quit IRC | 08:07 | |
*** fzdarsky has joined #openstack-sdks | 08:12 | |
*** sfinucan has quit IRC | 08:18 | |
*** sfinucan has joined #openstack-sdks | 08:19 | |
*** Klumben has joined #openstack-sdks | 08:19 | |
*** carthaca has joined #openstack-sdks | 08:21 | |
*** mvpnitesh has quit IRC | 08:21 | |
*** mvpnitesh has joined #openstack-sdks | 08:21 | |
*** fzdarsky has quit IRC | 08:22 | |
seanhandley_ | Morning Flanders o/ | 08:23 |
seanhandley_ | Or, rather, evening | 08:26 |
seanhandley_ | Sorry for the 4th July scheduling btw - my bad | 08:28 |
*** mvpnitesh has quit IRC | 08:28 | |
flanders_ | Lolz, no better way to celebrate 'freedom' than taking about open source stuff! ;) | 08:30 |
seanhandley_ | Well that's true | 08:32 |
seanhandley_ | Oddly I'm scheduled for a 4th July Bourbon tweet-tasting this evening courtesy of Heaven Hill | 08:33 |
seanhandley_ | Hopefully I'll get a catch-up chat with Monty this week | 08:33 |
*** mvpnitesh has joined #openstack-sdks | 08:34 | |
*** seanhandley_ is now known as seanhandley | 08:34 | |
*** mvpnitesh has quit IRC | 08:40 | |
*** mvpnitesh has joined #openstack-sdks | 08:40 | |
*** mvpnitesh has quit IRC | 08:44 | |
*** mvpnitesh has joined #openstack-sdks | 08:44 | |
*** markvoelker has joined #openstack-sdks | 08:50 | |
carthaca | Hi ;) | 08:51 |
carthaca | you sent a lot of homework, flanders ^^ | 08:51 |
*** RuiChen has quit IRC | 08:57 | |
seanhandley | hey carthaca | 08:58 |
seanhandley | Yeah, flanders_ is always making me do work :D | 08:58 |
*** e0ne has joined #openstack-sdks | 08:59 | |
seanhandley | Are you around Gilles? | 08:59 |
seanhandley | Let's wait a few more minutes, hopefully he appears :) | 09:01 |
*** chenying has quit IRC | 09:02 | |
*** chenying has joined #openstack-sdks | 09:03 | |
*** chenying has quit IRC | 09:05 | |
carthaca | were the hangouts details in the invitation added accidentally? | 09:05 |
seanhandley | It's possible yes | 09:05 |
seanhandley | Google Calendar is annoying for that | 09:05 |
seanhandley | ahh | 09:06 |
seanhandley | I just got a calendar invite decline from him | 09:06 |
seanhandley | Guess he can't make it :( | 09:06 |
* seanhandley pings flanders_ | 09:07 | |
*** chenying has joined #openstack-sdks | 09:07 | |
carthaca | what a pity | 09:07 |
seanhandley | That's the joy of online meetings I suppose! | 09:08 |
seanhandley | Thanks for coming anyhow carthaca | 09:08 |
seanhandley | Can we kick off by talking a little about Misty? | 09:08 |
seanhandley | I see you on the contributors but I'm not sure of how the project started | 09:08 |
carthaca | Yes, let's start with that | 09:09 |
carthaca | Gilles is the one, who started it | 09:09 |
carthaca | He mentioned it in of the Mails that Flanders distributed, that's how I found it | 09:10 |
carthaca | And I was immediately in love :D | 09:10 |
seanhandley | The README sounds very promising | 09:10 |
carthaca | It provides, what we were missing from fog | 09:11 |
seanhandley | I've been involved with Fog for a number of years now, and it's been the most mature OpenStack SDK in Ruby for a long time | 09:11 |
carthaca | you only have to authenticate once and can talk to all services | 09:11 |
seanhandley | ok - so is it fully compatible with all APIs? | 09:11 |
carthaca | so this means less calls to keystone, more performance | 09:11 |
carthaca | and API adoption is much faster, because it is much more lightweight | 09:12 |
seanhandley | Yeah, the auth stuff in openstack-fog sucks :) | 09:12 |
carthaca | compatability looks really good, though I didn't make it to the nasty stuff, yet | 09:13 |
seanhandley | Ok | 09:13 |
seanhandley | I'm happy to get involved and to champion misty as the Ruby SDK of choice for OpenStack in the long term so long as we're not losing out. The advantages of Fog is that it has momentum, community, and support for a lot of APIs. | 09:14 |
seanhandley | I think it'd be useful to get a to-do list in the form of Github issues or something | 09:14 |
seanhandley | then we can see where the gaps are and start filling them :) | 09:15 |
seanhandley | Did you get a chance to read the service endpoint spec that Flanders linked? | 09:15 |
carthaca | yes, sounds reasonable | 09:16 |
carthaca | valid service types have to be defined somewhere | 09:16 |
seanhandley | Yes - Monty proposes we have a json file on openstack.org | 09:17 |
seanhandley | which can be cached | 09:17 |
flanders_ | I'm here! Having dinner | 09:19 |
*** fzdarsky has joined #openstack-sdks | 09:19 | |
carthaca | so we at SAP already decided to move away from fog to misty, basically we are the 4 other contributors you see in misty | 09:19 |
seanhandley | Aha I see | 09:20 |
carthaca | what fog offers, that we don't need is the models - do you know how widely the other consumers of fog consume the models? | 09:21 |
seanhandley | Can you describe the problems with Fog as you perceive them at SAP? | 09:21 |
seanhandley | heh well I was going to mention the models layer | 09:21 |
flanders_ | Whom rise do we need in the fog community to look at Misty so it can be conjoined with fog? | 09:22 |
carthaca | on thing I already mentioned, it's the auth - you cannot re-use on fog object, but have to create a new one for every service you talk to | 09:22 |
seanhandley | and that causes performance issues carthaca ? | 09:23 |
*** markvoelker has quit IRC | 09:24 | |
carthaca | yes in two ways: 1. fog is always calling keystone to check the token you provided + 2. fog is calling keystone for every service you use again | 09:25 |
flanders_ | Doh! | 09:25 |
seanhandley | I ran into a similar issue in the early days of integrating our app using Fog | 09:25 |
seanhandley | https://gist.github.com/seanhandley/8589520ab7e8bffda78c8cdf11d30402 | 09:25 |
seanhandley | I used to memoize those Fog objects ^ | 09:25 |
seanhandley | so in theory the auth wouldn't happen multiple times | 09:26 |
seanhandley | but in practice I found the Fog re-auth code was buggy once the token had expired :( | 09:26 |
carthaca | yes we initially did the same and stumbled over weird re-auth issues :( | 09:27 |
carthaca | that directly leads me to another issue we see: fog is doing its own error-handling and sometimes swallows errors, that we would like to bubble up properly instead | 09:27 |
flanders_ | Does Monty's service discovery support re Keystone auth address this? | 09:27 |
seanhandley | I think it's a separate issue flanders_ | 09:28 |
seanhandley | ultimately the problem was bad design in the fog-openstack code | 09:29 |
flanders_ | Aok | 09:29 |
seanhandley | So to give a bit of backstory on how I currently use Fog in my app | 09:29 |
carthaca | reacting to token-expiry got better in fog, but still it is a bit of work you would have to do on top | 09:30 |
flanders_ | Just making sure we shouldn't be highlighting any issues up to the API user team a la Clarke and Rocky. | 09:30 |
seanhandley | I find the model layer is useful as it lets me represent OpenStack resources as Ruby objects and so my client code is a lot cleaner | 09:30 |
seanhandley | the problem with dealing with JSON directly is you end up wrangling the nested data structure | 09:30 |
seanhandley | so it's nice to have a model layer that knows how to parse those structures | 09:30 |
seanhandley | Though I guess it'd be possible to use OpenStruct for that? | 09:31 |
*** amotoki_away is now known as amotoki | 09:31 | |
carthaca | well to the API on expired tokens: I sometimes see an "401 not authorized" and sometimes a "404 token not found" from the services, I would have to look up the details where that comes from, but its inconsistent at least | 09:32 |
carthaca | yes in the end we constructed our own models as well xD, would be easier if we could better extend and re-use the fog ones without monkey patching | 09:34 |
seanhandley | Well I think it's a matter of taste to some extent - if the object is simply a data container we can subclass OpenStruct | 09:35 |
seanhandley | https://gist.github.com/seanhandley/3517abaad013eadb21923b10ae68c2d3 | 09:35 |
seanhandley | The issue I think is when we do mutative calls | 09:35 |
seanhandley | Fog lets you say things like "server.restart" | 09:35 |
seanhandley | the way Misty is architected you'd currently do "cloud.compute.reboot_server_reboot_action uuid" or something similar | 09:37 |
seanhandley | I'd love to get Monty involved here because his Shade SDK does a lot of UX niceness for the user regarding the model layer | 09:38 |
flanders_ | +1 @mordred | 09:39 |
seanhandley | raw API call wrappers and JSON responses are fast and simple but his vision is for a codebase that has sane defaults and makes client code able to care as little as possible about the details | 09:39 |
seanhandley | I think you're onto something with integrating Misty in Fog flanders_ | 09:40 |
flanders_ | But needs to incorporate ProgLang paradigms... | 09:40 |
carthaca | that's right - when I first started using fog I liked a lot how easy it is to use | 09:40 |
*** gildub has joined #openstack-sdks | 09:40 | |
seanhandley | if Misty is to be a lightweight SDK that gets you hooked into the API quickly then changing the fog models to refer directly to it as a dep might be the best way forward | 09:41 |
flanders_ | Fog/Misty must be usable to Ruby native Devs, not OpenStack Devs. | 09:41 |
seanhandley | then Fog benefits from the improved performance without losing the syntactic niceness of the model layer | 09:41 |
seanhandley | indeed flanders_ | 09:41 |
seanhandley | Hi gildub :) | 09:42 |
carthaca | yes, we thought of doing the rework directly in fog, too - but it needs a lot of effort. so we chickened out a bit and moved to the new tiny misty :D | 09:42 |
seanhandley | I don't blame you - there's a lot of baggage | 09:42 |
seanhandley | At any rate, I think that model layer of UX niceness can learn a lot from Shade | 09:43 |
*** amotoki is now known as amotoki_away | 09:43 | |
seanhandley | wherever it ultimately ends up residing | 09:43 |
seanhandley | carthaca gildub: Do you think it makes sense to leave the model layer out of Misty as a hard architectural decision? | 09:45 |
seanhandley | or could there be a Misty::Model namespace ? | 09:45 |
carthaca | I'm not sure, do we want to end up with both misty and fog or do we want to rework one of the two to get all benefits? | 09:47 |
seanhandley | I think I'd prefer for it all to live in Misty - that way it can be developed in line with Shade and the current community thinking on how best to make an OpenStack SDK from an app dev perspective | 09:48 |
seanhandley | it lets us free ourselves of legacy | 09:48 |
seanhandley | but the decision, ultimately, is down to you guys - it's your project :) | 09:48 |
seanhandley | I'd love to get gildub's input on this too | 09:49 |
seanhandley | I'm happy to contribute my time to this btw | 09:50 |
carthaca | I agree it would make it easier to get rid of the legacy :) | 09:50 |
carthaca | But yeah, it's up to gildub. It's his baby | 09:51 |
*** gildub has quit IRC | 09:52 | |
flanders_ | Would be great if we could do a big announce re misty+fog integration at Sydney summit?! | 09:52 |
flanders_ | I could wrangle marketing to support, though kowtow to gildub. | 09:53 |
seanhandley | looking at the code, it seems pretty mature so far flanders_ - I don't think adding a nice UX model layer on top would be hard, just a little bit of a slog coding wise | 09:53 |
seanhandley | ultimately I'm happy to create a higher-level Shadesque Ruby SDK that uses Misty under the hood also | 09:53 |
flanders_ | Do we need to get y'all in the same space to hammer out face to face, or what can I help do to make happen? | 09:54 |
*** liangbo has quit IRC | 09:54 | |
seanhandley | Figuring if Gilles is at the PTG (or wants to be) is a good first step I guess. We'll hopefully see when he has some time today | 09:54 |
flanders_ | Decision anon pending input from @mordred @gildub | 09:55 |
seanhandley | +1 | 09:55 |
seanhandley | Well, thanks for your time flanders_ and carthaca :-) | 09:55 |
seanhandley | I guess we'll pick this up again soon | 09:55 |
carthaca | Same to you | 09:56 |
seanhandley | flanders_: Do you know if the SDK WG does regular IRC meetings? | 09:56 |
flanders_ | Not yet, but I'm keen to push forward | 09:57 |
flanders_ | Perhaps via PublicCloud-WG? | 09:58 |
seanhandley | ok | 09:58 |
seanhandley | Well, we do have a meeting at 2pm UTC tomorrow | 09:58 |
seanhandley | maybe a bit late for your TZ | 09:58 |
seanhandley | but could work ok for mordred | 09:58 |
flanders_ | The chairs might be keen to have useable SDK their customers can use? | 09:58 |
seanhandley | definitely flanders_ | 09:58 |
seanhandley | I think Gophercloud is a good one to focus on as well - given that Terraform uses it | 09:59 |
flanders_ | +1 re pulling @mordred into publicCloud-WG call! | 09:59 |
seanhandley | Mike from SuperGiant.io is interested in chatting btw so feel free to ping him an email | 09:59 |
flanders_ | +1 re GopherCloud, chatting with Joe Tpjian next! | 09:59 |
seanhandley | I think he's mike [at] supergiant [dot] io | 10:00 |
seanhandley | cool cool :) | 10:00 |
flanders_ | @seanhandley: thanks re SuperGiant intro! | 10:00 |
flanders_ | Have a good day o/ | 10:00 |
seanhandley | np - keeping count on those beer IOUs :D | 10:00 |
seanhandley | Have a nice eve o/ | 10:00 |
openstackgerrit | NidhiMittalHada proposed openstack/python-openstackclient master: image-list should support filters 'name','status' https://review.openstack.org/479670 | 10:02 |
carthaca | Good bye | 10:03 |
*** tovin07_ has quit IRC | 10:14 | |
*** markvoelker has joined #openstack-sdks | 10:22 | |
kuzko | hey people, i'm currently trying the openstack sdk and got a weird sslv3 issue, can I have someone pointing me in the right direction? | 10:39 |
kuzko | trace : https://pastebin.com/4k0tnKX4 .. am I missing libs or something? | 10:41 |
*** markvoelker has quit IRC | 10:54 | |
*** dmellado is now known as dmellado_ | 10:57 | |
seanhandley | kuzko: When you say "SDK" can you be more specific ? | 10:57 |
seanhandley | i.e. where did you download it from | 10:57 |
seanhandley | that backtrace refers to indus-demo-eric/SDK-Nuabee | 10:57 |
*** dmellado_ is now known as dmellado | 10:58 | |
kuzko | yup that's my project path, but it uses openstack libraries | 10:58 |
kuzko | installed with pip | 10:58 |
kuzko | https://pastebin.com/4teuNX12 that's the way I import those libs, should I use something else? | 10:59 |
kuzko | I followed this : https://dev.cloudwatt.com/fr/doc/sdk/sdk-python.html | 11:01 |
*** shu-mutou is now known as shu-mutou-AWAY | 11:03 | |
kuzko | seanhandley : I don't even know if i'm in the right place to ask shuch question, google is not helpful, requests lib is intalled with [security] ... | 11:07 |
flanders_ | @kuzko: have a look at shade sdk | 11:24 |
kuzko | ok, well, that's another sdk, I get it, but this doesn't really help on that issue, did you guys never had connexion issues? | 11:29 |
seanhandley | Sure kuzko | 11:34 |
seanhandley | But without familiarity of the code in question it's hard for us to help :) | 11:35 |
seanhandley | Judging by the cloudwatt link you shared, this code is using the individual openstack client libraries | 11:36 |
seanhandley | Can you share your code online somewhere? | 11:37 |
seanhandley | and also your connection details for openstack (except for username/password) | 11:37 |
*** markvoelker has joined #openstack-sdks | 11:51 | |
*** jkilpatr has joined #openstack-sdks | 12:05 | |
kuzko | hang on I'm gonna ask if I can share part of the code, but, yes the code is using the individual client libraries... is ther antoher way? (except for that shade thing ^^) | 12:10 |
seanhandley | Yeah, I recommend Shade | 12:17 |
seanhandley | It's very nicely designed | 12:17 |
seanhandley | if you're doing simple operations then it's perfect (create an instance, give it an IP, destroy it etc) | 12:19 |
seanhandley | https://github.com/openstack-infra/shade/blob/master/README.rst | 12:20 |
*** gildub has joined #openstack-sdks | 12:20 | |
*** markvoelker has quit IRC | 12:24 | |
*** e0ne has quit IRC | 12:24 | |
*** e0ne has joined #openstack-sdks | 12:25 | |
*** annp has quit IRC | 12:35 | |
*** amotoki_away is now known as amotoki | 12:43 | |
*** gildub has quit IRC | 13:01 | |
*** amotoki is now known as amotoki_away | 13:12 | |
*** carthaca has left #openstack-sdks | 13:14 | |
mordred | morning seanhandley ! | 13:14 |
*** amotoki_away is now known as amotoki | 13:15 | |
*** amotoki is now known as amotoki_away | 13:16 | |
*** markvoelker has joined #openstack-sdks | 13:19 | |
*** amotoki_away is now known as amotoki | 13:24 | |
*** amotoki is now known as amotoki_away | 13:29 | |
*** ralonsoh has quit IRC | 13:31 | |
*** ralonsoh has joined #openstack-sdks | 13:31 | |
*** flanders_ has quit IRC | 13:37 | |
*** amotoki_away is now known as amotoki | 13:45 | |
*** markvoelker has quit IRC | 13:48 | |
*** markvoelker has joined #openstack-sdks | 13:48 | |
*** sfinucan is now known as stephenfin | 14:16 | |
*** reedip__ has joined #openstack-sdks | 14:20 | |
openstackgerrit | Javier Peña proposed openstack/python-openstackclient master: Fix man page build https://review.openstack.org/480218 | 14:54 |
*** reedip_ has joined #openstack-sdks | 15:11 | |
*** reedip__ has quit IRC | 15:12 | |
*** reedip_ has quit IRC | 15:32 | |
*** d0ugal has quit IRC | 15:46 | |
*** chlong_ has quit IRC | 15:48 | |
*** e0ne has quit IRC | 16:08 | |
*** alex_xu has quit IRC | 16:14 | |
*** alex_xu has joined #openstack-sdks | 16:17 | |
*** gildub has joined #openstack-sdks | 16:18 | |
*** gildub has quit IRC | 16:24 | |
*** fzdarsky has quit IRC | 16:30 | |
*** ralonsoh has quit IRC | 16:35 | |
*** jpich has quit IRC | 16:52 | |
*** e0ne has joined #openstack-sdks | 17:01 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/cliff master: Updated from global requirements https://review.openstack.org/480277 | 17:46 |
*** markvoelker has quit IRC | 18:04 | |
*** hoangcx has quit IRC | 18:25 | |
*** hoangcx has joined #openstack-sdks | 18:39 | |
*** e0ne_ has joined #openstack-sdks | 18:51 | |
*** e0ne_ has quit IRC | 18:53 | |
*** e0ne has quit IRC | 18:53 | |
*** e0ne has joined #openstack-sdks | 18:54 | |
*** e0ne has quit IRC | 19:00 | |
*** e0ne has joined #openstack-sdks | 19:06 | |
*** fzdarsky has joined #openstack-sdks | 19:09 | |
openstackgerrit | Merged openstack/python-openstackclient master: Fix man page build https://review.openstack.org/480218 | 19:28 |
*** e0ne has quit IRC | 19:33 | |
*** hoangcx has quit IRC | 19:48 | |
*** hoangcx has joined #openstack-sdks | 20:01 | |
*** markvoelker has joined #openstack-sdks | 20:05 | |
*** fzdarsky has quit IRC | 20:10 | |
*** openstackgerrit has quit IRC | 20:18 | |
*** bobh has joined #openstack-sdks | 20:19 | |
*** mvpnitesh has quit IRC | 20:36 | |
*** markvoelker has quit IRC | 20:38 | |
*** mvpnitesh has joined #openstack-sdks | 20:45 | |
*** fzdarsky has joined #openstack-sdks | 20:47 | |
*** mvpnitesh has quit IRC | 20:53 | |
*** mvpnitesh has joined #openstack-sdks | 20:53 | |
*** mvpnitesh has quit IRC | 20:57 | |
*** mvpnitesh has joined #openstack-sdks | 20:58 | |
*** mvpnitesh has quit IRC | 21:02 | |
*** mvpnitesh has joined #openstack-sdks | 21:02 | |
*** mvpnitesh has quit IRC | 21:09 | |
*** hoangcx has quit IRC | 21:16 | |
*** fzdarsky has quit IRC | 21:28 | |
*** hoangcx has joined #openstack-sdks | 21:30 | |
*** markvoelker has joined #openstack-sdks | 21:35 | |
*** e0ne has joined #openstack-sdks | 21:46 | |
*** e0ne_ has joined #openstack-sdks | 21:52 | |
*** e0ne has quit IRC | 21:55 | |
*** e0ne_ has quit IRC | 21:58 | |
*** e0ne has joined #openstack-sdks | 21:59 | |
*** e0ne has quit IRC | 22:02 | |
*** e0ne has joined #openstack-sdks | 22:04 | |
*** bobh has quit IRC | 22:04 | |
*** markvoelker has quit IRC | 22:09 | |
*** bobh has joined #openstack-sdks | 23:03 | |
*** markvoelker has joined #openstack-sdks | 23:05 | |
*** baffle has quit IRC | 23:05 | |
*** bobh has quit IRC | 23:07 | |
*** e0ne has quit IRC | 23:09 | |
*** e0ne has joined #openstack-sdks | 23:10 | |
*** e0ne has quit IRC | 23:10 | |
*** e0ne has joined #openstack-sdks | 23:11 | |
*** e0ne has quit IRC | 23:11 | |
*** e0ne has joined #openstack-sdks | 23:12 | |
*** e0ne has joined #openstack-sdks | 23:12 | |
*** e0ne has joined #openstack-sdks | 23:13 | |
*** e0ne has quit IRC | 23:14 | |
*** markvoelker has quit IRC | 23:39 | |
*** baffle has joined #openstack-sdks | 23:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!