Tuesday, 2016-11-29

*** ianychoi has joined #openstack-manila00:02
*** catintheroof has joined #openstack-manila00:08
*** akapil has quit IRC00:22
*** akapil has joined #openstack-manila00:23
*** mtanino has quit IRC00:27
*** zengyingzhe_ has quit IRC00:48
*** zengyingzhe_ has joined #openstack-manila00:48
*** akapil has quit IRC00:50
*** kaisers_ has joined #openstack-manila02:08
*** kaisers has quit IRC02:11
openstackgerritHa Van Tu proposed openstack/manila: [api-ref] Refactor Manila scheduler stats API  https://review.openstack.org/37635402:14
*** catintheroof has quit IRC02:16
*** catintheroof has joined #openstack-manila02:16
*** catintheroof has quit IRC02:20
*** zhonghua has quit IRC02:49
*** zhonghua has joined #openstack-manila03:00
*** gcb has joined #openstack-manila03:15
*** catintheroof has joined #openstack-manila03:25
openstackgerritzhongshengping proposed openstack/puppet-manila: Fix the annotation  https://review.openstack.org/40400703:58
*** tuanluong has joined #openstack-manila04:06
openstackgerritPony Chou proposed openstack/manila: Add QNAP Manila Driver  https://review.openstack.org/39470304:10
*** dsariel has quit IRC04:11
*** catinthe_ has joined #openstack-manila04:23
*** catintheroof has quit IRC04:26
*** catinthe_ has quit IRC04:26
*** catintheroof has joined #openstack-manila04:27
*** catintheroof has quit IRC04:27
*** gouthamr has joined #openstack-manila05:13
*** shausy has joined #openstack-manila05:35
*** gouthamr has quit IRC05:37
*** gouthamr has joined #openstack-manila05:46
*** dsariel has joined #openstack-manila05:52
*** gouthamr has quit IRC05:56
openstackgerritPony Chou proposed openstack/manila: Add QNAP Manila Driver  https://review.openstack.org/39470305:57
openstackgerritPony Chou proposed openstack/manila: Add QNAP Manila Driver  https://review.openstack.org/39470306:07
*** gcb has quit IRC06:08
*** gcb has joined #openstack-manila06:09
*** gcb has quit IRC06:21
*** lpetrut has joined #openstack-manila06:31
*** gcb has joined #openstack-manila06:41
*** nkrinner_afk is now known as nkrinner07:19
*** pcaruana has joined #openstack-manila07:21
*** lpetrut has quit IRC07:28
*** makowals has joined #openstack-manila07:28
openstackgerritzhongjun proposed openstack/manila: Add manila-manage db purge command  https://review.openstack.org/30821207:33
*** jprovazn has joined #openstack-manila07:44
*** nherciu has joined #openstack-manila07:54
*** akapil has joined #openstack-manila08:01
*** gouthamr has joined #openstack-manila08:03
*** nkrinner has quit IRC08:28
*** nkrinner has joined #openstack-manila08:34
*** nkrinner has quit IRC08:38
*** nkrinner has joined #openstack-manila08:51
xinyanHi,everybody,please review https://review.openstack.org/#/c/308212/  ,thanks!08:57
*** lpetrut has joined #openstack-manila09:19
*** lpetrut has quit IRC09:24
*** lpetrut has joined #openstack-manila09:31
*** senk has joined #openstack-manila09:32
*** mkoderer has joined #openstack-manila09:37
*** lpetrut has quit IRC09:41
*** lpetrut has joined #openstack-manila09:43
*** lpetrut has quit IRC09:47
*** openstackgerrit has quit IRC09:48
*** makowals_ has joined #openstack-manila09:48
*** openstackgerrit has joined #openstack-manila09:49
*** lpetrut has joined #openstack-manila09:49
*** makowals has quit IRC09:51
openstackgerritMarc Koderer proposed openstack/manila: Remove unused function in db api  https://review.openstack.org/40411809:54
mkoderergouthamr: still different timezone?10:03
gouthamrmkoderer: yep.. IST until 13th Dec10:03
mkoderergouthamr: nice!10:04
gouthamr:)10:04
mkoderergouthamr: I improved my race condition patch a bit: https://review.openstack.org/#/c/401132/10:04
mkoderermore documentation :)10:05
gouthamrmkoderer: sure thing, will check it out.10:05
gouthamrthat's always good :P10:05
mkoderergouthamr: and I uploaded a test case that fails due to an existing race:10:06
mkodererhttps://review.openstack.org/#/c/403675/10:06
gouthamrmkoderer: ah. that has a bug i believe.. we hit that in the gate for different reasons; the workaround has been: turn off automatic share server deletion in the CI. guess bswartz will add that case to his race-conditions spec10:09
mkoderergouthamr: you mean this: https://review.openstack.org/#/c/324300/10:10
mkodererI didn't had time to fix that yet10:10
mkoderergouthamr: share server deletion can be also trigged by the user10:11
gouthamrmkoderer: yes.. that one. i don't recall that patch though..10:11
gouthamrmkoderer: yep. user initiated, and we have two ways to cleanup via polling in the share manager10:11
mkoderergouthamr: yep and the periodic cleanup way is the smarter one10:12
mkoderergouthamr: but we have a general problems with locks and periodic jobs10:12
gouthamrmkoderer: the case we see in the gate is: share server is in the process of being cleaned up, but a new share has been provisioned on the share server; the two actions race and the share and server end up without being cleaned up10:12
mkoderergouthamr: ok for the gate we should definitly deactivate automatic share server deletion10:13
gouthamrmkoderer: true. but rewriting some of the state transitions carefully and merging this patch and using it for concurrency control is a good alternative :) https://review.openstack.org/#/c/318336/10:14
*** erlon-airlong has joined #openstack-manila10:15
*** senk has quit IRC10:18
*** rraja has joined #openstack-manila10:23
*** alyson_ has joined #openstack-manila10:30
*** senk has joined #openstack-manila10:31
*** tpsilva has joined #openstack-manila10:34
*** senk has quit IRC10:41
*** ganso has joined #openstack-manila10:47
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix share writable in host-assisted migration  https://review.openstack.org/37504710:54
*** gouthamr has quit IRC10:58
openstackgerritValeriy Ponomaryov proposed openstack/manila: [DNM] test 5  https://review.openstack.org/40416311:31
*** ociuhandu has joined #openstack-manila11:31
*** lpetrut1 has joined #openstack-manila11:39
*** lpetrut has quit IRC11:41
*** lpetrut1 is now known as lpetrut11:41
openstackgerritAlexander Pugachev proposed openstack/python-manilaclient: Configures coverage tool  https://review.openstack.org/40416711:44
*** a-pugachev has joined #openstack-manila11:48
*** porrua has joined #openstack-manila11:57
*** JoseMello has joined #openstack-manila12:11
*** tuanluong has quit IRC12:14
*** senk has joined #openstack-manila12:24
*** akapil_ has joined #openstack-manila12:26
*** akapil has quit IRC12:29
*** senk has quit IRC12:33
*** catinthe_ has joined #openstack-manila12:37
*** gouthamr has joined #openstack-manila12:42
*** akapil_ has quit IRC12:43
*** akapil has joined #openstack-manila12:44
*** akapil_ has joined #openstack-manila12:50
*** akapil has quit IRC12:50
openstackgerritValeriy Ponomaryov proposed openstack/manila: [Devstack] Use openstack CLI instead of other clients  https://review.openstack.org/40216912:54
openstackgerritValeriy Ponomaryov proposed openstack/manila: [Devstack] Fix DHSS=False setup for Generic driver  https://review.openstack.org/40365112:54
*** gcb has quit IRC12:56
*** senk has joined #openstack-manila12:59
*** senk has quit IRC13:02
openstackgerritMauricio Lima proposed openstack/manila-specs: Spec for openstack client support  https://review.openstack.org/39577513:03
gouthamrrraja: ping13:17
gouthamr^ question regarding glusterFS driver13:17
rrajagouthamr: yes13:18
rrajacsaba: ^^13:18
gouthamrrraja: hey! in the feature support matrix, i see that gluster doesn't support readonly semantics on shares. is this true?13:19
rrajagouthamr: yes.13:20
gouthamrrraja: okay.. hard back end limitation?13:20
rrajagouthamr: this was raised by you in Barcelona. For GlusterFS/Ganesha driver it's not. For GlusterFS/Gluster-NFS driver and GlusterFS_native driver it is.13:22
rrajacsaba: ^^13:22
rrajagouthamr: I'd raised that RFE in glusterfs community more than a year ago. it's still not implemented.13:23
gouthamrrraja: ah. i do recall this discussion now... needed this clarification for a proposal13:23
gouthamrrraja: good stuff. thanks13:23
rrajawhat I was thinking is write an email to openstack-dev ML, and let the community decide what to do with the driver.13:24
rrajagouthamr: were you thinking of proposing a grade band for drivers? so a gluster driver which does not meet minimum requirement would not be in the first grade (let's say) instead of being removed from the tree?13:25
gouthamrrraja: hey i wasn't looking to make your job easier ;)13:26
rraja:) what was your plan?13:27
rrajaif I may ask13:27
gouthamrrraja: but no, maybe there are cases where drivers can't do readonly semantics - i'm going to re-read my notes from the summit.. there were some action items that are forgotten. :P13:27
rrajagouthamr: i'll be surprised if there were AIs on this topic. i don't recall of any.13:28
rrajaanyway, what's community view on drivers that don't meet minimum requirements?13:29
gouthamrrraja: ganso and i are trying to cleanup readonly rule semantics for share instances... https://review.openstack.org/#/c/375047 and https://review.openstack.org/#/c/399049/ if you're interested..13:29
rrajathanks for the links. i'll take a look.13:31
gouthamrrraja: "Drivers must support read-write and read-only access levels for each supported protocol, either through individual access rules or separate export locations."13:32
gouthamrrraja: bswartz may know better about the driver minimum requirements. They have been requirements for being accepted so far and this document was written in Mitaka13:33
openstackgerritMerged openstack/manila: [api-ref] Refactor Manila scheduler stats API  https://review.openstack.org/37635413:33
rrajagouthamr: okay. thanks!13:36
*** maurice_ has joined #openstack-manila13:36
bswartzrraja: read-only is something that all drivers must support13:51
*** cknight has joined #openstack-manila13:52
*** maurice_ has quit IRC13:53
*** sapcc-bot1 has quit IRC13:53
*** tpatzig_1 has quit IRC13:53
*** sapcc-bot has joined #openstack-manila13:53
*** dgonzalez_ has joined #openstack-manila13:53
*** mkoderer_ has joined #openstack-manila13:53
*** databus23_ has joined #openstack-manila13:53
*** maurice_ has joined #openstack-manila13:53
*** tommy_ has joined #openstack-manila13:53
*** tpatzig_ has joined #openstack-manila13:53
*** tommy_ is now known as Guest2341013:54
*** dgonzalez_ has quit IRC13:55
*** mkoderer_ has quit IRC13:55
*** databus23_ has quit IRC13:55
*** maurice_ has quit IRC13:55
*** tpatzig_ has quit IRC13:55
*** Guest23410 has quit IRC13:55
*** maurice_ has joined #openstack-manila14:04
*** maurice_ has quit IRC14:05
*** senk has joined #openstack-manila14:05
*** xyang1 has joined #openstack-manila14:06
*** carthaca has joined #openstack-manila14:09
*** sapcc-bot has quit IRC14:11
*** sapcc-bot has joined #openstack-manila14:12
*** mkoderer_ has joined #openstack-manila14:12
*** dgonzalez_ has joined #openstack-manila14:12
*** databus23_ has joined #openstack-manila14:12
*** tpatzig_ has joined #openstack-manila14:12
*** david_1 has joined #openstack-manila14:12
*** sapcc-bot has quit IRC14:12
*** david_1 has quit IRC14:12
*** mkoderer_ has quit IRC14:12
*** tpatzig_ has quit IRC14:12
*** dgonzalez_ has quit IRC14:12
*** databus23_ has quit IRC14:12
*** sapcc-bot has joined #openstack-manila14:13
*** mkoderer_ has joined #openstack-manila14:13
*** carthaca_ has joined #openstack-manila14:13
*** databus23_ has joined #openstack-manila14:13
*** tpatzig_ has joined #openstack-manila14:13
*** dgonzalez_ has joined #openstack-manila14:13
*** david_1 has joined #openstack-manila14:13
*** senk has quit IRC14:13
*** carthaca_ has quit IRC14:15
*** databus23_ has quit IRC14:15
*** tpatzig_ has quit IRC14:15
*** mkoderer_ has quit IRC14:15
*** dgonzalez_ has quit IRC14:15
*** david_1 has quit IRC14:15
*** dustins has joined #openstack-manila14:15
*** carthaca has left #openstack-manila14:20
*** carthaca_ has joined #openstack-manila14:23
*** akapil_ has quit IRC14:37
*** akapil has joined #openstack-manila14:37
*** jprovazn has quit IRC14:42
*** tommylikehu_ has joined #openstack-manila14:48
*** mtanino has joined #openstack-manila14:51
mkoderertbarron: let me know when you are available14:56
gansobswartz: not necessarily read-only access rules though, right?14:57
gansogouthamr: ping14:57
gouthamrganso: pong14:57
gansogouthamr: Hi Goutham!14:57
gansogouthamr: I am having difficulties adressing your comment about CONF.set_override14:57
gansogouthamr: because of self.driver = self.mock_class("manila.share.driver.ShareDriver", mock.Mock())14:58
*** surabujin has quit IRC14:58
bswartzganso: we discussed whether read-only rules should be an optional or a required thing and nobody had a good reason to make them optional14:58
bswartzso we said required feature14:58
gansogouthamr: I believe your suggestion does not work in this case without some modifications to the mocks in this test class14:58
gansobswartz: but we agreed that drivers could have a read-only export location if they don't support read-only access rules14:59
bswartzganso: what is a read only export location?15:05
bswartzand what driver doesn't support read only access rules? I thought we agreed there would be no drivers that didn't support read only access rules -- what am I missing?15:06
gansobswartz: it is an export location that all access will be read-only, regardless of access rule mode15:06
gansobswartz: I don't remember which drivers15:07
gansobswartz: let me look at the matrix15:07
bswartzI understood that we needed to be able to force-readonly on a per-instance basis, not a per-export location basis15:08
gansobswartz: gluster, HP 3PAR, and Oracle ZFS15:08
bswartzwhat would be the point of a share with 1 writable export location and 1 readonly export location?15:08
gansobswartz: to provide read-only support... we've agreed to this in the past15:08
bswartzright but how would that come into existence?15:09
bswartzusers cannot set rules per export location15:09
bswartzthey can set them per-share15:09
gansobswartz: http://docs.openstack.org/developer/manila/devref/driver_requirements.html#access-rules15:09
gansobswartz: they don't15:09
bswartzwe force some instances to be readonly, such as replicas or the source of a migrating share sometimes15:09
gouthamrganso: sorry, in the middle of a meeting... will take a look at your responses... i think you don't need to read the config option in access.py if you use 'cast_to_readonly' as a parameter to the update_access method.15:10
gansobswartz: for those backends, when the share is created, I believe there is an additional export location, so if the user does not have RW access to the main share export location, the user can access the RO one15:10
bswartzbut I don't see a use case for per-export-location rules15:10
bswartzah, we discussed that possibility for Generic+CIFS because of samba stupidity15:10
bswartzbut I think we ultimately said no15:10
*** dsariel has quit IRC15:11
bswartzthere would be no special export locations for readonly access15:11
gansobswartz: not only that, we had driver maintainers involved in this15:11
gansobswartz: we are feel like changing, should be boot gluster, HP 3PAR and Oracle ZFS for not supporting RO access rules?15:11
bswartzthe only driver I recall being involved was the generic driver15:11
gansobswartz: *if we feel15:12
bswartzganso: we should fix those driver ideally15:12
bswartzI think we agreed in BCN that we won't handle non-compliant drivers by booting them anymore15:12
bswartzthey will simply fail the tests that check for readonly support and we'll advertise that those drivers are broken and unmaintained (assuming they don't fix them)15:13
gansogouthamr: that would mean bringing the parameter back to the RPCs as well, and that is not necessary15:13
gouthamrganso: what about 'writable' and 'nondisruptive' migrations?15:14
*** shausy has quit IRC15:14
gansogouthamr: update_access is not invoked in those cases, and the API blocks any subsequent call15:15
gansogouthamr: I explained in one of the comment responses15:15
gouthamrganso: if this is a short-lived bugfix that would need a refactor in ocata and beyond, i don't think we need to change the RPC.. we would not set the destination to read-only in any case.15:16
gansogouthamr: exactly15:16
gouthamrganso: https://review.openstack.org/#/c/375047/6/manila/share/manager.py@74915:17
gansogouthamr: but my argument in your spec still holds, unless there is a specific scenario I am missing that requires a column cast_to_readonly to be solved15:17
gouthamrganso: isn't the source 'migrating'?15:17
gansogouthamr: dang forgot to publish the comments15:17
bswartzganso: if we had the state flag in the database we wouldn't need to block access rule changes during migrations15:18
gansogouthamr: there15:18
bswartzthere is no good reason to block access rule changes during a migration aside from implementation convenience15:18
gansobswartz: we could block RW rules if the instance is migrating, and still wouldn't need a column15:19
gansobswartz: or always cast15:19
bswartzbut why block changes? there could be a use case for modifying access rules during a long migration15:19
*** surabujin has joined #openstack-manila15:19
gansobswartz: we've discussed last midcycle in the case that I proposed unblocking the API to access rules so the admin could check the files at the destination, and the discussion outcome was that we should always block15:20
bswartzpart of the value of the writable migration and nondisruptive migration is that you can use the share while it's migrating15:20
*** senk has joined #openstack-manila15:20
gansobswartz: yes, in a writable migration the existing access rules will remain writable15:21
bswartzI don't like the idea of the admin "checking the files" because it implies that manila is somehow unreliable -- but I do feel that allowing access rule changes is desirable15:21
bswartzI suspect at the midcycle we were only discussing the use case of an admin checking the files15:22
gansobswartz: right now we have nowhere to record the API parameters submitted to migrate the share. Also, if anything requires checking the driver capabilities to see if it supports a writable migration will defer to the share manager to do it, so there is no way we could return an API response in the case it is not writable15:22
bswartzthe use case of a user adding a new access rule or removing an existing access rule during a long migration seems valid15:22
bswartzganso: we don't need to store all that stuff -- just 1 bit of data per share instance -- the force_read_only flag15:23
bswartzwith that 1 bit of data the share manager can always do the right thing15:23
gansobswartz: ok, the API layer can check that15:24
tbarronmkoderer: sorry for the delay, what's up?15:26
*** chlong has joined #openstack-manila15:27
mkoderertbarron: yeah wanted to discuss the race thing15:30
mkoderertbarron: should I rebase it to you tooz patch and see how this would work?15:30
tbarronmkoderer: my name is on the tooz patch b/c I was instigating and pulled over stuff from cinder, but gouthamr really is the owner of that patch now15:31
mkoderertbarron: oh didn't know that15:31
tbarronmkoderer: but it seems reasonable, let's see what gouthamr says15:32
*** jprovazn has joined #openstack-manila15:32
gouthamrmkoderer: please do.. it uses a similar "synchronized" decorator, but from the coordinator15:32
tbarronmkoderer: and as you say, that DNM patch that fails with your test is good material for the bswartz races spec15:33
mkodererbswartz: https://review.openstack.org/#/c/403675/15:33
*** eharney has joined #openstack-manila15:34
mkoderertbarron: gouthamr: ok sounds like a plan. I will rebase  and push it on top.15:34
*** senk has quit IRC15:38
*** JoseMello has quit IRC15:43
*** tommylikehu_ has quit IRC15:51
*** madorn has quit IRC15:59
*** rraja has quit IRC16:00
*** chlong has quit IRC16:07
*** StraubTW has joined #openstack-manila16:08
gouthamrmkoderer: sure thanks16:14
*** eharney has quit IRC16:19
*** chlong has joined #openstack-manila16:20
openstackgerritValeriy Ponomaryov proposed openstack/manila: [DNM] test 5  https://review.openstack.org/40416316:32
openstackgerritValeriy Ponomaryov proposed openstack/manila: [DNM] test 6  https://review.openstack.org/40433116:33
*** pcaruana has quit IRC16:36
*** mtani____ has joined #openstack-manila16:39
*** mtanino has quit IRC16:40
*** zhongjun_ has quit IRC16:46
*** zhongjun_ has joined #openstack-manila16:49
*** tommylikehu_ has joined #openstack-manila16:52
*** mtanino has joined #openstack-manila16:52
*** mtani____ has quit IRC16:53
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix share writable in host-assisted migration  https://review.openstack.org/37504716:55
*** eharney has joined #openstack-manila16:55
*** tommylikehu has quit IRC16:55
*** tommylikehu_ has quit IRC16:57
*** nkrinner is now known as nkrinner_afk17:04
*** dustins has quit IRC17:09
*** chlong has quit IRC17:10
marksturDo we have much consistency with our "manage_existing" implementations?17:11
marksturI think we'd prefer that existing share access is revoked so that manila knows/contols all access -- but I doubt that is true across drivers17:12
marksturI also suspect we differ on rename/move vs leave where is (using private data to track).17:12
marksturThat would ideally not matter, but it affects existing access and also affects how host/pool selection works or fails17:13
*** xinyan has quit IRC17:21
marksturvponomaryov: ping17:22
*** chlong has joined #openstack-manila17:24
*** makowals_ has quit IRC17:25
marksturganso: ping17:25
gouthamrmarkstur: while managing a share, the driver need not change the export paths, but it really can't maintain existing access rules17:26
gouthamrmarkstur: the reason being that there's no way to let manila know about them during the manage operation17:26
marksturgouthamr: Right. But I think we've discussed that manila "should" have all the access knowledge.  But I doubt it's true.17:26
gouthamrmarkstur: so, the expectation is that all export policies or access rules are removed when the share is brought in..17:27
marksturSo is it better for a driver to eliminate all existing access.  Or better to fail and make the admin remove existing access????17:27
gouthamrmarkstur: yes... we wanted to discuss this at the summit, but ran out of time.17:27
gansomarkstur: pong17:27
marksturganso: Hi.  Was looking for opinions and manage existing  ^17:27
gouthamrmarkstur: some drivers do clear access rules17:27
*** lpetrut has quit IRC17:28
marksturSo the "some drivers" is a problem.  Also the lack of doc requirements.17:28
gouthamryep17:28
openstackgerritVictoria Martinez de la Cruz proposed openstack/manila: Decouple Manila UI from Manila Devstack plugin  https://review.openstack.org/38885517:28
gansomarkstur: I had considered this situation in one of my drivers17:29
gansomarkstur: in case we are adding a rule that already exist, we just log a warning17:29
gansomarkstur: it may already exist because it was already there before the share was managed17:29
marksturSo your managed shares keep pre-existing access17:29
gansomarkstur: yes17:29
gansomarkstur: in fact, one of my drivers yes17:30
marksturbut it seems we don't quite have agreement on if that is a good thing or a bad thing17:30
gansomarkstur: because it works differently17:30
markstura feature or a bug17:30
gansomarkstur: my other driver doesn't, because the first rule that is added after the share is managed overwrites everything else17:30
gouthamra bug17:30
markstura beature or a fug17:30
markstura fug17:30
gouthamrlol17:30
ganso"a warm, stuffy, or smoky atmosphere in a room."17:30
gansoseems more like a fug indeed17:31
marksturgouthamr: I'd say it is a bug when it is someone else's driver and a feature in your own <-- but want to make sure I'm not really insulting you.  Just in general.17:31
gouthamrmarkstur: lol.. no, we had these discussions. if it has to be one or two vendors that do it differently, then why manila :)17:32
gansoI think this is something we can't do consistently across all drivers17:33
gouthamrmarkstur: it makes no sense to preserve access rules and not let manila know.. because the next time a new rule gets added, manila expects the driver to clear everything anyway17:33
marksturWith an admin API that is optional and has the option of saying InvalidShare -- there is room for us to differ.  But I don't like that.17:33
gansoI recall drivers that could not list existing rules, so they would not be able to remove them17:33
marksturWhether drivers clear the existing ones at any point would probably vary.  Some might be able to preserve them.17:34
gouthamrganso: hmmm, so how does update_access affect those drivers?17:34
vponomaryovmarkstur: guys are right, your questions were in agenda for summit, but we didn't reach them17:34
marksturNeed more summits17:34
gansogouthamr: some drivers just refactored the old deny and allow into update_access because they had no way to do it differently17:34
vponomaryovmarkstur: and yes, we do not have explicit description of that feature17:35
marksturYeah. The new update_access better suggests that access rules really should be in sync with what manila says17:35
vponomaryovmarkstur: according to current behavior we allow both ways for both questions17:35
markstur"manage share" could mean just mean to tell it to update its user stories and evaluate it annually17:36
gouthamrmarkstur: let me ask you this question slightly differently. How is the admin supposed to know if clients will lose access or retain access to the share that he is managing for a given back end?17:37
marksturgouthamr: The admin should know.  Or should not do destructive things.17:37
vponomaryovgouthamr: he could create clones and then register them17:38
marksturgouthamr: Otherwise it would actually be good for the driver to fail with an error.17:38
marksturIf this was not an admin feature, then we'd really need to avoid interfering with existing access I think.17:38
gouthamrmarkstur: how? think of a cloud with xyz and abc storage and abc behaves differently from xyz wrt to a manila API17:39
marksturSo it depends on how many levels of admins you have.17:40
marksturSure a cloud admin might not have access to backend details17:40
* gouthamr is actually in favor of retaining access - nondisruptive operations ftw17:40
marksturA backend admin would be able to see/understand the backend specifics17:40
gansobswartz: this needs to be updated: https://blueprints.launchpad.net/manila/+spec/newton-migration-improvements17:40
gansogouthamr: +117:41
marksturgouthamr: ganso:  Does that mean it is OK to fail if there is existing access?17:41
vponomaryovgouthamr: retaining access with registration of rules in manila or not?17:42
gansomarkstur: I think there is nothing wrong with allowing the existing access to remain there, at least until the first update_access call17:42
marksturganso: That is bad17:42
gouthamrmarkstur: vponomaryov suggested that admins strip out all access and manage and run a script to add clients back (least downtime operation)17:43
gansomarkstur: it is bad because we currently do not have consistency17:43
marksturganso: So it would all look nice and go production and then some little change comes a long and things break17:43
gansomarkstur: wouldn't it break anyway? a managed share shouldn't just go into production17:44
bswartzganso: look good now?17:44
gouthamrvponomaryov: if the driver can discover it, i think it can register it with manila.. but bswartz's argument was that the pre-existing access rules may be more complicated than manila can understand/support17:44
gansobswartz: thanks!17:44
marksturRegistering existing access would be cool.17:45
marksturbut inconsistently implemented17:45
bswartzwhat manila supports access-rule-wise is a subset of what each backend supports17:45
gouthamrmarkstur: not implemented17:45
marksturThere is also a difference in whether the share is moved or left in-place.  That certainly affects existing users and existing access.17:45
bswartzit's extremely likely that admins can create shares with rules that manila can't manage on most backends17:45
marksturSo manage_existing will call-back to allow-access?17:46
bswartzI would prefer for manage to remove all access, or for manage to fail until the admin has removed all access17:47
gouthamrmarkstur: or just return access rules in a format that manila understands17:47
marksturgouthamr: Needs a spec17:47
bswartz+117:47
gouthamr:) #queens17:48
bswartzone alternative I can think of is a 2-phase manage where we give the admin a chance to add manila access rules to the share before we destroy the existing rules17:48
vponomaryovbswartz: then requires empty list of access rules is more safe approach17:48
bswartzthat would be a significant change from the current design however17:48
vponomaryovs/requires/requirements of/17:49
bswartzvponomaryov: yes but many implementations of manage already exist which don't have this requirement17:49
marksturSoooo.  I'm thinking the GPFS driver should just fail with existing access for now.  It can evolve from there if we add existing access later.17:50
bswartzand at least one implementation exists which tries to preserve pre-existing access rules even after manila access rule are added (which is incorrect behavior IMO)17:50
ganso^ this would be aiming for disruptive manage operation17:52
marksturAnd then we have "unmanage_remove_access_rules" in the CONF just to legitimize inconsistent behavior on unman17:52
bswartzmanage share as designed today is disruptive, and some drivers try to workaround that to make it less so17:52
*** a-pugachev has quit IRC17:52
bswartzthe case for non-disruptive manage share is a pretty weak one, but there are things we can do to accomodate it in the design if we want17:53
gansowe are not solving the use case where a share may already be in production and being managed17:53
gouthamror a share that's used in an application, unmanaged from manila and re-managed17:54
gansobswartz: like a "manila manage --non-disruptive" ? :P17:54
gouthamrganso: "nondisruptive"17:54
bswartz>_<17:54
gouthamrganso: also, enforce-nondisruptive, allow-disruptive, allow-dataloss17:55
gouthamrall good options :)17:55
marksturkill-kill-kill17:55
gansogouthamr: --yes-i-really-mean-it17:56
* gouthamr top-secret-ci just posted comments on this change17:56
gouthamrganso: that classic 8)17:57
marksturganso: Be sure to make the prompting require an interactive shell17:57
marksturwhich hangs for most use cases  :(17:57
* markstur goes to screen to press 'y'17:57
*** JoseMello has joined #openstack-manila18:07
*** lpetrut has joined #openstack-manila18:11
*** mkoderer has quit IRC18:13
gansomarkstur, xyang1, cknight, bswartz, tbarron, toabctl, gouthamr, vponomaryov: Could you please review https://review.openstack.org/375047/ when you have some time? I intend to propose a backport of that one as soon as it merges18:18
*** makowals has joined #openstack-manila18:30
*** akapil_ has joined #openstack-manila18:44
*** akapil has quit IRC18:44
marksturganso: Still reviewing but there is a messed up log message (see inline)18:51
marksturganso: Thanks for the comments.  I don't like asking for more inline comments but that code lacks context for reading.18:52
gansomarkstur: thanks, I am going to prepare the update, going to wait until you are finished so I can add anything else into the update18:52
gansomarkstur: you mean, it is still lacking context?18:52
marksturganso: I meant it WAS.  Your comments help.18:53
gansomarkstur: great! :)18:53
marksturganso: Nothing else from me.19:06
gansogreat19:07
gansomarkstur: gonna git review19:07
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix share writable in host-assisted migration  https://review.openstack.org/37504719:07
*** akapil_ has quit IRC19:09
openstackgerritValeriy Ponomaryov proposed openstack/manila: [DNM] test 7  https://review.openstack.org/40439419:19
*** lpetrut has quit IRC19:21
*** dustins has joined #openstack-manila19:26
*** ociuhandu has quit IRC19:53
*** senk has joined #openstack-manila20:00
*** carthaca_1 has joined #openstack-manila20:03
*** carthaca_ has quit IRC20:03
*** ociuhandu has joined #openstack-manila20:05
*** senk has quit IRC20:06
marksturganso: I suppose your migration patch didn't cause IBM-CI to fail and NetApp-CI to UNREGISTER -- so +220:08
gansomarkstur: yea most likely didn't20:10
gansomarkstur: thanks!20:10
*** dustins has quit IRC20:13
*** lpetrut has joined #openstack-manila20:14
bswartzunregister?20:32
bswartzis our CI that bad?20:32
*** catinthe_ has quit IRC20:35
*** alyson_ has quit IRC20:38
*** tommylikehu_ has joined #openstack-manila20:54
openstackgerritValeriy Ponomaryov proposed openstack/manila: [DNM] test 7  https://review.openstack.org/40439420:54
marksturmanila-cDOT-no-ss NOT_REGISTERED20:56
marksturmanila-cDOT-ss NOT_REGISTERED20:56
openstackgerritGoutham Pacha Ravi proposed openstack/manila-specs: Add a spec to fix and improve Access Rules  https://review.openstack.org/39904920:56
gouthamrmarkstur: we're having some issues on our end. i'll disable voting until that's resolved.20:57
*** tommylikehu_ has quit IRC20:58
* tbarron notes ameade is for hire20:58
* markstur wonders how much ameade charges to disable voting (is that a house call?)21:00
* ameade trips running into the room21:02
*** JoseMello has quit IRC21:03
tbarronameade: rofl21:06
*** gouthamr has quit IRC21:11
*** porrua has quit IRC21:18
*** catintheroof has joined #openstack-manila21:34
*** catintheroof has quit IRC21:38
*** jprovazn has quit IRC21:45
*** kaisers_ has quit IRC21:47
*** catintheroof has joined #openstack-manila21:47
openstackgerritTom Barron proposed openstack/manila: Fix smb configuration outside ubuntu  https://review.openstack.org/40443321:50
openstackgerritTom Barron proposed openstack/manila: Fix devstack smb configuration outside ubuntu  https://review.openstack.org/40443321:52
*** cknight has quit IRC21:52
*** tpsilva has quit IRC21:55
*** lpetrut has quit IRC22:05
openstackgerritMerged openstack/manila: Fix share writable in host-assisted migration  https://review.openstack.org/37504722:09
*** kaisers has joined #openstack-manila22:11
*** chlong has quit IRC22:12
*** ganso has quit IRC22:16
*** kaisers has quit IRC22:16
*** kaisers has joined #openstack-manila22:17
*** eharney has quit IRC22:18
*** xyang1 has quit IRC22:50
*** StraubTW has quit IRC23:02
*** catinthe_ has joined #openstack-manila23:03
openstackgerritTom Barron proposed openstack/manila: Fix devstack smb configuration outside ubuntu  https://review.openstack.org/40443323:05
*** panatl has joined #openstack-manila23:05
panatl^all I am getting some issue while testing in Devstack23:06
panatlSSHException: Check whether private key or password are correctly set. Error connecting via ssh: not a valid EC private key file23:06
panatlany idea?23:06
*** catintheroof has quit IRC23:06
tbarronpanatl: maybe the "EC private key file" part is misleading: https://github.com/paramiko/paramiko/issues/521 but you still didn't setup up your ssh keys right?23:16
tbarronpanatl: who is trying to ssh to what?23:17
panatli have the password less ssh keys in .ssh folder23:17
panatli am getting this after running manila create --name devstack_share --share-network cf621758-bd07-4f99-9fdb-ee1e1fd5e67c NFS 123:18
panatlmy local.conf is23:19
panatl[[local|localrc]]23:19
panatlenable_plugin manila https://github.com/openstack/manila23:19
*** tommylikehu_ has joined #openstack-manila23:20
tbarronpanatl: I've never done it with that simple two-line local.conf but I see it at https://github.com/openstack/manila/blob/master/devstack/README.rst.  Will try it out ...23:31
panatltbarron: thanks! .. do you have a sample local.conf .. which i can try?23:39
tbarronpanatl: here are a couple that work for me: https://github.com/tombarron/manila-local.conf23:41
openstackgerritMerged openstack/puppet-manila: Fix the annotation  https://review.openstack.org/40400723:41
panatltbarron: thanks! let me give it a try23:42
*** tommylikehu_ has quit IRC23:48

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