All of lore.kernel.org
 help / color / mirror / Atom feed
* ceph s3 allowed characters
@ 2013-08-30 13:52 Dominik Mostowiec
       [not found] ` <CAMNMNTxn3DCbVAnvY1K7PE7Z1oWy-4nM_XKT92+xYEBxKzd=Yg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Dominik Mostowiec @ 2013-08-30 13:52 UTC (permalink / raw)
  To: ceph-devel, ceph-users-idqoXFIVOFJgJs9I8MT0rw

Hi,
I got err (400) from radosgw on request:
2013-08-30 08:09:19.396812 7f3b307c0700  2 req 3070:0.000150::POST
/dysk/files/test.test%40op.pl/DOMIWENT%202013/DW%202013_03_27/PROJEKTY%202012/ZB%20KROL/Szko%C5%82a%20%C5%81aziska%20ZB%20KROL/sala-%A3aziska_Dolne_PB-0_went_15_11_06%20Layout1%20%283%29.pdf::http
status=400
2013-08-30 08:09:34.851892 7f3b55ffb700 10
s->object=files/test.test-FWhLrETftxM@public.gmane.org/DOMIWENT 2013/Damian
DW/dw/Specyfikacja istotnych warunk<F3>w zam<F3>wienia.doc
s->bucket=dysk

What is allowed range of chars in url in radosgw?

-- 
Regards
Dominik

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ceph s3 allowed characters
       [not found] ` <CAMNMNTxn3DCbVAnvY1K7PE7Z1oWy-4nM_XKT92+xYEBxKzd=Yg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-08-30 13:59   ` Alfredo Deza
  2013-08-30 14:44     ` [ceph-users] " Dominik Mostowiec
  0 siblings, 1 reply; 6+ messages in thread
From: Alfredo Deza @ 2013-08-30 13:59 UTC (permalink / raw)
  To: Dominik Mostowiec; +Cc: ceph-devel, ceph-users-idqoXFIVOFJgJs9I8MT0rw


[-- Attachment #1.1: Type: text/plain, Size: 1142 bytes --]

On Fri, Aug 30, 2013 at 9:52 AM, Dominik Mostowiec <
dominikmostowiec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Hi,
> I got err (400) from radosgw on request:
> 2013-08-30 08:09:19.396812 7f3b307c0700  2 req 3070:0.000150::POST
> /dysk/files/test.test%
> 40op.pl/DOMIWENT%202013/DW%202013_03_27/PROJEKTY%202012/ZB%20KROL/Szko%C5%82a%20%C5%81aziska%20ZB%20KROL/sala-%A3aziska_Dolne_PB-0_went_15_11_06%20Layout1%20%283%29.pdf::http
> status=400
> 2013-08-30 08:09:34.851892 7f3b55ffb700 10
> s->object=files/test.test-FWhLrETftxM@public.gmane.org/DOMIWENT 2013/Damian
> DW/dw/Specyfikacja istotnych warunk<F3>w zam<F3>wienia.doc
> s->bucket=dysk
>
> What is allowed range of chars in url in radosgw?
>

Can you post the full HTTP headers for the response?

The output you are pasting is not entirely clear to me, is that a single
log line for the whole request? Maybe it is just the formatting that
is throwing me off.

>
> --
> Regards
> Dominik
> _______________________________________________
> ceph-users mailing list
> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>

[-- Attachment #1.2: Type: text/html, Size: 2254 bytes --]

[-- Attachment #2: Type: text/plain, Size: 178 bytes --]

_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ceph-users] ceph s3 allowed characters
  2013-08-30 13:59   ` Alfredo Deza
@ 2013-08-30 14:44     ` Dominik Mostowiec
       [not found]       ` <CAMNMNTyUucZ2ZZu_KwfX2mz77Zx45Lf1j9xRYRNDJWdgF1LkPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Dominik Mostowiec @ 2013-08-30 14:44 UTC (permalink / raw)
  To: Alfredo Deza; +Cc: ceph-devel, ceph-users

(echo -n 'GET /dysk/files/test.test%40op.pl/DOMIWENT%202013/Damian%20DW/dw/Specyfikacja%20istotnych%20warunk%F3w%20zam%F3wienia.doc
HTTP/1.0'; printf "\r\n\r\n") | nc localhost 88
HTTP/1.1 400 Bad Request
Date: Fri, 30 Aug 2013 14:10:07 GMT
Server: Apache/2.2.22 (Ubuntu)
Accept-Ranges: bytes
Content-Length: 83
Connection: close
Content-Type: application/xml

<?xml version="1.0"
encoding="UTF-8"?><Error><Code>InvalidObjectName</Code></Error>

Full log from radosgw another error:

2013-08-30 14:32:52.166321 7f42e77d6700  1 ====== starting new request
req=0x12cff20 =====
2013-08-30 14:32:52.166385 7f42e77d6700  2 req 33246:0.000065::::initializing
2013-08-30 14:32:52.166410 7f42e77d6700 10 meta>> HTTP_X_AMZ_ACL=public-read
2013-08-30 14:32:52.166419 7f42e77d6700 10 x>> x-amz-acl:public-read
2013-08-30 14:32:52.166497 7f42e77d6700 10
s->object=files/test.test@op.pl/DOMIWENT 2013/DW 2013_03_27/PROJEKTY
2012/ZB KROL/Szkoła Łaziska ZB
KROL/sala-<A3>aziska_Dolne_PB-0_went_15_11_06 Layou
t1 (4).pdf s->bucket=dysk
2013-08-30 14:32:52.166563 7f42e77d6700  2 req 33246:0.000242::POST
/dysk/files/test.test%40op.pl/DOMIWENT%202013/DW%202013_03_27/PROJEKTY%202012/ZB%20KROL/Szko%C5%82a%20%C5%81aziska%20ZB%20KROL
/sala-%A3aziska_Dolne_PB-0_went_15_11_06%20Layout1%20%284%29.pdf::http
status=400
2013-08-30 14:32:52.166653 7f42e77d6700  1 ====== req done
req=0x12cff20 http_status=400 ======

--
Dominik

2013/8/30 Alfredo Deza <alfredo.deza@inktank.com>:
>
>
>
> On Fri, Aug 30, 2013 at 9:52 AM, Dominik Mostowiec
> <dominikmostowiec@gmail.com> wrote:
>>
>> Hi,
>> I got err (400) from radosgw on request:
>> 2013-08-30 08:09:19.396812 7f3b307c0700  2 req 3070:0.000150::POST
>>
>> /dysk/files/test.test%40op.pl/DOMIWENT%202013/DW%202013_03_27/PROJEKTY%202012/ZB%20KROL/Szko%C5%82a%20%C5%81aziska%20ZB%20KROL/sala-%A3aziska_Dolne_PB-0_went_15_11_06%20Layout1%20%283%29.pdf::http
>> status=400
>> 2013-08-30 08:09:34.851892 7f3b55ffb700 10
>> s->object=files/test.test@op.pl/DOMIWENT 2013/Damian
>> DW/dw/Specyfikacja istotnych warunk<F3>w zam<F3>wienia.doc
>> s->bucket=dysk
>>
>> What is allowed range of chars in url in radosgw?
>
>
> Can you post the full HTTP headers for the response?
>
> The output you are pasting is not entirely clear to me, is that a single log
> line for the whole request? Maybe it is just the formatting that
> is throwing me off.
>>
>>
>> --
>> Regards
>> Dominik
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>



-- 
Pozdrawiam
Dominik
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ceph s3 allowed characters
       [not found]       ` <CAMNMNTyUucZ2ZZu_KwfX2mz77Zx45Lf1j9xRYRNDJWdgF1LkPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-08-30 14:59         ` Yehuda Sadeh
       [not found]           ` <CABBk=J8Jvkchj6JoY560u-mew2qLmBWsLwdnG3-p6s+Gu7fnfg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2013-08-30 18:46         ` ceph install Jimmy Lu [ Storage ]
  1 sibling, 1 reply; 6+ messages in thread
From: Yehuda Sadeh @ 2013-08-30 14:59 UTC (permalink / raw)
  To: Dominik Mostowiec; +Cc: ceph-devel, ceph-users-idqoXFIVOFJgJs9I8MT0rw

On Fri, Aug 30, 2013 at 7:44 AM, Dominik Mostowiec
<dominikmostowiec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> (echo -n 'GET /dysk/files/test.test%40op.pl/DOMIWENT%202013/Damian%20DW/dw/Specyfikacja%20istotnych%20warunk%F3w%20zam%F3wienia.doc
> HTTP/1.0'; printf "\r\n\r\n") | nc localhost 88
> HTTP/1.1 400 Bad Request
> Date: Fri, 30 Aug 2013 14:10:07 GMT
> Server: Apache/2.2.22 (Ubuntu)
> Accept-Ranges: bytes
> Content-Length: 83
> Connection: close
> Content-Type: application/xml
>
> <?xml version="1.0"
> encoding="UTF-8"?><Error><Code>InvalidObjectName</Code></Error>
>


The object name needs to be utf8 encoded.

Yehuda

^ permalink raw reply	[flat|nested] 6+ messages in thread

* ceph install
       [not found]       ` <CAMNMNTyUucZ2ZZu_KwfX2mz77Zx45Lf1j9xRYRNDJWdgF1LkPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2013-08-30 14:59         ` Yehuda Sadeh
@ 2013-08-30 18:46         ` Jimmy Lu [ Storage ]
  1 sibling, 0 replies; 6+ messages in thread
From: Jimmy Lu [ Storage ] @ 2013-08-30 18:46 UTC (permalink / raw)
  To: ceph-users-idqoXFIVOFJgJs9I8MT0rw; +Cc: ceph-devel

Hello ceph-users,

I am new to Ceph and would like to bring up a 5-node cluster for my PoC. I
am doing an installation from below link and ran into a problem. I am not
so sure how to deal with it. Can someone please shed some light?

http://ceph.com/docs/master/install/rpm/

[root@cleverloadgen16 ceph]# ceph auth add client.radosgw.gateway
--in-file=/etc/ceph/keyring.radosgw.gateway
unable to find any monitors in conf. please specify monitors via -m
monaddr or -c ceph.conf
Error connecting to cluster: ObjectNotFound

[root@cleverloadgen16 ceph]# cat keyring.radosgw.gateway
[client.radosgw.gateway]
	key = AQCC4yBSyMWQGBAADS7j7DnIZeGAZiaJFaM8Xw==
	caps mon = "allow rw"
	caps osd = "allow rwx"
[root@cleverloadgen16 ceph]#


Thanks,
jimmy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ceph s3 allowed characters
       [not found]           ` <CABBk=J8Jvkchj6JoY560u-mew2qLmBWsLwdnG3-p6s+Gu7fnfg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-09-03 10:51             ` Dominik Mostowiec
  0 siblings, 0 replies; 6+ messages in thread
From: Dominik Mostowiec @ 2013-09-03 10:51 UTC (permalink / raw)
  To: Yehuda Sadeh; +Cc: ceph-users-idqoXFIVOFJgJs9I8MT0rw, ceph-devel


[-- Attachment #1.1: Type: text/plain, Size: 819 bytes --]

Thanks for your answer.

Regards
Dominik
On Aug 30, 2013 4:59 PM, "Yehuda Sadeh" <yehuda-4GqslpFJ+cxBDgjK7y7TUQ@public.gmane.org> wrote:

> On Fri, Aug 30, 2013 at 7:44 AM, Dominik Mostowiec
> <dominikmostowiec-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > (echo -n 'GET /dysk/files/test.test%
> 40op.pl/DOMIWENT%202013/Damian%20DW/dw/Specyfikacja%20istotnych%20warunk%F3w%20zam%F3wienia.doc
> > HTTP/1.0'; printf "\r\n\r\n") | nc localhost 88
> > HTTP/1.1 400 Bad Request
> > Date: Fri, 30 Aug 2013 14:10:07 GMT
> > Server: Apache/2.2.22 (Ubuntu)
> > Accept-Ranges: bytes
> > Content-Length: 83
> > Connection: close
> > Content-Type: application/xml
> >
> > <?xml version="1.0"
> > encoding="UTF-8"?><Error><Code>InvalidObjectName</Code></Error>
> >
>
>
> The object name needs to be utf8 encoded.
>
> Yehuda
>

[-- Attachment #1.2: Type: text/html, Size: 1488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 178 bytes --]

_______________________________________________
ceph-users mailing list
ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-03 10:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30 13:52 ceph s3 allowed characters Dominik Mostowiec
     [not found] ` <CAMNMNTxn3DCbVAnvY1K7PE7Z1oWy-4nM_XKT92+xYEBxKzd=Yg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-30 13:59   ` Alfredo Deza
2013-08-30 14:44     ` [ceph-users] " Dominik Mostowiec
     [not found]       ` <CAMNMNTyUucZ2ZZu_KwfX2mz77Zx45Lf1j9xRYRNDJWdgF1LkPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-30 14:59         ` Yehuda Sadeh
     [not found]           ` <CABBk=J8Jvkchj6JoY560u-mew2qLmBWsLwdnG3-p6s+Gu7fnfg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-03 10:51             ` Dominik Mostowiec
2013-08-30 18:46         ` ceph install Jimmy Lu [ Storage ]

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.