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
Abhishek Lekshmanan
d1fd01c46f
rgw: role: define md handler for roles
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
90b6642f2a
rgw: role: add RGWRoleMetadataObject
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
0ca675644b
rgw: metadata: provide a constructor for RGWMetadataObject
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
e41629fc7f
rgw: role: drop rados_ctl and use only role_ctl
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
ccebb5c63b
rgw: finish role class impl
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
f8189c64da
rgw: role: modify store_name & path
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
e2b8006bb6
rgw: base role md handler decl
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
3c7d027322
svc: introduce role_rados service
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
7a2795f293
rgw: start using role_ctl
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
0569b7d05d
rgw: svc: role_rados: stub out get_path
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
150f78b2d6
rgw_role: define RGWRoleCtl
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
2335a4b2a1
rgw: role: basic ctl class defn
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
0cabcf6b8e
rgw: split RGWRole into an Info Class containing members
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
cd69cfc553
rgw: implement delete oids
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
00dbe323d1
svc: role: implement read/write role path & name
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
842f74a1cf
svc: role: implement get/put/delete Roles
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:42 +05:30
Abhishek Lekshmanan
4f8b4b5bc5
svc: role: fix real_time put param
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:41 +05:30
Abhishek Lekshmanan
cff18a2132
rgw: RGWRole: add a missing RGWRados forward declaration
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:41 +05:30
Abhishek Lekshmanan
3fe43071e2
rgw: introduce RGW Role Rados service
...
This handles the metadata for RGW Roles with the RADOS backend
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:41 +05:30
Abhishek Lekshmanan
1584fe53b5
rgw: svc: introduce a service for rgw_role
...
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2022-06-06 16:19:41 +05:30
Venky Shankar
2ab2777722
Merge pull request #46165 from rishabh-d-dave/qa-omit-sudo
...
qa/cephfs: set omit_sudo False when sudo is set to True
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Nikhilkumar Shelke <nshelke@redhat.com>
2022-06-06 11:23:11 +05:30
Venky Shankar
86b8df6756
Merge pull request #46168 from rishabh-d-dave/fix-caps-helper
...
qa/cephfs: fix minor bug in caps_helper.py's run_mon_cap_tests()
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2022-06-06 11:20:58 +05:30
Venky Shankar
9440f79d72
Merge pull request #40434 from rishabh-d-dave/fs-refactor-method-in-mount
...
qa/cephfs: modify get_key_from_keyfile() in mount.py
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2022-06-06 11:19:54 +05:30
Kefu Chai
f93edc4b0a
Merge pull request #46522 from tchaikov/wip-crimson-logging
...
crimson/osd: reset logger before exit
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-06-06 08:30:46 +08:00
Kefu Chai
6726fe7304
Merge pull request #46416 from tchaikov/wip-debian-dh-python3
...
debian: python3 related cleanups
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-06-05 21:44:41 +08:00
Kefu Chai
66c923d703
crimson/osd: reset logger before exit
...
* extract the code to set logging fstream into a dedicated function
* do not reset logging until the end of the seastar application.
before this change, `reset_logger` is created in the
`if (auto log_file = local_conf()->log_file; !log_file.empty())` branch,
so its life cycle ends when the `if` block ends. in other words,
the cerr fstream is used for logging after the `if` block ends.
this is not the expected behavior.
after this changge, `reset_logger` is created out of the `if` block.
so we won't reset the logger back to `cerr` until the lambda passed to
`seastar::async()` exits.
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-06-05 18:36:03 +08:00
Neha Ojha
2a2340d9d1
Merge pull request #46483 from yaarith/rook-telemetry
...
mgr/telemetry: add Rook data
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-06-03 13:12:48 -07:00
Samuel Just
97f5519c10
Merge pull request #46417 from xxhdx1985126/wip-gc-parallel-live_extent_retrieval
...
crimson/os/seastore/segment_cleaner: parallel live extents retrieval
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-06-03 12:06:35 -07:00
Adam King
5336ce8327
Merge pull request #46480 from cfsnyder/wip-cfsnyder-device-classes-in-service-spec
...
python-common: allow crush device class to be set from osd service spec
Reviewed-by: Adam King <adking@redhat.com>
2022-06-03 11:46:54 -04:00
Xuehan Xu
5da91238c3
test/crimson/seastore: add test case for parallel extent retrieval
...
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-06-03 20:51:58 +08:00
Xuehan Xu
89b904f7c8
crimson/os/seastore/cache: make access to Transaction::read_set atomic
...
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-06-03 20:51:52 +08:00
Ernesto Puerta
8a5394cf10
Merge pull request #46505 from rhcs-dashboard/fix-backports_main-main
...
script/ceph-backport.sh: deal with main branch
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: nmshelke <NOT@FOUND>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2022-06-03 14:02:55 +02:00
Ernesto Puerta
e5d773facd
Merge pull request #46186 from rhcs-dashboard/add-daemon-logs
...
mgr/dashboard: Add daemon logs tab to Logs component
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
2022-06-03 12:09:56 +02:00
Ernesto Puerta
fc29791eec
Merge pull request #46283 from MrFreezeex/mixin-config
...
ceph-mixin: fix linting issue and add cluster template support
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-06-03 12:05:58 +02:00
Ilya Dryomov
b6ea8b3a35
Merge pull request #46454 from idryomov/wip-rbd-unlink-newest-snap-at-capacity
...
librbd: unlink newest mirror snapshot when at capacity, bump capacity
Reviewed-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2022-06-03 11:51:41 +02:00
Ilya Dryomov
4d956d1e4a
Merge pull request #46434 from idryomov/wip-rbd-preserve-non-primary-snap
...
rbd-mirror: don't prune non-primary snapshot when restarting delta sync
Reviewed-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2022-06-03 11:50:41 +02:00
Rishabh Dave
f58bcac7cb
qa/cephfs: modify get_key_from_keyfile() in mount.py
...
CephFSMount.get_key_from_keyfile() should raise an exception instead of
returning None if key is not found in keyring file.
Fixes: https://tracker.ceph.com/issues/50010
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2022-06-03 09:40:28 +05:30
Adam King
80de4f102b
Merge pull request #46411 from pcuzner/add-serial-numbers
...
cephadm: Add server serial info to gather-facts
Reviewed-by: Adam King <adking@redhat.com>
2022-06-02 19:01:01 -04:00
Adam King
acc573c701
Merge pull request #46444 from rkachach/fix_issue_55800
...
mgr/cephadm: check if a service exists before trying to restart it
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-06-02 19:00:17 -04:00
Adam King
a0486d6b4c
Merge pull request #46445 from rkachach/fix_issue_55801
...
mgr/cephadm: capture exception when not able to list upgrade tags
Reviewed-by: Adam King <adking@redhat.com>
2022-06-02 18:59:02 -04:00
Adam King
45cd4f9c8a
Merge pull request #46481 from guits/cephadm-custom-names-osd-adoption
...
cephadm: fix osd adoption with custom cluster name
Reviewed-by: Adam King <adking@redhat.com>
2022-06-02 18:58:24 -04:00
Casey Bodley
63f84c50e0
Merge pull request #39002 from ceph/wip-rgw-multisite-reshard
...
rgw multisite: bucket reshard work in progress
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2022-06-02 16:04:30 -04:00
Ernesto Puerta
5e10cf0f61
Merge pull request #45470 from ceph/wip-setx
...
run-backend-api-tests.sh: set -x for Jenkins job debugging
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-06-02 19:22:59 +02:00
Yuval Lifshitz
042f3c7978
Merge pull request #44684 from zenomri/wip-omri-tracing-compiled
...
tracer: set tracing compiled in by default
2022-06-02 20:22:17 +03:00