Thursday, 2018-04-05

*** shu has joined #openstack-sdks00:31
*** slaweq_ has joined #openstack-sdks00:46
*** lifeless has joined #openstack-sdks00:46
*** madorn_ has joined #openstack-sdks00:49
*** lifeless_ has quit IRC00:51
*** slaweq has quit IRC00:51
*** madorn has quit IRC00:51
*** thrash is now known as thrash|g0ne01:01
*** Guest98296 has quit IRC01:12
*** olaph1 has quit IRC01:14
*** olaph has joined #openstack-sdks01:15
*** salv-orl_ has joined #openstack-sdks01:20
*** salv-orlando has quit IRC01:23
*** Guest98296 has joined #openstack-sdks01:40
*** harlowja has quit IRC01:42
*** edmondsw has joined #openstack-sdks02:25
*** gildub has joined #openstack-sdks02:41
*** edmondsw has quit IRC02:51
*** olaph1 has joined #openstack-sdks03:14
*** olaph has quit IRC03:15
*** harlowja has joined #openstack-sdks03:37
*** lbragstad has joined #openstack-sdks03:42
*** Guest98296 has quit IRC04:22
*** Guest98296 has joined #openstack-sdks04:23
*** Guest98296 has quit IRC04:48
*** Guest98296 has joined #openstack-sdks04:49
*** lbragstad has quit IRC04:58
*** lbragstad has joined #openstack-sdks05:02
*** lbragstad has quit IRC05:10
*** olaph has joined #openstack-sdks05:10
*** olaph1 has quit IRC05:12
*** gildub has quit IRC05:15
*** e0ne has joined #openstack-sdks05:17
*** harlowja has quit IRC05:22
*** e0ne has quit IRC05:24
*** olaph1 has joined #openstack-sdks05:28
*** olaph has quit IRC05:29
*** e0ne has joined #openstack-sdks06:19
*** gildub has joined #openstack-sdks06:22
*** e0ne has quit IRC06:39
*** Guest98296 has quit IRC06:57
*** d0ugal has joined #openstack-sdks06:57
*** d0ugal has quit IRC06:57
*** d0ugal has joined #openstack-sdks06:57
*** jpich has joined #openstack-sdks07:40
*** jpena|off is now known as jpena07:42
*** gkadam has joined #openstack-sdks07:44
*** ralonsoh has joined #openstack-sdks07:55
*** ralonsoh has quit IRC07:55
*** e0ne has joined #openstack-sdks08:06
*** cmurphy has quit IRC08:11
*** Klumben has quit IRC08:11
*** cmurphy has joined #openstack-sdks08:12
*** ralonsoh has joined #openstack-sdks08:20
*** d0ugal has quit IRC08:20
*** melwitt has quit IRC08:26
*** cdent has joined #openstack-sdks08:26
*** honza has quit IRC08:26
*** honza has joined #openstack-sdks08:31
*** honza is now known as Guest4081608:31
*** Klumben has joined #openstack-sdks08:32
*** melwitt has joined #openstack-sdks08:33
*** gildub has quit IRC08:35
*** d0ugal has joined #openstack-sdks08:39
*** yolanda_ is now known as yolanda08:54
*** d0ugal_ has joined #openstack-sdks09:01
*** d0ugal has quit IRC09:03
*** d0ugal_ has quit IRC09:05
*** d0ugal has joined #openstack-sdks09:05
*** shu has quit IRC09:27
*** slaweq_ is now known as slaweq10:02
*** d0ugal has quit IRC10:03
*** d0ugal_ has joined #openstack-sdks10:04
*** dtantsur|afk is now known as dtantsur10:23
*** thrash|g0ne is now known as thrash10:25
*** sdague has joined #openstack-sdks10:35
*** jpena is now known as jpena|lunch11:00
*** d0ugal__ has joined #openstack-sdks11:03
*** d0ugal_ has quit IRC11:04
*** Guest40816 is now known as honza11:08
dtantsuredleafe: hey, did you get any progress with ? I can help today, I guess11:14
*** d0ugal__ has quit IRC11:19
*** d0ugal has joined #openstack-sdks11:19
*** d0ugal has quit IRC11:19
*** d0ugal has joined #openstack-sdks11:19
*** lbragstad has joined #openstack-sdks11:53
*** jpena|lunch is now known as jpena12:01
*** ralonsoh_ has joined #openstack-sdks12:04
*** ralonsoh has quit IRC12:07
openstackgerritJens Harbott (frickler) proposed openstack/openstacksdk master: Add support for DNS attributes for floating IPs
*** edmondsw has joined #openstack-sdks12:37
*** olaph has joined #openstack-sdks12:40
*** olaph1 has quit IRC12:41
openstackgerritJens Harbott (frickler) proposed openstack/openstacksdk master: WIP: Add functional tests for Neutron DNS extension
edleafedtantsur: no, sorry, I've been buried with nova work12:54
dtantsuredleafe: should I take a look?12:55
*** lastmikoi has left #openstack-sdks13:02
*** ralonsoh__ has joined #openstack-sdks13:05
edleafedtantsur: if you have the cycles.13:06
*** thrash is now known as thrash|appt13:06
edleafedtantsur: I can build the docs, but I don't have an easy way to view them. My dev machine is a remote Linux vm13:07
dtantsurI have linux all around me :)13:07
dtantsurincl. my wife's laptop :)13:07
dtantsuredleafe: btw, did we have a new yasfb release?13:07
edleafeme too. Local machines at least have a GUI13:07
*** ralonsoh has joined #openstack-sdks13:09
*** ralonsoh_ has quit IRC13:09
dtantsuredleafe: also, how did you overcome SEVERE: Title level inconsistent?13:09
dtantsurI guess you did get past it?13:09
*** ralonsoh__ has quit IRC13:11
edleafedtantsur: I think it was fixed in master.13:12
*** GreenBlood has quit IRC13:12
*** kuzko has quit IRC13:12
dtantsurlemme try rebasing your patch13:12
*** GreenBlood has joined #openstack-sdks13:13
*** kuzko has joined #openstack-sdks13:13
*** markvoelker has quit IRC13:21
cdentdtantsur: yes there's been a new yasfb release13:21
*** markvoelker has joined #openstack-sdks13:23
dtantsuredleafe: 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:24
*** kuzko has quit IRC13:27
edleafedtantsur: ok, good to know13:28
*** kuzko has joined #openstack-sdks13:29
*** olaph1 has joined #openstack-sdks13:29
*** ralonsoh_ has joined #openstack-sdks13:29
*** olaph has quit IRC13:31
*** ralonsoh has quit IRC13:33
openstackgerritDmitry Tantsur proposed openstack/api-wg master: Break up the HTTP guideline into smaller documents
dtantsuredleafe: wdyt ^^^?13:39
edleafedtantsur: looks good13:49
edleafedtantsur: on the main guidelines page, it shows both the HTTP Header guidelines as well as the HTTP Guidelines links13:49
dtantsuredleafe: yep, because they were there previously13:51
dtantsurI can move them, but the links people may have bookmarked will go away13:51
edleafeah. Don't break stuff.13:52
edleafeIt just looked... odd13:52
*** GreenBlood has quit IRC14:00
*** kuzko has quit IRC14:01
*** GreenBlood has joined #openstack-sdks14:01
*** kuzko has joined #openstack-sdks14:02
*** bobh has joined #openstack-sdks14:05
openstackgerritJens Harbott (frickler) proposed openstack/python-openstackclient master: Add DNS support to floating IP commands
*** d0ugal has quit IRC14:42
openstackgerritJens Harbott (frickler) proposed openstack/openstacksdk master: WIP: Add functional tests for Neutron DNS extension
*** d0ugal has joined #openstack-sdks14:44
*** gkadam_ has joined #openstack-sdks15:01
*** gkadam has quit IRC15:03
*** thrash|appt is now known as thrash15:05
*** olaph has joined #openstack-sdks15:14
*** olaph1 has quit IRC15:16
*** e0ne has quit IRC15:27
*** openstackgerrit has quit IRC15:34
*** yolanda_ has joined #openstack-sdks15:39
*** yolanda has quit IRC15:41
*** openstackgerrit has joined #openstack-sdks16:11
openstackgerritColleen Murphy proposed openstack/keystoneauth master: add lower-constraints job
openstackgerritColleen Murphy proposed openstack/keystoneauth master: Fix lower-constraints dependencies
*** jpich has quit IRC16:38
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Expose version status in EndpointData
mordredamotoki:!/project/298 <-- test import from launchpad for osc was run on storyboard-dev if you want to check out the results16:42
*** thrash is now known as thrash|biab16:49
*** ralonsoh_ has quit IRC17:04
mordreddtantsur, 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:07
mordredcurrent script is here: output is here:
mordredit's a little bit too hard currently - so I started writing some keystoneauth patches - first one is
cdentmordred: do I recall you doing a similar thing a couple years ago?17:09
mordredcdent: in a one-off sort of way, yeah17:09
* dtantsur does not seem baremetal, sigh :)17:09
mordreddtantsur: well, that's just cause vexxhost doesn't run one of those :)17:09
dtantsurthat's sad, isn't it? :)17:10
* dtantsur is kidding, but only partly17:10
mordredcdent: 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 themselves17:10
mordreddtantsur: :)17:10
*** gkadam_ has quit IRC17:10
dtantsurmy biggest pain right now is supporting many major versions..17:11
mordredit should be noted also that script is only doing things with interface='public'17:11
mordreddtantsur: yah17:11
dtantsurI already have a few hacks in
dtantsurand I will certainly have more...17:11
mordreddtantsur: yah17:11
mordreddtantsur: in fact, I've been thinking that it would be good to document the various hacks that we do in os-client-config/keystoneauth17:12
dtantsurI'd love it17:12
mordredsince it is *completely* impossible to consume the apis generally without applying several client-side hacks17:12
dtantsuras to this code, I guess I'll have to update it to support several major versions.... brrrrr17:12
mordreddtantsur: for instance, glance frequenty returns invalid urls in its version discovery documents because it's easy for admins to misconfigure it ...17:13
mordreddtantsur: 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 catalog17:13
mordreddtantsur: seems like the sort of thing we shoudl document for other people :)17:13
mordred(we do that for *all* version discovery documents, not just glance)17:14
dtantsurkind of the same as the https hack you see in the link, right :)17:14
mordredbut also- similar hacks have to be employed for pagination links17:14
mordreddtantsur: yup17:14
dtantsurpagination has been a big pain for me so far17:14
dtantsurI'm not even using pagination links, which is probably bad17:14
mordreddtantsur: we've got an impl in sdk that handles all of the cases you might want to look at17:15
dtantsurlink? :)17:15
mordreddtantsur: yah - using hte pagination links actually make it much nicer17:15
mordredcoming ...17:15
dtantsurmordred: I'll have to rework some internals of rust-openstack to use them17:15
*** jpena is now known as jpena|off17:16
mordreddtantsur: starting here:
dtantsurmy other problem is that I only have one production cloud to test on (namely, RDO cloud)17:16
mordreddtantsur: 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 needlessly17:17
mordreddtantsur: that is a problem we can solve :)17:17
mordreddtantsur: 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 too17:18
* mnaser reads buffer17:18
* elmiko reads back17:18
mordreddtantsur: 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 remit17:18
mordredmnaser: tl;dr - dtantsur is working on a rust sdk for openstack but only has an account on rdo cloud to test it against17:19
elmikomordred: that is cool (re: version scanning), are you gonna make a report or something from it?17:19
dtantsurmordred: ah, yeah, I was thinking about openlab. a real CI job would be a big leap forward.17:19
dtantsurcurrently I only have a handful of unit tests17:19
mordredmrhillsman: ^^ I'm talking about you - and think I have another customre for you17:19
mordredelmiko: yup- that's the idea17:19
mrhillsmanhey hey17:20
elmikovery cool17:20
mordredelmiko: someone at red hat sent me an email for advice - which has resulted in my nerd-sniping myself into writing it17:20
mrhillsmanwe have space for all the SDKs :)17:20
mnaserdtantsur: i can give you an account if you'd like, just sign up here - - let me know of a client id and then i'll get it setup for ya17:20
dtantsurmnaser: wow, awesome!17:20
mordredelmiko: (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
dtantsurmrhillsman: mine is
mrhillsmanour hope is that you utilize openlab17:20
mrhillsmanwe want to help build the sdks up17:20
*** harlowja has joined #openstack-sdks17:21
mrhillsmanas our primary focus ;)17:21
elmikomordred: sweeet! i'm all for a good nerd-sniping ;)17:21
elmikothat sounded so wrong...17:21
mrhillsmanall we have to do is get the github app installed17:21
mnasermordred: is that a bug that things like load-balancer or object-store or placement are returning an empty list?17:21
mrhillsmanready to make it happen right now?17:21
mordredmnaser: it's not a bug in the script :)17:22
mrhillsmani can work with you now to get it setup17:22
mordredmnaser: neither load-balancer or object-store have version discovery documents17:22
mnaserso is our service registry wrong17:22
mnaseroh okay17:22
mnaser octavia does :>17:22
mordredmnaser: I believe johnsom may have already fixed octavia in master?17:22
mnaserexcept you cant access v1, because its meant to be accessed only by neutron17:22
mnaserso technically its v2 only17:22
mordredmnaser: it does? awesome - lemme figure out what went wrong with it then17:22
mnaseralso wait17:22
mnaseris it returning json wrapped in xml?17:23
mordredmnaser: looks fine when I do it manually:17:24
mordredb'{"versions": [{"status": "SUPPORTED", "updated": "2014-12-11T00:00:00Z", "id": "v1"}, {"status": "CURRENT", "updated": "2017-06-22T00:00:00Z", "id": "v2.0"}]}'17:24
mnasermordred: ok no thats just because the browser is probably has a weird accept: clause17:24
mnaserusing accept: application/xml, it retuns <result>{json}</result>17:24
dtantsurmrhillsman: thanks! what's your time zone? it's a bit late here17:24
johnsomI haven't tackled the version discovery document issue yet. It dropped off my radar.17:25
mrhillsmanUS Central17:25
*** harlowja has quit IRC17:25
johnsommordred I think you were going to open a bug with what we did wrong and/or pointer to an example done right.17:26
mordredI remember what's wrong now17:26
mordredmnaser: if you look, you will see there are no urls in that document returned17:26
mordredjohnsom: ++ I can do - I guess I should file an actual bug17:27
mrhillsmandtantsur: i created issue in the SDK repo as well as under the OpenLab repo for tracking17:27
mnaserlooks like an easy fix :>17:27
*** thrash|biab is now known as thrash17:27
johnsomYeah, probably is, just wasn't sure what we needed.17:28
dtantsurmrhillsman: cool! I'll read the docs and ping you agai17:28
mordredmnaser, cdent: also, I do get this: keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to HTTPSConnectionPool(host='', port=443):17:30
mnaseri think its because we don't expose the placement api over our public load balancer17:30
mnaser..should we?17:30
cdentit depends?17:31
mordredwell - if you have registered a public endpoint in your catalog I would - or otherwise just don't put placement into your catalog with a ublic interface17:31
cdentyeah, what mordred says17:31
mnaseroh actually17:31
mnaserits exposed17:31
cdentit does have to be in the service catalog, otherwise nova won't work, but it doesn't need to be public17:31
mnasersomeone didn't configure dns17:31
mordredmnaser: \o/17:31
mnasercurl -H 'Host:'
mnaserbut it looks like / is protected by keystone, let me fix dns17:32
mordredmnaser: well, when I get this report done - it might wind up being a helpful report for operators - is your cloud actually exposing what you think it is17:32
mordredmnaser: yah - I think we chatted about that in the nova channel a little while back - and I made the request that / of placement not be protected17:32
mnasermordred: cool if we can get this integrated to the openstack marketplace too17:32
mnasermordred: ok dns fixed, we have a low 300s ttl so should be available soon17:34
dtantsurmnaser: thanks a lot again! the list-images example in rust-openstack worked, that's already something :)17:40
* dtantsur will try the create-server exercise later17:41
*** d0ugal has quit IRC17:49
mnasermordred: placement resolving for me now17:50
*** d0ugal has joined #openstack-sdks17:56
dtantsuraaand the first bug: listing networks fail :)17:56
elmikocdent dtantsur, ready to print,
* cdent looks18:01
dtantsurmordred: see, the first fruit of multicloud testing: RDO cloud returns created_at in network listing, vexxhost does not :)18:01
mordreddtantsur: \o/18:01
dtantsurI wonder why, it's not marked as optional in the docs...18:02
cdentelmiko: link to the "mailing sent out by edleafe"?18:02
elmikocdent: should be there, [8]18:02
cdentoh, I see, maybe ref it again?18:03
elmikoadded another reference to it =)18:03
elmikohaha, next round's on me ;)18:03
cdentlooks good to me, but I admit to have brain fail at the moment18:04
elmikofair, i'll wait for dtantsur to give the second ack18:04
* edleafe returns, and reviews18:04
*** e0ne has joined #openstack-sdks18:04
dtantsurelmiko: should we mention that we plan on landing the http update soon(ish)?18:05
dtantsureverything else LGTM18:05
elmikoedleafe is updating now =)18:06
edleafedtantsur: done18:06
dtantsurok, then see you all tomorrow :)18:06
*** dtantsur is now known as dtantsur|afk18:06
elmikothanks edleafe !18:06
elmikowe gtg?18:06
edleafeelmiko: off it goes!18:07
elmikodone and done, thanks again =)18:08
openstackgerritColleen Murphy proposed openstack/keystoneauth master: add lower-constraints job
*** harlowja has joined #openstack-sdks18:29
*** salv-orl_ has quit IRC18:53
*** salv-orlando has joined #openstack-sdks18:53
*** salv-orlando has quit IRC18:57
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add methods to get all of the version data
mordredmnaser, elmiko, dtantsur|afk, edleafe, cdent, cmurphy: ^^ with that patch, the report consumption code is now:19:19
mordredc = openstack.connect(cloud='vexxhost')19:19
mordredreport = c.config.get_session().get_all_version_data()19:19
mordredprint(yaml.dump(report, default_flow_style=False))19:19
mordredI've tested running it against vexxhost- but have not yet written unittests19:20
elmikowow, very cool19:20
mordredincidentally, I updated it to include all regions and all interfaces with optional region and interface filters ...19:20
mordredso a cloud admin should be able to run it against their cloud and get a single document that summarizes everything on the cloud19:21
mordred <-- is updated output including regions and interfaces19:22
elmikomordred ++19:31
*** salv-orlando has joined #openstack-sdks19:55
mnasermordred: it would be nice to come to terms on deciding about endpoints for cinder19:56
mnaservolume/volumev2/volumev3 which all report all 3 versions19:57
mordredmnaser: yup - agree - that'll be fixed by the next patch I'm working on20:06
*** cdent has quit IRC20:09
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: add lower-constraints job
openstackgerritDuc Truong proposed openstack/openstacksdk master: Add function examples test for clustering
*** olaph1 has joined #openstack-sdks20:35
*** olaph has quit IRC20:35
*** bobh has quit IRC20:40
*** bobh has joined #openstack-sdks20:40
openstackgerritDuc Truong proposed openstack/openstacksdk master: Add function examples test for clustering
*** olaph has joined #openstack-sdks21:13
*** e0ne has quit IRC21:13
*** olaph1 has quit IRC21:15
*** edmondsw has quit IRC21:27
*** Elachance has joined #openstack-sdks22:11
*** sdague has quit IRC22:15
*** salv-orlando has quit IRC22:19
*** salv-orlando has joined #openstack-sdks22:19
*** bobh has quit IRC22:19
*** bobh has joined #openstack-sdks22:20
Elachance@mordred -- I updated my shade Senlin support code if you could give it a look when you get a chance!
mordredElachance: yes! I've got it open in my browser - thanks!22:24
*** salv-orlando has quit IRC22:24
*** bobh has quit IRC22:24
mordredElachance: also, re: your question about the logic being suitable for shade, it's absolutely suitable (and very appropriate) to put there22:24
Elachanceokay, cool! thank you :D22:32
*** lbragstad has quit IRC22:41
*** salv-orlando has joined #openstack-sdks23:20
*** salv-orlando has quit IRC23:24

Generated by 2.15.3 by Marius Gedminas - find it at!