Commit Graph

111644 Commits

Author SHA1 Message Date
Patrick Seidensal
07583d261d mgr/cephadm: reformat according to pep8
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-05-26 12:49:34 +02:00
Patrick Seidensal
41cbca7a3c mgr/cephadm: log all args not only in root mode
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-05-26 12:49:34 +02:00
Patrick Seidensal
bf2060883e mgr/cephadm: remove unused variable
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-05-26 12:49:34 +02:00
Patrick Seidensal
d76bf4cfae mgr/cephadm: add types to function parameters
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-05-26 12:49:34 +02:00
Patrick Seidensal
5d601bc781 mgr/cephadm: custom images for monitoring components
Namely,
- Grafana
- Prometheus
- Alertmanager and
- Node exporter.

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

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-05-26 12:49:34 +02:00
Kefu Chai
b1be4bdf2c
Merge pull request #35200 from rzarzynski/wip-crimson-ertr-assert_all
crimson: bring assert_all to errorator

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-26 18:01:52 +08:00
Lenz Grimmer
45e8438b99
Merge pull request #34079 from ishanrai05/login
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-05-26 11:12:52 +02:00
Patrick Donnelly
c9977e1252
Merge PR #34507 into master
* refs/pull/34507/head:
	mds: preserve ESlaveUpdate::OP_PREPARE logevent before doing commit

Reviewed-by: Zheng Yan <zyan@redhat.com>
2020-05-25 11:44:55 -07:00
Patrick Seidensal
34765e9215 mgr/dashboard: document Prometheus' security model
Fixes: https://tracker.ceph.com/issues/45377

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-05-25 16:50:53 +02:00
Changcheng Liu
f51a5dfa13 rbd/rwl: correct m_perfcounter access scope
There's no m_perfcounter in SyncPoint. Its scope is in
ReplicatedWriteLog.

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2020-05-25 21:49:18 +08:00
Yuval Lifshitz
32a93ecf50 rgw/url: fix commensts from review #34717
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>

Fixes: https://tracker.ceph.com/issues/45269
2020-05-25 15:52:07 +03:00
Andreas Unterkircher
a984d2a08c src/rgw/rgw_url.cc, also cope with a vhost appended to a AMQP-URL
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>

Fixes: https://tracker.ceph.com/issues/45269
2020-05-25 15:51:56 +03:00
Radoslaw Zarzynski
7ac29f80e3 crimson/common: discard_all::operator() returns void now.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-05-25 14:28:35 +02:00
Radoslaw Zarzynski
1aea1157e2 crimson/os/seastore: switch to crimson::ct_error::assert_all.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-05-25 14:28:34 +02:00
Radoslaw Zarzynski
89feb43455 crimson/common: extend errorator with assert_all{}.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-05-25 14:28:34 +02:00
Lenz Grimmer
2069d58e43
Merge pull request #34953 from s0nea/wip-dashboard-telemetry-url
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-05-25 13:39:55 +02:00
Lenz Grimmer
4aa6dc2674
Merge pull request #35196 from tspmelo/wip-logout
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-05-25 13:38:28 +02:00
Ricardo Marques
1ceca64d6b cephadm: Validate bootstrap "--dashboard-{key|crt}" path
Fixes: https://tracker.ceph.com/issues/45696

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-05-25 11:53:59 +01:00
Nathan Cutler
473a185ef9
Merge pull request #35129 from smithfarm/wip-fix-PendingReleaseNotes-headings
doc/releases/octopus.rst: move still-pending release notes to official v15.2.0 release notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-05-25 10:41:30 +02:00
Nathan Cutler
04d787b652 doc/releases/octopus: use fixed-width font for "ceph fs dump"
We are using fixed-width font to render commands elsewhere, so
let's do so in this release note, too - just for the sake of uniformity.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-25 10:39:47 +02:00
Sebastian Wagner
1f33713f1b
Merge pull request #35142 from mgfritch/cephadm-validate-mds-fsname
mgr/orch: allow MDS with explicit naming

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-05-25 09:46:21 +02:00
Nathan Cutler
79c7ac53e6
Merge pull request #34174 from theanalyst/doc/active-releases-oct
doc: move luminous to archived releases & octopus to active

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-05-24 22:00:48 +02:00
Nathan Cutler
9dcf0a835a osd: make "missing incremental map" a debug log message
47a3f63ef7 introduced the following error
message

    build_incremental_map_msg missing incremental map 33087

The message causes users to be concerned, yet it does not require action
on their part.

Fixes: https://tracker.ceph.com/issues/45606
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-24 21:53:44 +02:00
Kefu Chai
188af3651a qa/valgrind.supp: less specific when suppressing issues/22052
Fixes: https://tracker.ceph.com/issues/22052
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-25 00:02:46 +08:00
Willem Jan Withagen
cbbc8465e0 librbd: fix compile error with CephContext declaration
Clang complains:
/home/jenkins/workspace/ceph-master/src/librbd/plugin/Types.h:9:1: error: declaration conflicts with target of using declaration already in scope
struct CephContext;
^
/home/jenkins/workspace/ceph-master/src/include/common_fwd.h:10:9: note: target of using declaration
class CephContext;
^
/home/jenkins/workspace/ceph-master/src/include/common_fwd.h:22:24: note: using declaration
using TOPNSPC::common::CephContext;
^

fixes: https://github.com/ceph/ceph/pull/35158
tracker: https://tracker.ceph.com/issues/45668
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2020-05-24 11:16:40 +00:00
Kefu Chai
9dce54cc54
Merge pull request #35219 from tchaikov/wip-crimson-cleanups
crimson/osd,test/crimson: avoid using variadic future and s/apply/invoke/

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2020-05-24 19:06:46 +08:00
Kefu Chai
ddf7727529 crimson/osd: avoid using variadic future
see also 3cee25ba41

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-24 12:26:37 +08:00
Kefu Chai
f48164a8b8 test/crimson: use invoke instead of apply
it's an oversight in 33af821baa

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-24 12:26:37 +08:00
Kefu Chai
006f378397
Merge pull request #35204 from tchaikov/wip-tools-cephfs
tools/cephfs/MetaTool: print buffer::error::what()

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-05-24 12:12:56 +08:00
Kefu Chai
1efa1a796b
Merge pull request #35207 from tchaikov/wip-crimson-remove-vardiadict-future
crimson/osd: avoid using variadic future and cleanup

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-05-23 16:50:43 +08:00
Kefu Chai
b3abff205a crimson/osd: remove redundant std::move()
this should address following warning:

../src/crimson/osd/ops_executer.cc:821:6:   required from here
../src/crimson/osd/ops_executer.cc:818:37: warning: redundant move in return statement [-Wredundant-move]
  818 |             return std::move(entries);
      |                                     ^
../src/crimson/osd/ops_executer.cc:818:37: note: remove ‘std::move’ call

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-23 16:27:49 +08:00
Kefu Chai
cafb5e01aa crimson/osd: avoid using variadic future
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-23 16:27:49 +08:00
Kefu Chai
0e8c4bfead
Merge pull request #35205 from Huber-ming/zsm_doc
doc: replace https://ceph.com/ with http://download.ceph.com/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-23 15:01:15 +08:00
Shengming Zhang
0376fe8e63 doc:replacing https://ceph.com/ by http://download.ceph.com/
Signed-off-by: Shengming Zhang <zhangsm01@inspur.com>
2020-05-23 13:40:41 +08:00
Kefu Chai
fe011430fb
Merge pull request #35179 from myoungwon/wip-affiliation-mw
mailmap: update affiliation for Myoungwon Oh

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-23 13:33:29 +08:00
Kefu Chai
0c21a69602 tools/cephfs/MetaTool: print buffer::error::what()
* buffer::error does not offer operator<<(ostream&, const
  buffer::error&). so in this change, err.what() is used instead.
* also add spaces to follow our coding style convention.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-05-23 11:54:55 +08:00
Patrick Donnelly
752941cfdd
Merge PR #34755 into master
* refs/pull/34755/head:
	tool: add function of show/amend fnode

Reviewed-by: Zheng Yan <zyan@redhat.com>
2020-05-22 14:25:03 -07:00
Patrick Donnelly
481b575491
Merge PR #35090 into master
* refs/pull/35090/head:
	mgr/volumes: Fix subvolume create idempotency

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-05-22 14:23:57 -07:00
Patrick Donnelly
dbef451083
Merge PR #35063 into master
* refs/pull/35063/head:
	cephfs: allow pool names with '-' and '.'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-05-22 14:21:30 -07:00
Patrick Donnelly
bf0f764965
Merge PR #34975 into master
* refs/pull/34975/head:
	systemd: lock down more privileges

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-22 14:19:56 -07:00
Patrick Donnelly
8499239d65
Merge PR #34757 into master
* refs/pull/34757/head:
	mds: take xlock in the order requests start locking

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-05-22 14:19:08 -07:00
Patrick Donnelly
74e5bcb73e
Merge PR #35143 into master
* refs/pull/35143/head:
	mgr/status: 'ceph fs status' output add dirs and caps

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-05-22 14:18:39 -07:00
Jason Dillaman
c3321b7686
Merge pull request #35026 from changchengx/rwl
librbd: track per syncpoint's logentry number with perf counter

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-22 13:39:24 -04:00
Patrick Donnelly
22517f8fd1
Merge PR #35109 into master
* refs/pull/35109/head:
	qa: use py3 compat list from range

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-22 10:34:19 -07:00
Adam C. Emerson
f717065cc8
Merge pull request #32601 from adamemerson/wip-objection-triumphant
Asynchronous work on objecter and asynchronous RADOS library.

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-05-22 13:15:01 -04:00
Abutalib Aghayev
ab865ca002 os/bluestore: Enable writing data to HM-SMR hard drives.
Signed-off-by: Abutalib Aghayev <agayev@cs.cmu.edu>
2020-05-22 12:37:24 -04:00
Ishan Rai
a041326454 mgr/dashboard: Add button to copy the bootstrap token into the clipboard
Fixes issue: https://tracker.ceph.com/issues/44681

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
2020-05-22 15:31:15 +00:00
Ishan Rai
63435c821c mgr/dashboard: Use Web Clipboard API to copy to clipboard
Replace the deprecated Document.execCommand with Web Clipboard API.

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
2020-05-22 15:31:01 +00:00
Casey Bodley
4d71b55be2
Merge pull request #35020 from yuvalif/cls_2pc_q_async_api
cls/2pc_queue: add async API to read operations

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-05-22 10:36:30 -04:00
Casey Bodley
70fc57a5e9
Merge pull request #34505 from ktdreyer/doc-forwarded-https
doc/rgw: warn about "trust forwarded https" security

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-05-22 09:58:53 -04:00