| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2018-04-05 | |||
| 13:22:04 | dtantsur | ack | |
| 13:24:55 | dtantsur | edleafe: btw, inserting a reference is the beginning of a document to use it with :ref: is kinda antipattern. any document can be references as a whole with :doc: | |
| 13:28:56 | edleafe | dtantsur: ok, good to know | |
| 13:39:04 | openstackgerrit | Dmitry Tantsur proposed openstack/api-wg master: Break up the HTTP guideline into smaller documents https://review.openstack.org/554234 | |
| 13:39:05 | dtantsur | edleafe: wdyt ^^^? | |
| 13:49:02 | edleafe | dtantsur: looks good | |
| 13:49:44 | edleafe | dtantsur: on the main guidelines page, it shows both the HTTP Header guidelines as well as the HTTP Guidelines links | |
| 13:51:41 | dtantsur | edleafe: yep, because they were there previously | |
| 13:51:55 | dtantsur | I can move them, but the links people may have bookmarked will go away | |
| 13:52:23 | edleafe | ah. Don't break stuff. | |
| 13:52:24 | edleafe | :) | |
| 13:52:31 | edleafe | It just looked... odd | |
| 14:09:12 | openstackgerrit | Jens Harbott (frickler) proposed openstack/python-openstackclient master: Add DNS support to floating IP commands https://review.openstack.org/558824 | |
| 14:44:26 | openstackgerrit | Jens Harbott (frickler) proposed openstack/openstacksdk master: WIP: Add functional tests for Neutron DNS extension https://review.openstack.org/559068 | |
| 16:11:58 | openstackgerrit | Colleen Murphy proposed openstack/keystoneauth master: add lower-constraints job https://review.openstack.org/555625 | |
| 16:11:59 | openstackgerrit | Colleen Murphy proposed openstack/keystoneauth master: Fix lower-constraints dependencies https://review.openstack.org/559118 | |
| 16:38:49 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Expose version status in EndpointData https://review.openstack.org/559125 | |
| 16:42:13 | mordred | amotoki: https://storyboard-dev.openstack.org/#!/project/298 <-- test import from launchpad for osc was run on storyboard-dev if you want to check out the results | |
| 17:07:45 | mordred | dtantsur, edleafe, cdent, elmiko: you may or may not find this interesting, but I'm currently working on "get a list of all version information for all services in a cloud" | |
| 17:08:10 | mordred | current script is here: http://paste.openstack.org/show/718507/ output is here: http://paste.openstack.org/show/718508/ | |
| 17:09:09 | mordred | it's a little bit too hard currently - so I started writing some keystoneauth patches - first one is https://review.openstack.org/559125 | |
| 17:09:15 | dtantsur | curious | |
| 17:09:18 | cdent | mordred: do I recall you doing a similar thing a couple years ago? | |
| 17:09:27 | mordred | cdent: in a one-off sort of way, yeah | |
| 17:09:49 | mordred | dtantsur: well, that's just cause vexxhost doesn't run one of those :) | |
| 17:10:02 | dtantsur | that's sad, isn't it? :) | |
| 17:10:31 | mordred | cdent: the goal this time is mre support in keystoneauth so it's not a crazy question for someone to ask - and then a method in openstacksdk that exposes it, and a command for osc that will allow someone to run it themselves | |
| 17:10:36 | mordred | dtantsur: :) | |
| 17:11:01 | dtantsur | my biggest pain right now is supporting many major versions.. | |
| 17:11:06 | mordred | it should be noted also that script is only doing things with interface='public' | |
| 17:11:22 | mordred | dtantsur: yah | |
| 17:11:37 | dtantsur | I already have a few hacks in https://github.com/dtantsur/rust-openstack/blob/master/src/common/protocol.rs#L88-L131 | |
| 17:11:43 | dtantsur | and I will certainly have more... | |
| 17:11:57 | mordred | dtantsur: yah | |
| 17:12:20 | mordred | dtantsur: in fact, I've been thinking that it would be good to document the various hacks that we do in os-client-config/keystoneauth | |
| 17:12:29 | dtantsur | I'd love it | |
| 17:12:39 | mordred | since it is *completely* impossible to consume the apis generally without applying several client-side hacks | |
| 17:12:49 | dtantsur | as to this code, I guess I'll have to update it to support several major versions.... brrrrr | |
| 17:13:12 | mordred | dtantsur: for instance, glance frequenty returns invalid urls in its version discovery documents because it's easy for admins to misconfigure it ... | |
| 17:13:42 | mordred | dtantsur: so it'll return the internal address - we fix that by taking what we find in the version discovery doc and combining it with what's in the catalog | |
| 17:13:54 | mordred | dtantsur: seems like the sort of thing we shoudl document for other people :) | |
| 17:13:56 | dtantsur | O.U.C.H | |
| 17:14:07 | mordred | (we do that for *all* version discovery documents, not just glance) | |
| 17:14:21 | dtantsur | kind of the same as the https hack you see in the link, right :) | |
| 17:14:27 | mordred | but also- similar hacks have to be employed for pagination links | |
| 17:14:30 | mordred | dtantsur: yup | |
| 17:14:39 | dtantsur | pagination has been a big pain for me so far | |
| 17:14:59 | dtantsur | I'm not even using pagination links, which is probably bad | |
| 17:15:01 | mordred | dtantsur: we've got an impl in sdk that handles all of the cases you might want to look at | |
| 17:15:11 | mordred | dtantsur: yah - using hte pagination links actually make it much nicer | |
| 17:15:11 | dtantsur | link? :) | |
| 17:15:14 | mordred | coming ... | |
| 17:15:38 | dtantsur | mordred: I'll have to rework some internals of rust-openstack to use them | |
| 17:16:20 | mordred | dtantsur: starting here: http://git.openstack.org/cgit/openstack/openstacksdk/tree/openstack/resource.py#n887 | |
| 17:16:39 | dtantsur | thanks! | |
| 17:16:54 | dtantsur | my other problem is that I only have one production cloud to test on (namely, RDO cloud) | |
| 17:17:01 | mordred | dtantsur: there are a few different forms of pagination links across the services - to my knowledge, that code appropriately consumes all of them without resorting to making extra calls needlessly | |
| 17:17:09 | mordred | dtantsur: that is a problem we can solve :) | |
| 17:17:42 | dtantsur | rly? | |
| 17:18:06 | mordred | dtantsur: in two ways ... first, we should ping mnaser to get you a vexxhost account and tobias over at citycloud will almost certainly give you one too | |
| 17:18:13 | mnaser | hi | |
| 17:18:17 | dtantsur | o/ | |
| 17:18:39 | mordred | dtantsur: but also - melvinhillsman/openlab are there to help openstack sdk authors - and setting up CI jobs for sdks against existing public cloudsis part of their remit | |
| 17:19:00 | mordred | mnaser: tl;dr - dtantsur is working on a rust sdk for openstack but only has an account on rdo cloud to test it against | |
| 17:19:03 | elmiko | mordred: that is cool (re: version scanning), are you gonna make a report or something from it? | |
| 17:19:29 | dtantsur | mordred: ah, yeah, I was thinking about openlab. a real CI job would be a big leap forward. | |
| 17:19:42 | dtantsur | currently I only have a handful of unit tests | |
| 17:19:47 | mordred | mrhillsman: ^^ I'm talking about you - and think I have another customre for you | |
| 17:19:55 | mordred | elmiko: yup- that's the idea | |
| 17:19:59 | elmiko | mordred++ | |
| 17:20:00 | mrhillsman | hey hey | |
| 17:20:03 | elmiko | very cool | |
| 17:20:17 | mordred | elmiko: someone at red hat sent me an email for advice - which has resulted in my nerd-sniping myself into writing it | |
| 17:20:25 | mrhillsman | we have space for all the SDKs :) | |
| 17:20:27 | mnaser | dtantsur: i can give you an account if you'd like, just sign up here - http://secure.vexxhost.com/billing/register.php - let me know of a client id and then i'll get it setup for ya | |
| 17:20:39 | dtantsur | mnaser: wow, awesome! | |
| 17:20:42 | mordred | elmiko: (because it should not be hard to write, but currently requires you know a bunch of internals - so step one is "fix base libs") | |
| 17:20:45 | dtantsur | mrhillsman: mine is https://github.com/dtantsur/rust-openstack | |
| 17:20:47 | dtantsur | :) | |
| 17:20:48 | mrhillsman | our hope is that you utilize openlab | |
| 17:20:59 | mrhillsman | we want to help build the sdks up | |
| 17:21:09 | mrhillsman | as our primary focus ;) | |
| 17:21:29 | elmiko | mordred: sweeet! i'm all for a good nerd-sniping ;) | |
| 17:21:41 | mrhillsman | https://github.com/theopenlab/cicd-howto | |
| 17:21:44 | elmiko | that sounded so wrong... | |
| 17:21:51 | mrhillsman | all we have to do is get the github app installed | |
| 17:21:53 | mnaser | mordred: is that a bug that things like load-balancer or object-store or placement are returning an empty list? | |
| 17:21:59 | mrhillsman | ready to make it happen right now? | |
| 17:22:03 | mordred | mnaser: it's not a bug in the script :) | |
| 17:22:10 | mrhillsman | i can work with you now to get it setup | |
| 17:22:17 | mordred | mnaser: neither load-balancer or object-store have version discovery documents | |
| 17:22:20 | mnaser | oh okay | |
| 17:22:20 | mnaser | so is our service registry wrong | |
| 17:22:37 | mnaser | http://load-balancer-ca-ymq-1.vexxhost.net/ octavia does :> | |
| 17:22:38 | mordred | mnaser: I believe johnsom may have already fixed octavia in master? | |
| 17:22:49 | mnaser | except you cant access v1, because its meant to be accessed only by neutron | |
| 17:22:52 | mordred | mnaser: it does? awesome - lemme figure out what went wrong with it then | |
| 17:22:52 | mnaser | so technically its v2 only | |
| 17:22:58 | mnaser | also wait | |
| 17:23:08 | mnaser | is it returning json wrapped in xml? | |