Re: [ceph-users] Access Denied errors

2014-03-10 Thread Steve Carter
Further, here is the logging output (when I set 'debug rgw log = 20/20’ in ceph.conf). I have removed some information. The server replies with a 403. Any insight into why? When the account submits a non-admin type request it works, but not when trying to create a new user. Is there a CAP w

Re: [ceph-users] Access Denied errors

2014-03-11 Thread Steve Carter
51114 7fec017fa700 15 compare=-3 2014-03-10 22:59:12.551118 7fec017fa700 10 failed to authorize request Am I safe to assume 'calculated digest' and 'auth_sign' should be the same? Then, if so, there's some problem in our code and the generation of the HTTP Auth string? -Steve On M

Re: [ceph-users] Access Denied errors

2014-03-11 Thread Steve Carter
>> 2014-03-10 22:59:12.531134 7fec017fa700 20 SCRIPT_URL=/user >> 2014-03-10 22:59:12.531135 7fec017fa700 20 >> SCRIPT_URI=http://admin..liquidweb.com/user >> 2014-03-10 22:59:12.531136 7fec017fa700 20 HTTP_AUTHORIZATION=AWS >> 08V6K45V9KPVK7MIWWMG:OHAxWvf8U8t4CVWq0pKKwxZ2Xko= >> >> 2014-03-

Re: [ceph-users] Access Denied errors

2014-03-11 Thread Steve Carter
41 :39729 > 10.30.77.227 :http 1 TIME-WAIT 10.255.247.241 :39729 > 10.30.77.227 :http 1 CLOSED 10.255.247.241 :39729 > 10.30.77.227 :http tcpick: done reading from test.pcap 10 packets captured 1 tcp sessions detected - Original Message ----- > From: "Steve Carter" > To

Re: [ceph-users] Access Denied errors

2014-03-11 Thread Steve Carter
On Mar 10, 2014, at 8:30 PM, Yehuda Sadeh wrote: >> 2014-03-10 22:59:12.551012 7fec017fa700 10 auth_hdr: >> GET >> >> >> Mon, 10 Mar 2014 22:59:42 GMT >> /user > > This is related to the issue. I assume it was signed as /admin/user, > but here we just use /user because that what's passed in th

Re: [ceph-users] Access Denied errors

2014-03-12 Thread Steve Carter
Any ideas on this? Anything I can do to further troubleshoot? -Steve - Original Message - > From: "Steve Carter" > To: "Yehuda Sadeh" > Cc: ceph-users@lists.ceph.com > Sent: Tuesday, March 11, 2014 4:42:24 PM > Subject: Re: [ceph-users] Access Deni

Re: [ceph-users] Access Denied errors

2014-03-14 Thread Steve Carter
Yehuda, Thank you. We'll try that next. Would you happen to have any code samples (pref. perl) you wouldn't mind sharing for a couple of the admin API methods? -Steve - Original Message - > From: "Yehuda Sadeh" > To: "Steve Carter" > Cc: ceph

[ceph-users] [RGW] Setting cache control headers

2014-03-19 Thread Steve Carter
Is there a way to set cache control headers for objects served by the rados gateway? In Apache one would modify the .htaccess file to set the required cache control headers, but I wonder how one would do this with rgw when using it as a CDN origin. -Steve __

[ceph-users] unsubscribe

2014-04-09 Thread Steve Carter
signature.asc Description: Message signed with OpenPGP using GPGMail ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[ceph-users] Weird problem with mkcephfs

2013-03-23 Thread Steve Carter
This is consistently repeatable on my system. This is the latest of two cluster builds I have done. This is a brand new deployment on hardware I haven't deployed on previously. Any help is much appreciated. root@mon:~# uname -a Linux mon.X.com 3.2.0-39-generic #62-Ubuntu SMP Thu Feb 28 0

[ceph-users] Weird problem with mkcephfs

2013-03-23 Thread Steve Carter
This is consistently repeatable on my system. This is the latest of two cluster builds I have done. This is a brand new deployment on hardware I haven't deployed on previously. You see the error below is referencing /tmp/key.* and the keyring files are actually keyring.*. Any help is much

[ceph-users] Weird problem with mkcephfs

2013-03-23 Thread Steve Carter
This is consistently repeatable on my system. This is the latest of two cluster builds I have done. This is a brand new deployment on hardware I haven't deployed on previously. You see the error below is referencing /tmp/key.* and the keyring files are actually keyring.*. Any help is much

Re: [ceph-users] Weird problem with mkcephfs

2013-03-23 Thread Steve Carter
low rwx' \ --cap osd 'allow *' fi if [ "$ktype" = "mds" ]; then $BINDIR/ceph-authtool -n $kname --add-key $secret $dir/keyring.mon \ --cap mon "allow rwx" \ --cap osd 'allow *' \

Re: [ceph-users] Weird problem with mkcephfs

2013-03-23 Thread Steve Carter
ng placing client.admin keyring in /etc/ceph/keyring On 03/23/2013 10:29 PM, Steve Carter wrote: The below part of the mkcephfs code seems responsible for this. specifically the 'for' loop below. I wonder if I installed from the wrong place? I installed from the ubuntu source rather t

Re: [ceph-users] Weird problem with mkcephfs

2013-03-25 Thread Steve Carter
Although it doesn't attempt to login to my other machines as I thought it was designed to do, as I know it did the last time I built a cluster. Not sure what I'm doing wrong. -Steve On 03/23/2013 10:35 PM, Steve Carter wrote: I changed: for k in $dir/key.* to: for k in $dir/ke

Re: [ceph-users] Weird problem with mkcephfs

2013-03-25 Thread Steve Carter
a bit like no daemons are defined. > > sage > > > On Mon, 25 Mar 2013, Steve Carter wrote: > > > Although it doesn't attempt to login to my other machines as I thought it > > was > > designed to do, as I know it did the last time I built a cluster. Not sure

Re: [ceph-users] Weird problem with mkcephfs

2013-03-26 Thread Steve Carter
I believe I found my problem, naturally it's user error. I used 'hostname' rather than 'host' in the daemon sections. I'll retry later. -Steve - Original Message - > From: "Steve Carter" > To: ceph-users@lists.ceph.com > Sent: Monday

[ceph-users] Slow RBD copy

2013-03-28 Thread Steve Carter
I create an empty 150G volume them copy it to a second pool: # rbd -p pool0 create --size 153750 steve150 # /usr/bin/time rbd cp pool0/steve150 pool1/steve150 Image copy: 100% complete...done. 303.44user 233.40system 1:52:10elapsed 7%CPU (0avgtext+0avgdata 248832maxresident)k Notice there is