Project

General

Profile

Feature #6020

radosgw-apache opinionated package

Added by Sage Weil over 6 years ago. Updated almost 5 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:

History

#1 Updated by Neil Levine over 6 years ago

  • Status changed from New to 12

#2 Updated by Neil Levine over 6 years ago

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

#3 Updated by Neil Levine over 6 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

#4 Updated by Ian Colle over 6 years ago

  • Target version changed from v0.69 to v0.70

#5 Updated by Yehuda Sadeh over 6 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

#6 Updated by Ian Colle over 6 years ago

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

#7 Updated by Anonymous over 6 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.

#8 Updated by Neil Levine over 6 years ago

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

#9 Updated by Anonymous over 6 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.

#10 Updated by Neil Levine over 6 years ago

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

#11 Updated by Ian Colle over 6 years ago

  • Target version changed from v0.73 to v0.74

#12 Updated by Neil Levine over 6 years ago

  • Target version changed from v0.74 to v0.75

#13 Updated by Ian Colle over 6 years ago

  • Status changed from In Progress to 7

#14 Updated by Anonymous over 6 years ago

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

#15 Updated by Anonymous over 6 years ago

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

#16 Updated by Ian Colle over 6 years ago

  • Target version changed from v0.75 to v0.76

#17 Updated by Ian Colle about 6 years ago

  • Target version changed from v0.76 to sprint

#18 Updated by Ian Colle about 6 years ago

  • Assignee changed from Anonymous to Ken Dreyer

#19 Updated by Ken Dreyer about 6 years ago

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

#20 Updated by Ian Colle about 6 years ago

  • Target version changed from sprint to sprint3

#21 Updated by Ian Colle about 6 years ago

  • Target version changed from sprint3 to sprint4

#22 Updated by Ian Colle about 6 years ago

  • Assignee changed from Ken Dreyer to Sandon Van Ness

#23 Updated by Ian Colle about 6 years ago

  • Target version changed from sprint4 to sprint5

#24 Updated by Ian Colle almost 6 years ago

  • Status changed from 7 to Fix Under Review

#25 Updated by Ian Colle almost 6 years ago

  • Target version changed from sprint5 to sprint6

#26 Updated by Sandon Van Ness almost 6 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

#27 Updated by Neil Levine almost 6 years ago

  • Target version changed from sprint6 to sprint7

#28 Updated by Ian Colle almost 6 years ago

  • Target version changed from sprint7 to sprint8

#29 Updated by Neil Levine almost 6 years ago

  • Target version changed from sprint8 to sprint7

#30 Updated by Neil Levine almost 6 years ago

  • Target version deleted (sprint7)

#31 Updated by Ian Colle over 5 years ago

  • Target version set to sprint14

#32 Updated by Ian Colle over 5 years ago

  • Target version changed from sprint14 to sprint16

#33 Updated by Sage Weil almost 5 years ago

  • Status changed from In Progress to Rejected

Also available in: Atom PDF