Project

General

Profile

Bug #21583

"radosgw-admin zonegroup set" requires realm

Added by J. Eric Ivancich almost 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 3 years ago

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

#4 Updated by Casey Bodley about 3 years ago

  • Status changed from 7 to Pending Backport

#6 Updated by Nathan Cutler about 3 years ago

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

#7 Updated by Nathan Cutler over 2 years ago

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

Jewel is EOL

Also available in: Atom PDF