Unable to create a website from a bucket
This document (000019681) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
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.
Cause
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
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.
Disclaimer
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: 13-Aug-2020
- Modified Date:23-Oct-2020
-
- SUSE Enterprise Storage
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com