Writes to mounted Ceph FS fail silently if client has no write capability on data pool

2012-07-05 Thread Florian Haas
Hi everyone, please enlighten me if I'm misinterpreting something, but I think the Ceph FS layer could handle the following situation better. How to reproduce (this is on a 3.2.0 kernel): 1. Create a client, mine is named "test", with the following capabilities: client.test key:

Re: Writes to mounted Ceph FS fail silently if client has no write capability on data pool

2012-07-05 Thread Gregory Farnum
On Thu, Jul 5, 2012 at 10:40 AM, Florian Haas wrote: > Hi everyone, > > please enlighten me if I'm misinterpreting something, but I think the > Ceph FS layer could handle the following situation better. > > How to reproduce (this is on a 3.2.0 kernel): > > 1. Create a client, mine is named "test",

Re: Writes to mounted Ceph FS fail silently if client has no write capability on data pool

2012-07-05 Thread Florian Haas
On Thu, Jul 5, 2012 at 10:01 PM, Gregory Farnum wrote: >> Also, going down the rabbit hole, how would this behavior change if I >> used cephfs to set the default layout on some directory to use a >> different pool? > > I'm not sure what you're asking here — if you have access to the > metadata ser

Re: Writes to mounted Ceph FS fail silently if client has no write capability on data pool

2012-07-05 Thread Gregory Farnum
On Thu, Jul 5, 2012 at 1:25 PM, Florian Haas wrote: > On Thu, Jul 5, 2012 at 10:01 PM, Gregory Farnum wrote: >>> Also, going down the rabbit hole, how would this behavior change if I >>> used cephfs to set the default layout on some directory to use a >>> different pool? >> >> I'm not sure what y