Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wip rgw zone config #141

Merged
merged 9 commits into from Mar 27, 2013
Merged

Wip rgw zone config #141

merged 9 commits into from Mar 27, 2013

Conversation

yehudasa
Copy link
Member

This should cover #4533, which we want into cuttlefish. The first few commits lay the infrastructure to use json for serialization of structures, and the last few use it so that it's possible to configure zone params.

Introducing a new way to define the json structure of an
object, similar to what we do with bufferlist encode/decode.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
RGWUserInfo can be decoded using json_decode, and fix
the ->dump() method to match that decoding.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Now testing json_decode functionality.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
dump() just dumps the internal content of an object, encode_json()
create the object inside its own section. Note that there are cases
where we don't want an object to be surrounded by a section, e.g.,
when an object represents an array. In such a case we'd need to
override the encode_json() for this object type.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Old cluster definition is what we'd call zone from now on.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Also rename RadosParams to ZoneParams

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
radosgw-admin now uses the term 'zone'

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
liewegas pushed a commit that referenced this pull request Mar 27, 2013
Wip rgw zone config

Reviewed-by: Sage Weil <sage@inktank.com>
@liewegas liewegas merged commit 21a09b1 into master Mar 27, 2013
@liewegas liewegas deleted the wip-rgw-zone-config branch March 27, 2013 20:04
liewegas pushed a commit that referenced this pull request Dec 14, 2016
Fix #9423 - race in mds_client_recovery
p-se pushed a commit to p-se/ceph that referenced this pull request Feb 26, 2018
mgr/dashboard_v2: Fix OSD status column
robbat2 pushed a commit to robbat2/ceph that referenced this pull request Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants