Project

General

Profile

Actions

Feature #6020

closed

radosgw-apache opinionated package

Added by Sage Weil over 10 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Sandon Van Ness
Category:
-
Target version:
% Done:

50%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Actions #1

Updated by Neil Levine over 10 years ago

  • Status changed from New to 12
Actions #2

Updated by Neil Levine over 10 years ago

  • Target version changed from v0.68 - continued to v0.69
Actions #3

Updated by Neil Levine over 10 years ago

  • Status changed from 12 to Need More Info
  • Assignee set to Yehuda Sadeh

We need a explicit description of what should be packaged up for a new radosgw package.

Eg, config files to add, remove, dependencies (on webserver), startup scripts etc

Actions #4

Updated by Ian Colle over 10 years ago

  • Target version changed from v0.69 to v0.70
Actions #5

Updated by Yehuda Sadeh over 10 years ago

The package should have the following

- depend on our mod_fastcgi
- enable fastcgi module
- enable rewrite module
- replace default web site with a new one that sets up radosgw

We should modify the default rgw_socket_path configurable to point into /var/run/radosgw/rgw.sock (or /var/run/ceph/rgw.sock).

- web site should be along the following lines:
FastCgiExternalServer /var/www/radosgw/entry.fcgi -socket /var/run/radosgw/rgw.sock -idle-timeout 30

<VirtualHost *:80>
  ServerName ???
  ServerAlias ???
  ServerAdmin webmaster@example1.com
  DocumentRoot /var/www/radosgw/

  #turn engine on
  RewriteEngine On

  #radosgw rewrite rule
  RewriteRule             ^/(.*) /entry.fcgi?%{QUERY_STRING} [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

  <IfModule mod_fastcgi.c>
    SuexecUserGroup web1 web1
    <Directory /var/www/radosgw/>
      Options +ExecCGI
      AllowOverride None
      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>

Not sure what to do with ServerName and ServerAlias, it should be something like what the default apache site has.

- create /var/www/radosgw
Actions #6

Updated by Ian Colle over 10 years ago

  • Status changed from Need More Info to 12
  • Assignee changed from Yehuda Sadeh to Anonymous
Actions #7

Updated by Anonymous over 10 years ago

Proposed package name is radosgw-apache. Also proposing that this be created as a subpackage of the current ceph packaging instead of a separate tree.

Actions #8

Updated by Neil Levine over 10 years ago

  • Target version changed from v0.70 to v0.72-Dumpling
Actions #9

Updated by Anonymous over 10 years ago

  • Status changed from 12 to In Progress

Initial version of package has been created. Still need to sort out installation of config files.

Actions #10

Updated by Neil Levine over 10 years ago

  • Target version changed from v0.72-Dumpling to v0.73
Actions #11

Updated by Ian Colle over 10 years ago

  • Target version changed from v0.73 to v0.74
Actions #12

Updated by Neil Levine over 10 years ago

  • Target version changed from v0.74 to v0.75
Actions #13

Updated by Ian Colle over 10 years ago

  • Status changed from In Progress to 7
Actions #14

Updated by Anonymous over 10 years ago

Work in progress is in the master branch in the radosgw-apache tree.

Actions #15

Updated by Anonymous over 10 years ago

Build job for the package is radosgw-apache on jenkins.

Actions #16

Updated by Ian Colle over 10 years ago

  • Target version changed from v0.75 to v0.76
Actions #17

Updated by Ian Colle about 10 years ago

  • Target version changed from v0.76 to sprint
Actions #18

Updated by Ian Colle about 10 years ago

  • Assignee changed from Anonymous to Ken Dreyer
Actions #19

Updated by Ken Dreyer about 10 years ago

For reference, Gary's WIP branch is here: https://github.com/ceph/ceph/tree/wip-6020

Actions #20

Updated by Ian Colle about 10 years ago

  • Target version changed from sprint to sprint3
Actions #21

Updated by Ian Colle about 10 years ago

  • Target version changed from sprint3 to sprint4
Actions #22

Updated by Ian Colle about 10 years ago

  • Assignee changed from Ken Dreyer to Sandon Van Ness
Actions #23

Updated by Ian Colle about 10 years ago

  • Target version changed from sprint4 to sprint5
Actions #24

Updated by Ian Colle about 10 years ago

  • Status changed from 7 to Fix Under Review
Actions #25

Updated by Ian Colle about 10 years ago

  • Target version changed from sprint5 to sprint6
Actions #26

Updated by Sandon Van Ness almost 10 years ago

  • Status changed from Fix Under Review to In Progress
  • % Done changed from 0 to 50

So several problems here. The wip branch for actual ceph builds a package which depends on ceph versions of apache and other packages which is bad.

Also the rgw.conf template in here for apache has gary's hostname and stuff hard-coded into it. Do we want this to automatically take-over the default vhost or is this config file just an example? Also found issues with the post install/rm scripts for the Debian too which I have some changes in my local branch to fix those issues but I am unsure what we want to do with the rgw.conf file but I don't think it can stay how it is now:

https://github.com/ceph/radosgw-apache/blob/master/rgw.conf

Actions #27

Updated by Neil Levine almost 10 years ago

  • Target version changed from sprint6 to sprint7
Actions #28

Updated by Ian Colle almost 10 years ago

  • Target version changed from sprint7 to sprint8
Actions #29

Updated by Neil Levine almost 10 years ago

  • Target version changed from sprint8 to sprint7
Actions #30

Updated by Neil Levine almost 10 years ago

  • Target version deleted (sprint7)
Actions #31

Updated by Ian Colle over 9 years ago

  • Target version set to sprint14
Actions #32

Updated by Ian Colle over 9 years ago

  • Target version changed from sprint14 to sprint16
Actions #33

Updated by Sage Weil almost 9 years ago

  • Status changed from In Progress to Rejected
Actions

Also available in: Atom PDF