Not able to upload object using Horizon(Openstack Dashboard) to Ceph

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

 



Hi Cephers,

I have configured Ceph RadosGW for Swift. I have also set authentication
using keystone. Using Swift CLI I can do all stuff viz. uploading
container, object, listing. But while using Dashboard I am able to do all
the stuff apart from uploading an object. I am using Trusty with Ceph
firefly.

While uploading an object I am getting 411 length required error in
backend.

Here are the configs I have made:

ashish at firefly-master:/etc/ceph$ cat ceph.conf

[global]
fsid = 62ad74b0-e9bb-445c-9224-8f269e744026
mon initial members = firefly-master
mon host = 10.0.1.60
auth service required = cephx
auth client required = cephx
osd journal size = 1024
filestore xattr use omap = true
osd pool default size = 2
osd pool default min size = 1
osd pool default pg num = 333
osd pool default pgp num = 333
osd crush chooseleaf type = 0

[client.radosgw.gateway]
        host = firefly-master
        keyring = /etc/ceph/ceph.client.radosgw.keyring
        rgw socket path = /var/run/ceph/ceph.radosgw.gateway.fastcgi.sock
        log file = /var/log/ceph/client.radosgw.gateway.log
        rgw keystone url = http://10.0.1.60:35357
        rgw keystone admin token = ashish
        rgw keystone accepted roles = admin, Member
        rgw keystone token cache size = 100
        rgw keystone revocation interval = 600
        rgw s3 auth use keystone = true


ashish at firefly-master:/etc/apache2/sites-available$ cat rgw.conf
FastCgiExternalServer /var/www/s3gw.fcgi -socket
/var/run/ceph/ceph.radosgw.gateway.fastcgi.sock
<VirtualHost *:80>
       ServerName firefly-master.ashish.com
       ServerAdmin ashish at ashish.com
       DocumentRoot /var/www
       RewriteEngine On
       RewriteRule  ^/(.*) /s3gw.fcgi?%{QUERY_STRING}
[E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
       <IfModule mod_fastcgi.c>
       <Directory /var/www>
                       Options +ExecCGI
                       AllowOverride All
                       SetHandler fastcgi-script
                       Order allow,deny
                       Allow from all
                       AuthBasicAuthoritative Off
             </Directory>
       </IfModule>
       AllowEncodedSlashes On
       ErrorLog /var/log/apache2/error.log
       CustomLog /var/log/apache2/access.log combined
       ServerSignature Off
</VirtualHost>

WSGIChunkedRequest On




Any idea what could be going wrong. Please help.


-- 

    .- <O> -.        .-====-.      ,-------.      .-=<>=-.
   /_-\'''/-_\      / / '' \ \     |,-----.|     /__----__\
  |/  o) (o  \|    | | ')(' | |   /,'-----'.\   |/ (')(') \|
   \   ._.   /      \ \    / /   {_/(') (')\_}   \   __   /
   ,>-_,,,_-<.       >'=jf='<     `.   _   .'    ,'--__--'.
 /      .      \    /        \     /'-___-'\    /    :|    \
(_)     .     (_)  /          \   /         \  (_)   :|   (_)
 \_-----'____--/  (_)        (_) (_)_______(_)   |___:|____|
  \___________/     |________|     \_______/     |_________|


Thanks and Regards

Ashish Chandra

Openstack Developer, Cloud Engineering

Reliance Jio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140730/d7bf4b4e/attachment.htm>


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


  Powered by Linux