Commit Graph

99546 Commits

Author SHA1 Message Date
Kefu Chai
70979b7543 cmake: do not always build brotli or zstd
these two libraries are relatively stable, and Ceph developers are not
likely to hack them. so no need to rebuild them every time.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 19:31:49 +08:00
Kefu Chai
6958d2dcb1 cmake/modules/BuildRocksDB.cmake: use BUILD_ALWAYS
this option was introduced by cmake 3.1, and we require cmake 3.5.1, so
we can use it without using the homebrew solution.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 19:30:28 +08:00
Kefu Chai
221d976e3c
Merge pull request #28888 from joscollin/wip-fix-typo
doc: fix typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-09 11:26:13 +08:00
Sage Weil
c0403f5a41 Merge PR #28848 into master
* refs/pull/28848/head:
	common/blkdev: only pay attention to first 2 bits of smartctl return code
	common/blkdev: include stdout and stderr on join error
	common/blkdev: fix syntax of error message
	common/blkdev: fix smartctl output in error path
	common/blkdev: include bad json from smartctl when unparseable
	mgr/devicehealth: sort keys when dumping metrics

Reviewed-by: Dan Mick <dmick@redhat.com>
2019-07-08 17:46:06 -05:00
Sage Weil
1d3d59be1f Merge PR #28052 into master
* refs/pull/28052/head:
	doc/rgw: document use of 'realm pull' instead of 'period pull'

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2019-07-08 16:45:16 -05:00
Andrew Schoen
404bde181c
Merge pull request #28791 from dcasier/bug-40100-2
Return an error, for Bluestore OSD, if WAL or DB are defined in the tags of the OSD but not present on the system

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2019-07-08 14:20:43 -05:00
Casey Bodley
e03b13aaca
Merge pull request #28152 from alimaredia/wip-rgw-thread-yield-context-prepare-bucket-index-transaction
rgw: thread option_yield through bucket index transaction prepare

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-07-08 15:16:32 -04:00
Ali Maredia
580c0804d9 rgw: change optional_yield to null_yield
In copy_obj_data() in the AtomicObjectProcessor
constructor

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2019-07-08 13:28:19 -04:00
Ali Maredia
d19a72dcec rgw: thread yield context through writing of head obj
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2019-07-08 13:28:19 -04:00
Ali Maredia
5bcee09699 rgw: thread option_yield through bucket index transaction prepare
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2019-07-08 13:28:18 -04:00
Casey Bodley
bf99e58799
Merge pull request #28823 from cbodley/wip-qa-rgw-swift-server
qa/rgw: more fixes for swift task

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-08 11:16:42 -04:00
Lenz Grimmer
d613747554
mgr/dashboard: Silence Alertmanager alerts (#27277)
mgr/dashboard: Silence Alertmanager alerts

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-08 16:31:18 +02:00
Sage Weil
b2eb5232de Merge PR #28901 into master
* refs/pull/28901/head:
	qa/standalone/scrub/osd-scrub-repair: fix 'scrub ok' grep
	osd/osd_types: remove 'snap_context' from SnapSet::dump()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-08 08:36:05 -05:00
Lenz Grimmer
9110ba50a5
mgr/dashboard: fix closing tag in app.component.html (#28899)
mgr/dashboard: fix closing tag in app.component.html

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-08 13:16:24 +02:00
Lenz Grimmer
9c85727824
mgr/dashboard: Upgrade ceph-iscsi config to version 10 (#28720)
mgr/dashboard: Upgrade ceph-iscsi config to version 10

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-07-08 13:10:08 +02:00
Lenz Grimmer
dae424ba6d
mgr/dashboard: check embedded Grafana dashboard references (#28234)
mgr/dashboard: check embedded Grafana dashboard references

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-08 13:07:53 +02:00
Kefu Chai
b7010730f2
Merge pull request #28859 from tchaikov/wip-40646
ceph.spec.in: pin to gcc-c++-8.2.1

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2019-07-06 12:40:47 +08:00
J. Eric Ivancich
7dd1c240f0
Merge pull request #28838 from tchaikov/wip-rgw-printf-size_t
rgw/rgw_client_io_filters.h: print size_t the portable way
2019-07-05 17:20:58 -04:00
J. Eric Ivancich
aa749ae9fd
Merge pull request #28617 from zhangsw/rgw-fix-lifecycle-tag
rgw: Object tags shouldn't work with deletemarker or multipart expiration
2019-07-05 17:20:17 -04:00
J. Eric Ivancich
f01f50ef70
Merge pull request #28256 from theanalyst/rgw-lc-placement-target-fixes
rgw: lc: check for valid placement target before processing transitions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2019-07-05 17:19:41 -04:00
Adam C. Emerson
8d823e8f68 Merge pull request #28905 from adamemerson/wip-fix-crimson-test-build
rgw: Fix narrowing conversion error

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-07-05 16:52:24 -04:00
Matt Benjamin
0c505dcab4
Merge pull request #28192 from tianshan/fix_39989
rgw: fix list bucket with start maker and delimiter '/' will miss next object…
2019-07-05 16:21:46 -04:00
Kefu Chai
73746f3807
Merge pull request #28902 from tchaikov/wip-fix-crimson-test-build
test/crimson: fix FTBFS

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-06 01:52:01 +08:00
Kefu Chai
c242d3d636 test/crimson: fix FTBFS
Connection::send_message(Message*)

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-06 00:15:27 +08:00
Adam C. Emerson
e48725dd6c rgw: Fix narrowing conversion error
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2019-07-05 12:08:18 -04:00
Kefu Chai
47d4351d3a ceph.spec.in,install-dep.sh: pin to gcc-c++-8.2.1
as an intermediate solution before
https://bugzilla.redhat.com/show_bug.cgi?id=1726630 gets fixed.

Fixes: https://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-05 23:59:21 +08:00
Kefu Chai
057a352be8
Merge pull request #28890 from cyx1231st/wip-seastar-msgr-msgreuse
crimson/net: prevent reusing the sent messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-05 21:11:46 +08:00
Yingxin Cheng
fcafb089d2 crimson: change to use make_message()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-07-05 22:07:59 +08:00
Yingxin Cheng
f763d49603 crimson/net: check front_msg correctly during sweep
In order to check whether the front_msg is unchanged, we need to make sure:
* The sent message is not reused;
* The message to be checked is not freed;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-07-05 21:53:39 +08:00
Yingxin Cheng
2d6e770492 crimson/net: prevent reusing the sent messages
We are tracking sent messages by seq, so reusing messages will cause
undefined behavior because seq should not be shared between different
messages.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-07-05 21:51:34 +08:00
Tatjana Dehler
10d84c0a03 mgr/dashboard: fix closing tag
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2019-07-05 13:58:12 +02:00
Ricardo Marques
9b967b42f0
Merge pull request #28858 from callithea/wip-issue-40395
mgr/dashboard: Extend E2E test section

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-07-05 12:19:21 +01:00
Lenz Grimmer
8bc9c8eed4
mgr/dashboard: use mds_mem.dn for fs dentries (#28505)
mgr/dashboard: use mds_mem.dn for fs dentries

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-05 11:42:01 +02:00
Kefu Chai
f22f12d54a
Merge pull request #28876 from tchaikov/wip-cmake-vstart-with-cython_cephfs
cmake: add cython_cephfs to vstart target

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-05 14:00:21 +08:00
Kefu Chai
d6c2ef6a11
Merge pull request #28845 from ifed01/wip-ifed-fix-alloc-dump
os/bluestore: more smart allocator dump when lacking space for bluefs.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2019-07-05 11:28:30 +08:00
Jos Collin
f48760a280 doc: fix typo
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-07-05 08:54:49 +05:30
Kefu Chai
9e435474ca
Merge pull request #28651 from ifed01/wip-ifed-remove-assert-bs-tool
os/bluestore/bluestore-tool: minor fixes around migrate

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2019-07-05 11:12:53 +08:00
Kefu Chai
3f6f85819f
Merge pull request #28732 from tchaikov/wip-32bit-size_t
osdc/Striper: specialize std::min<>

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-05 11:07:05 +08:00
Kefu Chai
c2905fb3eb
Merge pull request #28829 from tchaikov/wip-dmclock-uint
dmclock: pick up fix to replace uint

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-07-05 11:06:09 +08:00
Kefu Chai
a4ddc4bd85
Merge pull request #27834 from rzarzynski/wip-nss-drop-cms
rgw, common, build: drop NSS support

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-05 11:03:33 +08:00
Sage Weil
a960f2faa7 qa/standalone/scrub/osd-scrub-repair: fix 'scrub ok' grep
The log now also has a 'purged_snaps scrub ok' message that (generally)
precedes the first scrubbed PG.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-04 18:27:37 -05:00
Sage Weil
70ad54a0b3 osd/osd_types: remove 'snap_context' from SnapSet::dump()
We no longer have a snaps field with real values, so dumping this as a
"snap_context" is silly.  Instead, just dump the seq.

Adjust qa/standalone/scrub/osd-scrub-repair.sh accordingly.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-04 18:24:41 -05:00
Igor Fedotov
5ea89a4e0c os/bluestore/bluestore-tool: omit device from both source and taget
lists when migrating.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-04 20:04:15 +03:00
Igor Fedotov
9297d0420d os/bluestore/bluestore-tool: fix error output
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-04 20:04:15 +03:00
Igor Fedotov
47edbfdce8 os/bluestore/bluestore-tool: do not assert when migrate command fails.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-04 20:04:13 +03:00
Kefu Chai
ad56cb8aad
Merge pull request #28835 from croit/fix-24420
debian/control: add python-routes dependency for dashboard

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-05 01:02:32 +08:00
Stephan Müller
3fb21de8fd mgr/dashboard: Time diff service
The time diff service can easily calculate the difference between two
dates and print it out in a human readable duration format. It also can
calculate a end or start date based on a date and a duration string.

Fixes: https://tracker.ceph.com/issues/36722
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-07-04 16:19:26 +02:00
Stephan Müller
b20e9c8db8 mgr/dashboard: Allow test selection overwrite
Currently it's not easily possible to mock a selection during table
action tests, that's why I added a method that is used to create the
selection that is used through out the table action scenario tests.
You can simply overwrite it to get a different base object as selection.

Fixes: https://tracker.ceph.com/issues/36722
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-07-04 16:19:26 +02:00
Stephan Müller
5243190dfb mgr/dashboard: Handle unset settings
It's now easy to deal with unset settings.

Fixes: https://tracker.ceph.com/issues/36722
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-07-04 16:19:26 +02:00
Stephan Müller
aa571a226d mgr/dashboard: Silence Alertmanager alerts
Now you can silence alerts through the dashboard. You can now create,
recreate, edit and expire a silence. You can create a silence based on a
selected alert.

The silence form will help you create a silence that silences an alert.
It is provided with functionality to check if the silences, that
you are about to create, will or will not match an active alert or even
a rule.

It also provides help choosing the right values for the right chosen
matcher attribute name, through the use of type ahead values.

The dashboard will now use the Prometheus and the Alertmanager API

Fixes: https://tracker.ceph.com/issues/36722
Signed-off-by: Stephan Müller <smueller@suse.com>
2019-07-04 16:19:26 +02:00