Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1942009

Summary: Inconsitency in RGW service deployment
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sunil Kumar Nagaraju <sunnagar>
Component: CephadmAssignee: Daniel Pivonka <dpivonka>
Status: CLOSED ERRATA QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: high Docs Contact: Karen Norteman <knortema>
Priority: unspecified    
Version: 5.0CC: kdreyer, sewagner, vereddy
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-1.el8cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:29:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Daniel Pivonka 2021-03-26 20:25:35 UTC
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

Comment 2 Ken Dreyer (Red Hat) 2021-03-31 21:59:19 UTC
Daniel do we need to backport https://github.com/ceph/ceph/pull/40447 to pacific?

Comment 3 Daniel Pivonka 2021-04-01 19:09:13 UTC
backported in this pr from sage https://github.com/ceph/ceph/pull/40437

Comment 5 Sunil Kumar Nagaraju 2021-04-20 11:45:10 UTC
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"
>>>

Comment 8 errata-xmlrpc 2021-08-30 08:29:10 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 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