Bug 1188397
| Summary: | RadosGW documentation should not use /var/run/ceph for socket path | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Alexandre Marangone <amarango> |
| Component: | Documentation | Assignee: | Nilamdyuti <ngoswami> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ian Colle <icolle> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.2.2 | CC: | icolle, jowilkin, jrankin, kdreyer, nlevine, nsabine, sgraf |
| Target Milestone: | pre-dev-freeze | ||
| Target Release: | 1.2.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-05 22:55:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alexandre Marangone
2015-02-02 18:24:37 UTC
Also need a bug filed upstream Assigned to Nilam. Alexandre, you're correct that the best solution is to have RGW use an entirely separate directory that's chown'd to Apache. I've proposed that upstream in a wip- branch in Git, at http://tracker.ceph.com/issues/9001 In the mean time, for RHCeph 1.2.x, we should just document the workaround of running chown by hand. It's a pain, and it may break "rpm -V ceph", but I don't think we have time to test moving the entire FCGI socket location at this point. There are probably other things that rely on the FCGI socket being in /var/run/ceph, and I'd really rather get this settled in upstream instead of deviating downstream at the last minute. Proposed doc change @ https://gitlab.cee.redhat.com/jowilkin/red-hat-ceph-storage-object-gateway/merge_requests/3 Merged the change. See; https://gitlab.cee.redhat.com/jowilkin/red-hat-ceph-storage-object-gateway/blob/master/ceph-object-gateway-installation-guide.adoc Yep - it's there. After discussing a related issue (https://github.com/ceph/ceph/pull/3916) with dalgaaf upstream... On RHEL 6, /var/run is on "/" (ext4) by default, so the "chown apache" operation will persist across reboots. On RHEL 7, /var/run is a symlink to /run, which is tmpfs. This means that "chown /var/run/ceph" will not persist across reboots. I think the correct solution for RHEL 7 is to create a tmpfiles.d entry so that systemd knows to make /var/run/ceph (ie /run/ceph) owned by apache. |