Bug 1931386 - [RFE] Allow RGW configuration when cluster is in warning state
Summary: [RFE] Allow RGW configuration when cluster is in warning state
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.0
Assignee: Juan Miguel Olmo
QA Contact: Tejas
Karen Norteman
URL:
Whiteboard:
Depends On:
Blocks: 1820257
TreeView+ depends on / blocked
 
Reported: 2021-02-22 10:39 UTC by Vasishta
Modified: 2021-08-30 08:28 UTC (History)
4 users (show)

Fixed In Version: ceph-16.1.0-997.el8cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:28:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-1162 0 None None None 2021-08-30 00:14:58 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:28:39 UTC

Description Vasishta 2021-02-22 10:39:31 UTC
Description of problem:
As of now RGW configuration is blocked if the cluster health is in warn state. 

Version-Release number of selected component (if applicable):
Latest

How reproducible:
Always

Steps to Reproduce:
1. Configure a 5.x cluster 
2. Induce cluster health warn state
3. Try to add an RGW

Actual results:
events:
- 2021-02-19T13:02:54.452416Z service:rgw.india [INFO] "service was created"
- '2021-02-19T13:03:03.666083Z service:rgw.india [ERROR] "Failed to apply: Health
  not ok, will try again when health ok"'

Expected results:
RGW configuration shouldn't get blocked if the cluster health is in WARN state

Additional info:
(even in RHCS 4.x and prior, RGW could be configured when cluster was in warn state)

Comment 1 Daniel Pivonka 2021-03-11 21:41:26 UTC
upstream fix PR: https://github.com/ceph/ceph/pull/39877/files

* The ``ceph orch apply rgw`` syntax and behavior have changed.  RGW
  services can now be arbitrarily named (it is no longer forced to be
  `realm.zone`).  The ``--rgw-realm=...`` and ``--rgw-zone=...``
  arguments are now optional, which means that if they are omitted, a
  vanilla single-cluster RGW will be deployed.  When the realm and
  zone are provided, the user is now responsible for setting up the
  multisite configuration beforehand--cephadm no longer attempts to
  create missing realms or zones

Comment 2 Ken Dreyer (Red Hat) 2021-03-19 18:23:59 UTC
Sage backported PR 39877 to pacific in https://github.com/ceph/ceph/pull/40135. This will be in the next weekly rebase I build downstream (March 22nd).

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


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