Project

General

Profile

Bug #49735

cephadm: allow applying RGW multisite YAML objects

Added by Sebastian Wagner 7 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
cephadm/rgw
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

See Also:

rgw.yaml

kind: host
hostname: myhost1
labels:
- rgw
---
kind: host
hostname: myhost2
labels:
- rgw
---
kind: service
service_type: rgw
service_id: foobar
spec:
  realm: myrealm
  zone: myzone
---
kind: rgw_realm
name: realm-a
pull_endpoint: http://10.2.105.133:80
---
kind: zgw_zone_group
name: myzone
realm: realm-a
---
kind: rgw_zone
name: zone-a
zone_group: zonegroup-a
metadata_pool:
  failure_domain: host
  replicated:
    size: 3
data_pool:
  failure_domain: osd
  erasure_coded:
    data_chunks: 2
    coding_chunks: 1
ceph orch apply -i rgw.yaml

TODOs:

  1. Add new general key kind to distinguish services, hosts and rgw objects
  2. Add a handler for those RGW objects. And they should only be processed once and not describe a declarative state.

Benefits:

  • Reproducible creation of RGW services
  • Make it possible to setup multizone RGWs in cephadm bootstrap --apply-spec

Related issues

Related to Orchestrator - Tasks #49490: cephadm additions/changes to support everything rgw.py needs Need More Info
Related to Orchestrator - Cleanup #50117: orch apply kind: introduce another layer on top of service_type. I.e. distinguish hosts and services New

History

#1 Updated by Sebastian Wagner 7 months ago

  • Related to Tasks #49490: cephadm additions/changes to support everything rgw.py needs added

#2 Updated by Sebastian Wagner 7 months ago

  • Related to Cleanup #50117: orch apply kind: introduce another layer on top of service_type. I.e. distinguish hosts and services added

#3 Updated by Sebastian Wagner 6 months ago

  • Description updated (diff)

Also available in: Atom PDF