Commit Graph

113188 Commits

Author SHA1 Message Date
Tiago Melo
d3436f068b mgr/dashboard: Use $localize and locl for TS translations
Fixes: https://tracker.ceph.com/issues/45950

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-07-16 16:01:02 +00:00
Kefu Chai
2298dd16b2
Merge pull request #36128 from xxhdx1985126/wip-crimson-fix-osd-shutdown
crimson/osd: fix osd shutdown problem

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-16 23:46:01 +08:00
Kefu Chai
688db8d604
Merge pull request #36142 from tchaikov/wip-crimson-cleanup
crimson: do not capture unused variables

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-16 23:44:47 +08:00
Laura Paduano
62eb03f7b1
Merge pull request #35987 from tspmelo/wip-update-lodash
mgr/dashboard: Fix some npm audit warnings

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-07-16 17:43:43 +02:00
Patrick Donnelly
757ff29229
Merge PR #36138 into master
* refs/pull/36138/head:
	doc/cephfs/nfs: Update about deploying nfs-ganesha with cephadm in vstart

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-16 07:24:16 -07:00
Laura Paduano
0d44516540
Merge pull request #35960 from votdev/issue_46395_required_field_message
mgr/dashboard: Use same required field message accross the UI

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-07-16 16:20:21 +02:00
Casey Bodley
2f2b6aaeae
Merge pull request #35777 from ofriedma/rgw-enoent-cache
rgw: add negative cache to the system object

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-07-16 10:15:24 -04:00
Laura Paduano
212c640565
Merge pull request #36070 from tspmelo/wip-fix-async-unittest
mgr/dashboard: Block the import of async from @angular/core/testing

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-07-16 16:13:21 +02:00
Jason Dillaman
3cb5367bd6
Merge pull request #36113 from trociny/wip-snap-create-error-msg
librbd: fix snapshot create error message

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-07-16 10:03:39 -04:00
Volker Theile
3417f88fcb
Merge pull request #35974 from tspmelo/wip-clean-headers
mgr/dashboard: Clean custom header styles

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-07-16 15:43:11 +02:00
Kefu Chai
1b8cdbee02 crimson: do not capture unused variables
this change silences warnings like:

mson/osd/backfill_state.cc:131:11: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
      [&, this](const pg_log_entry_t& e) {
        ~~^~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-16 20:49:28 +08:00
Mykola Golub
7fb21a25e1
Merge pull request #36099 from dillaman/wip-rbd-nbd-hook
rbd-nbd: quisce hook should be installed to /usr/libexec/...

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-07-16 15:47:37 +03:00
Kefu Chai
38647f70d9
Merge pull request #35605 from ceph/osd-compact-on-start
osd: Add config option to compact OSD's object store on start

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-16 20:19:43 +08:00
Varsha Rao
7f911a710d doc/cephfs/nfs: Update about deploying nfs-ganesha with cephadm in vstart
Fixes: https://tracker.ceph.com/issues/46571
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-07-16 17:06:11 +05:30
zdover23
720fd56133
Merge pull request #36122 from zdover23/wip-doc-rados-redundant-a-typo
doc/rados: remove a redundant "a" from a sentence

This sentence removes an "a" from a sentence, which makes the sentence grammatically correct.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-07-16 21:33:11 +10:00
Tiago Melo
15d1e11bb5 mgr/dashboard: Block the import of async from @angular/core/testing
We no longer need this and it was causing unexpected results in some tests.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-07-16 11:09:02 +00:00
Wido den Hollander
93e4c56ecc osd: Add config option to compact OSD's object store on start
By setting this configuration option an OSD will compact it's
store's OMAP on start.

This way admin's can trigger an offline compaction by setting this
configuration value to 'true' and then restarting the OSD.

This is easier than using tools like 'ceph-kvstore-tool' with requires
more manual work on the CLI and might be more difficult for users.

Signed-off-by: Wido den Hollander <wido@42on.com>
2020-07-16 17:55:36 +08:00
Xuehan Xu
1dc4c0cd69 crimson/osd: fix osd shutdown problem
when doing full-system shutdown, monitors may go down before OSDs in which case
the osd shutdown hangs waiting for monc to successfully send the markmedown msg
to monitors

Fixes: https://tracker.ceph.com/issues/46564
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
2020-07-16 17:30:48 +08:00
Kefu Chai
8cbf627745
Merge pull request #36103 from dillaman/wip-44311
crush/CrushWrapper: rebuild reverse maps after rebuilding crush map

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2020-07-16 17:22:47 +08:00
Kefu Chai
451937d711
Merge pull request #35768 from rhcs-dashboard/fix-45185-master
mgr/dashboard: fix pool usage calculation

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2020-07-16 17:21:59 +08:00
Kefu Chai
9bb255d1ed
Merge pull request #36095 from orozery/striper_get_file_offset
osdc/Striper: add get_file_offset function

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-07-16 17:19:29 +08:00
Kefu Chai
9e21f4d675
Merge pull request #36091 from tchaikov/wip-46495
mgr/DaemonServer: keep daemon in service map when it has no tasks

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2020-07-16 17:17:49 +08:00
Kefu Chai
552365b575
Merge pull request #36051 from Songweibin/wip-rados-setomapval
tools/rados: add an option "--input-file file" to `setomapval` command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-16 17:13:28 +08:00
Zac Dover
bce4dc2635 doc/rados: remove a redundant "a" from a sentence
This commit changes the (not quite) sentence "Once
you have a deployed a Ceph Storage Cluster, you may
begin operating your cluster." to "Once you have
deployed a Ceph Storage Cluster, you may begin
operating your cluster."

Fixes: https://tracker.ceph.com/issues/46554
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-07-16 18:39:08 +10:00
Kefu Chai
066bcb2476
Merge pull request #35130 from rzarzynski/wip-crimson-backfill
crimson: add support for backfill, part 0

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-16 16:29:29 +08:00
Kefu Chai
49fa970422
Merge pull request #33770 from majianpeng/osd-simple-logger
osd/OSD: simple perfcounter usage in OSDService

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-16 12:29:49 +08:00
myoungwon oh
1dd932a8f5
Merge pull request #35989 from bigwhite37/fix-dedup-tool-unused-var-warn
tools/ceph_dedup_tool: fix unused variable warning

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-16 09:42:30 +09:00
ofriedma
d3c9ac5969
Merge pull request #30780 from zhangsw/fix-rgw-multipart-abortdate
rgw: add abort multipart date and rule-id header to init multipart upload response
2020-07-15 19:21:55 +03:00
zdover23
0d5d2f4e90
Merge pull request #35950 from zdover23/wip-doc-dev-guide-add-zdover-to-lead-list
doc/devel: add zdover to leads list
2020-07-16 00:37:46 +10:00
Josh Durgin
698379821c
Merge pull request #34537 from ideepika/wip-bluestore-mem-tracking
os/bluestore: mempool split for finer granularity

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2020-07-15 06:50:58 -07:00
Sebastian Wagner
1e6364f46f
Merge pull request #35901 from sebastian-philipp/juanmi-firewall-refactor
cephadm: refactor update_firewalld

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-07-15 14:44:20 +02:00
Sebastian Wagner
e5b48f3ca6
Merge pull request #35862 from adk3798/cephadm_45724
mgr/cephadm: check-host should not fail as hard using fqdn

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-07-15 14:42:54 +02:00
Mykola Golub
e851a4d9e0 librbd: fix snapshot create error message
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-07-15 13:40:11 +01:00
Sebastian Wagner
ee32f3d97d
Merge pull request #35471 from sebastian-philipp/cephadm-daemon-spec
mgr/cephadm: Add CephadmDaemonSpec class
2020-07-15 14:39:35 +02:00
Sebastian Wagner
65e6a92aa6
Merge pull request #35838 from mgfritch/cephadm-rgw-spec-validate
python-common: RGW service_id might not contain a zone

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-15 14:37:56 +02:00
Zac Dover
e75da03da6 doc/devel: add zdover to leads list
This commit adds "zdover" to the list of
leads as the Docs Lead.

Fixes: https://tracker.ceph.com/issues/46378
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-07-15 20:59:06 +10:00
Kefu Chai
4b4db52840
Merge pull request #36096 from BenoitKnecht/doc-osd-scrub-during-recovery
doc/rados: Fix osd_scrub_during_recovery default value

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-07-15 18:58:43 +08:00
Kefu Chai
26ba57d495
Merge pull request #36052 from smithfarm/wip-focce
bluestore: fix typo in _flush function declaration

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-15 18:52:18 +08:00
Sebastian Wagner
f518059dbb
Merge pull request #35991 from votdev/adapt_cephadm_vagrantbox_to_el8
mgr/cephadm: Adapt Vagrantbox to el8

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-07-15 12:46:58 +02:00
Kefu Chai
ae0d8f3a65
Merge pull request #35315 from weixinwei/master
blk:BlockDevice.cc: use pending_aios instead of iovec size as ios num

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-07-15 18:42:57 +08:00
Kefu Chai
fb5ec29703
Merge pull request #35844 from wuhongsong/fuse-assert-Dprocess
common:  ignore SIGHUP prior to fork

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-15 18:39:19 +08:00
Kefu Chai
8cb69ce371
Merge pull request #36054 from tchaikov/wip-blk-no-unused-label
blk/BlockDevice: use ceph_assertf() for assert

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-07-15 18:38:02 +08:00
Sebastian Wagner
1809f06c60
Merge pull request #35744 from jmolmo/document_unmanaged_use
doc: Add information about unmanaged parameter

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-07-15 12:33:39 +02:00
Sebastian Wagner
1aeb0be49b mgr/cephadm: Add test for _check_daemons()
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-15 10:16:29 +02:00
Sebastian Wagner
69ed3d9cff mgr/cephadm: refactor _create_daemon()
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-15 10:16:29 +02:00
Sebastian Wagner
7bc22f61cd mgr/cephadm: Add CephadmDaemonSpec class
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-15 10:15:15 +02:00
Sebastian Wagner
2ed21ac396
Merge pull request #35709 from zdover23/wip-doc-preferring-yaml-to-cli-in-cephadm
doc/cephadm: add yaml info for orch apply mon

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-15 10:10:38 +02:00
Kefu Chai
bebc2ae1cb mgr/DaemonServer: keep daemon in service map when it has no tasks
we should not remove a daemon from service map even if it has no task
running, as it is not an evidence that the service is removed from the
cluster.

this change partially reverts 5a7d0632d9

Fixes: https://tracker.ceph.com/issues/46495
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-15 12:36:33 +08:00
Kefu Chai
87c86e9b77 mgr/DaemonServer: pass task_status instead of a message
be explicit that the caller is only interested in the task_status

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-15 12:36:33 +08:00
Samuel Just
f88211b6ac
Merge pull request #29283 from myoungwon/wip-refcount-snap
osd: refcounting chunks for snapshotted manifest object

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com> (portions Sam wrote)
2020-07-14 15:52:42 -07:00