Commit Graph

90856 Commits

Author SHA1 Message Date
myoungwon oh
10993596d9 src/test: fix unordered manifest-unset op
- manifest unset op to foo-chunk object
 - remove manifest flag
 - commit
 - send an ack to a client
 - send decrement mesages ("chunk_put") to old chunks (bar-chunk)

Current unit test(ManifestUnset) send "chunk_read" command (to bar-chunk)
in order to see whether chunk's reference count is decreased.
But, as described above, "chunk_read" event can be triggered after a client
(test application) receives an ack. Therefore, there is a corner case
such as bar-chunk (in chunk pool) receives "chunk_read" first instead of "chunk_put"

Reference count model of dedup/tiering is based on false-positive (#24230).
So decreasing reference count is not guaranteed. If reference mismatch occur,
chunk-scrub (this is WIP) will fix it.
One guaranteed thing is that existing manifest flag is removed.

So, the solution of this commit is just re-send unset op, and then
chenk that return value is -EOPNOTSUPP (this means manifest flags is removed).

Fixes: http://tracker.ceph.com/issues/24485
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-10-21 18:05:40 +09:00
Patrick Donnelly
d4766462fe
Merge PR #24437 into master
* refs/pull/24437/head:
	PendingReleaseNotes: add note for mds drop cache

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2018-10-05 10:16:11 -07:00
Matt Benjamin
544019a848
Merge pull request #24444 from theanalyst/wip-reshard-stats
rgw: copy actual stats from the source shards during reshard
2018-10-05 11:59:56 -04:00
Matt Benjamin
f873c5957f
Merge pull request #23504 from pritha-srivastava/wip-sts-authentication
rgw: Code for STS Authentication.
2018-10-05 09:56:11 -04:00
Abhishek Lekshmanan
beb90638ae rgw: copy actual stats from the source shards during reshard
Currently we don't copy the actual_stats field during reshard, which makes
resharded buckets show a size_utilized as 0, which further has the problem that
a subsequent object removal would subtract the object size from the 0 size
utilized showing up large uint64_t values. Copy the size_actual from the source
object in both cls and in reshard_process. This will fix the new buckets,
existing buckets will still have to go through a bucket check --fix for their
stats to be corrected.

Fixes: http://tracker.ceph.com/issues/36290
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-10-05 11:24:26 +02:00
Mykola Golub
6745c288b1
Merge pull request #24433 from dillaman/wip-rbd-mirror-doc
doc/rbd: explicitly state that mirroring requires connectivity to clusters

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-10-05 11:21:36 +03:00
Josh Durgin
864594f473
Merge pull request #24144 from tchaikov/wip-spdk
bluestore/NVMe: use PCIe selector as the path name

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-04 16:12:18 -07:00
Josh Durgin
8f826e146c
Merge pull request #24168 from tchaikov/wip-17516
cmake: detect armv8 crc and crypto feature using CHECK_C_COMPILER_FLAG

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-04 16:10:18 -07:00
Ricardo Marques
d033f100e4
Merge pull request #24322 from votdev/improve_error_interceptor
mgr/dashboard: Improve error message handling

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-10-04 23:26:50 +01:00
Patrick Donnelly
adb1d3e31d
PendingReleaseNotes: add note for mds drop cache
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-04 15:06:18 -07:00
Jason Dillaman
c6651ff309 doc/rbd: explicitly state that mirroring requires connectivity to cluster
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-10-04 12:21:35 -04:00
Ricardo Marques
3e92f772d6
Merge pull request #24370 from tspmelo/fix-rbd-trash-purge
mgr/dashboard: Add permission validation to the  "Purge Trash" button

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-10-04 15:16:41 +01:00
Casey Bodley
1ecddba2d2
Merge pull request #24271 from croit/fix-36041
rgw/beast: drop privileges after binding ports

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-04 09:57:38 -04:00
Volker Theile
7d41a4a402 mgr/dashboard: Improve error message handling
The current implementation of the HTTP interceptor does not use the error description in all cases.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2018-10-04 15:53:50 +02:00
Ricardo Dias
43a72f0e49
Merge pull request #24350 from ricardoasmarques/wip-json-decode
mgr/dashboard: Check content-type before decode json response

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-10-04 10:08:37 +01:00
Ricardo Marques
25ee67701d
Merge pull request #24213 from familyuu/mgr
mgr/dashboard: Display logged in user

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-10-04 09:50:24 +01:00
Kefu Chai
21dd24f17d
Merge pull request #20645 from rishabh-d-dave/fix-doc-add-subcommand-application-manpages
ceph: describe application subcommand in ceph man page

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-04 14:25:45 +08:00
Jason Dillaman
ba68d1fd64
Merge pull request #24117 from trociny/wip-35915
mgr: create shell OSD performance query class

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-10-03 19:20:42 -04:00
Mykola Golub
264ad39ff6 mgr: module to test osd_perf_query methods
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-10-03 19:29:43 +03:00
Mykola Golub
b18ddf4d37 mgr: add osd_perf_query methods to ActivePyModules
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-10-03 19:29:43 +03:00
Mykola Golub
a6c3390834 mgr: create shell OSD performance query class
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-10-03 19:29:43 +03:00
Yuri Weinstein
61dbeed256
Merge pull request #24380 from smithfarm/wip-opensuse-15
qa/distros: add openSUSE Leap 42.3 and 15.0

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2018-10-03 08:10:13 -07:00
Andrew Schoen
4b8f717b88
Merge pull request #24399 from alfredodeza/wip-rm36246
ceph-volume util.encryption don't push stderr to terminal

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-10-03 10:04:58 -05:00
Andrew Schoen
d6cd2f90c2
Merge pull request #24394 from alfredodeza/wip-rm24795
ceph-volume lvm.prepare update help to indicate partitions are needed, not devices

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-10-03 09:59:01 -05:00
Paul Emmerich
6489566e86 rgw/beast: drop privileges after binding ports
Fixes: http://tracker.ceph.com/issues/36041

Signed-off-by: Paul Emmerich <paul.emmerich@croit.io>
2018-10-03 14:01:26 +00:00
Rishabh Dave
35825f93a2 ceph: describe application subcommand in ceph man page
Add the summary and syntax for all the subcommands under the subcommand
"ceph osd pool application" to ceph the manual page.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-10-03 18:50:26 +05:30
Alfredo Deza
40f919850f ceph-volume util.encryption don't push stderr to terminal when cryptsetup fails to find device
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-10-03 08:31:20 -04:00
Alfredo Deza
d31dd95b95 ceph-volume lvm.prepare update help to indicate partitions are needed, not devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-10-03 08:11:58 -04:00
Jason Dillaman
e01c738f1c
Merge pull request #24348 from trociny/wip-config-pool-mirror
rbd-mirror: use pool level config overrides

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-10-03 07:31:52 -04:00
guodan
4a8a25b532 mgr/dashboard: Delete white space beform 'Sign'
Signed-off-by: guodan <guodan1@lenovo.com>
2018-10-03 18:49:26 +08:00
guodan1
cb13373ade mgr/dashboard: Delete the old logout component
Signed-off-by: guodan1 <guodan1@lenovo.com>
2018-10-03 18:36:50 +08:00
guodan1
e60ab33e90 mgr/dashboard: Display logged in user
Signed-off-by: guodan1 <guodan1@lenovo.com>
2018-10-03 18:36:50 +08:00
Patrick Donnelly
d97e479dec
Merge PR #24367 into master
* refs/pull/24367/head:
	doc: Fix typo error on cephfs/fuse/

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-02 17:47:45 -07:00
Patrick Donnelly
5f8ed7e4f8
Merge PR #24362 into master
* refs/pull/24362/head:
	doc: fix broken fstab url in cephfs/fuse

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-02 17:46:05 -07:00
Yuri Weinstein
aa7a7244d8
Merge pull request #24276 from dillaman/wip-36183
osdc/Objecter: possible race condition with connection reset

Reviewed-by: Greg Farnum gfarnum@redhat.com
2018-10-02 15:45:04 -07:00
Yuri Weinstein
790c259e7a
Merge pull request #24262 from cernceph/dvanders_creating
osd: add creating to pg_string_state

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-10-02 15:44:04 -07:00
Yuri Weinstein
31de786d3d
Merge pull request #24304 from tchaikov/wip-monclient-remove-unused-label
mon/MonClient: use scoped_guard instead of goto

Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-10-02 15:41:44 -07:00
Andrew Schoen
117cf5c2d9
Merge pull request #24372 from alfredodeza/wip-rm36247
ceph-volume: skip processing devices that don't exist when scanning system disks

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-10-02 15:46:36 -05:00
Nathan Cutler
b6c13e8ee6 qa/distros: add openSUSE Leap 42.3 and 15.0
References: https://tracker.ceph.com/issues/35927
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-10-02 21:36:49 +02:00
Jason Dillaman
b8302578d9
Merge pull request #24180 from colletj/wip-35914-mmgrconfigure-osd-query
mgr: update MMgrConfigure message to include optional OSD perf queries

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-10-02 15:01:12 -04:00
Julien Collet
7757ddd146 mgr: add optional OSD perf queries to MMgrConfigure message
Fixes: https://tracker.ceph.com/issues/35914
Signed-off-by: Julien Collet <julien.collet@cern.ch>
2018-10-02 14:23:53 -04:00
Alfredo Deza
9b0f472aba ceph-volume util.disk when there are no devices mapped, skip to the next one
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-10-02 11:18:44 -04:00
Alfredo Deza
0176c1965e ceph-volume tests.util verify devices that don't exist don't break get_devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-10-02 11:18:22 -04:00
Tiago Melo
40362a00e2 mgr/dashboard: Add permission validation to the "Purge Trash" button
Added missing permission validations in the RBD Trash endpoints.

Fixes: http://tracker.ceph.com/issues/36272

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-10-02 15:39:35 +01:00
Lenz Grimmer
b36adc93ab
Merge pull request #24349 from ricardoasmarques/wip-ex-message-py3
mgr/dashboard: Exception.message doesn't exist on Python 3

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-10-02 14:32:05 +02:00
Karun Josy
d312cdbd36 doc: Fix typo error on cephfs/fuse/
Fixes: http://tracker.ceph.com/issues/36180
Signed-off-by: Karun Josy <kjosy@redhat.com>
2018-10-02 17:23:54 +05:30
Abhishek L
3596f05b42
Merge pull request #24266 from theanalyst/doc/releases/13.2.2
doc: release notes for 13.2.2 mimic

Reviewed-By: Nathan Cutler <nculter@suse.com>
2018-10-02 10:00:57 +02:00
Ilya Dryomov
ccf5f07a0d
Merge pull request #24354 from idryomov/wip-krbd-kfsx-fancy-striping
qa/suites/krbd: more fsx tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-10-02 09:32:57 +02:00
Jos Collin
18ec0ed5de
doc: fix broken fstab url in cephfs/fuse
Fixes: http://tracker.ceph.com/issues/36286
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-10-02 10:36:55 +05:30
Kefu Chai
7e90989214
Merge pull request #24291 from tchaikov/wip-23964
erasure-code: add clay codes

Reviewed-by: Myna Vajha <mynaramana@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-10-02 10:48:21 +08:00