This commit makes the backfill code unware about pg log
implementation details. The benefit is easier unit testing.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
`get_info()` gets replaced with `get_last_update() and
`get_log_tail()`. This entirely removes the awareness of
`pg_info_t` in the backfill code.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
`get_peer_info()` gets replaced with `get_peer_last_backfill()`.
The benefit is no need to mock peer's `pg_info_t` in unit test.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
instead of hardwiring the "|stable-release|" to "octopus" use the latest
release name found in 'doc/releases/releases.yml'
Signed-off-by: Kefu Chai <kchai@redhat.com>
Fixes: https://tracker.ceph.com/issues/48362
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
saml2: Fix versioning parameter for saml2 endpoints, including minor fix for
endpoints with xml=true
The max_write_size is 10M as default, and every time when the len
of the op data exceed it with a very small size it will be split
into two ops, one of which will always be very small.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
* refs/pull/38093/head:
qa: add debug information for client address for kclient
qa/kernel_mount.py: rename _read_debug_file to read_debug_file
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
The future returned by ms_dispatch() is only for throttling, not for
Connection lifecycle management. And Messenger may not hold the
connection reference once it is closed.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Messenger will only throw unexpected exceptions when there is a bug. In
that case, we should not do any further operations which may result in
segmentation fault and hide the original exception.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Also fixed callers to handle the error: abort immediately upon bind
failure and report error. Previously, these callers didn't handle bind
failures correctly and would result in misleading undefined behaviors.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
There is no on-going iterations in the new
ChainedDispatchers::ms_dispatch() implementation, so we no longer need
to worry about removing dispatchers when stopping the messenger. So the
""boost::intrusive::slist" is not needed, and we can use cleaner
interfaces to start and stop the messenger.
Also fixed an regression issue in perf_crimson_msgr caused by
ChainedDispatchers.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
mgr: do not migrate conf from config-key store to new-style conf
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
crimson: fix finally and erroratorize PG::with_*_obc()
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
The timeout was not initialized with the current config value during
RadosClient construction.
Fixes a8a23747aa
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Commit 306eebe05b added the RadosClient to
the config observer interface but forgot to add it to the observer list.
This meant that the RadosClient was never receiving callbacks to
handle_conf_change. Commit a8a23747aa
exposed this issue because the mon timeout was configured at run-time.
Fixes: https://tracker.ceph.com/issues/48030
Fixes: a8a23747aa
Fixes: 306eebe05b
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This will permit proper IO tracking through the stream layer to
ensure streams cannot be closed prematurely.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
mgr/dashboard: Change the text 'Login' to 'Log in'
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
mgr/dashboard: refactor the order of buttons shown in forms
Reviewed-by: Courtney Caldwell <ccaldwel@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
The current implementations are correct and will not link the
throttleing future with unrelated futures.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
This commit comprises of 3 things:
1) Keycloak task (to bring up keycloak in teuthology inorder to execute Assume_Role_With_Web_Identity tests).
2) The required changes for this in s3tests.py which consists of writing some parameters to configuration file.
3) The yaml files which executes these tasks.
Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>