Bug 2310444 - RGW module bootstrap command generates error on running multiple times
Summary: RGW module bootstrap command generates error on running multiple times
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.0
Assignee: Adam King
QA Contact: Sayalee
URL:
Whiteboard:
Depends On:
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2024-09-06 15:28 UTC by Sayalee
Modified: 2024-11-25 09:09 UTC (History)
4 users (show)

Fixed In Version: ceph-19.1.1-74.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-25 09:09:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-9719 0 None None None 2024-09-06 15:29:51 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:09:10 UTC

Description Sayalee 2024-09-06 15:28:57 UTC
Description of problem:
=======================

"ceph rgw realm bootstrap" command generates error "Error EINVAL:" when executed multiple times.

Note - realm, zone and zonegroup gets created successfully, just the command fails.



Version-Release number of selected component (if applicable):
=========================================================
19.1.0-18.el9cp


How reproducible:
===================
Always


Steps to Reproduce:
1. Deploy a ceph cluster where NO rgw service is running
2. Create a new rgw service using the RGW module's bootstrap command.
3. Run the RGW module's bootstrap command again to create a new realm, zone and zonegroup.

Please check https://bugzilla.redhat.com/show_bug.cgi?id=2249537#c7 and https://bugzilla.redhat.com/show_bug.cgi?id=2249537#c8 for more details.


Actual results:
===================
Bootstrap command passes on running for the first time -

# ceph rgw realm bootstrap -i /var/lib/ceph/mon/new_rgw.yaml --start-radosgw
Realm(s) created correctly. Please, use 'ceph rgw realm tokens' to get the token.

On running the bootstrap command second time/multiple times, it fails -

# ceph rgw realm bootstrap -i /var/lib/ceph/rgw/new_rgw2.yaml --start-radosgw
Error EINVAL:


Expected results:
===================
There should be no command failures.


Additional info:
===================
Issue observed on RHCS and IBM ceph storage clusters as well.

Comment 7 errata-xmlrpc 2024-11-25 09:09:05 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 8.0 security, bug fix, and enhancement updates), 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-2024:10216


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