Project

General

Profile

Bug #21583

"radosgw-admin zonegroup set" requires realm

Added by Eric Ivancich over 1 year ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/27/2017
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

As documented here:

http://docs.ceph.com/docs/master/radosgw/multisite/#set-a-zone-group

It should be able to set a zonegroup without specifying a realm. But the following command-sequence fails:

radosgw-admin zonegroup get --rgw-zonegroup=default > foo.json
radosgw-admin zonegroup set --rgw-zonegroup=default --infile=foo.json

with error message:

failed to init realm: (2) No such file or directory

The code in src/rgw/rgw_admin.cc::main under "case OPT_ZONEGROUP_SET:" (approximately line # 3672) does require a realm to be init'ed before the zonegroup can be init'ed.


Related issues

Copied to rgw - Backport #24514: luminous: "radosgw-admin zonegroup set" requires realm Resolved

History

#2 Updated by Casey Bodley over 1 year ago

  • Status changed from New to Testing
  • Backport set to jewel luminous

#4 Updated by Casey Bodley about 1 year ago

  • Status changed from Testing to Pending Backport

#6 Updated by Nathan Cutler about 1 year ago

  • Copied to Backport #24514: luminous: "radosgw-admin zonegroup set" requires realm added

#7 Updated by Nathan Cutler 8 months ago

  • Status changed from Pending Backport to Resolved
  • Backport changed from jewel luminous to luminous

Jewel is EOL

Also available in: Atom PDF