Re: S3 RadosGW - Create bucket OP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> From: "Steffen Winther" <ceph.user@xxxxxxxxxx>
> To: ceph-users@xxxxxxxxxxxxxx
> Sent: Monday, March 9, 2015 12:43:58 AM
> Subject: Re:  S3 RadosGW - Create bucket OP
> 
> Steffen W Sørensen <stefws@...> writes:
> 
> > Response:
> > HTTP/1.1 200 OK
> > Date: Fri, 06 Mar 2015 10:41:14 GMT
> > Server: Apache/2.2.22 (Fedora)
> > Connection: close
> > Transfer-Encoding: chunked
> > Content-Type: application/xml
> > 
> > This response makes the App say:
> > 
> > S3.createBucket, class <S3>, code <UnexpectedContent>,
> > message <Inconsistency in S3 response. error
> > response is not a valid xml message>
> > 
> > Are our S3 GW not responding properly?
> Why doesn't the radosGW return a "Content-Length: 0" header
> when the body is empty?

If you're using apache, then it filters out zero Content-Length. Nothing much radosgw can do about it.

> 
> http://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonResponseHeaders.html
> 
> Maybe this is confusing my App to expect some XML in body

You can try using the radosgw civetweb frontend, see if it changes anything.

Yehuda

>  
> > 2. at every create bucket OP the GW create what looks like new containers
> > for ACLs in .rgw pool, is this normal
> > or howto avoid such multiple objects clottering the GW pools?
> Is there something wrong since I get multiple ACL object for this bucket
> everytime my App tries to recreate same bucket or
> is this a "feature/bug" in radosGW?
> 
>  
> > # rados -p .rgw ls
> > .bucket.meta.mssCl:default.6309817.1
> > .bucket.meta.mssCl:default.6187712.3
> > .bucket.meta.mssCl:default.6299841.7
> > .bucket.meta.mssCl:default.6309817.5
> > .bucket.meta.mssCl:default.6187712.2
> > .bucket.meta.mssCl:default.6187712.19
> > .bucket.meta.mssCl:default.6187712.12
> > mssCl
> > ...
> > 
> > # rados -p .rgw listxattr .bucket.meta.mssCl:default.6187712.12
> > ceph.objclass.version
> > user.rgw.acl
> 
> /Steffen
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux