Project

General

Profile

Actions

Feature #11933

closed

rgw: create realm and period data structures

Added by Yehuda Sadeh almost 9 years ago. Updated over 7 years ago.

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

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

- define data structures
- radosgw-admin commands to control

Actions #1

Updated by Yehuda Sadeh almost 9 years ago

  • Target version set to v9.0.4
Actions #2

Updated by Yehuda Sadeh almost 9 years ago

  • Assignee set to Orit Wasserman
Actions #3

Updated by Orit Wasserman almost 9 years ago

1. Term

$ radosgw-admin term prepare --parent=<parent> <uuid>
Creating a new term object in .rgw.root pool.

$ radosgw-admin term activate <uuid>
Switch to a new term.
must be a child of the current term
The admin need to reconfigure all the gateways, at first the gateway will need to be restarted to use the new term. In the future they support dynamic configuration.

$ radosgw-admin term pull
pull latest term map from current term master
requires that radosgw-admin uses RESTful api

$ radosgw-admin term pull <remote> <uuid> [--url=<url>]
url: optionally provide remote entry point
Fetch info about a specific remote term

$ radosgw-admin term push
Ask all children to pull latest epoch

We need to create a mechanism to allow the admin to communicate with other gateways.

2 zone realm

$ radosgw-admin realm create --realm=<name>
Create a new zone realm, implicitly creates the first term

$ radosgw-admin realm remove --realm=<name> [--realm-id=<id>] --zonegroup=<name>
Remove a zonegroup from a realm

$ radosgw-admin realm delete --realm=<name>
Delete a realm, needs to be empty

$ radosgw-admin realm rename --realm=<old name> --new-realm-name =<new name> [--realm_id=<id>]
rename a realm.

$radosgw-admin realm set-default --realm=dho
set realm as the default realm

Actions #4

Updated by Yehuda Sadeh almost 9 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Orit Wasserman almost 9 years ago

  • Subject changed from rgw: create realm and term data structures to rgw: create realm and period data structures
  • Status changed from In Progress to Fix Under Review
Actions #6

Updated by Orit Wasserman over 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF