SUSE Support

Here When You Need Us

Unable to create a website from a bucket

This document (000019681) is provided subject to the disclaimer at the end of this document.


SUSE Enterprise Storage 6


When using s3cmd or aws cli to create a website directly from a bucket this fails with:
ERROR: S3 error: 405 (MethodNotAllowed)


Add the following line to the relevant Rados GateWay (RGW) client section of the "/etc/ceph/ceph.conf" file:

rgw enable static website = True

See the additional information section for details on how to set this without having to restart the RGW and how to set the value permanently in the ceph.conf file.


By default two settings are required for this to succeed:
rgw enable apis: s3website
rgw enable static website: True

The first setting is enabled by default, since all API's are enabled by default. The second setting however by default is set to false.

Additional Information

With DeepSea to properly make permanent changes to the ceph.conf file see the online documentation here.

To change values for the RGW without having to restart it, on the RGW node run for example:

ceph --admin-daemon `ls /var/run/ceph/ceph-client.rgw.*.asok` config set rgw_enable_static_website true

If successful this should return something like:
    "success": "rgw_enable_static_website = 'true' (not observed, change may require restart) "

NOTE: Setting values as per the above example without also adding the changes to the ceph.conf file will not make the change(s) permanent. The values will then only be set until the relevant daemon is restarted, thus it is always needed to also update the ceph.conf file if the changes are intended to be permanent.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019681
  • Creation Date: 23-Oct-2020
  • Modified Date:23-Oct-2020
    • SUSE Enterprise Storage

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.