Bug 2314716

Summary: [RFE] rgw_dns_name and rgw_dns_s3website_name not updatable via Ceph Restful API
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: daniel parkes <dparkes>
Component: Ceph-DashboardAssignee: naman munet <nmunet>
Status: CLOSED ERRATA QA Contact: Yuva Teja Sree Gayam <ygayam>
Severity: medium Docs Contact: Anjana Suparna Sriram <asriram>
Priority: medium    
Version: 7.1CC: afrahman, ceph-eng-bugs, cephqe-warriors, ckulal, nmunet, tserlin
Target Milestone: ---Keywords: FutureFeature
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-40.el9cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2314819 2314820 (view as bug list) Environment:
Last Closed: 2025-06-26 12:16:26 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:
Bug Depends On:    
Bug Blocks: 2314819, 2314820    

Description daniel parkes 2024-09-25 16:34:48 UTC
Description of problem:

Requested by Cephaas Object Team

Updating the DNS name for virtual hosted buckets and the DNS name for static webhosting is configurable via the ceph CLI but its not configurable via the Ceph RESTful API.

curl -k -X POST -H "authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJjZXBoLWRhc2hib2FyZCIsImp0aSI6IjQxNjE0ZWQyLTE3MWQtNDI1My1iNjdmLTIyNGRmZDJhN2Q5MCIsImV4cCI6MTcyNzE0OTU4MywiaWF0IjoxNzI3MTIwNzgzLCJ1c2VybmFtZSI6ImRhc2hib2FyZEFkbWluIn0.AFfxLcJ0nDVKVJjTWo-wbm4S0AkPYSBay5rLajFKgTM" https://172.17.1.123:8443/api/cluster_conf -H  "Content-Type: application/json" -H  "Accept: application/vnd.ceph.api.v1.0+json" -d '{"name": "rgw_dns_name", "value": "billy2.testing.com"}'
{"detail": "Config option rgw_dns_name is/are not updatable at runtime", "code": "config_option_not_updatable_at_runtime", "component": "cluster_configuration"} 
The CephaaS team would like to make both of these DNS hostnames configurable from our UI but are unable to because the API doesn't allow updates.

It would be great if this would take affect immediately but if we need to restart the RGWs after updating via the API, we can do that too for now.

Version-Release number of selected component (if applicable):
7.1


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Storage PM bot 2024-09-25 16:34:58 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 7 errata-xmlrpc 2025-06-26 12:16:26 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 (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), 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://access.redhat.com/errata/RHSA-2025:9775