Skip to content

mgr/dashboard : Support wildcard sans and zonegroup hostnames - #69090

Merged
nmunet merged 1 commit into
ceph:mainfrom
rhcs-dashboard:76795-support-wildcard-sans
Jun 19, 2026
Merged

nmunet merged 1 commit into
ceph:mainfrom
rhcs-dashboard:76795-support-wildcard-sans

Conversation

@abhidesai6

@abhidesai6 abhidesai6 commented May 26, 2026 •

Copy link
Copy Markdown

PS :

Add zonegroup_hostname support for RGW service

UTC :

[ceph: root@ceph-node-00 /]# ceph orch ls --export  rgw
service_type: rgw
service_id: test1
service_name: rgw.test1
placement:
  count: 2
spec:
  certificate_source: cephadm-signed
  rgw_exit_timeout_secs: 120
  ssl: true
  wildcard_enabled: true
  zonegroup_hostnames:
  - s3.abc.com
---
service_type: rgw
service_id: test2
service_name: rgw.test2
placement:
  count: 2
spec:
  certificate_source: cephadm-signed
  rgw_exit_timeout_secs: 120
  ssl: true
  zonegroup_hostnames:
  - s3.xyx.com
[ceph: root@ceph-node-00 /]# 

Screencast.From.2026-06-17.14-30-52.mp4

fixes : https://tracker.ceph.com/issues/76795
Signed-off-by: Abhishek Desai [email protected]

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@abhidesai6
abhidesai6 force-pushed the 76795-support-wildcard-sans branch 3 times, most recently from b825cc2 to ebdeeff Compare June 9, 2026 20:18
@github-project-automation github-project-automation Bot moved this from New to Review in progress in Ceph-Dashboard Jun 10, 2026
@abhidesai6
abhidesai6 force-pushed the 76795-support-wildcard-sans branch 3 times, most recently from a7a90eb to 9cf9c36 Compare June 17, 2026 11:10
@@ -516,6 +519,9 @@ export class ServiceFormComponent extends CdForm implements OnInit {
],
certificateType: ['internal'],
custom_sans: [null],
virtual_host_enabled: [false],
zonegroup_hostnames: [null],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we not need any validation for hostname?
maybe there is some validation available in CdValidators which we can use here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we can add it, but didn't have any validaion for custom sans hence didn't add any here as well. I can create a separate tracker for both and raise a seperate PR.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nmunet nmunet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nmunet

nmunet commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

jenkins test windows

@abhidesai6

Copy link
Copy Markdown
Author

Attached spec file and testing logs

[ceph: root@ceph-node-00 /]# ceph orch ls --export rgw
service_type: rgw
service_id: test
service_name: rgw.test
placement:
  count: 2
spec:
  certificate_source: cephadm-signed
  rgw_exit_timeout_secs: 120
  rgw_realm: my_realm
  rgw_zone: my_zone
  rgw_zonegroup: my_zg
  ssl: true
  wildcard_enabled: true
  zonegroup_hostnames:
  - s3.test.local
[ceph: root@ceph-node-00 /]# 

❯ aws --endpoint-url $ENDPOINT s3 ls --no-verify-ssl
2026-06-17 22:19:55 testbucket
❯ 
❯ 
❯ 
❯ aws --endpoint-url $ENDPOINT s3 ls s3://testbucket --no-verify-ssl
2026-06-17 22:23:49         22 test.txt
❯ 
❯ 
❯ 
❯ echo $ENDPOINT
https://s3.test.local:443

@afreen23 afreen23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. some minors. Also please check with Kaur as well.

@github-project-automation github-project-automation Bot moved this from Review in progress to Reviewer approved in Ceph-Dashboard Jun 18, 2026
@afreen23

Copy link
Copy Markdown
Contributor

You need to rebase your PR as well now as #69573 is merged. Thanks

@abhidesai6
abhidesai6 force-pushed the 76795-support-wildcard-sans branch from 9cf9c36 to eee6a15 Compare June 18, 2026 16:00
@nmunet
nmunet merged commit 71f19d3 into ceph:main Jun 19, 2026
6 checks passed
@nmunet
nmunet deleted the 76795-support-wildcard-sans branch June 19, 2026 03:44
@github-project-automation github-project-automation Bot moved this from Reviewer approved to Done in Ceph-Dashboard Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants