Re: [ceph-users] 403 AccessDenied with presigned url in Jewel AWS4.

2016-06-05 Thread Khang Nguyễn Nhật
dendl; return -EPERM; } // Then I tried to set the time on RGW server is UTC time and it works fine ! Is this a bug? 2016-06-03 11:44 GMT+07:00 Robin H. Johnson <robb...@gentoo.org>: > On Fri, Jun 03, 2016 at 11:34:35AM +0700, Khang Nguyễn Nhật wrote: > > s3 = boto3.client(se

[ceph-users] RGW AWS4 SignatureDoesNotMatch when requests with port != 80 or != 443

2016-06-05 Thread Khang Nguyễn Nhật
Hi! I get the error " SignatureDoesNotMatch" when I used presigned url with endpoint port != 80 and != 443. For example, if I use host http://192.168.1.1: then this is what I have in RGW log: // RGWEnv::set(): HTTP_HOST: 192.168.1.1: // RGWEnv::set(): SERVER_PORT: //

[ceph-users] SignatureDoesNotMatch when authorize v4 with HTTPS.

2016-06-08 Thread Khang Nguyễn Nhật
Hello all, I'm having problems with authentication AWS4 when using HTTPS (my cluster running on Ceph Jewel 10.2.1 and platform CentOS 7). I used boto3 create presigned_url, here's my example: s3 = boto3.client(service_name='s3', region_name='', use_ssl=False, endpoint_url='https://rgw.x.x',

[ceph-users] 403 AccessDenied with presigned url in Jewel AWS4.

2016-06-02 Thread Khang Nguyễn Nhật
Hi, I have a problem when using presigned url with AWS4 in RGW Jewel . My cluster running on CentOS 7 and health is HEALTH_OK. - This is my *User information*: "user_id": "1", "display_name": "KhangNN", "email": "khan...@ceph.com.vn", "suspended": 0, "max_buckets": 1000,

[ceph-users] RGW Could not create user

2016-05-30 Thread Khang Nguyễn Nhật
Hi, I'm having problems with CEPH v10.2.1 Jewel when create user. My cluster is used CEPH Jewel, including: 3 OSD, 2 monitors and 1 RGW. - Here is the list of *cluster pools*: .rgw.root ap-southeast.rgw.control ap-southeast.rgw.data.root ap-southeast.rgw.gc ap-southeast.rgw.users.uid

Re: [ceph-users] RGW Could not create user

2016-05-31 Thread Khang Nguyễn Nhật
--rgw-zone=ap-southeast I tried to create the zone group, zone, realm with another name and also similar problems. 2016-05-31 13:33 GMT+07:00 Orit Wasserman <owass...@redhat.com>: > did you set the realm, zonegroup and zone as defaults? > > On Tue, May 31, 2016 at 4:45 AM, Kh

Re: [ceph-users] RGW Could not create user

2016-06-02 Thread Khang Nguyễn Nhật
rs.email+j...@example.com : miss // cache get: name=ap-southeast.rgw.users.keys+MQHDSB6XJXURM8AV7T3G : miss Pools: - ap-southeast.rgw.log - ap-southeast.rgw.users.uid - ap-southeast.rgw.users.email - ap-southeast.rgw.users.keys are jerasure, is there a problem ? 2016-06-02 10:46 GMT+07:00 Khang Nguyễn Nhậ

Re: [ceph-users] Ceph Pool JERASURE issue.

2016-06-02 Thread Khang Nguyễn Nhật
Oh, thank Somnath Roy ! I've set ruleset-failure-domain =osd and it works fine. There is a problem with Crush map. When I delete a pool, its rules are still in Crush map and it will not update the new rules instead it will use the old rules. 2016-06-02 11:37 GMT+07:00 Somnath Roy

[ceph-users] Ceph Pool JERASURE issue.

2016-06-01 Thread Khang Nguyễn Nhật
Hi, I have 1 cluster as pictured below: - OSD-host1 run 2 ceph-osd daemon is mounted in /var/ceph/osd0 and /var/ceph/osd1. - OSD-host2 run 2 ceph-osd daemon is mounted in /var/ceph/osd2 and /var/ceph/osd3. - OSD-host3 only run 1 ceph-osd daemon is mounted in the /var/ceph/osd4. - This is my

Re: [ceph-users] RGW Could not create user

2016-06-01 Thread Khang Nguyễn Nhật
Thank Wang! I will check it again. 2016-06-02 7:37 GMT+07:00 David Wang <linuxhunte...@gmail.com>: > First, please check your ceph cluster is HEALTH_OK and then check if you > have the caps the create users. > > 2016-05-31 16:11 GMT+08:00 Khang Nguyễn Nhật < > nguye

[ceph-users] RGW AWS4 issue.

2016-05-29 Thread Khang Nguyễn Nhật
Hi, I'm having problems with AWS4 in the CEPH Jewel when interact with the bucket, object. First I will talk briefly about my cluster. My cluster is used CEPH Jewel v10.2.1, including: 3 OSD, 2 monitors and 1 RGW. - Information in *zonegroup*: CLI: radosgw-admin zone list. (CLI is comand line)

Re: [ceph-users] RGW AWS4 issue.

2016-05-29 Thread Khang Nguyễn Nhật
l. Date: Mon, 30 May 2016 01:37:06 GMT. . T 2016/05/30 08:37:06.614104 x.x.x.x: -> x.x.x.x:55668 [AP] InvalidRequestimagetx0001d-00574b9942-6304-default6304-default-default 2016-05-30 8:46 GMT+07:00 Khang Nguyễn Nhật <nguyennhatkhang2...@gmail.com>: > Tha

Re: [ceph-users] RGW AWS4 SignatureDoesNotMatch when requests with port != 80 or != 443

2016-06-27 Thread Khang Nguyễn Nhật
> I guess it could be the same bug you hit. I added some info in the > ticket. Feel free to comment there. > > Thanks, > Javier > > On 06/05/2016 04:17 PM, Khang Nguyễn Nhật wrote: > > Hi! > > I get the error " SignatureDoesNotMatch" when I used > > pr

Re: [ceph-users] [RGW] how to choise the best placement groups ?

2016-07-31 Thread Khang Nguyễn Nhật
Thank Chengwei Yang. 2016-07-29 17:17 GMT+07:00 Chengwei Yang <chengwei.yang...@gmail.com>: > Would http://ceph.com/pgcalc/ help? > > On Mon, Jul 18, 2016 at 01:27:38PM +0700, Khang Nguyễn Nhật wrote: > > Hi all, > > I have a cluster consists of: 3 Monitors, 1 RGW,

[ceph-users] Ceph RGW issue.

2016-08-02 Thread Khang Nguyễn Nhật
Hi, I have seen an error when I'm using Ceph RGW v10.2.2 with S3 API, it's as follows: I have three S3 users are A, B, C. Both A, B, C have some buckets and objects. When I used A or C in order to PUT, GET object to RGW, I have seen "decode_policy Read

[ceph-users] [RGW] how to choise the best placement groups ?

2016-07-18 Thread Khang Nguyễn Nhật
Hi all, I have a cluster consists of: 3 Monitors, 1 RGW, 1 host of 24 OSDs(2TB/OSD) and some pool as: ap-southeast.rgw.data.root ap-southeast.rgw.control ap-southeast.rgw.gc ap-southeast.rgw.log ap-southeast.rgw.intent-log ap-southeast.rgw.usage

Re: [ceph-users] RGW authentication fail with AWS S3 v4

2017-02-03 Thread Khang Nguyễn Nhật
> > Dear Wido, I have used X-Amz-Expires=86400 in url but it doesn't work 2017-02-03 16:00 GMT+07:00 Wido den Hollander <w...@42on.com>: > > > Op 3 februari 2017 om 9:52 schreef Khang Nguyễn Nhật < > nguyennhatkhang2...@gmail.com>: > > > > > > H

[ceph-users] RGW authentication fail with AWS S3 v4

2017-02-03 Thread Khang Nguyễn Nhật
Hi all, I'm using Ceph Object Gateway with S3 API (ceph-radosgw-10.2.5-0.el7.x86_64 on CentOS Linux release 7.3.1611) and I use generate_presigned_url method of boto3 to create rgw url. This url working fine in period of 15 minutes, after 15 minutes I recived *RequestTimeTooSkewed* error. My

Re: [ceph-users] RGW authentication fail with AWS S3 v4

2017-02-06 Thread Khang Nguyễn Nhật
Dear Daniel, I think it's bug. Because if i have a big file and with 15 minutes expires, I can't finished download it. 2017-02-06 15:12 GMT+07:00 Khang Nguyễn Nhật <nguyennhatkhang2...@gmail.com> : > Dear Daniel, > I think it's bug. Because if i have a big file and with 15 minutes

Re: [ceph-users] Ceph OSDs advice

2017-02-14 Thread Khang Nguyễn Nhật
t always holds memory in your system as much as possible. > > > > 2017-02-15 10:35 GMT+07:00 Khang Nguyễn Nhật < > nguyennhatkhang2...@gmail.com>: > >> Hi all, >> My ceph OSDs is running on Fedora-server24 with config are: >> 128GB RAM DDR3, CPU Intel(R) Xeon

[ceph-users] Ceph OSDs advice

2017-02-14 Thread Khang Nguyễn Nhật
Hi all, My ceph OSDs is running on Fedora-server24 with config are: 128GB RAM DDR3, CPU Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz, 72 OSDs (8TB per OSD). My cluster was use ceph object gateway with S3 API. Now, it had contained 500GB data but it was used > 50GB RAM. I'm worry my OSD will dead if i

Re: [ceph-users] Ceph OSDs advice

2017-02-16 Thread Khang Nguyễn Nhật
other use of, or > taking of any action in reliance upon, this information by persons or > entities other than the intended recipient is prohibited. If you received > this in error, please contact the sender and delete the material from any > computer. > > On Tue, Feb 14, 2017 at 11:24

[ceph-users] issuse with data duplicated in ceph storage cluster.

2016-08-23 Thread Khang Nguyễn Nhật
Hi, I'm using ceph jewel 10.2.2 and I always want to know that Ceph will do with duplicate data? Is Ceph osd will automatically delete them or Ceph rgw will do it ? my Ceph storage cluster using s3 api to PUT object. Example: 1. Suppose I use one ceph-rgw s3 user to put two different ojbect of

[ceph-users] Memory leak in ceph OSD.

2016-08-23 Thread Khang Nguyễn Nhật
Hi, I'm using ceph jewel 10.2.2, I noticed that, when I put multiple object of the same file, same user to ceph-rgw s3 then RAM memory of ceph-osd increased and not reduced anymore? This time, the upload speed is reduced significantly. Please help me solve this problem? Thank!