]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agocls/cas/cls_cas_internal: add chunk_refs_t operator=, copy ctor wip-cas
Sage Weil [Tue, 26 May 2020 14:48:28 +0000 (09:48 -0500)]
cls/cas/cls_cas_internal: add chunk_refs_t operator=, copy ctor

For ceph-dencoder's benefit

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls_cas: improve dynamic_encode accuracy a bit
Sage Weil [Fri, 22 May 2020 15:21:26 +0000 (10:21 -0500)]
cls_cas: improve dynamic_encode accuracy a bit

- no default arg
- account for extra padding
- adjust test to target 512 bytes, which sounds reasonable?

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls_cas: chunk_obj_refcount -> chunk_refs_t
Sage Weil [Thu, 21 May 2020 20:11:57 +0000 (15:11 -0500)]
cls_cas: chunk_obj_refcount -> chunk_refs_t

Adjusted attr name too (chunk_refcount -> chunk_refs).

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls/cas/cls_cas_internal: dynamically drop precision for refs_by_hash
Sage Weil [Thu, 21 May 2020 20:07:00 +0000 (15:07 -0500)]
cls/cas/cls_cas_internal: dynamically drop precision for refs_by_hash

Enable reduced precision via shrink().

Update test to
- verify encode/decode are consistent
- adjust pool id at the right times so that we get coverage of all
  encoding types.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls/cas/cls_cas_internal: varint for refs_by_hash
Sage Weil [Thu, 21 May 2020 19:12:30 +0000 (14:12 -0500)]
cls/cas/cls_cas_internal: varint for refs_by_hash

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph_test_cls_cas: vary pool in chunk_obj_refcount test
Sage Weil [Thu, 21 May 2020 19:09:57 +0000 (14:09 -0500)]
ceph_test_cls_cas: vary pool in chunk_obj_refcount test

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls/cas/cls_cas_internal: use denc for refs_by_pool
Sage Weil [Thu, 21 May 2020 19:06:02 +0000 (14:06 -0500)]
cls/cas/cls_cas_internal: use denc for refs_by_pool

varint it helpful here

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls/cas/cls_cas_internal: use DENC for refs_by_hash
Sage Weil [Thu, 21 May 2020 18:54:35 +0000 (13:54 -0500)]
cls/cas/cls_cas_internal: use DENC for refs_by_hash

In order to make the refs_t subtypes coexist with different encoding
schemes, I had to move things into the .cc file (probably better anyway)
and make them standalone classes (not subclasses).

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: fix scrub
Sage Weil [Thu, 21 May 2020 17:09:15 +0000 (12:09 -0500)]
ceph-dedup-tool: fix scrub

This is less comprehensive: it only detects errors, and only sometimes,
because the ref representation may not enumerate objects explicitly.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls_cas: 0 on dup get of same ref
Sage Weil [Thu, 21 May 2020 17:07:08 +0000 (12:07 -0500)]
cls_cas: 0 on dup get of same ref

1- This makes the state reconverge if

 A takes ref
 A drops ref (but request is lost)
 A retakes ref

The alternative would mean handling in all of the get_ref callers to
handle EEXIST.  Instead, they must ensure they reference hobject_t is
truly unique.

2- Fixes the dedup scrub test, which does a manifest promote (but doesn't
drop ref) and then triggers a flush (which would fail/loop due to EEXIST).

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls_cas: dynamically adjust resolution of chunk_obj_refcount
Sage Weil [Wed, 20 May 2020 19:26:50 +0000 (14:26 -0500)]
cls_cas: dynamically adjust resolution of chunk_obj_refcount

Most objects will have few refs, but some will have many.  Retain as much
information about references as we can for both cases, without exploding
the size of encoded refs.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph_test_cls_cas: fix warning
Sage Weil [Wed, 20 May 2020 19:08:22 +0000 (14:08 -0500)]
ceph_test_cls_cas: fix warning

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls_cas: remove ops that expose internal ref representation
Sage Weil [Wed, 20 May 2020 18:50:47 +0000 (13:50 -0500)]
cls_cas: remove ops that expose internal ref representation

The internal representation may change, and we've dropped all the users.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: disable chunk scrub
Sage Weil [Wed, 20 May 2020 18:49:27 +0000 (13:49 -0500)]
ceph-dedup-tool: disable chunk scrub

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: get-chunk-ref -> dump-chunk-refs
Sage Weil [Wed, 20 May 2020 18:49:14 +0000 (13:49 -0500)]
ceph-dedup-tool: get-chunk-ref -> dump-chunk-refs

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: --add-chunk-ref -> --chunk-get-ref (and -put-ref)
Sage Weil [Wed, 20 May 2020 18:35:05 +0000 (13:35 -0500)]
ceph-dedup-tool: --add-chunk-ref -> --chunk-get-ref (and -put-ref)

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: make --add-chunk-ref use get_ref (not read_refs + set_refs)
Sage Weil [Wed, 20 May 2020 18:31:38 +0000 (13:31 -0500)]
ceph-dedup-tool: make --add-chunk-ref use get_ref (not read_refs + set_refs)

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph_test_rados_api_tier_pp: manipulate refcount attr directly
Sage Weil [Wed, 20 May 2020 18:24:36 +0000 (13:24 -0500)]
ceph_test_rados_api_tier_pp: manipulate refcount attr directly

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls_cas: renames, cleanups
Sage Weil [Mon, 18 May 2020 15:21:12 +0000 (10:21 -0500)]
cls_cas: renames, cleanups

- add write_or_get method
- fix PrimaryPG caller ot use write_or_get
- remove old method it previously called that did weird things
- cls_chunk_refcount_* -> cls_cas_chunk_*
- add _ref suffix for get and put to avoid confusion (get/put could mean
  read/write)
- some comments
- move (internal) refcount representation into separate header

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocls/cas/cls_cas_ops: remove dup type
Sage Weil [Mon, 18 May 2020 14:07:31 +0000 (09:07 -0500)]
cls/cas/cls_cas_ops: remove dup type

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoMerge PR #35267 into master
Patrick Donnelly [Wed, 27 May 2020 15:32:59 +0000 (08:32 -0700)]
Merge PR #35267 into master

* refs/pull/35267/head:
vstart_runner: set mounted to True at the end of mount()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
5 years agoMerge pull request #34974 from dungdm93/patch-1
Kefu Chai [Wed, 27 May 2020 14:00:47 +0000 (22:00 +0800)]
Merge pull request #34974 from dungdm93/patch-1

pybind/ceph_volume_client: Fix PEP-8 SyntaxWarning

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35012 from tchaikov/wip-45147
Kefu Chai [Wed, 27 May 2020 13:59:37 +0000 (21:59 +0800)]
Merge pull request #35012 from tchaikov/wip-45147

qa/tasks/mgr: skip test_diskprediction_local on python>=3.8

Reviewed-by: Yuri Weinstein <yuriw@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #35033 from badone/wip-test-the-right-rocksdb-version
Kefu Chai [Wed, 27 May 2020 13:58:16 +0000 (21:58 +0800)]
Merge pull request #35033 from badone/wip-test-the-right-rocksdb-version

qa/workunits/rados/test_envlibrados_rocksdb: Build correct rocksdb

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35032 from badone/wip-update-rocksdb-to-v6.8.1
Kefu Chai [Wed, 27 May 2020 13:56:49 +0000 (21:56 +0800)]
Merge pull request #35032 from badone/wip-update-rocksdb-to-v6.8.1

rocksdb: Updated to v6.8.1

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
5 years agoMerge pull request #35111 from agayev/hm-smr
Kefu Chai [Wed, 27 May 2020 13:55:50 +0000 (21:55 +0800)]
Merge pull request #35111 from agayev/hm-smr

os/bluestore: Enable writing data to HM-SMR hard drives.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35097 from matthewoliver/cephadm_iscsi_api_user_password
Kefu Chai [Wed, 27 May 2020 13:54:42 +0000 (21:54 +0800)]
Merge pull request #35097 from matthewoliver/cephadm_iscsi_api_user_password

cephadm: Make ceph-iscsi api user and password mandatory

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoMerge pull request #35079 from liewegas/wip-dedup-tool
Kefu Chai [Wed, 27 May 2020 13:52:58 +0000 (21:52 +0800)]
Merge pull request #35079 from liewegas/wip-dedup-tool

ceph-dedup-tool: add new FastCDC chunker, and make estimate test a range of chunk sizes

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
5 years agoMerge pull request #35198 from varshar16/wip-cephadm-module-error
Kefu Chai [Wed, 27 May 2020 13:49:27 +0000 (21:49 +0800)]
Merge pull request #35198 from varshar16/wip-cephadm-module-error

qa/tasks/mgr: Don't disable cephadm module

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #35128 from yuvalif/fix-amqp-urls-with-vhosts
Yuval Lifshitz [Wed, 27 May 2020 13:09:30 +0000 (16:09 +0300)]
Merge pull request #35128 from yuvalif/fix-amqp-urls-with-vhosts

rgw/url: fix amqp urls with vhosts

5 years agocommon/rabin: remove 35079/head
Sage Weil [Thu, 21 May 2020 16:01:24 +0000 (11:01 -0500)]
common/rabin: remove

The implementation is buggy, and slower than FastCDC.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: default to fastcdc
Sage Weil [Thu, 21 May 2020 15:53:46 +0000 (10:53 -0500)]
ceph-dedup-tool: default to fastcdc

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/FastCDC: better behavior if TARGET_WINDOW_BITS==0
Sage Weil [Thu, 21 May 2020 15:36:28 +0000 (10:36 -0500)]
common/FastCDC: better behavior if TARGET_WINDOW_BITS==0

Skip the middle scan call entirely in that case.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/FastCDC: add some comments
Sage Weil [Thu, 21 May 2020 15:03:28 +0000 (10:03 -0500)]
common/FastCDC: add some comments

Map terms back to those in the paper.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/CDC: make calc_chunks const
Sage Weil [Sat, 16 May 2020 15:16:13 +0000 (10:16 -0500)]
common/CDC: make calc_chunks const

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/CDC: take const bufferlist
Sage Weil [Sat, 16 May 2020 15:13:26 +0000 (10:13 -0500)]
common/CDC: take const bufferlist

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/FastCDC: use bufferlist iterator
Sage Weil [Sat, 16 May 2020 15:02:57 +0000 (10:02 -0500)]
common/FastCDC: use bufferlist iterator

More complex, but we avoid a buffer copy/rebuild if it is non-contiguous.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/FastCDC: simplify initial fingerprint calc
Sage Weil [Fri, 15 May 2020 17:06:55 +0000 (12:06 -0500)]
common/FastCDC: simplify initial fingerprint calc

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/FastCDC: refactor scan into a helper
Sage Weil [Fri, 15 May 2020 19:59:01 +0000 (14:59 -0500)]
common/FastCDC: refactor scan into a helper

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agounittest_cdc: generate fragmented buffers
Sage Weil [Sat, 16 May 2020 15:00:29 +0000 (10:00 -0500)]
unittest_cdc: generate fragmented buffers

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agounittest_cdc: add test with a specific chunking result
Sage Weil [Sat, 16 May 2020 14:28:11 +0000 (09:28 -0500)]
unittest_cdc: add test with a specific chunking result

Canary for alg changes

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: show object count explosion too
Sage Weil [Thu, 14 May 2020 20:46:57 +0000 (15:46 -0500)]
ceph-dedup-tool: show object count explosion too

Also show dedup ratio as dedup_size/original_size (1.0 = no dedup,
.9 = 10%, etc.)

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: show estimate progress
Sage Weil [Thu, 14 May 2020 20:11:32 +0000 (15:11 -0500)]
ceph-dedup-tool: show estimate progress

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: test a range of chunk sizes at once
Sage Weil [Thu, 14 May 2020 19:58:20 +0000 (14:58 -0500)]
ceph-dedup-tool: test a range of chunk sizes at once

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: add --max-seconds
Sage Weil [Thu, 14 May 2020 17:20:19 +0000 (12:20 -0500)]
ceph-dedup-tool: add --max-seconds

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: timeout -> report_period
Sage Weil [Thu, 14 May 2020 17:10:41 +0000 (12:10 -0500)]
ceph-dedup-tool: timeout -> report_period

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: use CDC class for chunking
Sage Weil [Thu, 14 May 2020 17:06:46 +0000 (12:06 -0500)]
ceph-dedup-tool: use CDC class for chunking

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: useful error messages
Sage Weil [Wed, 13 May 2020 20:00:20 +0000 (15:00 -0500)]
ceph-dedup-tool: useful error messages

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: EstimateThread -> CrawlerThread
Sage Weil [Wed, 13 May 2020 19:51:19 +0000 (14:51 -0500)]
ceph-dedup-tool: EstimateThread -> CrawlerThread

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: remove rabin-specific options
Sage Weil [Wed, 13 May 2020 19:46:25 +0000 (14:46 -0500)]
ceph-dedup-tool: remove rabin-specific options

We don't want to fiddle with these.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agounittest_cdc: adjust tests a bit
Sage Weil [Thu, 14 May 2020 21:17:54 +0000 (16:17 -0500)]
unittest_cdc: adjust tests a bit

Seed random buffers!

Include average in histogram, and do the binning slightly differently.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/FixedCDC: add 'fixed' chunker
Sage Weil [Wed, 13 May 2020 19:34:26 +0000 (14:34 -0500)]
common/FixedCDC: add 'fixed' chunker

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/FastCDC: initial implementation
Sage Weil [Tue, 12 May 2020 17:34:13 +0000 (12:34 -0500)]
common/FastCDC: initial implementation

Loosely based on the paper, but with a few changes.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/CDC: add abstract interface
Sage Weil [Tue, 12 May 2020 17:33:04 +0000 (12:33 -0500)]
common/CDC: add abstract interface

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: warn on hash collision
Sage Weil [Tue, 12 May 2020 16:53:14 +0000 (11:53 -0500)]
ceph-dedup-tool: warn on hash collision

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agounittest_rabin_chunk: add unit test
Sage Weil [Tue, 12 May 2020 16:53:00 +0000 (11:53 -0500)]
unittest_rabin_chunk: add unit test

This includes a "shift" test that shows that the rabin chunking misbehaves
when 5+ bytes are inserted at the front (many chunk boundaries shift!)

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/rabin: add helper set_target_bits()
Sage Weil [Tue, 12 May 2020 16:51:32 +0000 (11:51 -0500)]
common/rabin: add helper set_target_bits()

Sets key chunking parameters in one easy call.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agocommon/rabin: some cleanups
Sage Weil [Tue, 12 May 2020 16:51:11 +0000 (11:51 -0500)]
common/rabin: some cleanups

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: rename var
Sage Weil [Tue, 12 May 2020 14:56:17 +0000 (09:56 -0500)]
ceph-dedup-tool: rename var

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoceph-dedup-tool: larger default op size
Sage Weil [Tue, 12 May 2020 14:55:45 +0000 (09:55 -0500)]
ceph-dedup-tool: larger default op size

If we don't read the entire object the rabin calculation won't work.  Avoid
this by default by just using a sufficiently large chunk size.

Signed-off-by: Sage Weil <sage@newdream.net>
5 years agoMerge pull request #34902 from p-se/wip-pse-doc-prom-security
Sebastian Wagner [Wed, 27 May 2020 10:22:44 +0000 (12:22 +0200)]
Merge pull request #34902 from p-se/wip-pse-doc-prom-security

mgr/dashboard: document Prometheus' security model

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agovstart_runner: set mounted to True at the end of mount() 35267/head
Rishabh Dave [Wed, 27 May 2020 09:15:59 +0000 (14:45 +0530)]
vstart_runner: set mounted to True at the end of mount()

Not doing so prevents cleanup methods from running.

Fixes: https://tracker.ceph.com/issues/45723
Signed-off-by: Rishabh Dave <ridave@redhat.com>
5 years agoMerge pull request #34863 from rhcs-dashboard/45310-add-grafana-rgw-sync-info
Lenz Grimmer [Wed, 27 May 2020 08:01:28 +0000 (10:01 +0200)]
Merge pull request #34863 from rhcs-dashboard/45310-add-grafana-rgw-sync-info

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #34321 from jan--f/c-v-manage-lv_tags-bulk
Jan Fajerski [Wed, 27 May 2020 07:43:56 +0000 (09:43 +0200)]
Merge pull request #34321 from jan--f/c-v-manage-lv_tags-bulk

ceph-volume: add and delete lvm tags in a single lvchange call.

5 years agoMerge pull request #35235 from sebastian-philipp/qa-cephadm-mirror wip-rgw-sts
Sebastian Wagner [Tue, 26 May 2020 17:17:46 +0000 (19:17 +0200)]
Merge pull request #35235 from sebastian-philipp/qa-cephadm-mirror

qa/cephadm: Add local dockerhub mirror

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
5 years agoMerge pull request #34931 from trociny/wip-45072-2
Jason Dillaman [Tue, 26 May 2020 16:46:11 +0000 (12:46 -0400)]
Merge pull request #34931 from trociny/wip-45072-2

rbd-mirror: wait for in-flight start/stop/restart

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35245 from ivancich/wip-remove-unused-func
Casey Bodley [Tue, 26 May 2020 16:13:39 +0000 (12:13 -0400)]
Merge pull request #35245 from ivancich/wip-remove-unused-func

rgw: remove unused function obj_force_ns

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoqa/cephadm: Add local registry mirror 35235/head
Sebastian Wagner [Mon, 25 May 2020 16:13:50 +0000 (18:13 +0200)]
qa/cephadm: Add local registry mirror

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agorgw: remove unused function obj_force_ns 35245/head
J. Eric Ivancich [Tue, 26 May 2020 15:06:56 +0000 (11:06 -0400)]
rgw: remove unused function obj_force_ns

Removing the function eliminates a compiler warning.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #35089 from trociny/wip-test-quiesce_watch_timeout
Jason Dillaman [Tue, 26 May 2020 15:11:58 +0000 (11:11 -0400)]
Merge pull request #35089 from trociny/wip-test-quiesce_watch_timeout

test/librbd: improve TestLibRBD.QuiesceWatchTimeout

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35209 from wjwithagen/wjw-fix-librbd-CephContext
Jason Dillaman [Tue, 26 May 2020 14:58:49 +0000 (10:58 -0400)]
Merge pull request #35209 from wjwithagen/wjw-fix-librbd-CephContext

librbd: fix compile error with CephContext declaration

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #35228 from changchengx/rwl
Jason Dillaman [Tue, 26 May 2020 14:58:26 +0000 (10:58 -0400)]
Merge pull request #35228 from changchengx/rwl

rbd/rwl: correct m_perfcounter access scope

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #34294 from ishanrai05/copy-button
Lenz Grimmer [Tue, 26 May 2020 14:37:49 +0000 (16:37 +0200)]
Merge pull request #34294 from ishanrai05/copy-button

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #34973 from liewegas/doc-pingan
Sage Weil [Tue, 26 May 2020 14:17:50 +0000 (09:17 -0500)]
Merge pull request #34973 from liewegas/doc-pingan

doc/foundation: PingAn canceled general membership

5 years agoMerge pull request #35172 from yuvalif/add-flags-to-rgw-operate
Casey Bodley [Tue, 26 May 2020 12:02:33 +0000 (08:02 -0400)]
Merge pull request #35172 from yuvalif/add-flags-to-rgw-operate

rgw/tools: add flags to rgw_rados_operate api

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #35200 from rzarzynski/wip-crimson-ertr-assert_all
Kefu Chai [Tue, 26 May 2020 10:01:52 +0000 (18:01 +0800)]
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>
5 years agoMerge pull request #34079 from ishanrai05/login
Lenz Grimmer [Tue, 26 May 2020 09:12:52 +0000 (11:12 +0200)]
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>
5 years agoMerge PR #34507 into master
Patrick Donnelly [Mon, 25 May 2020 18:44:55 +0000 (11:44 -0700)]
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>
5 years agomgr/dashboard: document Prometheus' security model 34902/head
Patrick Seidensal [Tue, 5 May 2020 12:16:36 +0000 (14:16 +0200)]
mgr/dashboard: document Prometheus' security model

Fixes: https://tracker.ceph.com/issues/45377
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agorbd/rwl: correct m_perfcounter access scope 35228/head
Changcheng Liu [Mon, 25 May 2020 08:54:27 +0000 (16:54 +0800)]
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>
5 years agorgw/url: fix commensts from review #34717 35128/head
Yuval Lifshitz [Tue, 19 May 2020 13:29:46 +0000 (16:29 +0300)]
rgw/url: fix commensts from review #34717

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Fixes: https://tracker.ceph.com/issues/45269
5 years agosrc/rgw/rgw_url.cc, also cope with a vhost appended to a AMQP-URL
Andreas Unterkircher [Mon, 20 Apr 2020 08:28:38 +0000 (10:28 +0200)]
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
5 years agocrimson/common: discard_all::operator() returns void now. 35200/head
Radoslaw Zarzynski [Mon, 25 May 2020 12:26:32 +0000 (14:26 +0200)]
crimson/common: discard_all::operator() returns void now.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/os/seastore: switch to crimson::ct_error::assert_all.
Radoslaw Zarzynski [Fri, 22 May 2020 14:00:03 +0000 (16:00 +0200)]
crimson/os/seastore: switch to crimson::ct_error::assert_all.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/common: extend errorator with assert_all{}.
Radoslaw Zarzynski [Thu, 21 May 2020 21:13:21 +0000 (23:13 +0200)]
crimson/common: extend errorator with assert_all{}.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #34953 from s0nea/wip-dashboard-telemetry-url
Lenz Grimmer [Mon, 25 May 2020 11:39:55 +0000 (13:39 +0200)]
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>
5 years agoMerge pull request #35196 from tspmelo/wip-logout
Lenz Grimmer [Mon, 25 May 2020 11:38:28 +0000 (13:38 +0200)]
Merge pull request #35196 from tspmelo/wip-logout

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agoMerge pull request #35129 from smithfarm/wip-fix-PendingReleaseNotes-headings
Nathan Cutler [Mon, 25 May 2020 08:41:30 +0000 (10:41 +0200)]
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>
5 years agodoc/releases/octopus: use fixed-width font for "ceph fs dump" 35129/head
Nathan Cutler [Mon, 25 May 2020 08:39:47 +0000 (10:39 +0200)]
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>
5 years agoMerge pull request #35142 from mgfritch/cephadm-validate-mds-fsname
Sebastian Wagner [Mon, 25 May 2020 07:46:21 +0000 (09:46 +0200)]
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>
5 years agoMerge pull request #34174 from theanalyst/doc/active-releases-oct
Nathan Cutler [Sun, 24 May 2020 20:00:48 +0000 (22:00 +0200)]
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>
5 years agolibrbd: fix compile error with CephContext declaration 35209/head
Willem Jan Withagen [Sat, 23 May 2020 14:19:07 +0000 (14:19 +0000)]
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>
5 years agoMerge pull request #35219 from tchaikov/wip-crimson-cleanups
Kefu Chai [Sun, 24 May 2020 11:06:46 +0000 (19:06 +0800)]
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>
5 years agocrimson/osd: avoid using variadic future 35219/head
Kefu Chai [Sun, 24 May 2020 04:25:38 +0000 (12:25 +0800)]
crimson/osd: avoid using variadic future

see also 3cee25ba41069e9e9b4855f99be20910759440ca

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotest/crimson: use invoke instead of apply
Kefu Chai [Sun, 24 May 2020 04:18:12 +0000 (12:18 +0800)]
test/crimson: use invoke instead of apply

it's an oversight in 33af821baafbb2e9c4ebea2e377db665e210701f

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35204 from tchaikov/wip-tools-cephfs
Kefu Chai [Sun, 24 May 2020 04:12:56 +0000 (12:12 +0800)]
Merge pull request #35204 from tchaikov/wip-tools-cephfs

tools/cephfs/MetaTool: print buffer::error::what()

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
5 years agoMerge pull request #35207 from tchaikov/wip-crimson-remove-vardiadict-future
Kefu Chai [Sat, 23 May 2020 08:50:43 +0000 (16:50 +0800)]
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>
5 years agocrimson/osd: remove redundant std::move() 35207/head
Kefu Chai [Sat, 23 May 2020 08:26:42 +0000 (16:26 +0800)]
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>
5 years agocrimson/osd: avoid using variadic future
Kefu Chai [Sat, 23 May 2020 08:19:19 +0000 (16:19 +0800)]
crimson/osd: avoid using variadic future

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #35205 from Huber-ming/zsm_doc
Kefu Chai [Sat, 23 May 2020 07:01:15 +0000 (15:01 +0800)]
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>