Bug 2314820

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: Nizamudeen <nia>
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: unspecified    
Version: 7.1CC: afrahman, asriram, ceph-eng-bugs, cephqe-warriors, ckulal, dparkes, prgoel, tserlin, vpapnoi, ygayam
Target Milestone: ---Keywords: FutureFeature
Target Release: 8.0z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.0-70.el9cp Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 2314716 Environment:
Last Closed: 2025-03-06 14:22:37 UTC Type: ---
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: 2314716    
Bug Blocks: 2314819    

Description Nizamudeen 2024-09-26 05:32:35 UTC
+++ This bug was initially created as a clone of Bug #2314716 +++

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:

--- Additional comment from Storage PM bot on 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-03-06 14:22:37 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 (Red Hat Ceph Storage 8.0 security, bug fixes, 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/RHBA-2025:2457