Commit Graph

114060 Commits

Author SHA1 Message Date
Lenz Grimmer
9db1efe6a6
Merge pull request #36312 from ishanrai05/bug-1
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-08-17 15:12:31 +02:00
Lenz Grimmer
369252b914
Merge pull request #36476 from ceph/42072-landing-page
mgr/dashboard: Landing Page improvements

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-08-17 10:43:39 +02:00
Abhishek L
7b012a9799
Merge pull request #36669 from smithfarm/wip-nautilus-11
doc/releases: add Nautilus 14.2.11 to timeline

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Zac Dover <zac.dover@gmail.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2020-08-17 10:42:10 +02:00
Sebastian Wagner
e06aeb4187
Merge pull request #36508 from mgfritch/cephadm-nfs-rados-pool
mgr/cephadm: check existence of the RADOS pool

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
2020-08-17 09:50:13 +02:00
Kefu Chai
f7bad43f9d
Merge pull request #36228 from vosdev/doc-mgr-crash-typo
doc/mgr/crash: Add missing command in rm example

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-17 11:17:02 +08:00
Kefu Chai
727f9a4b74
Merge pull request #36623 from cheese/master
common: document the current semantics of bl::append(std::istream)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-17 10:41:49 +08:00
Kefu Chai
7669e0f22a
Merge pull request #36418 from changchengx/osd_map
osd/OSDMap: corret osd_info_t last_clean comment

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-17 10:33:15 +08:00
Kefu Chai
1e821c65ee
Merge pull request #36642 from tchaikov/wip-crimson-silence-warnings
crimson: silence warnings from clang++

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-16 22:48:56 +08:00
Kefu Chai
446cc601a2 crimson/osd: do not capture unused variables
this change silences warnings like

src/crimson/osd/pg_backend.cc:232:34: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
        [&os, &osd_op, &extents, this](auto&& bl) -> read_errorator::future<> {

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-16 09:38:02 +08:00
Kefu Chai
b168bc02b3 crimson/os: do not return a value for non-reachable branch
for silencing a warning like

btree/btree_lba_manager.cc:177:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference]
    return *static_cast<btree_range_pin_t*>(nullptr);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ceph_abort_msg() is marked [[noreturn]], so we can just use it here
without worrying about complains from compiler.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-16 09:37:21 +08:00
Nathan Cutler
2bbb857841 doc/releases: add Nautilus 14.2.11 to timeline
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-08-15 22:55:44 +02:00
Mykola Golub
27e237c137
Merge pull request #36479 from dillaman/wip-46669
test/rbd-mirror: pool watcher registration error might result in race

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-08-15 18:31:10 +03:00
Kefu Chai
0fb54fbcf0
Merge pull request #36639 from tchaikov/wip-crimson-build-push-op
crimson/osd: clear data_included if fiemap fails

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-08-15 18:47:46 +08:00
Kefu Chai
d11ed390ae
Merge pull request #36505 from rzarzynski/wip-crimson-bump-up-seastar
crimson: bump up seastar version to freshest master

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-15 18:41:42 +08:00
Kefu Chai
7eb38b8a8d
Merge pull request #36529 from tchaikov/wip-crimson-dts-9
ceph.spec.in: use devtoolset-9 for building crimson

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2020-08-15 18:39:48 +08:00
Kefu Chai
10086983d9 install-deps.sh: add tchaikov's copr repo for crimson build on el8
we need it before the updated version of gcc-toolset9 addressing
https://bugzilla.redhat.com/show_bug.cgi?id=1853900 is available in
RHEL8/CentOS8.

see https://copr.fedorainfracloud.org/coprs/tchaikov/gcc-toolset-9

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-15 17:43:40 +08:00
Kefu Chai
5c038b99b3 ceph.spec.in: use gcc-toolset-9 for building crimson
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>
2020-08-15 17:43:40 +08:00
Kefu Chai
4ac4f69b4b crimson/osd: clear data_included if read fails
* 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>
2020-08-15 17:27:02 +08:00
Kefu Chai
03ab02c8ee crimson/osd: print detailed info of object being recovered
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-15 11:09:13 +08:00
Kefu Chai
fbfc0f9f27 crimson/osd: remove stale comment
CyanStore supports readv() now, so remove this comment.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-15 11:09:13 +08:00
Kefu Chai
96e12dc4e4 crimson/osd: do not use __func__ in a lambda
otherwise we would have logging messages like

operator(): returning obc ...

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-08-15 11:09:13 +08:00
Nathan Cutler
e5e1e3006a
Merge pull request #36618 from tspmelo/wip-backport-jq
script/ceph-backport.sh: Check if jq is installed
2020-08-14 20:07:06 +02:00
Lenz Grimmer
b539ea6003
Merge pull request #36609 from tspmelo/wip-doc-browsers
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>
2020-08-14 15:31:40 +02:00
Jason Dillaman
17b6b0ca41
Merge pull request #36624 from lixiaoy1/fix_config
rbd/rwl: fix the config issue

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-14 08:29:35 -04:00
Jason Dillaman
148c18c6d6
Merge pull request #36466 from lixiaoy1/rbd_image_info_br
rbd/status: get image cache state

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-14 08:21:11 -04:00
Jason Dillaman
029f864d3e
Merge pull request #36422 from orozery/object_dispatch_assert_version_write
librbd: support writing with version assertion on object dispatch

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-14 08:20:49 -04:00
Jason Dillaman
99ee943631
Merge pull request #36366 from runsisi/wip-fix-free
librbd: fix possible use after free error while shuting down exclusive lock

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-14 08:20:30 -04:00
Jason Dillaman
2648c087fa
Merge pull request #36561 from lixiaoy1/fix_queue
rbd/rwl: fix the construction of ContextWQ

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-14 08:20:10 -04:00
Tiago Melo
bc0650b057 mgr/dashboard: Update list of supported browsers
Fixes: https://tracker.ceph.com/issues/46923

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-08-14 11:53:48 +00:00
lixiaoy1
ad98989466 rbd/rwl: fix the config issue
Include acconfig.h to the librbd/cache/Util.h.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-08-14 07:09:57 -04:00
Tiago Melo
d5730371d7 script/ceph-backport.sh: Check if jq is installed
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>
2020-08-14 09:01:57 +00:00
Lenz Grimmer
26ebb5aa31
Merge pull request #36604 from tspmelo/wip-favicon-circle
mgr/dashboard: Fix favicon white circle

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-08-14 10:22:12 +02:00
Lenz Grimmer
fd090b1df7
Merge pull request #36602 from tspmelo/wip-spell-check
mgr/dashboard: Fix spell errors

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-08-14 10:19:46 +02:00
Lenz Grimmer
11aa337814
Merge pull request #36585 from votdev/proper_format_portals
mgr/dashboard: Proper format iSCSI target portals

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-08-14 10:16:56 +02:00
Lenz Grimmer
e8c81f2330
Merge pull request #36566 from votdev/issue_46900_autocomplete
mgr/dashboard: Strange iSCSI discovery auth behavior

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-08-14 10:13:30 +02:00
Lenz Grimmer
3d74ae7ee9
Merge pull request #36567 from votdev/issue_46901_hide_limit_action_field
mgr/dashboard: Hide table action input field if limit=0

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-08-14 10:06:30 +02:00
Robin Lee
599d0de094 common: document the current semantics of bl::append(std::istream)
bl::append(std::istream) comes with a surprise implementation. People may think
it would just slurp the indentical binary data from the stream. Document the
trap to let people don't mis-use it.

Signed-off-by: Robin Lee <cheeselee@fedoraproject.org>
2020-08-14 14:00:19 +08:00
Kefu Chai
4fea9a8be3
Merge pull request #36510 from athanatos/sjust/wip-tm-decref
crimson: remove extent from cache in TransactionManager::dec_ref

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-08-14 03:47:55 +08:00
Samuel Just
bb3a7f3515 crimson/os/seastore/transaction_manager: complete dec_ref
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>
2020-08-13 11:32:31 -07:00
Samuel Just
3af6617673 crimson/os/seastore/lba_manager: clarify ref count operation return
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>
2020-08-13 11:32:31 -07:00
Samuel Just
8cd2dfaa77 crimson/os/seastore/cache: don't mark invalid extents clean
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>
2020-08-13 11:32:31 -07:00
Samuel Just
4943d14644 crimson/os/seastore/cached_extent: add print_detail for logical extents
This way we can always see laddr in debug output.

Signed-off-by: Samuel Just <sjust@redhat.com>
2020-08-13 11:32:28 -07:00
Ilya Dryomov
e66dc2fc00
Merge pull request #36591 from idryomov/wip-snap-create-progress
qa: update krbd tests for snap create

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-08-13 16:25:06 +02:00
Lenz Grimmer
beb19d7da9
Merge pull request #36434 from ricardoasmarques/fix-iscsi-logged-in-client-edit
mgr/dashboard: Unable to edit iSCSI logged-in client

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-08-13 15:58:46 +02:00
Lenz Grimmer
fcadcba4ed
Merge pull request #36564 from ceph/46899-log-info-from-unhandled-errors
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>
2020-08-13 15:31:38 +02:00
Alfonso Martínez
d66e684b9e mgr/dashboard: Landing Page improvements
Fixes: https://tracker.ceph.com/issues/42072
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2020-08-13 14:29:38 +02:00
Tiago Melo
4f53b1ddef mgr/dashboard: Fix favicon white circle
A white circle was displayed when the user logged out.

Fixes: https://tracker.ceph.com/issues/46919

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-08-13 11:38:15 +00:00
Tiago Melo
e7dc692312 mgr/dashboard: Fix spell errors
Fixes: https://tracker.ceph.com/issues/46917

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-08-13 10:50:31 +00:00
Ishan Rai
1df03de1ac mgr/dashboard: fix error message for the confirmpassword
fixes: https://tracker.ceph.com/issues/46494

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
2020-08-13 07:50:20 +00:00
Ishan Rai
3844919a6b mgr/dashboard: remove password fields, if the login is using SSO
fixes: https://tracker.ceph.com/issues/46494

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
2020-08-13 07:49:44 +00:00