Wednesday, 2015-08-05

*** egafford has joined #openstack-sahara00:04
*** elmiko has quit IRC00:21
*** saneax has joined #openstack-sahara00:31
openstackgerritEmilien Macchi proposed openstack/puppet-sahara: acceptance: bump to Liberty release  https://review.openstack.org/20929600:40
*** ashuk has quit IRC01:04
*** ashuk has joined #openstack-sahara01:21
openstackgerritEmilien Macchi proposed openstack/puppet-sahara: acceptance: bump to Liberty release  https://review.openstack.org/20929601:22
*** ashuk has quit IRC01:30
*** saneax has quit IRC02:11
*** egafford has quit IRC02:40
*** hdd has joined #openstack-sahara03:19
*** hdd has quit IRC03:28
*** coolsvap|away is now known as coolsvap03:54
*** saneax has joined #openstack-sahara03:56
*** vgridnev has joined #openstack-sahara04:02
*** sgotliv_ has joined #openstack-sahara04:14
*** Poornima has joined #openstack-sahara04:14
*** pcaruana has quit IRC04:59
*** saneax has quit IRC05:38
*** saneax has joined #openstack-sahara05:40
*** vgridnev has quit IRC05:51
openstackgerritMerged openstack/sahara-image-elements: Updated from global requirements  https://review.openstack.org/20121105:54
*** saneax has quit IRC05:54
openstackgerritMerged openstack/sahara-image-elements: hadoop: add vanilla/2.6 based on CentOS 7  https://review.openstack.org/20246905:56
openstackgerritMerged openstack/sahara-image-elements: Fix version of Centos in Mapr plugin  https://review.openstack.org/20634405:56
*** saneax has joined #openstack-sahara05:58
*** Poornima has quit IRC06:02
*** Poornima has joined #openstack-sahara06:18
*** vgridnev has joined #openstack-sahara06:24
*** pcaruana has joined #openstack-sahara06:36
*** vgridnev has quit IRC07:01
*** esikachev has joined #openstack-sahara07:25
*** witlessb has joined #openstack-sahara07:44
*** Nikolay_St has joined #openstack-sahara08:13
*** esikachev has quit IRC08:19
*** barra204 has quit IRC08:25
*** esikachev has joined #openstack-sahara08:38
openstackgerritVitaly Gridnev proposed openstack/sahara-image-elements: Support building images for new vanilla plugin  https://review.openstack.org/20901008:41
openstackgerritVitaly Gridnev proposed openstack/sahara: add unit test cover oozie upload workflow file function  https://review.openstack.org/20792308:42
openstackgerritVitaly Gridnev proposed openstack/sahara: Remove test for job type in get_data_sources  https://review.openstack.org/20854208:42
openstackgerritVitaly Gridnev proposed openstack/sahara: Add recommendation support to Cloudera plugin  https://review.openstack.org/19309808:44
openstackgerritEvgeny Sikachev proposed openstack/sahara: [DO NOT MERGE] Workaround for mapr  https://review.openstack.org/20454808:47
openstackgerritVitaly Gridnev proposed openstack/sahara-image-elements: Support building images for new vanilla plugin  https://review.openstack.org/20901008:54
openstackgerritVitaly Gridnev proposed openstack/sahara-image-elements: Support building images for new vanilla plugin  https://review.openstack.org/20901008:55
openstackgerritVitaly Gridnev proposed openstack/sahara: Make starting scripts module for vanilla 2 plugin  https://review.openstack.org/20847409:06
openstackgerritVitaly Gridnev proposed openstack/sahara: Small refactoring for vanilla 2  https://review.openstack.org/20842409:06
*** esikachev has quit IRC09:07
openstackgerritVitaly Gridnev proposed openstack/sahara: Update vanilla plugin to the latest version  https://review.openstack.org/20851009:11
openstackgerritVitaly Gridnev proposed openstack/sahara: Update vanilla plugin to the latest version  https://review.openstack.org/20851009:12
*** esikachev has joined #openstack-sahara09:12
openstackgerritVitaly Gridnev proposed openstack/sahara: Support manila shares as binary store  https://review.openstack.org/20469009:13
*** tosky has joined #openstack-sahara09:16
*** DWfuturetec has joined #openstack-sahara09:19
*** DWfuturetec has left #openstack-sahara09:20
*** vgridnev has joined #openstack-sahara09:25
*** vgridnev has quit IRC09:26
*** vgridnev has joined #openstack-sahara09:26
*** Nikolay_St has quit IRC09:42
openstackgerritVitaly Gridnev proposed openstack/sahara: Add sample spark wordcount job  https://review.openstack.org/20703909:48
openstackgerritVitaly Gridnev proposed openstack/sahara: Support placeholders in args of job for i/o  https://review.openstack.org/20609409:48
*** Nikolay_St has joined #openstack-sahara09:53
openstackgerritVitaly Gridnev proposed openstack/sahara: Put missing fields to validation schema  https://review.openstack.org/20724409:55
openstackgerritAndrey Pavlov proposed openstack/sahara: Adding job_binary_internal_update api call  https://review.openstack.org/20849610:25
*** saneax has quit IRC10:32
*** coolsvap is now known as coolsvap|away10:33
*** h00327910__ has quit IRC10:58
*** saneax has joined #openstack-sahara11:09
*** AndreyPavlov has quit IRC11:10
*** AndreyPavlov has joined #openstack-sahara11:10
openstackgerritEvgeny Sikachev proposed openstack/sahara: [DO NOT MERGE] Workaround for mapr  https://review.openstack.org/20454811:32
*** hdd has joined #openstack-sahara11:40
*** coolsvap|away is now known as coolsvap11:44
openstackgerritAndrey Pavlov proposed openstack/sahara: Adding job_update api call  https://review.openstack.org/19792411:48
*** esikachev has quit IRC11:53
openstackgerritAndrey Pavlov proposed openstack/sahara: Adding job_binary_internal_update api call  https://review.openstack.org/20849612:00
*** Poornima has quit IRC12:09
*** esikachev has joined #openstack-sahara12:27
openstackgerritAndrey Pavlov proposed openstack/sahara: Adding job_binary_internal_update api call  https://review.openstack.org/20849612:30
openstackgerritAndrey Pavlov proposed openstack/sahara-specs: Addding spec for Objects update support in Sahara API  https://review.openstack.org/20837812:32
*** hdd has quit IRC12:44
*** hdd has joined #openstack-sahara12:52
openstackgerritArtem Osadchiy proposed openstack/sahara: Fix MapR plugin versions loading  https://review.openstack.org/20950713:03
*** elmiko has joined #openstack-sahara13:03
*** vgridnev has quit IRC13:16
openstackgerritAndrey Pavlov proposed openstack/sahara: Adding clusters_update api call  https://review.openstack.org/19502413:23
*** tosky has quit IRC13:25
*** tosky has joined #openstack-sahara13:29
*** coolsvap is now known as coolsvap|away13:30
openstackgerritChad Roberts proposed openstack/sahara: Support manila shares as binary store  https://review.openstack.org/20469013:35
*** ashuk has joined #openstack-sahara13:39
*** ashuk has quit IRC13:40
openstackgerritAndrey Pavlov proposed openstack/sahara: Adding job_update api call  https://review.openstack.org/19792413:47
openstackgerritAndrey Pavlov proposed openstack/sahara-specs: Addding spec for Objects update support in Sahara API  https://review.openstack.org/20837813:58
*** zigo has quit IRC14:05
*** egafford has joined #openstack-sahara14:06
*** zigo has joined #openstack-sahara14:06
_crobertsrhSergeyLukjanov:  Are we due for a python-saharaclient release anytime soon?  Just asking because I have some horizon changes that will need it.14:15
openstackgerritEvgeny Sikachev proposed openstack/sahara: [DO NOT MERGE]SHOW IMAGES  https://review.openstack.org/20953014:21
*** saneax has quit IRC14:25
openstackgerritEvgeny Sikachev proposed openstack/sahara: [DO NOT MERGE]SHOW IMAGES  https://review.openstack.org/20953014:30
*** Nikolay_St has quit IRC14:41
openstackgerritEvgeny Sikachev proposed openstack/sahara: [DO NOT MERGE]SHOW IMAGES  https://review.openstack.org/20953014:49
elmiko_crobertsrh, the horizon stuff uses saharaclient to do all the interaction with the sahara controller?14:56
*** _crobertsrh is now known as crobertsrh14:57
crobertsrhyep14:57
elmikogiven the latest review that AndreyPavlov is proposing with the update method for clusters, etc. i'm wondering if it would be worth it to fix the other update methods to use PATCH instead of PUT so we can have some consistency14:58
elmikothat would basically be a change in the sahara controller, and a change in saharaclient. would that be it?14:58
*** hdd has quit IRC14:58
*** hdd has joined #openstack-sahara15:00
*** tmckay has joined #openstack-sahara15:25
*** esikachev has quit IRC15:25
*** shakamunyi has joined #openstack-sahara15:35
*** hdd has quit IRC15:36
elmikocrobertsrh, tmckay, i just posted this http://lists.openstack.org/pipermail/openstack-dev/2015-August/071469.html15:38
elmikocurious what you guys think about doing a quick update to those methods?15:38
crobertsrhnice use of "bifurcation"15:39
elmikothanks ;)15:39
tmckayI think "Rock on, elmiko!"15:39
elmikodo you guys think i should just make a bug for this?15:39
tmckayyes15:39
crobertsrhYes15:39
elmikok, thanks15:39
tmckayYES15:39
tmckaybeat you crobertsrh, with your capital Y15:40
crobertsrhyou didn't have to yell, man15:40
elmikothe only thing i'm unsure about is the timing between the sahara patch landing and the saharaclient patch landing, but i guess i can just make one depend on the other15:40
elmikolol15:40
tmckayyeah, you can just mark the client WIP15:41
elmikoi acutally saw how you make patches in different projects depend on each other15:41
crobertsrhoooh15:42
elmikojust add "Depends-On:" with the change-id of the target15:42
elmikoit will make gerrit not merge until the dependency does15:42
crobertsrhOh, I think I've seen that before.  I didn't know it actually *did* anything.15:42
elmikoyea, i ran into it recently because something wasn't merging and the nice folks in -infra hipped me to it15:43
tmckayelimiko, nice.  Add it in the comment?15:46
tmckaycommit I mean15:47
tmckaythat is great15:47
elmikoyea15:47
elmikoi'll do the sahara PR first then make the saharaclient depend on it15:47
elmikoit should be a relatively small change15:47
elmikobut i think, if we have functional tests for the updating methods they might get broken while this is happening15:48
toskynot an API expert, is there a PATCH method? I though the base were the HTTP verbs and I don't remember a PATCH one15:51
toskyor is it something different?15:51
elmikotosky, yea there is  a PATCH, https://tools.ietf.org/html/rfc578915:53
toskyoh15:56
toskyit's recent15:56
elmikoi guess relatively speaking15:57
elmikolike, technically speaking, if you look at https://tools.ietf.org/html/rfc7231#section-4.3.415:58
elmikoPUT should be used to replace a resource full stop15:58
elmikoit shouldn't really be used for updating15:58
*** Nikolay_St has joined #openstack-sahara16:08
*** esikachev has joined #openstack-sahara16:12
*** pcaruana has quit IRC16:26
*** openstackgerrit_ has joined #openstack-sahara16:30
*** melaks has joined #openstack-sahara16:31
toskyelmiko: isn't this an API change?16:33
*** hdd has joined #openstack-sahara17:01
*** openstackgerrit_ has quit IRC17:05
elmikotosky, technically yes17:19
toskyelmiko: and wouldn't it require a major API bump?17:20
* tosky hears "2.0" somewhere17:20
elmikolol17:20
elmikoi don't think so, as we're not changing the endpoints just the methods17:20
elmikoalso, iirc these updating methods have been added to our api relatively recently17:20
elmikotosky, do you think it would require a version bump?17:21
toskyelmiko: let's put it this way: will an application using the current API, which target 1.x, work without any change?17:22
elmikotosky, no, it would require a change17:22
elmikobut...17:22
toskyAPI break then17:22
elmikoit would have just changed to add these methods to begin with17:23
*** openstackgerrit_ has joined #openstack-sahara17:24
elmikotosky, so are you saying we can't fix API issues without releasing a new version api?17:24
*** hdd has quit IRC17:25
toskyelmiko: that's my point, yes17:25
toskythe sad law of "plan carefully your API in advance" :)17:25
elmikohmm17:26
elmikoi'm not sure how to address this then, we have a split in our API that, imo, needs to be addressed. it would be easier to do it now than wait for v217:26
elmikoi don't think it's proper for us to keeping adding methods that follow the broken methodology17:27
toskyno, really, we can't do that, or we are de-facto creating a new API17:27
toskya reason more to go with 2.0 soon17:28
*** hdd has joined #openstack-sahara17:28
toskyyou can add new methods, and mark the old one as deprecated (even if working) not change the existing ones17:28
elmikothat is another option, just have both in parallel for now17:29
elmikothe thing is, in order to get v2 off the ground we need to have the microversion impl in place.17:29
elmikothen we can iterate more frequently and signal that the api is changing17:30
toskyhttp://semver.org/17:30
toskyif it's changing, is a major break -> bump major version17:30
toskythen the thing currently called 2.0 will be 3.017:30
elmikoyea, something akin to that17:30
elmikowell, i don't think this is a 2.0 -> 3.0 type change17:30
elmikothis is more like a 2.0 -> 2.117:31
toskyif a 2.x client does not work anymore, it's a major bump17:31
toskylikewise for 1.x client etc17:31
elmikoironic and nova have started to implement microversions so that they can make these style changes and have a way for clients to know what they are talking to17:31
toskya client targeted for x.y should work whatever x.y+n is released17:31
elmikoyea, but we don't have the capability to spin versioned apis like that17:32
toskyI think microversioning is not about major breakages, but to publish new features17:32
toskyI bet that what I wrote above applies also with microversioning, but I need to investigate more17:32
elmikonot just that, but also to indicate when certain features don't work anymore, and to allow clients to request specific versions of the api17:32
*** hdd has quit IRC17:33
toskythat's all against the semantic versioning17:33
elmikohttp://specs.openstack.org/openstack/nova-specs/specs/kilo/implemented/api-microversions.html17:33
elmikoan example of microversion17:34
toskybut then you need microversioning before going for this change17:34
elmikowell, probably, but that's 2.0 stuff17:34
toskythen no for 1.x17:34
*** openstackgerrit_ has quit IRC17:34
elmikook, then i just have to be an ass about people wanting to implement new PUT methods17:34
elmiko=(17:35
elmikobecause it's making a mess of the api17:35
toskythat's why I think is really time to push for the new version17:35
elmikoyea, i gotta finish that poc and get the spec up17:35
toskyuh, need to relocate, back in 30 minutes17:35
elmikonp, thanks for the critique17:35
*** tosky has quit IRC17:36
*** melaks has quit IRC17:43
*** hdd has joined #openstack-sahara17:48
*** melaks has joined #openstack-sahara17:49
tmckayelmiko, so can you do that Depends-On trick in a commit to allow a CR to depend on multiple different streams in the same project?17:50
elmikotmckay, good question, i'm not exactly sure17:51
tmckayI want to depend on a croberts patch, but I also want to break it up.  Instead of going multiple levels deep on the original, I wonder if I can depend on two base CRs17:51
elmikoi'd be curious to know as well17:51
tmckayhmm, maybe I should try it17:52
*** tosky has joined #openstack-sahara17:53
elmikotosky, so what about breaking things in the body of a request, does that count as major version bump as well?17:56
toskyelmiko: I guess the criteria is always the same: does a unmodified client written for a previous version still works without changes?17:57
elmikothat depends on the nature of the client and how it deploys data to the endpoint, doesn't it?17:59
elmikolike, in the case of sahara cli, you could just change the json you send, then it would still work17:59
openstackgerritTrevor McKay proposed openstack/sahara: Support manila shares as binary store  https://review.openstack.org/20469018:00
openstackgerritTrevor McKay proposed openstack/sahara: draft commit, manila datasources  https://review.openstack.org/20961518:00
tmckayoops, I may have changed something I didn't mean to18:00
elmikodoh!18:00
toskyelmiko: the CLI client is not an good example, as it uses the python CLI18:00
tmckaytoo many patches in progress18:00
elmikotosky, hehe, fair18:00
elmikotosky, i'm trying to figure out the scope of the changes that are needed for the v2 change. i had thought we could change it in an iterative manner, but that may not be possible18:01
elmikoi was hoping we could use version negotiation in the headers to help guide the deployment18:02
toskynot with API unfortunately (unless you have microversioning, but yeah)18:02
crobertsrhHmm18:02
toskyyou could end up doing more work than implementing a new API or microversioning in 1.x18:02
elmikotosky, my idea was that we implement microversions as the basis step for v2, the start to iterate on changes until we have everything we want18:03
elmikobut i don't think that's possible if we hold ourselves to upping the major version everytime we introduce a breaking change18:03
elmikoespecially when you consider that we carry the major version in the URI18:03
toskyright, that's why APIs need proper planning, it's not something you can easily expand18:04
elmikowell, easy to expand, difficult to fix ;)18:04
elmikohere's the thing though.18:05
elmikowith microversions, an old client would know when it can't complete some action. so it wouldn't break, but it would request a lower version api18:05
crobertsrhtmckay:  Did you mean to tweak https://review.openstack.org/#/c/20469018:05
elmikoso, we start with 2.0.018:05
elmikoand then introduce a breaking change in 2.1.018:05
tmckaycrobertsrh, I think I may have rebased it ...18:05
elmikobut a client could still request 2.0.018:05
tmckaynot sure if it's actually messed up or not18:05
crobertsrhrebased in a good way, or in a bad way? :)18:06
elmikoand it would work until we decide to deprecate 2.0.018:06
tmckayI was trying to stash a dependent wip18:06
tmckaycrobertsrh, in a good way.  moved it to the head of the merge18:06
elmikoplus, the server would indicate what versions it supports18:06
tmckaycroberts, trying to check now18:06
crobertsrhhmm, doesn't look right to me18:06
crobertsrhmanila_share.py is a few revs back18:07
elmikoand, if we keep the older code around we still be able to handle requests for a prior api version18:07
elmikoi mean, we're mainly talking about changing some endpoints and method types, for now18:07
toskyif you have microversioning in place18:08
tosky(which - microversioning - I still personally think it's a broken workaround for lack of planning, but that's just me; it's available and used in openstack, so it can be used)18:09
elmikoi don't think that's an unfair characterization18:09
tmckaycrobertsrh, okay, I'll checkout and resubmit18:09
elmikotosky, so here's my plan, the spec for v2 will say that the first thing we change is add microversions and carry over all the endpoints as they are18:09
elmikothen we start to iterate and "improve" the api18:10
elmikoand at some point we will declare v2 to go from experimental to production18:10
toskythat's your call, but isn't it really possible to have a baseline API with something which won't change too much?18:10
toskyevery time you will add a code branch to support a microversion, that will increase the code, the test matrix and the universe entropy18:10
elmikofair point, and i like think that it's *our* call ;)18:11
tosky... until someone has to explode the test matrix18:11
openstackgerritTrevor McKay proposed openstack/sahara: Support manila shares as binary store  https://review.openstack.org/20469018:11
elmikotosky, at some point we will decide to deprecate versions older than x.y.z, then the matrix can relax18:11
tmckaycrobertsrh, okay, fixed18:12
toskyyou are basically going to introduce parallel version of API without calling them as such18:12
tmckayI changed the comment :)18:12
elmikotosky, i suppose that's one way to look at it18:12
tmckaycrobertsrh, 28 and 30 show no difference now18:12
elmikotosky, with the understanding that v2 related API stuff will need to be negotiated with microversions18:12
elmikov1.1 still works the same18:13
openstackgerritlu huichun proposed openstack/python-saharaclient: Add job execution update  https://review.openstack.org/20800118:14
elmikoso, the other way to do this (which sounds more like what you are proposing), is that we plan all the changes ahead of time, make them in v2, and only make additive changes to v2 at that point18:14
elmikois that accurate?18:14
toskyelmiko: yes18:14
toskyelmiko: just check this: are you sure you will be able to drop older version of x.y, for y<=n, without increasing x?18:15
elmikotosky, only if the client is setup to understand the microversions18:15
crobertsrhtmckay:  ack :)18:16
toskyelmiko: so the test matrix won't really decrease18:16
elmikotosky, at some point we would drop 1.1, then all clients would be assured to know about microversions, so why would the test matrix not decrease?18:16
toskyelmiko: fine for 1.1, but every microversion variation is a different combination; a client could be a plain one, or it could require 2.1, or 2.2, or 2.3, and the behavior of some method will change, so all codepaths will be supported18:18
elmikotosky, true, but at some point we might deprecate 2.1 (for example), then it would decrease again18:19
toskyelmiko: that's the point; are we sure we can do it? I would check with other projects18:19
elmikotosky, fair, and that's a good point about watching what others are doing18:20
elmikotosky, overall, i think you are probably correct that we should plan to make all the changes possible and then cement the api at that point. i just envision some larger changes that i think will be more difficult to capture in a first pass at v218:22
toskyelmiko: then it will be time for 3.018:22
elmikoimo, i would keep the v2 api experimental until we decide to cement it, and then declare it as ready for production18:23
elmikotosky, lol, don't get me started... ;)18:23
*** esikachev has quit IRC18:24
openstackgerritEthan Gafford proposed openstack/sahara: Check ACLs before adding access for Manila share  https://review.openstack.org/20962118:25
egaffordcrobertsrh: Thanks for notifying re: https://review.openstack.org/#/c/209621/18:26
crobertsrhSweet, you already have the fix.18:26
openstackgerritEthan Gafford proposed openstack/sahara: Check ACLs before adding access for Manila share  https://review.openstack.org/20962118:27
egaffordcrobertsrh: Yup, and now I have the fix addressing the right bug id.18:28
crobertsrhha18:28
elmikotosky, i appreciate the criticism, although it's giving me more gray hairs ;)18:28
toskysorry for that, I understand the complication18:29
elmikotosky, no apologies necessary, this is a difficult problem to work through18:30
egaffordelmiko: More gray hairs just makes your beard better anyway. ;)18:30
elmikoegafford, lol, thanks ;)18:30
crobertsrhbeard?  I always figured that was just his back hair run amuck!18:31
elmikohaha, oh man...18:32
egaffordcrobertsrh: If elmiko's back hair was as amazing as his beard, I think most of us mortals would just need to go ahead and secede from masculinity as a gender.18:33
crobertsrh+118:33
elmikowhoa, let's not go that far18:33
crobertsrhHe would be the Chuck Norris of back hair for sure18:33
elmikohaha18:33
egaffordelmiko: :)18:33
*** openstackgerrit has quit IRC18:46
*** openstackgerrit has joined #openstack-sahara18:46
crobertsrhtmckay:  digging the manila data source  stuff so far.18:47
tmckaycrobertsrh, cool, that was supposed to be a draft CR that nobody could see, but for some reason it wouldn't let me.  I think because I was pushing dependent on you18:47
tmckayand it doesn't know how to sort out the flags for multiple commits, and probably wouldn't let me "draft" your existing CR18:48
crobertsrhMakes sense.  I didn't realize draft was still an option18:48
tmckayelmiko, crobertsrh, egafford, if you run tox -e py27 right now on a fresh master, do you get 146 tests failed on "Plugins couldn't be loaded: vanilla" ?18:48
crobertsrhI thought -1 WF was our only option nowadays18:48
tmckayor is my env whack?18:49
tmckaycrobertsrh, nope, git review -D should still work18:49
crobertsrhI have a fresh one handy, I'll give it a try.18:49
tmckaylast I knew18:49
elmikotmckay, i'll give it a shot. but yea, maybe time for a tox -r ?18:49
egaffordtmckay: Delete sahara/plugins, then git checkout sahara/plugins.18:49
tmckayegafford, really? why?18:49
egaffordYou've got an old version of vanilla hanging around that's standing in the way of progress, I think.18:49
tmckayor just a guess?18:49
egaffordtmckay: No, this does work.18:50
egaffordHas to do with recent plugin deletions banging off of git's deletion handling colorfully.18:50
elmikoi get a bunch of errors about manilaclient...18:50
tmckayworked this morning :)18:50
egaffordtmckay: Hm...18:51
tmckayegafford, you are correct, sir18:51
tmckayno doubt some crappy pyc file, or some such18:51
egaffordelmiko: Have you recreated your tox env since python-manilaclient was added as a requirement?18:51
tmckaycrazy devs, chaning stuff all the time, and commitin stuff18:51
elmikoegafford, yea, doing that now18:51
egaffordelmiko: If that doesn't fix it, please do let me know, and I'll be confused at it until it's fixed.18:52
elmikoegafford, i'm sure that will fix it, i just wanted to complain >.<18:52
egaffordelmiko: Fair. :)18:52
elmikook, now i get the plugin problem18:52
elmikoand yup, new checkout fixed it18:54
crobertsrhMine just worked.  Very fresh.18:55
elmikoalmost too fresh...18:56
*** esikachev has joined #openstack-sahara18:57
*** vgridnev has joined #openstack-sahara18:58
vgridnevhey guys, I read logs of today horizon meeting, I suppose that we need more reviews for our patches in horizon to get them merged18:59
elmikoi did a few horizon reviews today =)19:00
crobertsrhYes, we should all take a look at our reviews whenever possible.19:01
crobertsrh#link https://etherpad.openstack.org/p/sahara-reviews-in-horizon19:02
crobertsrh^^^ good starting place19:02
elmikosigh, this v2 spec is *never* going to get written ;)19:05
*** pino|work has quit IRC19:05
*** pino|work has joined #openstack-sahara19:05
crobertsrhelmiko:  don't fret, that will be just in time for the implementation.19:12
crobertsrhImpl will take at least twice as long.19:13
elmikocrobertsrh, ouch lol /me sad panda19:13
elmikothat's why i was really hoping we could do it iteratively, but i think tosky just makes too much sense with his talk of test matrices and all =(19:13
crobertsrhMaybe we should lock everyone in a room in Tokyo and nobody leaves until it's done.19:13
elmikohaha19:14
crobertsrhOr...better yet, lock in a room in Hawaii until it's done.  I bet we'll be up to v3 in about 3 hours.19:15
elmikonice19:15
crobertsrhit's all about motivation19:15
openstackgerritTrevor McKay proposed openstack/sahara: Allow Sahara native urls and runtime urls to differ for datasources  https://review.openstack.org/20963419:15
elmikoor lock you in a room with a bottle of woodford outside ;P19:15
tmckayegafford, crobertsrh, ^^ manila data source stuff19:15
elmikoon second thought, that's just cruel and unusual punishment19:16
egaffordtmckay: ^519:16
crobertsrhAwesome19:16
toskyehm, for Hawaii, only if the location is booked for one week and the time not spent for the API planning is free for all on the beach19:17
toskythen it could work19:17
crobertsrhtosky:  yes, that is exactly my plan19:19
elmikothe thing is, most of the coding will be simple. just implementing new endpoint names and methods19:19
elmikobut, there are a few big features which could take some time19:20
elmikofor example, async tasks endpoint19:20
crobertsrhYes, that will be a biggie19:23
elmikobut i guess we would need to add it in a way that would not deprecate prior features without updating the major version19:24
elmikowhich is doable19:24
crobertsrhWhat's your guess on the odds of it making the M release?19:27
openstackgerritTrevor McKay proposed openstack/sahara: Allow Sahara native urls and runtime urls to differ for datasources  https://review.openstack.org/20963419:27
elmikoi dunno, now is probably not a good time to speculate. i'm kinda deflated and frustrated about it19:27
elmikowhat i'd like to see if an "experimental" v2 api start to get introduced19:28
elmikoand then we can improve it with the hopes of releasing for M19:28
elmikolike, my current poc creates a /v2 endpoint that replicates all the current functionality19:28
crobertsrhI'd love to see that happen.  I think it makes it a less monolithic sort of thing19:28
elmikobut adds a microversion impl19:28
elmikoi'm dropping the tenant id from the URI and moving it to the headers19:29
crobertsrhIf there was a way for it to be in there, but entirely unsupported.19:29
elmikothen, my idea was to add features while upping the microversion until all the features have been added19:29
crobertsrhYeah, tenant id move is a pretty standard thing19:29
elmikoat which point we could say, 2.1.14 is the new v2 api, for example19:29
crobertsrhanything 2.x below that is rubbish19:30
elmikobut i wanted to at least start creating the /v2 endpoint now19:30
elmikoi was planning to put this in my spec, the idea that we start with a v2 that is identical to v1.1 with the exception of removed tenant id and microversion19:31
elmikoall marked as experimental19:31
elmikothen we just start changing endpoints and whatnot, all while bumping the microversion19:31
elmikofor each change19:31
elmikobut now, tosky has me thinking this may not be a wise approach19:31
crobertsrhI dunno, to me, it seems ok as long as it's known "experimental" stuff19:32
elmikoi probably need to think about it a little more19:32
elmikoyea, the "experimental" part is key19:32
elmikoi just need to finish my poc and get the spec up19:34
elmikoalong with like fifty other things....19:34
elmikoalso, vgridnev , egafford , NikitaKonovalov, several of these horizon patches need rebases19:36
elmikocrobertsrh, all of yours looked ok so far19:36
crobertsrhYeah, I think I took a "rebase day" awhile back19:37
crobertsrhjust after the /contrib move19:37
vgridnevmy patches is ok19:37
elmikovgridnev, yea i was just pinging you since you brought it up ;P19:37
*** hdd has quit IRC19:38
egaffordelmiko: Yeah, rebase needs to happen. I was waiting until /contrib for hope of visibility, and by then I'd just grown accustomed to it hanging out in my review set.19:38
elmikoegafford, ack19:38
egaffordI'll rebase just after this interface Horizon patch I'm finishing up.19:38
*** hdd has joined #openstack-sahara19:38
elmikono worries, i'm just going through these reviews now and noticed that more than a couple needed rebases19:39
egaffordelmiko: Yup, utterly reasonable to point out.19:39
*** crobertsrh has quit IRC19:46
*** vgridnev has quit IRC19:49
openstackgerritTrevor McKay proposed openstack/sahara: Add manila nfs data sources  https://review.openstack.org/20961519:57
*** vgridnev has joined #openstack-sahara19:57
elmikotmckay, i dunno if you saw or not but i filed a bug with cryptography for that rsa key issue you found20:00
elmikoand they fixed it in like 10 minutes lol20:00
*** vgridnev has quit IRC20:00
tmckayelmiko, yeah, I saw!  thanks20:04
elmikotmckay, np, was gonna direct you there but then you went offline lol20:05
tmckayegafford, what do you think about moving manila path logic out of binary_retrievers into utils/openstack/manila?20:21
tmckayegafford, to be fair, utis/openstack/manila is kind of for client stuff, not Sahara canonical url handling20:21
tmckaybut binary_retrievers seems an odd place to have it, now that I've broken out logic and will reference it from edp/job_utils.20:22
tmckayhmm, maybe the broken out stuff should just be in job_utils itself20:23
* tmckay continues to talk to himself20:23
tmckayyeah, that's it20:24
*** hdd has quit IRC20:29
tmckaynah, I was right the first time20:29
*** hdd has joined #openstack-sahara20:29
*** esikachev has quit IRC20:29
*** hdd has quit IRC20:30
egaffordtmckay: Sorry; was afk for a few minutes. Hm; utils/openstack/manila could work.20:42
tmckayegafford, looking at service/shares now20:43
tmckaygood place for path processing20:43
egaffordservice.shares could work too, if you want to centralize to the service layer and protect the client from anything that's not client.20:43
egaffordYeah.20:43
tmckaylast holdout is where to put the automount method (broken out)20:43
egaffordI like service.shares as a central logic layer for this stuff.20:43
tmckayautomount touches the conductor, don't want to pollute stuff with the conductor.  That's less general20:44
egaffordtmckay: Fair. What packages do we currently have touching the conductor?20:46
egafford(That are involved in your current line of thinking?)20:46
tmckayedp/job_utils for one, which is where I'm adding the datasource stuff20:46
tmckayegafford, I'm kind of not liking the mounting as a side effect.  I'm wondering if we can pull the mount back into the edp engine.20:47
tmckayyou know, get paths back (including defaults), but basically find out what shares are not present and then mount at that point20:47
egaffordThe entire mounting process?20:47
tmckayso that it's explicit and on purpose20:47
egaffordLike, have one central place for mounting and have it be in EDP?20:48
tmckayI mean the little routine in binary_retrievers -- currently mounts as a side effect of retrieving the path20:48
egaffordAh, okay. That's more tenable.20:49
tmckayI like the share service that does the heavy lifting20:49
tmckayall we need to know is "yeah, I got this path, but it's not there yet, fyi"20:49
tmckayI don't know, I can play20:49
egaffordSure. I can definitely see breaking out most of binary_retrievers.manila_share.get_file_info into a common method.20:50
egafford(/function)20:50
tmckayyeah, I did that, pretty much20:51
tmckayeh, maybe the side effect of generating the path is fine20:51
tmckayI've currently got something called "mount_share_at_default_path"20:52
egaffordSo the ideal of service.shares is that it hopes to make the question of which shares are currently mounted and which ones aren't moot.20:52
egaffordCool.20:52
tmckayright, gotcha20:53
egafford(Sorry; I'm trying to see your objection to a code clarity problem on code I'm not seeing, and not quite getting the issue.)20:53
*** esikachev has joined #openstack-sahara20:54
tmckayegafford, understand, np :)  I should wait for the review20:55
egaffordtmckay: (I trust that it's there, just not quite with you.)20:55
-openstackstatus- NOTICE: Zuul has been restarted to resolve a reconfiguration failure: previously running jobs have been reenqueued but change events between 19:50-20:54 UTC have been lost and will need to be rechecked or their approvals reapplied to trigger testing.21:05
-openstackstatus- NOTICE: Correction: change events between 20:50-20:54 UTC (during the restart only) have been lost and will need to be rechecked or their approvals reapplied to trigger testing.21:11
*** chlong has quit IRC21:16
*** esikachev has quit IRC21:16
*** esikachev has joined #openstack-sahara21:17
*** esikachev has quit IRC21:21
*** chlong has joined #openstack-sahara21:29
openstackgerritTrevor McKay proposed openstack/sahara: Add manila nfs data sources  https://review.openstack.org/20961522:00
*** tmckay has quit IRC22:03
*** witlessb has quit IRC22:04
*** tosky has quit IRC22:26
*** egafford has quit IRC22:27
*** saneax has joined #openstack-sahara23:05

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