Project

General

Profile

Feature #1215

qa: ability to run radosgw

Added by Sage Weil almost 13 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
qa
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

set up apache, radosgw

History

#1 Updated by Sage Weil almost 13 years ago

  • translation missing: en.field_position set to 692

#2 Updated by Sage Weil almost 13 years ago

  • translation missing: en.field_story_points set to 5
  • translation missing: en.field_position deleted (692)
  • translation missing: en.field_position set to 692

#3 Updated by Anonymous almost 13 years ago

Here's how I think this should work:

- assume apache2 and libapache2-mod-fcgid (or whatever) debs are always installed (hopefully configured not to start, but that's just RAM, doesn't affect the tests)
- on the client.N machines told to run rgw on, write /tmp/cephtest/apache/apache.conf that's something like this

LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so

Listen 7280
ServerName rgwtest.example.com

ServerRoot /tmp/cephtest/apache
ErrorLog /tmp/cephtest/archive/apache/error.log
LogFormat "%h l %u %t \"%r\" %>s %b \"{Referer}i\" \"%{User-agent}i\"" combined
CustomLog /tmp/cephtest/archive/apache/access.log combined
PidFile apache.pid
DocumentRoot htdocs
FcgidProcessTableFile fcgid_shm
FcgidIPCDir fcgid_sock

RewriteEngine On

RewriteRule ^/([a-zA-Z0-9-_.]*)([/]?.*) /s3gw.fcgi?page=$1&params=$2&%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

<Directory /tmp/cephtest/apache/htdocs>
Options +ExecCGI
AllowOverride All
SetHandler fcgid-script
FcgidWrapper "/tmp/cephtest/binary/usr/local/bin/radosgw -c /tmp/cephtest/ceph.conf" .fcgi virtual
</Directory>

AllowEncodedSlashes On

- run apache something like this: apache2 -X -f /tmp/cephtest/apache/apache.conf

#4 Updated by Josh Durgin almost 13 years ago

  • Assignee set to Josh Durgin

#5 Updated by Sage Weil over 12 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF