ceph.spec.in: use devtoolset-9 for building crimson
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
since seastar dropped support from C++14, we have to move to a compiler
with a decent C++17 support.
in this change, gcc-toolset-9 is used for compiling ceph if seastar is
enabled. use version >= 9.2.1-2.2, because of
https://bugzilla.redhat.com/show_bug.cgi?id=1853900
Signed-off-by: Kefu Chai <kchai@redhat.com>
* extract read_object_for_push_op() out of build_push_op().
build_push_op() is composed of multiple steps. would be better
if we can split and extract them into separated method for better
readability
* clear push_op->data_included() if fiemap fails. before this change,
a local copy of `copy_subset` is cleared if fiemap fails, but
push_op->data_included is not updated in this case. we should
clear the latter if no data is returned in push_op->data. so,
in this change, push_op->data_included is cleared if fiemap
fails. the same applies to other cases where no data is returned in
push_op
* add comments to outline the steps in read_object_for_push_op().
Signed-off-by: Kefu Chai <kchai@redhat.com>
mgr/dashboard: Update list of supported browsers
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
If you tried to setup ceph-backport.sh without having 'jq' installed, you would
get a totally unrelated error message and it was hard to figure out the problem.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Previously, dec_ref didn't handle actually retiring the
extent from the cache. dec_ref will now reach into the
cache and mark the extent retired if it exists either
in the cache or in the current transaction.
Signed-off-by: Samuel Just <sjust@redhat.com>
Previously, we returned a refcount from inc_ref and dec_ref. Now,
return the paddr as well for future code accounting for released
extents.
In addition, replumb btree_lba_manager to return an enoent error if
the mapping does not exist, and the resulting refcount, paddr
otherwise with a refcount of 0 indicating that the mapping has
been removed.
Signed-off-by: Samuel Just <sjust@redhat.com>
In the event that an extent is created and removed in the same
transaction (invalid extent in fresh_block_list), update
block specific metadata but don't add to cache and especially
do not mark clean. LBAManager::complete_commit implementations
are meant to use skip based on state in the same way.
Signed-off-by: Samuel Just <sjust@redhat.com>
mgr/dashboard: log useful information from internal server errors
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Fabrizio D'Angelo <fdangelo@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
the requests in the queue, named waiting_for_replay, may modify the state of the filelock,
resulting in the wrong lock state when repairing file (start_files_to_recover)
Fixes : https://tracker.ceph.com/issues/46906
Signed-off-by: Simon Gao <simon29rock@gmail.com>
mgr/dashboard: Create Ceph services via Orchestrator by using ServiceSpec
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
"rbd snap create" now reports progress. Pass --no-progress, as in
commit b5a5fea9e2 ("test/cli-integration/rbd: tweak after snap create
started to show progress").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/tests: use "-k distro" for all suites (except krbd)
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Disable 'autocomplete' for the user and password form fields.
Fixes: https://tracker.ceph.com/issues/46900
Signed-off-by: Volker Theile <vtheile@suse.com>
* refs/pull/36351/head:
qa/tasks/cephfs/nfs: Add tests for cluster config set and reset
doc/cephfs/nfs: Update the doc about 'reset' and 'set' config interfaces
mgr/volumes/nfs: Add interface for adding user defined configuration
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>