ceph radosgw cannot work
hi, I'm working with ceph for a while.
I just follow by the ceph.com step by step,
but it still not work with restful.
There're a few problem with it.
here is my ceph.conf [client.radosgw.gateway]
host = node71
keyring = /etc/ceph/keyring.radosgw.gateway rgw socket path = /tmp/radosgw.sock log file = /var/log/ceph/radosgw.log
and all other conf are all the same with website
http://ceph.com/docs/master/radosgw/config/
by the way , what's the fqdn mean? I just set it the same with hostname(node71)
first I use the cmd
#radosgw
it reply
radosgw: must specify 'rgw socket path' to run as a daemon but the rgw socket path is already have and set
second I don't understand how to get in ceph radosgw with swift i use the cmd
swift -A http://node71 -U richard -K 8ni1ubMgQ\/Jxgnh9z\/QurcZ9v2EUpGoSWEk9wIT9 post test
it just client to apache server
then i tried to use
swift -A http://node76:6789/auth -U richard -K 8ni1ubMgQ\/Jxgnh9z\/QurcZ9v2EUpGoSWEk9wIT9 post test
node76 is my mon node
and it can not reach by this cmd
how can I let my radosgw works?
i really need to fix this problem as soon as possible.
please help me to solve the problems.
thx
Quoted 16 lines · proguest
hi, I'm working with ceph for a while.
I just follow by the ceph.com step by step,
but it still not work with restful.
There're a few problem with it.here is my ceph.conf [client.radosgw.gateway]
host = node71
keyring =/etc/ceph/keyring.radosgw.gatewayrgw socket path =/tmp/radosgw.socklog file =/var/log/ceph/radosgw.log
and all other conf are all the same with website
Quoted 8 lines
by the way , what's the fqdn mean? I just set it the same with hostname(node71)
first I use the cmd
#radosgw
it reply
radosgw: must specify 'rgw socket path' to run as a daemon but the rgw socket path is already have and set
try:
# radosgw -n client.radosgw.gateway
Quoted 7 lines
second I don't understand how to get in ceph radosgw with swift i use the cmd
swift -A http://node71 -U richard -K 8ni1ubMgQ\/Jxgnh9z\/QurcZ9v2EUpGoSWEk9wIT9 post testit just client to apache server
swift -A http://node71/auth ...
Quoted 7 lines
then i tried to use
swift -A http://node76:6789/auth -U richard -K 8ni1ubMgQ\/Jxgnh9z\/QurcZ9v2EUpGoSWEk9wIT9 post test
node76 is my mon node
Nope, wouldn't work. You need to point it at your web server.
Quoted 9 lines
and it can not reach by this cmd
how can I let my radosgw works?
i really need to fix this problem as soon as possible.please help me to solve the problems.
thx
Yehuda
Quoted 2 lines · Yehuda Sadeh <yehuda <at> inktank.com> writes:
On Sat, Apr 13, 2013 at 8:20 AM, proguest <proguest1942 <at> hotmail.com>
Quoted 8 lines · wrote:
try:
# radosgw -n client.radosgw.gatewayswift -A http://node71/auth ...
I tried, but it replied:
Auth GET failed: http://node71:80/auth 404 Not Found
Quoted 4 lines
Nope, wouldn't work. You need to point it at your web server.
I don't get understand...
what is 'point it at my web server'
I follow by the step on website, use s3gw.fcgi on apache server to build a virtual host. Is this the step to point the ceph at my web server?
How can i use restful with swift API?
sorry, i'm a beginner in ceph :(
thank you for reply my question!!
Quoted 10 lines
Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo <at> vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · proguest <proguest1942 <at> hotmail.com> writes:
Quoted 2 lines · Yehuda Sadeh <yehuda <at> inktank.com> writes:
On Sat, Apr 13, 2013 at 8:20 AM, proguest <proguest1942 <at>
hotmail.com>
Quoted 20 lines
Quoted 7 lines · wrote:
try:
# radosgw -n client.radosgw.gatewayswift -A http://node71/auth ...
I tried, but it replied:
Auth GET failed: http://node71:80/auth 404 Not Found
Quoted 4 lines
Nope, wouldn't work. You need to point it at your web server.
I don't get understand...
what is 'point it at my web server'
I follow by the step on website, use s3gw.fcgi on apache server to build a virtual host. Is this the step to point the ceph at my web server?
Quoted 9 lines
How can i use restful with swift API?
sorry, i'm a beginner in ceph :(
thank you for reply my question!!
Quoted 4 lines
Yehuda
I tried a lot recently, but still cannot fix the problems. I don't know how to do now...
#swift -A http://node71/auth -U richard:swift -K 0OZ4dUcgCIvpucKRNixG1nkoe+RXncngj3Kfo6DE post test
only reply Auth GET failed: http://node71:80/auth 404 Not Found
and #swift -A http://node71 -U richard:swift -K 0OZ4dUcgCIvpucKRNixG1nkoe+RXncngj3Kfo6DE post test
only reply
Traceback (most recent call last):
File "/usr/bin/swift", line 1853, in <module>
error_queue)
File "/usr/bin/swift", line 1533, in st_post
conn.post_container(args[0], headers=headers)
File "/usr/bin/swift", line 853, in post_container
return self._retry(None, post_container, container, headers)
File "/usr/bin/swift", line 790, in _retry
self.http_conn = self.http_connection()
File "/usr/bin/swift", line 778, in http_connection
return http_connection(self.url)
File "/usr/bin/swift", line 163, in http_connection
parsed = urlparse(url)
File "/usr/lib/python2.7/urlparse.py", line 135, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/usr/lib/python2.7/urlparse.py", line 174, in urlsplit
i = url.find(':')AttributeError: 'NoneType' object has no attribute 'find'
apache error.log:
[Tue Apr 16 01:47:20 2013] [notice] caught SIGTERM, shutting down [Tue Apr 16 01:47:20 2013] [alert] FastCGI: read() from pipe failed (0) [Tue Apr 16 01:47:20 2013] [alert] FastCGI: the PM is shutting down, Apache seems to have disappeared - bye [Tue Apr 16 01:47:21 2013] [notice] FastCGI: process manager initialized (pid 29952) [Tue Apr 16 01:47:21 2013] [notice] Apache/2.2.20 (Ubuntu)
mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_ssl/2.2.20 OpenSSL/1.0.0e configured -- resuming normal operations
I dont know what's it means.
Can someone help me to fix it :(