Commit Graph

115717 Commits

Author SHA1 Message Date
Patrick Donnelly
2163c60916
qa: ignore evicted client warnings for nautilus upgrades
Nautilus monitors do not note the client sessions in the mgrmap. So when
we upgrade the warnings are unavoidable.

Fixes: https://tracker.ceph.com/issues/47689
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-02 11:52:37 -07:00
Patrick Donnelly
b835b07bc3
mgr: log reason for respawn
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-02 10:55:45 -07:00
Lenz Grimmer
3314844fb3
Merge pull request #34770 from Exotelis/wip-42963
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-10-02 10:23:18 +02:00
Kefu Chai
87f23d0350
Merge pull request #37448 from anthonyeleven/patch-1
doc/rados: erasure-code-lrc corrections

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-10-02 11:29:14 +08:00
Matt Benjamin
d98075628e
Merge pull request #37501 from linuxbox2/wip-file-hang
rgw_file: avoid long-ish delay on shutdown
2020-10-01 17:35:21 -04:00
Patrick Donnelly
08fe4fb368
Merge PR #36473 into master
* refs/pull/36473/head:
	mds: remove snap past parents compat code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-01 13:03:52 -07:00
Kefu Chai
60949c9b1a
Merge pull request #37392 from tchaikov/wip-doc-pip
admin: pass --use-feature=2020-resolver to pip

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-02 01:54:07 +08:00
Jason Dillaman
116283abac
Merge pull request #37406 from MahatiC/wip-refactor-rwl
librbd/cache: Refactor common code for RWL and SSD

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-01 11:39:01 -04:00
Casey Bodley
472d1afd00
Merge pull request #37238 from cbodley/wip-rgw-sync-etag-verify
rgw: rgw_sync_obj_etag_verify accounts for compressed multipart uploads

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2020-10-01 11:38:01 -04:00
Jason Dillaman
05b9ae8904
Merge pull request #37316 from trociny/wip-46803-2
librbd: track complete async operation return code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-01 11:01:28 -04:00
Lenz Grimmer
48825c5eef
Merge pull request #37499 from tspmelo/wip-ng-profiler
mgr/dashboard: Enable Angular's debug tools when using dev mode

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-10-01 16:38:32 +02:00
Mahati Chamarthy
b485bf8318 librbd/cache: Refactor common code for RWL and SSD
... from AbstractWriteLog class

Signed-off-by: Lisa Li <xiaoyan.li@intel.com>
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2020-10-01 16:54:46 +05:30
Tiago Melo
c427901252 mgr/dashboard: Enable Angular's debug tools when using dev mode
Enabling this will allows us to run `ng.profiler.timeChangeDetection();`
in the browser.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-10-01 09:43:42 +00:00
Sebastian Krah
8e4f3bcbe7
mgr/dashboard: improve logs
Changes the text that is being displayed when no log entry was found.
Also changes the log level to debug.
User can no longer select a date in the future to filter log entries.

Fixes: https://tracker.ceph.com/issues/42963
Signed-off-by: Sebastian Krah <skrah@suse.com>
2020-10-01 08:33:02 +02:00
Matt Benjamin
805f749564 rgw_file: avoid long-ish delay on shutdown
Normal shutdown was likely to be delayed a substantial fraction
of rgw_nfs_namespace_expire_secs due to an ill-advised use of
this_thread::sleep_for.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2020-09-30 15:24:47 -04:00
Mykola Golub
5c3ba95b4d librbd: reset complete async request expiration time
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-09-30 18:51:38 +01:00
Mykola Golub
6044d39d8d librbd: mark quiesce notification complete after quiesce complete
Previoulsy it was marked complete only after unqiesce was
complete, which did not allow us to use the error code stored in
m_async_complete for a quiesce dup coming between the quiesce was
complete and unqiesce was complete.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-09-30 18:51:38 +01:00
Lenz Grimmer
72c9c66781
Merge pull request #37443 from ktdreyer/node-12.18.2
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 17:07:56 +02:00
Lenz Grimmer
d5de9a58ea
Merge pull request #36771 from rhcs-dashboard/wip-47118-master
mgr/dashboard: add JUnit reports to Dashboard e2e tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 17:06:06 +02:00
Jan Fajerski
239c4bc8f3
Merge pull request #34740 from jan--f/c-v-refactor-batch-use-create
ceph-volume: major batch refactor
2020-09-30 15:37:52 +02:00
Jason Dillaman
214c63db25
Merge pull request #37014 from lixiaoy1/rwl_plugin
rbd/cache: update RWL as ImageDispatch

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-09-30 09:33:03 -04:00
Yuval Lifshitz
0bc89e5ec8
Merge pull request #37030 from Amrita42/wip-doc-Amy-radosgw
doc: Bucket notifications in the radosgateway-the usage of 'if not'
2020-09-30 13:51:52 +03:00
Lenz Grimmer
3fec8e7ac7
Merge pull request #37312 from votdev/issue_47578_clipboard_firefox
mgr/dashboard: Copy to clipboard does not work in Firefox

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-30 11:49:41 +02:00
Ernesto Puerta
5a16ed2360
mgr/dashboard: add JUnit reports to tests
Fixes: https://tracker.ceph.com/issues/47118
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-09-30 11:15:01 +02:00
Joshua Schmid
c1a39ce17a
Merge pull request #37411 from p-se/fix-cephadm-custom-template-escaping
mgr/cephadm: do not escape HTML for custom templates
2020-09-30 09:57:58 +02:00
Joshua Schmid
cef4c44346
Merge pull request #36622 from dmick/wip-46665
mgr/cephadm: continue trying all hosts for service deployment
2020-09-30 09:57:27 +02:00
lixiaoy1
4ef11e7b73 rbd/cache: update RWL as ImageDispatch
This is a preparation work to make ReplicatedWriteLog as a plugin.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-09-30 03:56:58 -04:00
lixiaoy1
f18ca093b6 rbd/io: split IO check
Move IO check to interfaces in Utils.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-09-30 03:56:58 -04:00
Joshua Schmid
bcd392ab41
Merge pull request #37112 from sebastian-philipp/cephadm-services-types-mandatory
mgr/cephadm: Make type annotations for cephadm.services mandatory
2020-09-30 09:56:20 +02:00
Joshua Schmid
cb3a33b073
Merge pull request #37397 from adk3798/mirror
mgr/cephadm: get rbd-mirror daemon-id when checking for strays
2020-09-30 09:56:12 +02:00
Joshua Schmid
9f752b177e
Merge pull request #37432 from sebastian-philipp/cephadm-upgrade-state-none
mgr/cephadm: upgrade_state can be literally "null"
2020-09-30 09:55:57 +02:00
Jan Fajerski
8178d5c48a ceph-volume batch: fix very_fast_allocation plan and add tests
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:22 +02:00
Jan Fajerski
e75ef77f23 ceph-volume: batch: call the right prepare method
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:22 +02:00
Jan Fajerski
28e33f3025 python-common drive-groups: allow strings for wal and db size
This enables user to pass sizes like "10G", which batch now understands.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:22 +02:00
Jan Fajerski
7d168ad7bd ceph-volume inventory: add option to filter unwanted devices
Some device we never want to pass to the batch subcommand. For now this
includes devices that have a partition or are mounted on the machine.
One goal is to filter the root device, so it is not included on a batch
command and thus would contribute to its implicit sizing calculation.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:22 +02:00
Jan Fajerski
6f1592a114 ceph-volume: address review comments
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-09-29 22:37:15 +02:00
Lenz Grimmer
6f43141177
Merge pull request #36392 from Devp00l/wip-46375
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-29 13:08:17 +02:00
Sebastian Wagner
155fd98002 mgr/cephadm: upgrade_state can be literally "null"
Fixes: https://tracker.ceph.com/issues/47580
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-09-29 11:39:52 +02:00
Stephan Müller
9e0db83b81 mgr/dashboard: Speed improvements of pool details
Now all variables that are shown in a listing that trigger a
more complex render cycle will only be updated if pool properties have
changed and not only the time series data, which isn't shown anymore,
as it can be seen graphically enhanced in the pool listing.

The pool detail component now uses the `onPush` change detection
strategy, to only call `ngOnChanges` if one of the input variables
have changed.

The function that only updates variables if they have changed is
now available through a helper class in order to provide this
useful functionality through out the dashboard.

Fixes: https://tracker.ceph.com/issues/46375
Signed-off-by: Stephan Müller <smueller@suse.com>
2020-09-29 10:59:21 +02:00
Anthony D'Atri
e7afd9017d
doc/rados: erasure-code-lrc corrections
doc/rados: erasure-code-lrc corrections

- Clarified / corrected jerasure recovery characterization cf. https://library.eecs.utk.edu/storage/125phpw0xFqAut-cs-07-603.pdf
- Capitalization
- Word choice:  OSDs are discrete / cardinal, so "fewer" instead of  "less"
- Reworked a few phrases to be less stilted

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-09-28 23:42:10 -07:00
Mykola Golub
5865352387
Merge pull request #37286 from dillaman/wip-46822
osdc/ObjectCacher: overwrite might cause stray read request callbacks

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-29 09:18:55 +03:00
Mykola Golub
69068a3e1c
Merge pull request #37074 from dillaman/wip-librbd-list-snaps-api
librbd: generic internal API for computing snapshot deltas

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-09-29 08:45:13 +03:00
Kefu Chai
a42fd5c21e
Merge pull request #37281 from tchaikov/wip-fmt
rpm: add fmt-devel as build deps

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-29 08:14:34 +08:00
Jason Dillaman
fd159956a7
Merge pull request #37417 from Songweibin/wip-rbd-metadata-update
librbd: should not permit update image metadata via snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-09-28 19:44:23 -04:00
Jason Dillaman
7fb1a53172
Merge pull request #37429 from trociny/wip-47665
rbd-nbd: don't ignore namespace when unmapping by image spec

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-09-28 19:43:53 -04:00
Ken Dreyer
3986ad5e36 mgr/dashboard: build with NodeJS 12.18.2
Update the version of NodeJS that we use to build the dashboard.

RHEL 8 and CentOS 8 ship NodeJS 12.18.2, so I've picked this version to
make it easier to build outside of nodeenv.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2020-09-28 17:27:53 -06:00
Nathan Cutler
5b4e51f9fb
Merge pull request #37399 from smithfarm/wip-relax-backporting-rule
doc/SubmittingPatches-backports.rst: clarify where to explain

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-28 20:56:08 +02:00
Patrick Donnelly
429ed83b8a
Merge PR #37359 into master
* refs/pull/37359/head:
	mon: test before adding/removing required_client_features

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-28 11:49:27 -07:00
Patrick Donnelly
13a892d8df
Merge PR #36912 into master
* refs/pull/36912/head:
	mds: defer encoding and storing the inode backtrace
	mds: defer encoding and storing the CDir dentries
	mds: add error handler with lock support

Reviewed-by: Zheng Yan <zyan@redhat.com>
2020-09-28 11:47:54 -07:00
Patrick Donnelly
c7b6d8ae4c
Merge PR #36730 into master
* refs/pull/36730/head:
	client: switch to unique_lock to avoid use the client_lock directly
	client: unlock client_lock when copying data to bufferlist
	client: do more check for the client_lock
	client: simplify the iterating related code to make it more readable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-28 11:45:44 -07:00