RGW's apache and mod_fastcgi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As background for people who are not familiar with this situation: for a
long time Ceph has used some forked copies of Apache and mod_fastcgi to
power the RADOS Gateway.

>From discussions with Dan Mick and Yehuda, Ceph's changes to Apache were
mainly cosmetic, and it's ok to use the distro-supplied packages for
Apache going forward. (There's more details regarding this in the
ceph-devel thread, "Ceph's custom apache: ok to drop?"
http://comments.gmane.org/gmane.comp.file-systems.ceph.devel/22368)

Regarding mod_fastcgi, this software's license is technically non-free,
and as a result we're going to deprecate mod_fastcgi for the RADOS
Gateway going forward. We are going to advise RGW users to use
mod_proxy_fcgi instead.

Our Ceph docs still advise users to rely on mod_fastcgi and our forked
Apache. Also, this is the stack that our test framework Teuthology uses.
In other words, there is going to be a lot of pieces to change in order
to make this transition.

The plan is to align Teuthology, and our upstream docs, and what we tell
users so that they all match. In practical terms this means:

1) Publicly deprecating our mod_fastcgi and Apache forks,

2) Updating our upstream Ceph documentation to say "use mod_proxy_fcgi"
instead, and give instructions for that,

3) Updating Teuthology to run tests using mod_proxy_fcgi instead of
mod_fastcgi,

4) Packaging our mod_proxy_fcgi fork
(https://github.com/yehudasa/mod-proxy-fcgi) for distros that are still
on Apache 2.2. The relevant distros that ship Apache 2.2 are RHEL 6,
Ubuntu 12.04 ("Precise"), SLES11, and Debian stable ("Wheezy", 7.7).

I've started working on item #3
(https://github.com/ceph/ceph-qa-chef/pull/4), and John Wilkins is
working on updating our documentation (item #2).

There's the question of Unix Domain Sockets support. In Yehuda's testing
with mod_proxy_fcgi, Unix Domain Sockets (UDS) provide a lot better
performance in comparison to TCP sockets. Apache's UDS support shipped
in Apache upstream version 2.4.9, but both RHEL and Ubuntu have versions
older than this. RHEL 7 has httpd 2.4.6, and Trusty has 2.4.7. My
intention is to request that the Ubuntu apache2 maintainers to backport
UDS to their Trusty package, similarly to what Red Hat intends to ship
in RHEL 7.1.

I want to be sure that we're engaging the broader community with the
changes we're intending, so please let me know your feedback.

- Ken
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux