Samuel Just
af7e6f34a8
Merge pull request #46396 from xxhdx1985126/wip-backref-buffer-optimization
...
crimson/os/seastore/backref: don't merge in-cache backrefs that has already been released
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-06-06 14:45:35 -07:00
Yaarit Hatuka
1742d1b365
PendingReleaseNotes: add a note about Rook telemetry
...
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
2022-06-06 19:34:19 +00:00
Adam King
7c6c715aa5
mgr/cephadm: some master -> main cleanup
...
Signed-off-by: Adam King <adking@redhat.com>
2022-06-06 15:18:08 -04:00
Casey Bodley
e4adce1c21
Merge pull request #46537 from cbodley/wip-55901
...
rgw: fix un/signed comparison warnings in rgw_admin.cc
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-06-06 14:31:06 -04:00
Casey Bodley
49eeee6118
Merge pull request #46536 from cbodley/wip-55898
...
rgw: fix un/signed comparison warnings in rgw_sync.cc
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-06-06 14:07:24 -04:00
Adam C. Emerson
4b8792f1ec
rgw: Remove rgw_json_enc.cc which is not built
...
This was removed from the build in a refactor but not removed from the tree.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2022-06-06 13:10:51 -04:00
Casey Bodley
941713bd68
rgw: fix un/signed comparison warnings in rgw_admin.cc
...
Fixes: https://tracker.ceph.com/issues/55901
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-06-06 13:01:15 -04:00
Adam King
50f28aa56e
mgr/cephadm: use hostname from crush map for osd memory autotuning
...
Fixes: https://tracker.ceph.com/issues/55841
Signed-off-by: Adam King <adking@redhat.com>
2022-06-06 12:51:59 -04:00
Adam King
d88e71ded6
Merge pull request #46376 from adk3798/cache-size
...
mgr/cephadm: store device info separately from rest of host cache
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-06-06 12:50:09 -04:00
Adam King
6d3d48293d
Merge pull request #46502 from adk3798/default-image-master-main
...
cephadm: master -> main updates
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-06-06 12:48:46 -04:00
Daniel Gryniewicz
77566a5574
RGW - Zipper - Provide default get_new_req_id()
...
Now that RadorStore's get_new_req_id() just returns a random number, use
that as the default implementation for SAL.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2022-06-06 12:22:37 -04:00
Casey Bodley
71590fd117
rgw: fix un/signed comparison warnings in rgw_sync.cc
...
Fixes: https://tracker.ceph.com/issues/55898
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-06-06 12:06:21 -04:00
Pere Diaz Bou
489a385a95
mgr/dashboard: snapshot mirroring from dashboard
...
Enable snapshot mirroring from the Pools -> Image
Also show the mirror-snapshot in the image where snapshot is enabled
When parsing images if an image has the snapshot mode enabled, it will
try to run commands that don't work with that mode. The solution was
not running those for now and appending the mode in the get call.
Fixes: https://tracker.ceph.com/issues/55648
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
Signed-off-by: Nizamudeen A <nia@redhat.com>
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2022-06-06 17:56:47 +02:00
Ernesto Puerta
9bfde20d57
Merge pull request #46452 from ceph/fix-codeowners_api-master
...
codeowners: remove api team
Reviewed-by: Sarthak Gupta <sarthak.dev.0702@gmail.com>
Reviewed-by: nSedrickm <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2022-06-06 17:40:09 +02:00
Venky Shankar
907b1f41e5
mds: do not assert early on when issuing client leases
...
Move the relevant ceph_assert()'s when the MDS is issuing leases
to clients since clients may not be capable of reading projected
linkages.
Fixes: http://tracker.ceph.com/issues/54701
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2022-06-06 10:12:26 -04:00
Patrick Donnelly
a18bceeb25
Merge PR #46516 into main
...
* refs/pull/46516/head:
doc/dev/developer_guide/testing_integration_tests: document how to test custom kernels
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2022-06-06 08:48:39 -04:00
Pritha Srivastava
4bae137b11
rgw: code for correctly decoding permission policy and tags
...
in a JSON object for a role.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:44 +05:30
Pritha Srivastava
c129eda137
rgw: implementation of forward_request_to_master()
...
for role REST APIs.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
0d96b29e8d
rgw: code changes to include tenant in replicated metadata
...
for roles.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
a4caa0b102
rgw: adding roles to non master ops list.
...
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
e57e8da322
rgw: removing svc_role.h and svc_role.cc, and
...
references to RGWSI_Role and cleaning up code.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
f272a57fdb
rgw: oids must not be prefixed in case of read_info
...
and store_info since that gets taken care of the meta_be->put()
and meta_be->get().
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
9549d2cb6c
rgw: adding a metadata section for roles.
...
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
520e4ffa3e
rgw: moving data members of RGWRole into RGWRoleInfo.
...
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
fb1f670fbb
rgw: shifting back be_handler and module initialization to svc role
...
rados.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
36169ca69f
rgw: using put() method of metadata backend to ensure that role
...
metadata is written to md log in method store_info().
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
510db31fc7
rgw: cleanup.
...
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
a100026281
rgw: code for handling mtime, object tracker and attrs
...
needed for RGWRoleMetadataHandler.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
3f574a39a4
rgw: removing do_start() method from
...
RGWRoleMetadataHandler and class RGWSI_Role_Module.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Pritha Srivastava
04913ebd8e
rgw: role metadata handler invokes RGWRole interfaces.
...
Removing references to RGW services and RGW Ctl.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2022-06-06 16:19:43 +05:30
Abhishek Lekshmanan
4aa53fffcf
svc: role: use the stat system obj call for checking presence
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:43 +05:30
Abhishek Lekshmanan
8f4e00c474
rgw: tools: introduce rgw_stat_system_obj
...
Similar to the read and write system_obj interfaces this function stats an
object and returns the mtime & attrs if set.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:43 +05:30
Abhishek Lekshmanan
d8c2a893b3
rgw: role/svc cosmetic comments & ws cleanup
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:43 +05:30
Abhishek Lekshmanan
846a0e4ec9
rgw: role: use the list roles from role svc classes
...
This keeps the implementation of storage seperate from the RGWRole class. Also
drop the get_roles_by_path_prefix static function as this is currently
implemented in the backend and can be directly accessed from role ctl classes.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:43 +05:30
Abhishek Lekshmanan
35c0e1315c
svc: role: make string consts static
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:43 +05:30
Abhishek Lekshmanan
e078dea849
svc: role: introduce list roles by path
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:43 +05:30
Abhishek Lekshmanan
a38db5d0fd
rgw: role: use svc->delete_role for deleting
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:43 +05:30
Abhishek Lekshmanan
46c20d9d7a
rgw: role: use a err msg string in RoleInfo class for logging
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
ea187c9a69
rgw_role: remove unrelated functions
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
0a74355a67
svc: role: improve delete functions & introduce delete_role
...
This deletes all the role related objects
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
a92752be96
svc: roles: set objv_tracker to null for sysobj calls
...
Since these aren't tracked via MDLog and merely ancillary objects
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
5f9f977fd8
rgw: role: move populate from svc->role
...
As populate creates uuids etc which are only needed in direct calls to rgw_admin
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
932807bc1c
rgw: role: use create_role from svc
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Pritha Srivastava
6e462430f7
svc: role: introduce create role
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
93375dd04c
rgw: role: json fixes
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
7fb221cdef
rgw: role: use ot
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
83e30f63b8
svc: role: move prefix to Module
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
feb4754e82
rgw: role fixes
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
ceb7cf9fb0
rgw: role: backend handler definition
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
59b072ad7f
rgw: role: md handler get_meta_obj defn
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30