| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Make it easier for TM::read_pin() users to consume extent without
worrying about the indirections.
This basically reverts 9cdcd06caadef6cdca64a974c6525ba300c1e289
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|
|
|
|
|
| |
absent extent
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|
|
|
|
|
| |
Mostly convert length to the hex format.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|
|
|
| |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|
|
|
| |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|
|
|
| |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|
|
|
| |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|
|
|
| |
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
|
|\
| |
| |
| |
| | |
cephadm: Add multiple labels in single command to host
Reviewed-by: Adam King <adking@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Anuradha Gadge <anuradha.gadge@ibm.com>
|
|\ \
| | |
| | |
| | |
| | | |
crimson: Set device class during spawn of a crimson osd
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implement a wrapper for different backend storage to
set device_class during spawn of a process.
Fixes: https://tracker.ceph.com/issues/66627
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
rgw:Wrong x-rgw-quota-bucket-objects header when bucket quota is disabled
Reviewed-by: Casey Bodley <cbodley@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit introduces to get quota settings if bucket quota is enabled
Fixes: https://tracker.ceph.com/issues/68211
Signed-off-by: Raja Sharma <raja@ibm.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
configuration
Fixes https://tracker.ceph.com/issues/69036
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes https://tracker.ceph.com/issues/69036
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
rgw: RGWAccessKey::decode_json() preserves default value of 'active'
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
squid added the new "bool active" member that defaults to true, but
RGWAccessKey::decode_json() sets it to false when "active" isn't present
this is an issue for multisite when a squid zone replicates user
metadata from a master zone running reef
Fixes: https://tracker.ceph.com/issues/68985
Signed-off-by: Casey Bodley <cbodley@redhat.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
mds: account for header size during omap commit
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
fnode_t is set in the omap header during directory commit
operation which isn't accounted when tracking operation
size.
Fixes: http://tracker.ceph.com/issues/67597
Signed-off-by: Venky Shankar <vshankar@redhat.com>
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
exporter: SIGTERM/SIGINT/SIGHUP management
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Ceph exporter manages SIGINT, SIGTERM and SIGHUP signals
Fixes: https://tracker.ceph.com/issues/68721
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
osd/scrub: fixing reservations dump format
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Headers were missing in the faulty dump output. This commit
fixes the section type to 'object section'.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
common: add missing include, reduce header dependencies
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
And add a few missing includes.
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This header uses `std::string`, but not `std::system_error`.
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
mgr/balancer: optimize 'balancer status detail'
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This addition gives users the option of enabling/disabling this feature.
They can do so by running:
ceph config set mgr mgr/balancer/update_pg_upmap_activity <True|False>
The feature is off by default.
Signed-off-by: Laura Flores <lflores@ibm.com>
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Before, we were updating the balancer status by
iterating through all pg upmap entires. This was
affecting the loading time of other mgr modules
on clusters with a large number of pgs (600+).
This can be optimized by simply pulling from
the incremental.
Fixes: https://tracker.ceph.com/issues/68657
Signed-off-by: Laura Flores <lflores@ibm.com>
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
mgr/cephadm: sign generated RGW certs
Reviewed-by: Redouane Kachach <rkachach@ibm.com>
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Previously the "generate_cert" field would just cause cephadm
to generate self-signed certificates. This was an issue when trying to sync
the secondary site in a multisite situation, resulting in
```
SL peer certificate or SSH remote key was not OK req_data->error_buf=SSL
certificate problem: self-signed certificate request failed: (2200) Unknown error 2200
```
This change makes it so the certificate are signed by cephadm's
root CA cert so that users may grab that cert via
"ceph orch cert-store get cert cephadm_root_ca_cert"
and set that as a trusted CA cert on their secondary cluster.
Additionally, we now generate a cert per RGW daemon so that
we can include the hostname/addr of the node we are deploying
the RGW daemon on in the cert.
Signed-off-by: Adam King <adking@redhat.com>
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
cephadm: handle "systemctl start" failures during deployment better
Reviewed-by: John Mulligan <jmulligan@redhat.com>
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Previously it was assumed when the deploy command fails whatever
daemon we were trying to deploy does not exist on the host. However,
in the specific case where deploy fails trying to start the daemon's
systemd unit this is not the case. This leads us to both cleanup the
keyring for the daemon and also causes us to not trigger a refresh
of the daemons on the host which can make cephadm attempt to
deploy another daemon instead of just reporting the existing one
as failed. To get around this we need to handle that specific
failure as a success in the mgr module's deploy workflow so that
we refresh the daemons and report the failure as intended.
https://tracker.ceph.com/issues/68536
Signed-off-by: Adam King <adking@redhat.com>
|