Project

General

Profile

Actions

Feature #7933

closed

rgw.py: support radosgw w/ civetweb backend

Added by Sage Weil about 10 years ago. Updated about 10 years ago.

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

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

modify the rgw.py task to take an additional option 'frontend' that defaults to 'apache', but can also be 'civetweb'.

if it is apache, do the existing work of spinning up apache2 + mod_fastcgi, and run radosgw in the current default config (w/ a fastcgi socket).

if it is civetweb, skip all the apache stuff, and start up rgw with these extra arguments:

--rgw-frontends "civetweb port=80" 

(or whatever the port should be; i forget if the task has it on a weird port)

Actions #1

Updated by Sage Weil about 10 years ago

  • Translation missing: en.field_story_points set to 2.0
Actions #2

Updated by Sage Weil about 10 years ago

  • Translation missing: en.field_story_points changed from 2.0 to 3.0
Actions #3

Updated by Ian Colle about 10 years ago

  • Assignee set to Zack Cerza
Actions #4

Updated by Zack Cerza about 10 years ago

  • Status changed from New to Need More Info
  • Assignee changed from Zack Cerza to Sage Weil

I don't know what this means :-/

Actions #5

Updated by Sage Weil about 10 years ago

  • Description updated (diff)
Actions #6

Updated by Sage Weil about 10 years ago

  • Description updated (diff)
Actions #7

Updated by Sage Weil about 10 years ago

  • Status changed from Need More Info to 12
  • Assignee changed from Sage Weil to Zack Cerza
Actions #8

Updated by Zack Cerza about 10 years ago

  • Status changed from 12 to In Progress

So I'm working on this now, and I'm a little confused about how to use radosgw.

ubuntu@vpm031:~$ radosgw --help
usage: radosgw [options...]
options:
   --rgw-region=<region>     region in which radosgw runs
   --rgw-zone=<zone>         zone in which radosgw runs
  --conf/-c FILE    read configuration from the given configuration file
  --id/-i ID        set ID portion of my name
  --name/-n TYPE.ID set name
  --cluster NAME    set cluster name (default: ceph)
  --version         show version and quit

  -d                run in foreground, log to stderr.
  -f                run in foreground, log to usual location.
  --debug_ms N      set message debug level (e.g. 1)

But the task uses many more flags than that.

Actions #9

Updated by Zack Cerza about 10 years ago

The reason I need to know more about radosgw's usage is that I want to be able to reorder some of the args that are used when calling it - so that it's more readable when I conditionally add args for either apache or civetweb.

Actions #10

Updated by Zack Cerza about 10 years ago

Filed #8112

Actions #11

Updated by Zack Cerza about 10 years ago

  • Status changed from In Progress to Need More Info
Actions #12

Updated by Ian Colle about 10 years ago

  • Project changed from rgw to teuthology
  • Target version deleted (v0.80rc)
Actions #13

Updated by Ian Colle about 10 years ago

  • Target version set to sprint5
Actions #14

Updated by Zack Cerza about 10 years ago

  • Status changed from Need More Info to In Progress
Actions #15

Updated by Zack Cerza about 10 years ago

  • Status changed from In Progress to Fix Under Review
Actions #16

Updated by Zack Cerza about 10 years ago

Filed #8119

Actions #17

Updated by Zack Cerza about 10 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF