Bug 1265792 - [RFE] Static website hosting
Summary: [RFE] Static website hosting
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: 2.1
Assignee: Yehuda Sadeh
QA Contact: shilpa
Bara Ancincova
URL:
Whiteboard:
: 1370634 (view as bug list)
Depends On:
Blocks: 1383917
TreeView+ depends on / blocked
 
Reported: 2015-09-23 18:47 UTC by Neil Levine
Modified: 2022-02-21 18:34 UTC (History)
13 users (show)

Fixed In Version: RHEL: ceph-10.2.3-2.el7cp Ubuntu: ceph_10.2.3-3redhat1xenial
Doc Type: Enhancement
Doc Text:
.Ceph Object Gateway now supports static website hosting With this feature, users can host static websites in Simple Storage Service (S3) buckets. For details, see the https://access.redhat.com/documentation/en/red-hat-ceph-storage/2/single/object-gateway-guide-for-red-hat-enterprise-linux/#configuring_gateways_for_static_web_hosting[Configuring Gateways for Static Web Hosting] chapter in the Red Hat Ceph Storage Ceph Object Gateway Guide for Red Hat Enterprise Linux.
Clone Of:
Environment:
Last Closed: 2016-11-22 19:24:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3476 0 None None None 2022-02-21 18:34:00 UTC
Red Hat Product Errata RHSA-2016:2815 0 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage security, bug fix, and enhancement update 2017-03-22 02:06:33 UTC

Description Neil Levine 2015-09-23 18:47:43 UTC
Allow a customer to host static website content in an S3 bucket akin to:
https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html

Comment 3 Robin H. Johnson 2016-02-29 22:51:01 UTC
@Yuri:
This code is landed; but not enabled by default.

Needs more polishing still, the final merge got very messy and broke some of the functionality because of intersecting with another large change.

I don't know if that covers all of your needinfo request; if so, feel free to clear the flag.

Comment 4 Ken Dreyer (Red Hat) 2016-04-26 20:47:13 UTC
Yehuda, please confirm whether this feature is complete in v10.2.0?

Comment 5 Yehuda Sadeh 2016-04-26 20:55:14 UTC
It's still incomplete in 10.2.0, but there is an upstream PR that supposed to add the missing pieces.

Comment 6 Ken Dreyer (Red Hat) 2016-04-26 21:00:09 UTC
Thanks. retargeting to 2.1, then.

Comment 7 Robin H. Johnson 2016-04-26 21:26:42 UTC
@Ken:

Pieces pending review & merge:
- RedirectRule engine/ErrorDoc fix
http://tracker.ceph.com/issues/15532 https://github.com/ceph/ceph/pull/8669
- x-amz-website-redirect-location header
http://tracker.ceph.com/issues/15531 https://github.com/ceph/ceph/pull/8633
- Merging tests to s3-tests:
https://github.com/ceph/s3-tests/pull/92

Pieces needing a fix still:
- s3website VHost-style access to buckets (in-progress)
http://tracker.ceph.com/issues/15530

Comment 9 Uday Boppana 2016-09-07 15:18:01 UTC
Here is the equivalent S3 API:

GET Bucket website
PUT Bucket website
DELETE Bucket website

Comment 10 Uday Boppana 2016-09-07 15:18:51 UTC
*** Bug 1370634 has been marked as a duplicate of this bug. ***

Comment 13 shilpa 2016-11-02 18:31:38 UTC
Verified in 10.2.3.10

Comment 16 errata-xmlrpc 2016-11-22 19:24:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2815.html


Note You need to log in before you can comment on or make changes to this bug.