upstream docs had the wrong flag names pr to fix: https://github.com/ceph/ceph/pull/40447 flags will be --realm and --zone once this is merged using --rgw-realm and --rgw-zone dont do anything
Daniel do we need to backport https://github.com/ceph/ceph/pull/40447 to pacific?
backported in this pr from sage https://github.com/ceph/ceph/pull/40437
Able to deploy RGW service using zone and realm as named args and positional args. >>>[ceph: root@magna057 /]# ceph orch apply rgw mtrgw --zone=zone --realm=realm >>>Scheduled rgw.mtrgw update... >>>[ceph: root@magna057 /]# ceph orch ls rgw -f yaml >>>service_type: rgw >>>service_id: mtrgw >>>service_name: rgw.mtrgw >>>placement: >>> count: 2 >>>spec: >>> rgw_realm: realm >>> rgw_zone: zone >>>status: >>> container_image_id: 5230babfd8670d7bcedafe94c27980d46a216312a5dcaa4bd7344b3b350cb270 >>> container_image_name: registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-66013-20210406011509 >>> created: '2021-04-07T16:00:15.348221Z' >>> last_refresh: '2021-04-07T15:57:48.757810Z' >>> running: 2 >>> size: 2 >>>events: >>>- 2021-04-07T15:57:26.204849Z service:rgw.mtrgw [INFO] "service was created" >>>[ceph: root@magna057 /]# ceph orch apply rgw mtrgw1 zone1 realm1 >>>Scheduled rgw.mtrgw1 update... >>>[ceph: root@magna057 /]# ceph orch ls rgw -f yaml >>>service_type: rgw >>>service_id: mtrgw >>>service_name: rgw.mtrgw >>>placement: >>> count: 2 >>>spec: >>> rgw_realm: realm >>> rgw_zone: zone >>>status: >>> container_image_id: 5230babfd8670d7bcedafe94c27980d46a216312a5dcaa4bd7344b3b350cb270 >>> container_image_name: registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-66013-20210406011509 >>> created: '2021-04-07T16:00:15.348221Z' >>> last_refresh: '2021-04-07T15:57:48.757810Z' >>> running: 2 >>> size: 2 >>>events: >>>- 2021-04-07T15:57:26.204849Z service:rgw.mtrgw [INFO] "service was created" >>>--- >>>service_type: rgw >>>service_id: mtrgw1 >>>service_name: rgw.mtrgw1 >>>placement: >>> count: 2 >>>spec: >>> rgw_realm: zone1 >>> rgw_zone: realm1 >>>status: >>> running: 0 >>> size: 2 >>>events: >>>- 2021-04-07T16:01:36.923282Z service:rgw.mtrgw1 [INFO] "service was created" >>>
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 5.0 bug fix and enhancement), 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-2021:3294