Bug 2314819 - [RFE] rgw_dns_name and rgw_dns_s3website_name not updatable via Ceph Restful API
Summary: [RFE] rgw_dns_name and rgw_dns_s3website_name not updatable via Ceph Restful API
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 7.1z3
Assignee: naman munet
QA Contact: Yuva Teja Sree Gayam
Disha Walvekar
URL:
Whiteboard:
Depends On: 2314716 2314820
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-26 05:30 UTC by Nizamudeen
Modified: 2025-02-24 15:42 UTC (History)
9 users (show)

Fixed In Version: ceph-18.2.1-275.el9cp
Doc Type: Enhancement
Doc Text:
Update `rgw` configurations using UI and API Previously, UI and API were dependent on `is_updatable_at_runtime` flag which returned incorrect values. As a reultm customers could not update the `rgw` configuration from the UI or by using the API. With this enhancement, customers can now update the `rgw` configuration at runtime using the API and from the UI. The `rgw` configuration can also be updated using the CLI.
Clone Of: 2314716
Environment:
Last Closed: 2025-02-24 15:42:02 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 60798 0 None open mgr/dashboard: Administration > Configuration > rgw_dns_name and rgw_dns_s3website_name not updatable via dashboard 2024-12-11 07:26:03 UTC
Red Hat Issue Tracker RHCEPH-10160 0 None None None 2024-10-30 09:00:13 UTC
Red Hat Issue Tracker RHCSDASH-1775 0 None None None 2024-10-30 09:00:24 UTC
Red Hat Product Errata RHBA-2025:1770 0 None None None 2025-02-24 15:42:04 UTC

Description Nizamudeen 2024-09-26 05:30:37 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 6 errata-xmlrpc 2025-02-24 15:42:02 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 7.1 security, bug fix, enhancement, and known issue 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:1770


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