Project

General

Profile

Actions

Bug #21583

closed

"radosgw-admin zonegroup set" requires realm

Added by J. Eric Ivancich over 6 years ago. Updated over 5 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 1 (0 open1 closed)

Copied to rgw - Backport #24514: luminous: "radosgw-admin zonegroup set" requires realmResolvedPrashant DActions
Actions #2

Updated by Casey Bodley over 6 years ago

  • Status changed from New to 7
  • Backport set to jewel luminous
Actions #3

Updated by Yuri Weinstein over 6 years ago

Actions #4

Updated by Casey Bodley almost 6 years ago

  • Status changed from 7 to Pending Backport
Actions #6

Updated by Nathan Cutler almost 6 years ago

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

Updated by Nathan Cutler over 5 years ago

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

Jewel is EOL

Actions

Also available in: Atom PDF