| Commit message (Collapse) | Author | Files | Lines |
|
I didn't intend for it to be such a big commit, and it's not
even compiling yet. This changes the structure of how
the metadata manager and handlers work.
The idea is to be able to relatively easily hook in different
meta backends (or same backends with different handling -- such
as the otp).
Added new services for meta, meta backend, and meta backend sysobj
implementation.
The meta backend service is responsible for the final data storage,
and updating the meta log (log might be split later on, but at the
moment it keeping it together for simplicity).
The handlers themselves are the ones responsible for reading or
modifying the metadata. This means that they need to call the
meta backend service instead of calling the utility functions.
The utility functions need to call the handlers, and not the other
way around. Handlers can have utility methods to assist.
Left to do: get everything actually compiling and implemented. The
structure is there, now need to fill in the gaps.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
move implementation out of header.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Consolidate objclass util services.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
cascading changes, and minor improvements.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Dependency reduction
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
move code out of RGWRados, refactor a bit to use rados svc.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
|
|
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
|
|
error
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
|
|
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
|
|
Fixes: https://tracker.ceph.com/issues/40992
Signed-off-by: Varsha Rao <varao@redhat.com>
|
|
Unit of timetamp for performance counters is changed to nanoseconds [1].
Adapt this for CephFS MDS performance counters in backend.
[1]: https://github.com/ceph/ceph/pull/28882
Fixes: https://tracker.ceph.com/issues/40971
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
|
|
Fixes: http://tracker.ceph.com/issues/40970
Signed-off-by: Bingyi Zhang <zhangbingyi@umcloud.com>
|
|
to be in sync with #28847
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
`rest/test-restful.sh` calls `test_mgr_rest_api.py`, which in turn
calls
```
('patch', '/config/osd', {'pause': True}),
```
and rest module translates it to `ceph osd set key=pause`
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
|
|
Better to fully obfuscate here.
This has a nice side-effect of assigning entity names that are *globally*
unique across the full telemetry data set, since the salts are unique and
sha1 is (sufficiently) collision-free.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Explicitly gives a type to page variables.
Helps make better use of Typescript's static type checking.
Undoes mistake from #29070.
Fixes: https://tracker.ceph.com/issues/40961
Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Rafael Quintero <rquinter@redhat.com>
|
|
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
|
|
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
|
|
* Check if data is accessible, otherwise set grafanaId to undefined.
* Catch errors in 'Clients' tab and stop loading spinner. Display ViewCacheStatus Exception.
* Render the 'Enabled' column using the checkIcon cell template as other lists do.
Fixes: https://tracker.ceph.com/issues/40925
Signed-off-by: Volker Theile <vtheile@suse.com>
|
|
Add parameter count waiting list for Onode::flush to avoid unnecessary
notify.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
|
|
fix klocwork issues:
Width is not specified for 's' conversion specifier.
This can result in an overflow of the buffer
provided in argument 3 of a call to 'sscanf'
Signed-off-by: songweibin <song.weibin@zte.com.cn>
|
|
CID 172143 (#15 of 15): Branch past initialization (PW.BRANCH_PAST_INITIALIZATION)
1. branch_past_initialization:
2. name_at_decl_position: variable "oid" (declared at line 220)
3. name_at_decl_position: variable "exkeys" (declared at line 241)
4. name_at_decl_position: variable "exvals" (declared at line 242)
5. name_at_decl_position: variable "safe" (declared at line 278)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
|
|
CID 180671 (#1 of 1): Dereference null return value (NULL_RETURNS)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
|
|
CID 174874 (#2 of 2): Dereference after null check (FORWARD_NULL)
30. var_deref_op: Dereference null pointer out2.
Signed-off-by: songweibin <song.weibin@zte.com.cn>
|
|
Fix: https://tracker.ceph.com/issues/40695
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
|
|
Fixes: http://tracker.ceph.com/issues/40967
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
|
|
If we have a pending xinfo change and also process a boot message, we
should not throw out the pending xinfo change.
This triggers when you mark an osd down and it sends both a MOSDMarkMeDead
and a new MOSDBoot message in quick succession: the first message sets
dead_epoch but the boot message processing clobbers it.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Like 'osd down', but we also set dead_epoch. Should only be used if we
know the process/host is already completely dead and unresponsive.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Allow updates to the dead_epoch in osd_xinfo, so that the OSD can inform
us that they know they are down (as of a particular epoch).
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
The 'ceph' CLI will duplicate commands within teuthology to test
the MONs idempotency. This shouldn't be required for the MGR module,
but we can keep a fixed set of completed tests to handle this
possible command replay.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
|
|
Signed-off-by: Varsha Rao <varao@redhat.com>
|
|
Fixes: https://tracker.ceph.com/issues/40787
Signed-off-by: Varsha Rao <varao@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|