]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agoosd: remove chunk_map.clear() becuase new chunk_map
myoungwon oh [Wed, 2 Dec 2020 03:06:57 +0000 (12:06 +0900)]
osd: remove chunk_map.clear() becuase new chunk_map
     will be overwritten entirely

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: do not reply EAGAIN if get_lock_type() is false
myoungwon oh [Wed, 2 Dec 2020 02:51:10 +0000 (11:51 +0900)]
osd: do not reply EAGAIN if get_lock_type() is false

This will be retried later

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: correct the if case to handle exceptional case
myoungwon oh [Wed, 2 Dec 2020 02:48:37 +0000 (11:48 +0900)]
osd: correct the if case to handle exceptional case

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: move setting callback and manifest_ops to caller
myoungwon oh [Wed, 2 Dec 2020 02:20:18 +0000 (11:20 +0900)]
osd: move setting callback and manifest_ops to caller

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: fix memory leak in C_SetManifestRefCountDone
myoungwon oh [Wed, 2 Dec 2020 00:52:30 +0000 (09:52 +0900)]
osd: fix memory leak in C_SetManifestRefCountDone

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: remove unused bufferlist
myoungwon oh [Mon, 30 Nov 2020 22:57:31 +0000 (07:57 +0900)]
osd: remove unused bufferlist

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd,test: remove cdc_window_size entirely
myoungwon oh [Thu, 19 Nov 2020 08:46:05 +0000 (17:46 +0900)]
osd,test: remove cdc_window_size entirely

To avoid miscalculation caused by boundary mismatch,
we prefer to read whole object.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agotest: adjust DedupFlushRead and add a scenario
myoungwon oh [Wed, 18 Nov 2020 06:41:32 +0000 (15:41 +0900)]
test: adjust DedupFlushRead and add a scenario

add a scenario--object size > window size > chunk size

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: combine two ifs
myoungwon oh [Wed, 18 Nov 2020 06:40:51 +0000 (15:40 +0900)]
osd: combine two ifs

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: move create_or_get_ref to refcount_manifest()
myoungwon oh [Tue, 17 Nov 2020 09:11:24 +0000 (18:11 +0900)]
osd: move create_or_get_ref to refcount_manifest()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: make start_dedup() and do_cdc() simple with removing unnecessary copy
myoungwon oh [Tue, 17 Nov 2020 04:41:58 +0000 (13:41 +0900)]
osd: make start_dedup() and do_cdc() simple with removing unnecessary copy

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: fix comment, declaration
myoungwon oh [Sat, 7 Nov 2020 01:07:04 +0000 (10:07 +0900)]
osd: fix comment, declaration

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: remove unnecesssary if{}, and make simple using
myoungwon oh [Sat, 7 Nov 2020 00:57:51 +0000 (09:57 +0900)]
osd: remove unnecesssary if{}, and make simple using
calc_refs_to_inc_on_set()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: return EINVAL instead of 0 if fingerprint is not set
myoungwon oh [Sat, 7 Nov 2020 00:55:13 +0000 (09:55 +0900)]
osd: return EINVAL instead of 0 if fingerprint is not set

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: add comment to explain why EC pool is disallowed
myoungwon oh [Fri, 6 Nov 2020 10:36:39 +0000 (19:36 +0900)]
osd: add comment to explain why EC pool is disallowed

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agotest: correct error and add checking refcount in ManifestFlushDupCount
myoungwon oh [Fri, 6 Nov 2020 09:59:01 +0000 (18:59 +0900)]
test: correct error and add checking refcount in ManifestFlushDupCount

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: fix reference counting during tier_flush
myoungwon oh [Fri, 6 Nov 2020 09:52:53 +0000 (18:52 +0900)]
osd: fix reference counting during tier_flush

When dealing with reference on manifest object including snapshot,
consider increment/decrement refcount between old and new chunk_map.
See the comment in this commit.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: return 0 early if fingerprint algorithm is not set
myoungwon oh [Fri, 6 Nov 2020 03:39:14 +0000 (12:39 +0900)]
osd: return 0 early if fingerprint algorithm is not set

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agotest: add a test to confirm that proper error is return if tier_flush fails
myoungwon oh [Fri, 6 Nov 2020 03:30:03 +0000 (12:30 +0900)]
test: add a test to confirm that proper error is return if tier_flush fails

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: fix error handlding if flush fails
myoungwon oh [Fri, 6 Nov 2020 03:28:51 +0000 (12:28 +0900)]
osd: fix error handlding if flush fails

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: fix initialization for C_SetDedupChunks
myoungwon oh [Fri, 6 Nov 2020 00:28:12 +0000 (09:28 +0900)]
osd: fix initialization for C_SetDedupChunks

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agotest: add a duplicated count test when tier_flush() is called
myoungwon oh [Sat, 31 Oct 2020 12:30:59 +0000 (21:30 +0900)]
test: add a duplicated count test when tier_flush() is called

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: send decrement message to only target chunks (not all chunks)
myoungwon oh [Sat, 31 Oct 2020 12:25:47 +0000 (21:25 +0900)]
osd: send decrement message to only target chunks (not all chunks)

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: do not increment refcount if a previous snapshot have a same chunk
myoungwon oh [Sat, 31 Oct 2020 12:23:06 +0000 (21:23 +0900)]
osd: do not increment refcount if a previous snapshot have a same chunk

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: return 0 immediately if the object is evicted
myoungwon oh [Sat, 31 Oct 2020 08:38:27 +0000 (17:38 +0900)]
osd: return 0 immediately if the object is evicted

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: return an error earlier in start_flush() if non-blocking is enabled
myoungwon oh [Sat, 31 Oct 2020 08:19:43 +0000 (17:19 +0900)]
osd: return an error earlier in start_flush() if non-blocking is enabled

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: return zero if there is no entry to dedup
myoungwon oh [Sat, 31 Oct 2020 08:01:50 +0000 (17:01 +0900)]
osd: return zero if there is no entry to dedup

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: check completion state and rework finish_set_dedup
myoungwon oh [Sat, 31 Oct 2020 07:16:20 +0000 (16:16 +0900)]
osd: check completion state and rework finish_set_dedup

make finish_set_dedup() to handle all error or success cases

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: remove unnecessary argument in finish_set_dedup
myoungwon oh [Sat, 31 Oct 2020 06:56:45 +0000 (15:56 +0900)]
osd: remove unnecessary argument in finish_set_dedup

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: return error imediately if last_peering_reset != pg->get_last_peering_reset
myoungwon oh [Sat, 31 Oct 2020 06:04:30 +0000 (15:04 +0900)]
osd: return error imediately if last_peering_reset != pg->get_last_peering_reset

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: fix uninitialized value
myoungwon oh [Sat, 31 Oct 2020 05:54:53 +0000 (14:54 +0900)]
osd: fix uninitialized value

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agomon: add error check and a comment to explain why interr.clear() is needed
myoungwon oh [Sat, 31 Oct 2020 05:48:45 +0000 (14:48 +0900)]
mon: add error check and a comment to explain why interr.clear() is needed

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd, test: do not allow ec pool to be set as a base tier in dedup
myoungwon oh [Sat, 31 Oct 2020 05:46:03 +0000 (14:46 +0900)]
osd, test: do not allow ec pool to be set as a base tier in dedup

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agotest: add tier_flush tests
myoungwon oh [Fri, 9 Oct 2020 14:57:22 +0000 (23:57 +0900)]
test: add tier_flush tests

1. Flush and read data
2. Flush snapshotted object

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd: add tier_flush for dedup
myoungwon oh [Mon, 5 Oct 2020 12:28:23 +0000 (21:28 +0900)]
osd: add tier_flush for dedup

As described in TODO, tier_flush triggers running CDC, then
increases reference count after CDC

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoosd, mon : add dedup options
myoungwon oh [Mon, 5 Oct 2020 08:12:27 +0000 (17:12 +0900)]
osd, mon : add dedup options

add dedup_tier, dedup_chunk_algorithm, dedup_cdc_window_size
and dedup_cdc_chunk_size.

dedup_tier: a pool where chunks are stored.
dedup_chunk_algorithm: chunking algorithm.
dedup_cdc_window_size: the maximum data size to run CDC.
 Dedup process reads amount of dedup_cdc_window_size,
 then calculate chunks by using CDC.
dedup_cdc_chunk_size: chunk size for CDC.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
4 years agoMerge pull request #36979 from tspmelo/wip-npm-update-20-8
Lenz Grimmer [Fri, 9 Oct 2020 13:56:00 +0000 (15:56 +0200)]
Merge pull request #36979 from tspmelo/wip-npm-update-20-8

mgr/dashboard: Update npm packages

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
4 years agoMerge pull request #37449 from ceph/47676-zone-empty-realm-id
Lenz Grimmer [Fri, 9 Oct 2020 12:32:10 +0000 (14:32 +0200)]
Merge pull request #37449 from ceph/47676-zone-empty-realm-id

mgr/dashboard: get rgw daemon zonegroup name from mgr

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
4 years agoMerge pull request #37375 from ceph/47615-fix-endpoint-responses
Lenz Grimmer [Fri, 9 Oct 2020 11:43:52 +0000 (13:43 +0200)]
Merge pull request #37375 from ceph/47615-fix-endpoint-responses

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #37064 from bk201/wip-47372
Lenz Grimmer [Fri, 9 Oct 2020 11:42:30 +0000 (13:42 +0200)]
Merge pull request #37064 from bk201/wip-47372

mgr/dashboard: fix error when typing existing paths in the Ganesha form

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
4 years agoMerge pull request #37596 from rhcs-dashboard/telemetry_link_cleanup
Lenz Grimmer [Fri, 9 Oct 2020 11:40:32 +0000 (13:40 +0200)]
Merge pull request #37596 from rhcs-dashboard/telemetry_link_cleanup

mgr/dashboard: Improve HTML formatting of the telemetry report preview

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agomgr/dashboard: Update npm packages 36979/head
Tiago Melo [Mon, 24 Aug 2020 13:47:37 +0000 (13:47 +0000)]
mgr/dashboard: Update npm packages

Angular 10.1 includes extraction of TS translations,
so @locl/cli is no longer needed.

Updating Angular automatically removed the usage of base tsconfig.

Downgraded css-loader to be able to use css modules.

angular-tree-component has been deprecated and
replaced by @circlon/angular-tree-component

Fixes: https://tracker.ceph.com/issues/47289
Signed-off-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge PR #32778 into master
Jan Fajerski [Fri, 9 Oct 2020 09:22:01 +0000 (11:22 +0200)]
Merge PR #32778 into master

* refs/pull/32778/head:
msg: Use sockets instead of pipes for wakeup events on win32
common: Convert remote errors on win32
common,msg: Initialize Windows WSA and TLS
common,os,kv: Define aligned_free
common: avoid CLOCK_*_COARSE warnings on win32
global: Windows support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge PR #36554 into master
Patrick Donnelly [Thu, 8 Oct 2020 20:25:15 +0000 (13:25 -0700)]
Merge PR #36554 into master

* refs/pull/36554/head:
mgr/volumes: Make number of cloner threads configurable

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Shyamsundar R <srangana@redhat.com>
4 years agoMerge PR #36457 into master
Patrick Donnelly [Thu, 8 Oct 2020 20:23:34 +0000 (13:23 -0700)]
Merge PR #36457 into master

* refs/pull/36457/head:
qa/tasks/cephfs: fix fs authorize cmd args
mds: add root_squash mode in MDS auth caps
vstart_runner: add write_file and sudo_write_file

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36556 into master
Patrick Donnelly [Thu, 8 Oct 2020 19:43:39 +0000 (12:43 -0700)]
Merge PR #36556 into master

* refs/pull/36556/head:
doc: cephfs mirroring design document

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #37483 from dzafman/wip-46405
Neha Ojha [Thu, 8 Oct 2020 18:44:00 +0000 (11:44 -0700)]
Merge pull request #37483 from dzafman/wip-46405

osd/osd-rep-recov-eio.sh: TEST_rados_repair_warning:  return 1

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #37500 from ricardoasmarques/fix-bootstrap-container-init
Nathan Cutler [Thu, 8 Oct 2020 18:04:02 +0000 (20:04 +0200)]
Merge pull request #37500 from ricardoasmarques/fix-bootstrap-container-init

cephadm: Fix error setting 'mgr/cephadm/container_init' config

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #37582 from ivancich/wip-fix-bucket-list-namespace
J. Eric Ivancich [Thu, 8 Oct 2020 17:01:36 +0000 (13:01 -0400)]
Merge pull request #37582 from ivancich/wip-fix-bucket-list-namespace

rgw: fix setting of namespace in ordered and unordered bucket listing

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge pull request #37572 from ivancich/wip-orphan-list-namespace-locator
J. Eric Ivancich [Thu, 8 Oct 2020 17:00:51 +0000 (13:00 -0400)]
Merge pull request #37572 from ivancich/wip-orphan-list-namespace-locator

rgw: allow rgw-orphan-list to note when rados objects are in namespace

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
4 years agoMerge pull request #37511 from ivancich/wip-paginate-rgw-bucket-list
J. Eric Ivancich [Thu, 8 Oct 2020 16:59:55 +0000 (12:59 -0400)]
Merge pull request #37511 from ivancich/wip-paginate-rgw-bucket-list

rgw: radosgw-admin should paginate internally when listing bucket

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
4 years agomgr/dashboard: Improve HTML formatting of the telemetry report preview 37596/head
Nizamudeen A [Thu, 8 Oct 2020 11:50:34 +0000 (17:20 +0530)]
mgr/dashboard: Improve HTML formatting of the telemetry report preview

Convert the string "Community Data License Agreement - Sharing - Version 1.0" to a clickable link

Fixes: https://tracker.ceph.com/issues/47790
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #37584 from rhcs-dashboard/report-preview-helper
Lenz Grimmer [Thu, 8 Oct 2020 11:15:58 +0000 (13:15 +0200)]
Merge pull request #37584 from rhcs-dashboard/report-preview-helper

mgr/dashboard: Add short descriptions to the telemetry report preview

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge PR #37591 into master
Jan Fajerski [Thu, 8 Oct 2020 09:52:56 +0000 (11:52 +0200)]
Merge PR #37591 into master

* refs/pull/37591/head:
ceph-volume: don't exit before empty report can be printed

Reviewed-by: Joshua Schmid <jschmid@suse.de>
4 years agodoc: cephfs mirroring design document 36556/head
Venky Shankar [Mon, 28 Sep 2020 11:41:59 +0000 (17:11 +0530)]
doc: cephfs mirroring design document

Signed-off-by: Venky Shankar <vshankar@redhat.com>
4 years agoceph-volume: don't exit before empty report can be printed 37591/head
Jan Fajerski [Thu, 8 Oct 2020 06:45:26 +0000 (08:45 +0200)]
ceph-volume: don't exit before empty report can be printed

get_plan() called exit in case of an empty plan. This prevented a report
being printed under these circumstances. Avoid exit in this case. Also
adds tests to ensure an empty report is printed.

Fixes: https://tracker.ceph.com/issues/47760
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
4 years agoMerge pull request #37561 from tchaikov/wip-cmake-node-mirror
Kefu Chai [Thu, 8 Oct 2020 06:50:30 +0000 (14:50 +0800)]
Merge pull request #37561 from tchaikov/wip-cmake-node-mirror

cmake: support Node.js and npm registry mirror

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #37570 from ceph/wip-install-ceph-deploy
Josh Durgin [Thu, 8 Oct 2020 00:56:22 +0000 (17:56 -0700)]
Merge pull request #37570 from ceph/wip-install-ceph-deploy

doc: add a link to ceph-deploy document

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge PR #37446 into master
Patrick Donnelly [Wed, 7 Oct 2020 20:35:18 +0000 (13:35 -0700)]
Merge PR #37446 into master

* refs/pull/37446/head:
mds: remove dead mdsmap broadcast code

Reviewed-by: Jos Collin <jcollin@redhat.com>
4 years agoMerge PR #37497 into master
Patrick Donnelly [Wed, 7 Oct 2020 19:39:04 +0000 (12:39 -0700)]
Merge PR #37497 into master

* refs/pull/37497/head:
client,mds: Drop execute permission bits

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37571 into master
Patrick Donnelly [Wed, 7 Oct 2020 19:38:04 +0000 (12:38 -0700)]
Merge PR #37571 into master

* refs/pull/37571/head:
qa/tasks/cephfs/nfs: Check ganesha daemon status after restarting mgr

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #37579 into master
Patrick Donnelly [Wed, 7 Oct 2020 19:29:03 +0000 (12:29 -0700)]
Merge PR #37579 into master

* refs/pull/37579/head:
SubmittingPatches: use "doc" prefix in title of doc-only commits

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agomgr/dashboard: Add short descriptions to the telemetry report preview 37584/head
Nizamudeen A [Wed, 7 Oct 2020 17:21:10 +0000 (22:51 +0530)]
mgr/dashboard: Add short descriptions to the telemetry report preview

A small info icon with a popover on the telemetry report preview form step2 for
Report ID and Report Preview.

Report ID: "A randomized UUID to identify a particular cluster over the course of several telemetry reports."
Report preview: "The actual telemetry data that will be submitted."

Fixes: https://tracker.ceph.com/issues/47610
Signed-off-by: Nizamudeen A <nia@redhat.com>
4 years agorgw: fix setting of namespace in ordered and unordered bucket listing 37582/head
J. Eric Ivancich [Tue, 6 Oct 2020 16:42:22 +0000 (12:42 -0400)]
rgw: fix setting of namespace in ordered and unordered bucket listing

The namespace is not always set correctly during bucket listing. This
can, for example, cause the listing of incomplete multipart uploads,
which are in the _multipart_ namespace, to not paginate correctly, and
cause entries to be re-listed.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
4 years agoMerge PR #37577 into master
Jan Fajerski [Wed, 7 Oct 2020 13:19:54 +0000 (15:19 +0200)]
Merge PR #37577 into master

* refs/pull/37577/head:
PendingReleaseNotes: add note about batch refactor

Reviewed-by: Nathan Cutler <ncutler@suse.com>
4 years agorgw: allow rgw-orphan-list to note when rados objects are in namespace 37572/head
J. Eric Ivancich [Tue, 6 Oct 2020 19:21:02 +0000 (15:21 -0400)]
rgw: allow rgw-orphan-list to note when rados objects are in namespace

Currently namespaces and locators are ignored when `rados ls` is run
by rgw-orphan-list to record RADOS's known objects.

However there have been cases where RADOS objects have a locator, and
when one is included in the listing, the script does not handle it
correctly. Now when objects have locators, we will prevent their
output from entering the .intermediate file.

Additionally we do not expect RGW data objects to be in RADOS
namespaces, so when a namespaced object is detected, we'll error out
with a message.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
4 years agoPendingReleaseNotes: add note about batch refactor 37577/head
Jan Fajerski [Wed, 7 Oct 2020 07:45:42 +0000 (09:45 +0200)]
PendingReleaseNotes: add note about batch refactor

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
4 years agoSubmittingPatches: use "doc" prefix in title of doc-only commits 37579/head
Kefu Chai [Wed, 7 Oct 2020 09:43:57 +0000 (17:43 +0800)]
SubmittingPatches: use "doc" prefix in title of doc-only commits

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37498 from jan--f/cadm-new-batch-report
Joshua Schmid [Wed, 7 Oct 2020 07:56:10 +0000 (09:56 +0200)]
Merge pull request #37498 from jan--f/cadm-new-batch-report

pybind/mgr/orchestrator: fix preview for new c-v batch output

4 years agoMerge pull request #37556 from dillaman/wip-rbd-status
Mykola Golub [Wed, 7 Oct 2020 07:42:04 +0000 (10:42 +0300)]
Merge pull request #37556 from dillaman/wip-rbd-status

rbd: cleanup code and output formatting in status action

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #37521 from jschmid1/remove_orch_osd_spec_mention
Joshua Schmid [Wed, 7 Oct 2020 07:37:42 +0000 (09:37 +0200)]
Merge pull request #37521 from jschmid1/remove_orch_osd_spec_mention

docs: <orch osd spec> is no longer present

4 years agoMerge pull request #37574 from tchaikov/wip-crimson-doc
Kefu Chai [Wed, 7 Oct 2020 05:45:35 +0000 (13:45 +0800)]
Merge pull request #37574 from tchaikov/wip-crimson-doc

doc/crimson: cleanups

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
4 years agodoc/crimson/poseidonstore: reformat 37574/head
Kefu Chai [Wed, 7 Oct 2020 03:43:54 +0000 (11:43 +0800)]
doc/crimson/poseidonstore: reformat

to render it as expected

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: move dev/crimson.rst into dev/crimson/
Kefu Chai [Wed, 7 Oct 2020 03:34:54 +0000 (11:34 +0800)]
doc: move dev/crimson.rst into dev/crimson/

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36343 from myoungwon/wip-doc-poseidon-store
Samuel Just [Wed, 7 Oct 2020 00:28:43 +0000 (17:28 -0700)]
Merge pull request #36343 from myoungwon/wip-doc-poseidon-store

doc: introduce PoseidonStore

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agomgr/dashboard: get rgw daemon zonegroup name from mgr 37449/head
Alfonso Martínez [Tue, 29 Sep 2020 14:37:01 +0000 (16:37 +0200)]
mgr/dashboard: get rgw daemon zonegroup name from mgr

Fixes: https://tracker.ceph.com/issues/47676
Signed-off-by: Alfonso Martinez <almartin@redhat.com>
4 years agoMerge pull request #37567 from liewegas/wip-stable-mod
Josh Durgin [Tue, 6 Oct 2020 18:54:04 +0000 (11:54 -0700)]
Merge pull request #37567 from liewegas/wip-stable-mod

include: ceph_stable_mod in public domain

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoqa/tasks/cephfs/nfs: Check ganesha daemon status after restarting mgr 37571/head
Varsha Rao [Tue, 6 Oct 2020 05:59:40 +0000 (11:29 +0530)]
qa/tasks/cephfs/nfs: Check ganesha daemon status after restarting mgr

Fixes: https://tracker.ceph.com/issues/47591
Signed-off-by: Varsha Rao <varao@redhat.com>
4 years agodoc: add a link to ceph-deploy document 37570/head
Kefu Chai [Tue, 6 Oct 2020 16:20:58 +0000 (00:20 +0800)]
doc: add a link to ceph-deploy document

4 years agoMerge pull request #37565 from tchaikov/wip-crimson-cleanup
Kefu Chai [Tue, 6 Oct 2020 15:21:51 +0000 (23:21 +0800)]
Merge pull request #37565 from tchaikov/wip-crimson-cleanup

crimson: do not capture unused variables

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
4 years agocrimson/os: mark class with "final" dtor "final" 37565/head
Kefu Chai [Tue, 6 Oct 2020 11:09:18 +0000 (19:09 +0800)]
crimson/os: mark class with "final" dtor "final"

to silence warning like

scheduler.cc:145:30: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
  ~ClassedOpQueueScheduler() final {};
                             ^
/home/jenkins-build/build/workspace/ceph-perf-crimson/ceph-pr/src/crimson/osd/scheduler/scheduler.cc:52:7: note: mark 'ClassedOpQueueScheduler<T>' as 'final' to silence this warning
class ClassedOpQueueScheduler : public Scheduler {
      ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/os: mark dtor of interface class "virtual"
Kefu Chai [Tue, 6 Oct 2020 11:03:38 +0000 (19:03 +0800)]
crimson/os: mark dtor of interface class "virtual"

we use a smart_ptr in Seastore to manage the life cycle of
`TransactionManager` which is in turn a subclass
`ExtentCallbackInterface`, so should declare the dtor of latter as
virtual.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agorbd: cleanup code and output formatting in status action 37556/head
Jason Dillaman [Mon, 5 Oct 2020 20:08:38 +0000 (16:08 -0400)]
rbd: cleanup code and output formatting in status action

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoinclude: ceph_stable_mod in public domain 37567/head
Sage Weil [Tue, 6 Oct 2020 13:30:08 +0000 (08:30 -0500)]
include: ceph_stable_mod in public domain

Signed-off-by: Sage Weil <sage@newdream.net>
4 years agoMerge pull request #37395 from tchaikov/wip-doc-crimson
Kefu Chai [Tue, 6 Oct 2020 11:15:34 +0000 (19:15 +0800)]
Merge pull request #37395 from tchaikov/wip-doc-crimson

doc/dev/crimson: add instruction on running install-deps.sh for build…

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson: do not capture unused variables
Kefu Chai [Tue, 6 Oct 2020 10:58:20 +0000 (18:58 +0800)]
crimson: do not capture unused variables

also silence warnings like:

Signe-off-by: Kefu Chai <kchai@redhat.cop_btree_node.h:103:36: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
                                  [this, ec, len, &extents] (auto i) {
                                   ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoseastar: pick up document fixes 37395/head
Kefu Chai [Tue, 6 Oct 2020 09:43:56 +0000 (17:43 +0800)]
seastar: pick up document fixes

pick up changes to address the split script failure with HTML generated
with the latest pandoc.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/dev/crimson: add links to seastar documents
Kefu Chai [Thu, 24 Sep 2020 16:37:16 +0000 (00:37 +0800)]
doc/dev/crimson: add links to seastar documents

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37523 from Exotelis/wip-42404
Lenz Grimmer [Tue, 6 Oct 2020 09:11:49 +0000 (11:11 +0200)]
Merge pull request #37523 from Exotelis/wip-42404

mgr/dashboard: Show warning when replicated size is 1

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agodoc/dev/crimson: add instruction on running install-deps.sh for building crimson
Kefu Chai [Thu, 24 Sep 2020 14:52:43 +0000 (22:52 +0800)]
doc/dev/crimson: add instruction on running install-deps.sh for building crimson

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: introduce Poseidon store 36343/head
myoungwon oh [Thu, 23 Jul 2020 08:12:07 +0000 (17:12 +0900)]
doc: introduce Poseidon store

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Signed-off-by: Jiwoong Park <jw12.park@samsung.com>
Signed-off-by: Kyuho Son <kyuho.son@samsung.com>
Signed-off-by: Sungkyu Park <sk921.park@samsung.com>
4 years agomgr/dashboard: api doc: fix endpoint responses doc generation. 37375/head
Alfonso Martínez [Tue, 6 Oct 2020 07:10:13 +0000 (09:10 +0200)]
mgr/dashboard: api doc: fix endpoint responses doc generation.

Fixes: https://tracker.ceph.com/issues/47615
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
4 years agocmake: read $NPM_REGISTRY for npm registry mirror 37561/head
Kefu Chai [Tue, 6 Oct 2020 06:58:55 +0000 (14:58 +0800)]
cmake: read $NPM_REGISTRY for npm registry mirror

in case the offical npm registry is slow or unreachable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: extract add_npm_options()
Kefu Chai [Tue, 6 Oct 2020 06:14:07 +0000 (14:14 +0800)]
cmake: extract add_npm_options()

for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocmake: read $NODE_MIRROR for Node.js mirror
Kefu Chai [Tue, 6 Oct 2020 05:37:39 +0000 (13:37 +0800)]
cmake: read $NODE_MIRROR for Node.js mirror

in case the offical Node.js https://nodejs.org/dist/ is slow or
unreachable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37134 from myoungwon/wip-tier-evict
Samuel Just [Tue, 6 Oct 2020 06:06:21 +0000 (23:06 -0700)]
Merge pull request #37134 from myoungwon/wip-tier-evict

osd: add tier_evict

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agomgr/dashboard: fix error when typing existing paths in the Ganesha form 37064/head
Kiefer Chang [Wed, 9 Sep 2020 08:20:32 +0000 (16:20 +0800)]
mgr/dashboard: fix error when typing existing paths in the Ganesha form

- The `CephFS.ls_dir()` implementation in the backend had changed, the code in the
  UI endpoint `/ui-api/nfs-ganesha/lsdir` needs to adapt.
- Add fs_name as resource_id in `/ui-api/nfs-ganesha/lsdir/<fs_name>` to distinguish FS.
- Add more checks and unit tests.

Fixes: https://tracker.ceph.com/issues/47372
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
4 years agoMerge pull request #37189 from orozery/striper-assemble-multiple-extents
Jason Dillaman [Mon, 5 Oct 2020 22:51:29 +0000 (18:51 -0400)]
Merge pull request #37189 from orozery/striper-assemble-multiple-extents

librbd: support assembling results of multiple object extents

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37509 from lixiaoy1/fix_rwl
Jason Dillaman [Mon, 5 Oct 2020 20:19:20 +0000 (16:19 -0400)]
Merge pull request #37509 from lixiaoy1/fix_rwl

rbd/tools: fix rwl related names

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agorbd/tools: fix rwl related names 37509/head
lixiaoy1 [Thu, 1 Oct 2020 20:32:28 +0000 (16:32 -0400)]
rbd/tools: fix rwl related names

These attributes have been renamed.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>