Thursday, 2017-07-06

*** yuanying_ has joined #openstack-sdks00:05
*** yuanying has quit IRC00:06
*** yuanying has joined #openstack-sdks00:31
*** yuanying_ has quit IRC00:31
*** yuanying has quit IRC00:49
*** yuanying has joined #openstack-sdks01:02
*** rajathagasthya has joined #openstack-sdks01:40
*** annp has joined #openstack-sdks01:44
*** fzdarsky_ has joined #openstack-sdks01:56
*** yuanying has quit IRC01:57
*** fzdarsky has quit IRC01:59
*** yuanying has joined #openstack-sdks02:00
*** dave-mccowan has quit IRC02:53
*** d0ugal has quit IRC03:19
*** d0ugal_ has joined #openstack-sdks03:19
*** markvoelker has quit IRC03:26
*** markvoelker has joined #openstack-sdks03:26
*** markvoelker has quit IRC03:30
*** rajathagasthya has quit IRC04:23
*** GrineBloude has joined #openstack-sdks05:10
*** dasanind_ has joined #openstack-sdks05:15
*** frickler_ has joined #openstack-sdks05:15
*** ankur-gupta-f4_ has joined #openstack-sdks05:17
*** mvpnitesh has joined #openstack-sdks05:18
*** GreenBlood has quit IRC05:22
*** dasanind has quit IRC05:22
*** ankur-gupta-f4 has quit IRC05:22
*** frickler has quit IRC05:22
*** ankur-gupta-f4_ is now known as ankur-gupta-f405:22
*** dasanind_ is now known as dasanind05:22
*** markvoelker has joined #openstack-sdks05:27
*** shu-mutou-AWAY is now known as shu-mutou05:35
*** stephenfin has quit IRC05:44
*** dgonzalez has quit IRC05:44
openstackgerritTakashi NATSUME proposed openstack/python-openstackclient master: Add '--no-live' and '--force' option in 'server migrate'  https://review.openstack.org/42756505:45
openstackgerritTakashi NATSUME proposed openstack/python-openstackclient master: Add '--no-live' and '--force' option in 'server migrate'  https://review.openstack.org/42756505:45
*** stephenfin has joined #openstack-sdks05:45
*** dgonzalez has joined #openstack-sdks05:46
openstackgerritMerged openstack/keystoneauth master: Optimize the link address  https://review.openstack.org/47374505:54
*** markvoelker has quit IRC06:00
*** baffle has quit IRC06:03
*** baffle has joined #openstack-sdks06:03
*** gouthamr has quit IRC06:14
*** tovin07_ has joined #openstack-sdks06:17
openstackgerritlan proposed openstack/service-types-authority master: Fix html_last_updated_fmt for Python3  https://review.openstack.org/48084606:40
openstackgerritTakashi NATSUME proposed openstack/python-openstackclient master: List/show all server migration types  https://review.openstack.org/45011906:47
*** markvoelker has joined #openstack-sdks06:58
*** bhagyashri_s has quit IRC07:00
*** chenyb4 has quit IRC07:10
*** chenyb4 has joined #openstack-sdks07:12
*** chenying_ has joined #openstack-sdks07:12
*** chenying has quit IRC07:16
*** jpich has joined #openstack-sdks07:19
openstackgerritSpencer Yu proposed openstack/python-openstackclient master: Add the other commands for karbor osc plugin  https://review.openstack.org/48087907:28
*** markvoelker has quit IRC07:30
*** frickler_ is now known as frickler07:44
*** d0ugal_ has quit IRC07:46
*** d0ugal has joined #openstack-sdks07:46
*** d0ugal has quit IRC07:46
*** d0ugal has joined #openstack-sdks07:46
*** ralonsoh has joined #openstack-sdks07:46
*** e0ne has joined #openstack-sdks07:59
*** mvpnitesh has quit IRC08:20
*** markvoelker has joined #openstack-sdks08:27
*** snecklifter has joined #openstack-sdks08:34
*** snecklifter has quit IRC08:41
*** RuiChen has joined #openstack-sdks08:42
*** markvoelker has quit IRC09:02
*** dfflanders has joined #openstack-sdks09:04
*** mvpnitesh has joined #openstack-sdks09:16
*** shu-mutou is now known as shu-mutou-AWAY09:37
*** snecklifter has joined #openstack-sdks09:48
*** dfflanders has quit IRC09:50
*** markvoelker has joined #openstack-sdks09:59
*** tovin07_ has quit IRC10:05
*** jpich_ has joined #openstack-sdks10:05
*** jpich has quit IRC10:08
*** cdent has joined #openstack-sdks10:11
*** mvpnitesh has quit IRC10:14
*** mvpnitesh has joined #openstack-sdks10:19
*** jpich_ is now known as jpich10:25
*** mvpnitesh has quit IRC10:26
*** mvpnitesh has joined #openstack-sdks10:27
*** markvoelker has quit IRC10:32
*** markvoelker has joined #openstack-sdks11:02
snecklifterhmmm, docs.o.o is having a bad day it appears11:26
*** annp has quit IRC12:07
*** mvpnitesh has quit IRC12:24
*** mvpnitesh has joined #openstack-sdks12:33
*** chlong_ has joined #openstack-sdks12:36
*** mvpnitesh has quit IRC12:39
*** gouthamr has joined #openstack-sdks13:18
*** rate has joined #openstack-sdks13:28
*** rate is now known as chenyb4_13:28
*** chenyb4__ has joined #openstack-sdks13:39
*** chenyb4_ has quit IRC13:42
*** chenyb4 has quit IRC13:51
openstackgerritMerged openstack/python-openstackclient master: Add the other commands for karbor osc plugin  https://review.openstack.org/48087913:51
*** chenyb4 has joined #openstack-sdks13:52
*** edleafe- is now known as edleafe13:52
*** chenyb4 has quit IRC13:59
*** bobh has joined #openstack-sdks14:12
*** mvpnitesh has joined #openstack-sdks14:16
snecklifterstevemar: ping, would you be able to +W that backport pls? https://review.openstack.org/#/c/480595/15:08
stevemarsnecklifter: done15:10
snecklifterstevemar: many thanks15:11
snecklifterseanhandley: see^^? some people _dont_ demand beer for reviews...15:11
*** e0ne has quit IRC15:13
seanhandleythey're missing a trick!15:17
openstackgerritMerged openstack/python-openstackclient master: Allow objects to be streamed to stdout  https://review.openstack.org/47619915:24
*** reedip has quit IRC15:24
*** e0ne has joined #openstack-sdks15:28
*** e0ne has quit IRC15:28
*** reedip has joined #openstack-sdks15:38
stevemarsnecklifter: damn, missed out on a beer!15:45
snecklifterstevemar: ok, next time you are in Manchester, England...15:45
stevemarif i only had a boat15:46
snecklifteryou need one in Manchester, never stops raining15:46
*** jpich has quit IRC15:49
elmikoedleafe, cdent, are we meeting today?16:02
cdentoh yeah16:02
cdentmy calendar didn't warn me16:02
elmikoXD16:02
elmikoi started the meeting already16:02
*** rajathagasthya has joined #openstack-sdks16:17
cdentelmiko, edleafe : https://etherpad.openstack.org/p/api-wg-newsletter16:26
* elmiko looks16:27
elmikocdent: lgtm16:28
elmikothanks16:28
edleafecdent: Not as witty as your usual output, but given your layoff, acceptable16:28
cdentcheers, I'll try to do better next time16:29
*** mvpnitesh has quit IRC16:30
efriedmordred Are three-part version numbers (e.g. v1.2.3) okay or not?16:33
efriedor four, or five...?16:33
*** ralonsoh has quit IRC16:34
*** rajathag_ has joined #openstack-sdks16:41
*** snecklifter has quit IRC16:42
*** rajathagasthya has quit IRC16:42
openstackgerritAkihiro Motoki proposed openstack/python-openstackclient master: Network tag support  https://review.openstack.org/46119517:25
*** chenyb4__ has quit IRC17:27
*** chenyb4_ has joined #openstack-sdks17:28
*** chenyb4_ has quit IRC17:32
*** hoangcx has quit IRC17:33
amotokiis there a plan to release a new version of cliff?17:42
amotokiosc and neutronclient (possibly other osc plugins) can use the sphinxext to generate CLI reference automatically. it reduces developer boring effort a lot.17:44
*** rajathag_ has quit IRC17:48
*** hoangcx has joined #openstack-sdks17:49
openstackgerritAkihiro Motoki proposed openstack/python-openstackclient master: Use openstackdocstheme in release note  https://review.openstack.org/48117317:53
*** dave-mccowan has joined #openstack-sdks18:02
*** rajathagasthya has joined #openstack-sdks18:05
openstackgerritAkihiro Motoki proposed openstack/python-openstackclient master: Use openstackdocstheme in release note  https://review.openstack.org/48117318:13
*** hoangcx has quit IRC18:53
dtroyeramotoki: yes, soon.  I've got a question on https://review.openstack.org/479157 yet18:57
dtroyerdhellmann: any opinions on ^^^^ ??18:58
mordredefried: they are not18:58
dhellmanndtroyer : looking18:58
efriedmordred Okay.  Also looking at other (lack of) validation in discover.py18:59
mordredefried: ah - so - discover.py should likely be more permissive if it sensibly can18:59
mordredefried: I don't think a service returning a three-part version should break discover.py - but I also think we should be clear in docs that it's not 'supported'19:00
efriedmordred I'm working on a change to address some of the (post-merge) comments I put on https://review.openstack.org/#/c/469087/1419:00
mordredefried: woot!19:01
efriedmordred How would you feel about a log warning if len(version_tuple) != 2 ?19:01
dtroyerosc meeting in #openstack-meeting if anyone is around...19:02
*** hoangcx has joined #openstack-sdks19:06
*** cdent has quit IRC19:11
mordredefried: as long as it's squelchable - the big isssue is as a consumer of a cloud, if the cloud decides for whatever reason to return a version triple, I can't actually do anything about it, and now I've got warnings spamming me19:11
efriedmordred Mm, fair enough.19:11
mordredefried: as a real-world example of this - there's a warning in python-requests about subjectaltname in ssl certs that gets tripped by the certs deployed on rackspace public cloud19:12
mordredefried: which is why we have the requestsexceptions lib - which has an easy-button for making that go away19:12
stevemaramotoki: +2! just need dtroyer to look at it now :)19:15
dtroyerstevemar: join us in #openstack-meeting if you have a minute19:16
openstackgerritDoug Hellmann proposed openstack/cliff master: add tests for display command classes and hooks  https://review.openstack.org/48119219:17
efriedmordred But version tuples should have at *least* two parts, yes?19:22
efriedToday if you normalize_version_number([1]) you get (1,)19:22
mordredefried: you'd think - but no - versions in urls often only have one number (v2)19:34
openstackgerritOpenStack Proposal Bot proposed openstack/os-api-ref master: Updated from global requirements  https://review.openstack.org/47804019:34
mordredefried: and the normalize_version code is used as part of matching requested versions with found versions19:34
efriedmordred But in discover.py, you're specifically translating "v2" to (2, 0)19:34
mordredyup19:34
mordredwe can't change that- it's pre-existing keystoneauth behavior19:34
efriedSo you want "v2" => (2, 0) and "2" => (2, 0) but [2] => (2,) ?19:35
mordredhrm. no - that seems like a bug19:35
efriedokay, cool, swhat I'm fixing.19:35
mordredkk :)19:35
efriedmordred Honestly, I'm having trouble keeping straight which pieces of data are coming from where, and where they're going to.19:36
mordredefried: yah- doing a refactor inside of discovery.py is overdue19:37
efriedmordred Here's another poser for ya.19:38
efriedmordred In Discover.version_data - if max_version is set, but "" (empty string) or 0 or None, do we want to behave same as if it's absent (i.e. default to using the `version` field) or use actual None, which (I think) equates to `latest` ?19:41
efriedmordred I would think we would want to do the former (especially if `version` is present).  But today I believe we're doing the latter.19:43
efriedBecause {'key': None}.get('key', 'default') returns None, not 'default'.19:43
mordredefried: if max_version and version are both set, that's an error. if max_version is set but is set to "" or 0 - I think that's super confusing and we should throw an error19:45
mordredefried: and we haven't released with max_version yet - so I think making that change should be fine19:46
efriedmordred Okay, none of that is throwing an error today.  So can I add those checks (for mutual exclusivity and bogus max_version)?19:46
mordredefried: mutual exclusivity should have a check ... http://git.openstack.org/cgit/openstack/keystoneauth/tree/keystoneauth1/discover.py#n11619:48
mordredefried: but you can certianly make it better!19:48
efriedmordred Okay, cool.  I haven't grokked the various code paths here, but it looks like that validation won't get run if Discover.version_data is called directly.19:51
openstackgerritDean Troyer proposed openstack/cliff master: add tests for display command classes and hooks  https://review.openstack.org/48119219:51
efriedefried In fact, I just wrote a test case to prove it.19:52
efriedWell19:52
efriedAt least it doesn't trigger for 'max_version': ''19:52
efriedwhich makes sense in light of the loose boolean checks in _normalize_version_args19:52
mordredefried: ah - awesome. well that's definitely a bug then19:53
efriedmordred Confirmed even with a real value there.19:53
efriedI'll work on it.19:53
mordredefried: thank you for being so thorough!19:54
efriedmordred Sure thing; hope I'm not just spinning my wheels.  If nothing else, it's helping me understand the code.19:54
mordredefried: you're definitely not spinning your wheels - and you understanding the code is a *GREAT* outcome19:55
efriedmordred get_version_data, get_versioned_data, version_data, version_data_for -- Can I get an ugh?20:22
*** hoangcx has quit IRC20:22
mordredefried: yah- sorry about that20:23
*** fzdarsky_ is now known as fzdarsky|afk20:36
*** hoangcx has joined #openstack-sdks20:36
openstackgerritMonty Taylor proposed openstack/service-types-authority master: Improve validation & documentation  https://review.openstack.org/47855620:44
openstackgerritMerged openstack/service-types-authority master: Improve validation & documentation  https://review.openstack.org/47855620:51
openstackgerritEric Fried proposed openstack/service-types-authority master: Remove validate.py main()  https://review.openstack.org/47856221:00
*** cdent has joined #openstack-sdks21:02
*** cdent has quit IRC21:13
openstackgerritMonty Taylor proposed openstack/service-types-authority master: Add ./ to latest link  https://review.openstack.org/48128321:22
openstackgerritGage Hugo proposed openstack/python-openstackclient master: WIP - Add project tags functionality  https://review.openstack.org/48128421:22
openstackgerritMerged openstack/service-types-authority master: Add ./ to latest link  https://review.openstack.org/48128321:31
efriedmordred The return from discover.get_version_data - that's allowed to say max_version='latest', right?21:50
efriedkinda looks like not.21:52
mordredefried: the top-level get_version_data?21:52
efriedyeah21:52
mordrednope - that'll only have values that show up in version discovery documents21:53
*** hoangcx has quit IRC21:53
openstackgerritMonty Taylor proposed openstack/service-types-authority master: Stop publishing yaml file  https://review.openstack.org/48130521:58
*** dave-mccowan has quit IRC22:05
*** hoangcx has joined #openstack-sdks22:08
*** bobh has quit IRC22:11
openstackgerritEric Fried proposed openstack/keystoneauth master: normalize_version_number([1]) => (1, 0) and docs  https://review.openstack.org/48130922:19
efriedmordred ^ it's a start.22:19
efriedmordred Is there some reason you didn't want Discover.versioned_data_for() to return an EndpointData?22:24
mordredefried: great patch! I left a few comments - mostly centered around one thing that will likely make you punch yourself in the face22:24
mordredefried: I'm not coming up with a good reason right off the bat - it's probably a result of how that stack was developed22:26
efriedmordred Possibly you were trying to keep it consistent with data_for(), which it seems to supersede.  But it seems like since you're superseding anyway, you might as well make it prettier.  I haven't dug all the way in yet, though.22:27
mordredefried: originally versioned_data_for was just an update to data_for22:27
efriedright22:27
mordredefried: but then we realized that it was changing data_for's behavior22:27
mordredwhich we can't do22:27
efriedSo might as well shoot the whole hog.22:27
mordredso the solution was to just split it out - which we could do without reworking the whole stack22:28
mordredHOWEVER - we're not released yet -so reworking it to return an EndpointData potentially makes sense22:28
mordred(like you say - might was well shoot the whole hog)22:28
mordredefried: might be a smidge tricky given how get_versioned_data works ... but if you see a path - go for it22:30
efriedk22:30
openstackgerritDean Troyer proposed openstack/cliff master: add tests for display command classes and hooks  https://review.openstack.org/48119222:32
openstackgerritRajath Agasthya proposed openstack/cliff master: Run hooks for DisplayCommandBase  https://review.openstack.org/47915722:40
openstackgerritRajath Agasthya proposed openstack/cliff master: add tests for display command classes and hooks  https://review.openstack.org/48119222:40
*** hoangcx has quit IRC23:24
*** hoangcx has joined #openstack-sdks23:40
*** efried has quit IRC23:41
-openstackstatus- NOTICE: nb03.openstack.org has been cleaned up and rebooted, and should return to building rotation23:44
*** efried has joined #openstack-sdks23:51

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