Re: [ceph-users] radosgw can still get the object even if this object's physical file is removed on OSDs

2013-10-15 Thread david zhang
Thanks, Yehuda, for your reply. I think you may be right because I did another experiment which seems there might be a reference to an object. I am just curious to do that for some corner case. On Tue, Oct 15, 2013 at 12:39 AM, Yehuda Sadeh wrote: > On Mon, Oct 14, 2013 at 4:04 AM, david zhang

[ceph-users] how to usr libcephfs.jar(the cephfs java interface)

2013-10-15 Thread
| Hi all; I want to test java Interface, and I make the ceph by ./configure --enadble-cephfs-java make make install. the resurt is libcephfs.jar lie in /ceph/src/java and libcephfs_jin.so lie in /usr/local/lib. so, I cord the java file vim Test.java package com.ceph.fs;

[ceph-users] Ceph, Keystone and S3

2013-10-15 Thread Carlos Gimeno Yañez
Hi I've deployed Ceph using Ceph-deploy and following the official documentation. I've created a user to use with Swift and everything is working fine, my users can create buckets and upload files if they use Horizon Dashboard or Swift CLI. However, everything changes if they try to do it with S3

Re: [ceph-users] how to usr libcephfs.jar(the cephfs java interface)

2013-10-15 Thread Noah Watkins
On Tue, Oct 15, 2013 at 2:13 AM, 鹏 wrote: > > *** # javac -classpath ../libcephfs.jar com/ceph/fs/Test.java > com/ceph/fs/Test:9:unreported exception java.io.FileNotFoundException; > must be caught or declared to be throw > mount.conf_read_file("/ect/ceph/ceph.conf"); >

[ceph-users] ceph-deploy zap disk failure

2013-10-15 Thread Guang
Hi ceph-users, I am trying with the new ceph-deploy utility on RHEL6.4 and I came across a new issue: -bash-4.1$ ceph-deploy --version 1.2.7 -bash-4.1$ ceph-deploy disk zap server:/dev/sdb [ceph_deploy.cli][INFO ] Invoked (1.2.7): /usr/bin/ceph-deploy disk zap server:/dev/sdb [ceph_deploy.osd][

Re: [ceph-users] ceph-deploy zap disk failure

2013-10-15 Thread Alfredo Deza
On Tue, Oct 15, 2013 at 10:52 AM, Guang wrote: > Hi ceph-users, > I am trying with the new ceph-deploy utility on RHEL6.4 and I came across a > new issue: > > -bash-4.1$ ceph-deploy --version > 1.2.7 > -bash-4.1$ ceph-deploy disk zap server:/dev/sdb > [ceph_deploy.cli][INFO ] Invoked (1.2.7): /us

Re: [ceph-users] ceph-deploy zap disk failure

2013-10-15 Thread Damien Churchill
On 15 October 2013 15:52, Guang wrote: > [osd2.ceph.mobstor.bf1.yahoo.com][ERROR ] sudo: sgdisk: command not found A complete guess, but this could be due to the PATH environment not being set correctly for whatever user ceph-deploy logs into the machine as. __

Re: [ceph-users] radosgw-admin doesn't list user anymore

2013-10-15 Thread Valery Tschopp
Hi Derek, Thanks. Is the 'radosgw-admin metadata list user' also available as REST API? Cheers, Valery On 15/10/13 03:21 , Derek Yarnell wrote: root@ineri:~# radosgw-admin user info could not fetch user info: no user info saved Hi Valery, You need to use radosgw-admin metadata list us

Re: [ceph-users] Ceph, Keystone and S3

2013-10-15 Thread Yehuda Sadeh
On Tue, Oct 15, 2013 at 7:17 AM, Carlos Gimeno Yañez wrote: > Hi > > I've deployed Ceph using Ceph-deploy and following the official > documentation. I've created a user to use with Swift and everything is > working fine, my users can create buckets and upload files if they use > Horizon Dashboard

Re: [ceph-users] Ceph, Keystone and S3

2013-10-15 Thread Carlos Gimeno Yañez
Thank you very much Yehuda, that was the missing piece of my puzzle! I think that this should be added to the official documentation. Regards 2013/10/15 Yehuda Sadeh > On Tue, Oct 15, 2013 at 7:17 AM, Carlos Gimeno Yañez > wrote: > > Hi > > > > I've deployed Ceph using Ceph-deploy and follow

Re: [ceph-users] radosgw-admin doesn't list user anymore

2013-10-15 Thread Derek Yarnell
On 10/15/13 12:00 PM, Valery Tschopp wrote: > Hi Derek, > > Thanks. Is the 'radosgw-admin metadata list user' also available as REST > API? Hi Valery, Yes, it is. Not well documented I believe right now. I have this tested and working in my python bindings[1] for the radosgw (get_users). You

Re: [ceph-users] how to usr libcephfs.jar(the cephfs java interface)

2013-10-15 Thread Joe Buck
The function conf_read_file() throws an FileNotFoundException (see source ceph/src/java/com/ceph/fs/CephMount.java) This exception must be caught or the function calling it has to also throw the same exception. Here's a slightly different version of you code that compiles in my sandbox: packag

[ceph-users] Is there a way to query RBD usage

2013-10-15 Thread Blair Bethwaite
I.e., can we see what the actual allocated/touched size of an RBD is in relation to its provisioned size? -- Cheers, ~Blairo ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Re: [ceph-users] ceph-deploy zap disk failure

2013-10-15 Thread Guang
-bash-4.1$ which sgdisk /usr/sbin/sgdisk Which path does ceph-deploy use? Thanks, Guang On Oct 15, 2013, at 11:15 PM, Alfredo Deza wrote: > On Tue, Oct 15, 2013 at 10:52 AM, Guang wrote: >> Hi ceph-users, >> I am trying with the new ceph-deploy utility on RHEL6.4 and I came across a >> new i

[ceph-users] Missing Dependency for ceph-deploy 1.2.7

2013-10-15 Thread Luke Jing Yuan
Hi, I am trying to install/upgrade to 1.2.7 but Ubuntu (Precise) is complaining about unmet dependency which seemed to be python-pushy 0.5.3 which seemed to be missing. Am I correct to assume so? Regards, Luke -- - - DISCLAIMER:

Re: [ceph-users] Is there a way to query RBD usage

2013-10-15 Thread Wido den Hollander
On 10/16/2013 03:15 AM, Blair Bethwaite wrote: I.e., can we see what the actual allocated/touched size of an RBD is in relation to its provisioned size? No, not an easy way. The only way would be to probe which RADOS objects exist, but that's a heavy operation you don't want to do with large

Re: [ceph-users] Is there a way to query RBD usage

2013-10-15 Thread Mark Kirkwood
On 16/10/13 15:53, Wido den Hollander wrote: On 10/16/2013 03:15 AM, Blair Bethwaite wrote: I.e., can we see what the actual allocated/touched size of an RBD is in relation to its provisioned size? No, not an easy way. The only way would be to probe which RADOS objects exist, but that's a he

Re: [ceph-users] Missing Dependency for ceph-deploy 1.2.7

2013-10-15 Thread Ian Colle
On 10/15/13 7:54 PM, "Luke Jing Yuan" wrote: >Hi, > >I am trying to install/upgrade to 1.2.7 but Ubuntu (Precise) is >complaining about unmet dependency which seemed to be python-pushy 0.5.3 >which seemed to be missing. Am I correct to assume so? Yes - we've removed that dependency upon pushy

Re: [ceph-users] Is there a way to query RBD usage

2013-10-15 Thread Blair Bethwaite
> Date: Wed, 16 Oct 2013 16:06:49 +1300 > From: Mark Kirkwood > To: Wido den Hollander , ceph-users@lists.ceph.com > Subject: Re: [ceph-users] Is there a way to query RBD usage > Message-ID: <525e02c9.9050...@catalyst.net.nz> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 16/

[ceph-users] Issue of S3 API: x-amz-acl: public-read-write and authenticated-read

2013-10-15 Thread david zhang
Hi ceph-users, I am trying S3-compatible API of ceph, but meet following issues: 1. x-amz-acl: public-read-write I upload an object with public-read-write acl. Then I can get this object directly without access key. curl -v -s http:///mybucket0/20131015_1 ... < HTTP/1.1 200 ... But I can't wri