exporter: cephadm changes
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
In case if any data log entries are missing for the older
generations, the sync server may not mark those shards as done
and can get stuck in that old gen for ever.
To avoid that, whenever a future gen entry is read, write the undone (shard,gen)
entry to error repo so that it can be processed and marked as done
and hence sync can progress eventually.
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Fixes: https://tracker.ceph.com/issues/48416
bucket was passed in without bucket_id, now reading entrypoint
info if needed.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Lock latency in RGWContinuousLeaseCR gets high enough under load that
the locks end up timing out, leading to incorrect behavior.
Monitor lock latency and cut concurrent operations in half if it goes
above ten seconds.
Cut currency to one if it goes about twenty seconds.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Don't go through the 'system object' cache. This also saves us the use
of the RADOS async completion processor.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Don't go through the 'system object' cache. This also saves us the use
of the RADOS async completion processor.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Don't go through the 'system object' cache. This also saves us the use
of the RADOS async completion processor.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
The patches that add object formatting / decorators to the nfs module
also made error handling more generic when accessing an nfs cluster and
now returns a nonzero exit code. A test was after the PR adding the
object format support that only checked an error message.
Update the test to match the new nfs module behavior as well as fixing a
typo.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This function is now unused as we no longer need to coerce exceptions
into response tuples at the layer in the code.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
The "export apply" functionality is unusual in that it allows either
one or multiple nested requests to change or create an export.
The previous implementation would concatenate the results of
multiple change operations into a single string. It also would continue
making changes if one case failed, adding the error to the string
and setting a non-zero error code.
The updated version keeps the general behavior but returns structured
JSON (or other formatted data) with one entry per change request. In
order to accomplish this and match the old behavior as closely as
possible we add an intermediate type (AppliedExportResults) that can
return both the response data (the `to_simplified` method) and track if
there was a failure mixed in with the various updates (the
`mgr_return_value` method).
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Previously, the '... nfs cluster ls' command emitted newline separated
list of cluster names. For consistency with other module commands
reporting via JSON the cluster ls mgr function now emits JSON. Update
the test to match the new behavior of the module.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Implements the ability for a flight to be created when the object is
retrieved by an S3 get.
Adds FlightServer abilities ListFlights, GetFlightInfo, GetSchema, and
DoGet. Adds an interface for a store for flight information and adds
an in-memory implemtation of it.
This code is functionality is early-stage and lacks some planned
efficiencies.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
crimson/osd/pg: rebuild missing set when a new interval is created
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Explain how to set up push.autoSetupRemote so that the origin branch is
properly set up when running "get push" without the need for the
"--set-upstream" option.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Capitalize the initialization "OSD" where it occurs in natural language
in cephadm/host-management.rst. This PR answers a request made by
Anthony D'Atri and seconded by Cole Mitchell in https://github.com/ceph/ceph/pull/49699#discussion_r1066171002.
Signed-off-by: Zac Dover <zac.dover@gmail.com>