Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Apr 05 06:12:34 * Now talking on #ganesha
- Apr 05 06:12:34 * Topic for #ganesha is: V2.2-dev-24.1 is pushed to next
- Apr 05 06:12:34 * Topic for #ganesha set by ffilzwin1!~Frank@c-76-115-190-27.hsd1.or.comcast.net at Fri Jan 23 16:23:53 2015
- Apr 05 06:22:00 * ffilzwin3 has quit (*.net *.split)
- Apr 05 06:22:00 * Shoggoth has quit (*.net *.split)
- Apr 05 06:23:43 * Shoggoth (Shoggoth@gateway/shell/bnc4free/x-qxmexxczokuwtaud) has joined #ganesha
- Apr 05 06:28:34 * skoduri has quit (Ping timeout: 246 seconds)
- Apr 05 06:42:41 * skoduri (skoduri@nat/redhat/x-dgtnvudbwtyfviei) has joined #ganesha
- Apr 05 06:54:28 * skoduri has quit (Ping timeout: 260 seconds)
- Apr 05 07:17:54 * steved (steved@nat/redhat/x-yhznufalpaoetfnl) has joined #ganesha
- Apr 05 07:27:03 * malahal (~malahal@cpe-66-68-188-22.austin.res.rr.com) has joined #ganesha
- Apr 05 07:43:06 * skoduri (~skoduri@103.227.97.191) has joined #ganesha
- Apr 05 07:47:27 * mattbenjamin (~mbenjamin@76-206-42-50.lightspeed.livnmi.sbcglobal.net) has joined #ganesha
- Apr 05 07:47:49 * [diablo] has quit (Quit: Leaving)
- Apr 05 08:04:26 <ffilzwin2> morning
- Apr 05 08:29:11 <ffilzwin2> concall https://bluejeans.com/373354489/6397
- Apr 05 08:32:30 <ffilzwin2> malahal, concall?
- Apr 05 08:33:11 <malahal> searching for the code..
- Apr 05 08:34:14 <ffilzwin2> 800 451 8679 Conference ID: 5695731261
- Apr 05 08:34:32 <malahal> ffilzwin2, got it thx
- Apr 05 08:45:38 * jlockwood has quit (Ping timeout: 252 seconds)
- Apr 05 08:48:09 * jlockwood (~Adium@12.52.110.14) has joined #ganesha
- Apr 05 08:55:33 * jlockwood has quit (Ping timeout: 252 seconds)
- Apr 05 08:56:47 <bwerthmann> Do any FSALs support using the full NFSv4 "name@domain"?
- Apr 05 08:58:11 * jlockwood (~Adium@12.52.110.14) has joined #ganesha
- Apr 05 08:59:43 <bwerthmann> we are considering allocating a unique "NFS domain per workload context to have it's own NFS domain
- Apr 05 08:59:58 <bwerthmann> sigh.
- Apr 05 09:00:26 <dang_work> bwerthmann: Not sure, sorry.
- Apr 05 09:00:32 <bwerthmann> we are considering allocating a unique "NFS domain" per workload context to get around the overlapping uid/gid problem
- Apr 05 09:01:23 <bwerthmann> looking at the code, it seems that ZFS suppoerts it.
- Apr 05 09:03:57 <dang_work> For filesystem FSALs, it depends on extended attribute support that's not in the Linux kernel yet, so it would need a filesystem-specific API. ZFS has such an API.
- Apr 05 09:05:27 * jlockwood has quit (Ping timeout: 252 seconds)
- Apr 05 09:08:08 <bwerthmann> Do you happen to know that state of this on Gluster?
- Apr 05 09:09:55 <dang_work> I don't, I'm on the ceph team, but kkeithley might know.
- Apr 05 09:10:10 * jlockwood (~Adium@12.52.110.14) has joined #ganesha
- Apr 05 09:13:57 <martinetd> dang_work: you're right btw, totally forgot to push a few 9P fixes from cthon (like the crash you noticed in 9p_cleanup_fids when closing connection), I wanted to test these with rdma back home and totally let these slip..
- Apr 05 09:14:21 <dang_work> martinetd: I think I found the issue, probably my fault. Let me test quickly.
- Apr 05 09:14:54 <martinetd> cool. I'll take a few minutes to test my patches first then
- Apr 05 09:15:03 <dang_work> Sure
- Apr 05 09:24:21 * jlockwood has quit (Read error: Connection reset by peer)
- Apr 05 09:26:21 <dang_work> martinetd: That wasn't it (although it's probably still a corner-case bug). I'll have to dig deeper.
- Apr 05 09:26:40 <martinetd> ok I'll re-checkout your branch and try then
- Apr 05 09:27:08 * jlockwood (~Adium@12.52.110.14) has joined #ganesha
- Apr 05 09:30:40 <martinetd> ffilz: not sure when you're doing your merge, but just pushed two trivial-ish 9p patches, one of which will help Dan with debugging if you'd like to get it this week
- Apr 05 09:36:19 <ffilzwin2> martinetd, ok, will pick those up this week
- Apr 05 09:36:39 <ffilzwin2> bwerthmann, so you want Ganesha to support multiple domains of id mapping?
- Apr 05 09:36:54 <ffilzwin2> like fred@domain1 and fred@domain2 are separate ids?
- Apr 05 09:42:04 <martinetd> dang: looks like a problem with readdir; ganesha seems to send zillions of identical entries
- Apr 05 09:42:21 <martinetd> (and the client will then try to stat them all and it looks like a loop)
- Apr 05 09:44:30 <martinetd> hmm the client always sends offset=0 back too
- Apr 05 09:49:39 <martinetd> dang_work: oh, something changed with how you handle the 'tracker' param of fsal_readdir perhaps?
- Apr 05 09:51:24 <martinetd> nm it's opaque for the callback, shouldn't have changed
- Apr 05 09:55:05 * mattbenjamin1 (~mbenjamin@aa2.linuxbox.com) has joined #ganesha
- Apr 05 10:03:52 <martinetd> dang_work: ok, found the problem; it's cb_params->cookie that looks like it's always 0 with the new version, so the next call to readdir starts over from 0 instead of continuing from last cookie
- Apr 05 10:04:48 <martinetd> is that enough for you? I need to get home (workplace closing up soon) and get some food, but will be able to investigate more later if you need help
- Apr 05 10:16:52 <dang_work> martinetd: Thanks.
- Apr 05 10:22:33 * skoduri has quit (Ping timeout: 248 seconds)
- Apr 05 10:39:07 <bwerthmann> ffilzwin2: yes. I think we can use that to solve our muti-tenancy issue
- Apr 05 10:40:32 <bwerthmann> each "domain" will be a tenant.
- Apr 05 10:40:32 <ffilzwin2> bwerthmann, at the moment, Ganesha doesn't support multiple domains
- Apr 05 10:41:31 <bwerthmann> as each "domain" has a "root" account for example, but they not the same secutirty id.
- Apr 05 10:52:53 <ffilzwin2> bwerthmann, do you need all the ids to be different for each domain, or just different roots for different domains?
- Apr 05 10:53:24 <ffilzwin2> Back when i first started working on Ganesha, there was some conversation about multi-tenancy, but we never pushed anything...
- Apr 05 10:55:52 <bwerthmann> all is ideal. Users are free to create whatever accounts they want inside of their User Namespace
- Apr 05 10:56:28 <bwerthmann> there's a convention of sorts provided by our base image, but that's not a hard requirment.
- Apr 05 10:58:28 <bwerthmann> ffilzwin2: are there any drafts for multi-tenancy floating around?
- Apr 05 10:58:42 <ffilzwin2> bwerthmann, no, we never got that far...
- Apr 05 10:58:51 <ffilzwin2> or at least none that i know of...
- Apr 05 10:59:30 <bwerthmann> I'm not aware of any IETF work around this topic either
- Apr 05 11:00:03 <ffilzwin2> at Connectathon, there were presentations on multi-domain idmapping
- Apr 05 11:00:09 <ffilzwin2> let me see if I can pull up some links
- Apr 05 11:00:33 <bwerthmann> the closest thing I could find was this draft: https://tools.ietf.org/html/draft-adamson-nfsv4-multi-domain-federated-fs-reqs-05#section-5
- Apr 05 11:01:40 <bwerthmann> I think the use case is different. That draft is more in line with something like FedFS.
- Apr 05 11:02:24 <ffilzwin2> http://nfsv4bat.org/Documents/ConnectAThon/2010/NFSv4-multi-domain-access.pdf
- Apr 05 11:04:22 <bwerthmann> that IETF draft is linked in the slide deck. :)
- Apr 05 11:07:46 * steved has quit (Quit: Leaving)
- Apr 05 11:12:17 <dang_work> Oh, ffilzwin2: Can you take the first patch ("Split nfs4_op_putfh")? It's unrelated to MDCACHE.
- Apr 05 11:12:28 <ffilzwin2> sure
- Apr 05 11:12:45 <dang_work> I've been carrying that for a while now locally...
- Apr 05 11:12:59 <dang_work> New version just going up, rebased on last week.
- Apr 05 11:16:20 * jiffin (~Thunderbi@223.227.136.102) has joined #ganesha
- Apr 05 11:28:38 * jiffin has quit (Remote host closed the connection)
- Apr 05 11:28:58 * jiffin (~Thunderbi@223.227.136.102) has joined #ganesha
- Apr 05 11:34:07 * jiffin has quit (Remote host closed the connection)
- Apr 05 11:36:10 * jiffin (~Thunderbi@223.227.136.102) has joined #ganesha
- Apr 05 12:07:25 * jiffin1 (~Thunderbi@223.227.249.155) has joined #ganesha
- Apr 05 12:08:35 * jiffin has quit (Ping timeout: 252 seconds)
- Apr 05 12:08:49 * jiffin1 is now known as jiffin
- Apr 05 12:13:29 * jiffin has quit (Ping timeout: 248 seconds)
- Apr 05 12:14:00 * jiffin1 (~Thunderbi@223.227.250.147) has joined #ganesha
- Apr 05 12:16:25 * jiffin1 is now known as jiffin
- Apr 05 12:20:40 * jiffin has quit (Ping timeout: 246 seconds)
- Apr 05 12:26:47 <dang_work> ffilzwin2: The latest crash is because support_ex() is returning false for mdcache.
- Apr 05 12:27:06 <dang_work> What did we decide about that: move it to the obj ops? Or pass an object into it?
- Apr 05 12:53:23 <ffilzwin2> dang_work, hmm guessv we should pass an object or an export?
- Apr 05 12:53:44 <dang_work> I'm in the process of making it an obj_op. I think that's cleanest...
- Apr 05 12:53:48 <mattbenjamin1> guessv is the vector guess interface?
- Apr 05 12:53:59 <dang_work> Export might be better, but this is simpler...
- Apr 05 12:54:14 <ffilzwin2> what do we do with other support checks like lock support?
- Apr 05 12:55:34 <dang_work> Looks like export_ops
- Apr 05 12:55:38 <ffilzwin2> back in a few juggliong kids4
- Apr 05 13:01:45 <dang_work> Gotta head home anyway. More tomorrow.
- Apr 05 13:16:38 * kkeithley_ has quit (Quit: Leaving.)
- Apr 05 13:24:56 <malahal> ffilzwin2, AD already does multi-domains, right?
- Apr 05 13:27:47 * bwerthmann has quit (Ping timeout: 276 seconds)
- Apr 05 13:35:13 <ffilzwin2> malahal, oh, I dunno, never used it
- Apr 05 13:35:47 <ffilzwin2> but I'm pretty sure Ganesha's idmapper is all set up with single domain, maybe I'm wrong though...
- Apr 05 13:38:49 <mattbenjamin1> malahal: I don't know, but I'd be interested to know and have something documented
- Apr 05 13:49:18 * bwerthmann (~ben@c-68-37-246-64.hsd1.mi.comcast.net) has joined #ganesha
- Apr 05 13:52:32 * bwerthmann has quit (Client Quit)
- Apr 05 14:05:12 * bwerthmann (~bwerthman@c-68-37-246-64.hsd1.mi.comcast.net) has joined #ganesha
- Apr 05 14:05:45 * bwerthmann has quit (Client Quit)
- Apr 05 14:06:02 * bwerthmann (~bwerthman@c-68-37-246-64.hsd1.mi.comcast.net) has joined #ganesha
- Apr 05 14:28:00 <malahal> ffilzwin2, mattbenjamin1: A customer wanted multi-domain for something, but it never materialized though. Looking at the code, we seem to supply the default domain from idmap config file while doing uid to name translation.
- Apr 05 14:29:37 <ffilzwin2> malahal, makes sense, I was pretty sure I saw places in code where we supply the domain, so there could only be one
- Apr 05 14:29:46 <malahal> yep
- Apr 05 14:30:00 <ffilzwin2> one issue of multi-tennancy, how do you handle multiple "root" users...
- Apr 05 14:30:41 <ffilzwin2> we can't translate them all into uid/gid 0, but there is code that depends on uid==0 to act with root priviledges
- Apr 05 14:31:16 <malahal> ffilzwin2, we talked about this in windows context and the customer wanted to use different IDs for for different domains. Not sure how winbind uses doamins and uids with AD server.
- Apr 05 14:31:18 <ffilzwin2> if each tennant has their own name space (exports) and such, then uid could be shared (so within tennant 1
- Apr 05 14:32:04 <ffilzwin2> within tennant 1's namespace, uid 500 translates to fred@tennant.one.com and within tennant 2's namespace, 500 translates to jane@tennant.two.com
- Apr 05 14:32:44 * bwerthmann has quit (Quit: leaving)
- Apr 05 14:33:02 * bwerthmann (~bwerthman@c-68-37-246-64.hsd1.mi.comcast.net) has joined #ganesha
- Apr 05 14:33:36 <malahal> ffilzwin2, does it mean each export can have only one domain?
- Apr 05 14:34:54 <ffilzwin2> yea, for that idea to work, each export could only have a single domain
- Apr 05 14:35:28 <ffilzwin2> and it would also depend on the two tennants not being allowed to see each other's exports
- Apr 05 14:35:30 <malahal> ffilzwin2, ideally tenant is kind of related to client, so if we can fix that domain based on "client", that may be better.
- Apr 05 14:36:06 <bwerthmann> is there a public log of this channel? I want to see the backlog for this conversation but have been messing with irssi...
- Apr 05 14:36:11 <ffilzwin2> yea, each client would have to belong to one tennant
- Apr 05 14:36:39 <ffilzwin2> bwerthmann, unfortunately not...
- Apr 05 14:36:55 <bwerthmann> ok. thanks.
- Apr 05 14:37:09 <ffilzwin2> bwerthmann, what is last message you saw before you dropped out? And first you saw after you came back in?
- Apr 05 14:37:26 <ffilzwin2> I think you just missed a few...
- Apr 05 14:38:06 <bwerthmann> Not wure what the last one is I did not have logging setup. first in this session is '17:33 < malahal' (eastern time)
- Apr 05 14:38:07 <ffilzwin2> here, I think this will cover every thing while you bounced in and out
- Apr 05 14:38:18 <ffilzwin2> <malahal> ffilzwin2, AD already does multi-domains, right?
- Apr 05 14:38:18 <ffilzwin2> * bwerthmann has quit (Ping timeout: 276 seconds)
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> malahal, oh, I dunno, never used it
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> but I'm pretty sure Ganesha's idmapper is all set up with single domain, maybe I'm wrong though...
- Apr 05 14:38:18 <ffilzwin2> <mattbenjamin1> malahal: I don't know, but I'd be interested to know and have something documented
- Apr 05 14:38:18 <ffilzwin2> * bwerthmann (~ben@c-68-37-246-64.hsd1.mi.comcast.net) has joined #ganesha
- Apr 05 14:38:18 <ffilzwin2> * bwerthmann has quit (Client Quit)
- Apr 05 14:38:18 <ffilzwin2> * bwerthmann (~bwerthman@c-68-37-246-64.hsd1.mi.comcast.net) has joined #ganesha
- Apr 05 14:38:18 <ffilzwin2> * bwerthmann has quit (Client Quit)
- Apr 05 14:38:18 <ffilzwin2> * bwerthmann (~bwerthman@c-68-37-246-64.hsd1.mi.comcast.net) has joined #ganesha
- Apr 05 14:38:18 <ffilzwin2> <malahal> ffilzwin2, mattbenjamin1: A customer wanted multi-domain for something, but it never materialized though. Looking at the code, we seem to supply the default domain from idmap config file while doing uid to name translation.
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> malahal, makes sense, I was pretty sure I saw places in code where we supply the domain, so there could only be one
- Apr 05 14:38:18 <ffilzwin2> <malahal> yep
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> one issue of multi-tennancy, how do you handle multiple "root" users...
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> we can't translate them all into uid/gid 0, but there is code that depends on uid==0 to act with root priviledges
- Apr 05 14:38:18 <ffilzwin2> <malahal> ffilzwin2, we talked about this in windows context and the customer wanted to use different IDs for for different domains. Not sure how winbind uses doamins and uids with AD server.
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> if each tennant has their own name space (exports) and such, then uid could be shared (so within tennant 1
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> within tennant 1's namespace, uid 500 translates to fred@tennant.one.com and within tennant 2's namespace, 500 translates to jane@tennant.two.com
- Apr 05 14:38:18 <ffilzwin2> * bwerthmann has quit (Quit: leaving)
- Apr 05 14:38:18 <ffilzwin2> * bwerthmann (~bwerthman@c-68-37-246-64.hsd1.mi.comcast.net) has joined #ganesha
- Apr 05 14:38:18 <ffilzwin2> <malahal> ffilzwin2, does it mean each export can have only one domain?
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> yea, for that idea to work, each export could only have a single domain
- Apr 05 14:38:18 <ffilzwin2> <ffilzwin2> and it would also depend on t
- Apr 05 14:38:47 <ffilzwin2> <ffilzwin2> and it would also depend on the two tennants not being allowed to see each other's exports
- Apr 05 14:38:47 <ffilzwin2> <malahal> ffilzwin2, ideally tenant is kind of related to client, so if we can fix that domain based on "client", that may be better.
- Apr 05 14:39:14 <mattbenjamin1> ffilzwin: when I last used winbind (not recently, I admin) you had to join a domain
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement